Search

CN-122027217-A - Router storage method and system for realizing private permanent cloud

CN122027217ACN 122027217 ACN122027217 ACN 122027217ACN-122027217-A

Abstract

The application relates to the technical field of private cloud storage and discloses a router storage method and a system for realizing private permanent cloud, wherein the method comprises the steps that when a router is electrified and initialized, an NVMe SSD storage module is directly connected with a high-speed PCIe channel of a system-level chip through an M.2 interface, an integrated heat dissipation mechanism is started, storage module formatted mounting and equipment certificate registration activation are completed, and the cooperative starting of a storage and routing system is ensured through a distributed consistency mechanism; the method comprises the steps of establishing a network state closed-loop feedback mechanism, realizing intelligent collaborative scheduling of network and storage I/O resources, periodically reading key parameters of the health state of a storage module, triggering early warning notification or emergency protection flow, establishing WireGuard VPN a tunnel through double authentication of a command server and NAT penetration when a user remotely accesses, encrypting and transmitting application layer data, continuously acquiring feedback information, and dynamically optimizing related strategies and parameters. The method and the system can realize private permanent cloud storage of private data, which is purchased once and used for life.

Inventors

  • ZHOU YONGHUA

Assignees

  • 深圳通康创智技术有限公司

Dates

Publication Date
20260512
Application Date
20260106

Claims (10)

  1. 1. A router storage method for implementing a private permanent cloud, comprising: When the router is electrified and initialized, the memory module is directly connected with the NVMe SSD memory module through the high-speed PCIe channel of the M.2 interface and the system-level chip, an integrated heat dissipation mechanism of linkage of the heat conduction silica gel pad, the metal heat dissipation sheet and the mainboard grounding layer is started, the formatted mounting of the memory module and the registration activation of the equipment certificate are completed, and the cooperative starting of the memory and the routing system is ensured through a distributed consistency mechanism; Constructing a network state closed loop feedback mechanism based on an exponential weighted moving average algorithm, monitoring network delay in real time and performing smoothing treatment, identifying and marking a large-block SSD writing request, adjusting request priority according to a dynamic priority calculation formula when a smooth delay value exceeds a preset network delay threshold value, splitting the large-block request into small-size sub-requests, and re-queuing to realize intelligent collaborative scheduling of a network and storage I/O resources; Periodically reading key parameters of the health state of the storage module, triggering a user early warning notice when the available standby block duty ratio is lower than a preset early warning threshold value, and when the multi-factor emergency condition that the available standby block duty ratio is lower than an emergency threshold value, the medium abrasion degree reaches a high-loss state and uncorrectable error count is in a significant increasing trend in a short time is met, firstly sending a process termination signal and executing data synchronization operation, and then forcibly switching the file system into a read-only mode; When a user initiates remote access through a mobile terminal management application, a command server completes a double authentication process of an equipment certificate and a short-term effective one-time session certificate, NAT penetration is realized under the assistance of the command server, a WireGuard VPN tunnel is established, a temporary key is negotiated in the WireGuard VPN tunnel through the session certificate, and high-strength encryption transmission is carried out on application layer data; And continuously acquiring user data operation feedback and storage state information, dynamically optimizing network delay response standards, data protection threshold parameters and cache configuration strategies, and continuously improving storage access performance, long-term reliability of data and remote access security.
  2. 2. The router storage method for implementing a private persistent cloud according to claim 1, wherein in the intelligent co-scheduling process of the network and the storage I/O resources, the method further comprises: And smoothing the network delay monitored in real time through an exponential weighted moving average algorithm, accurately identifying and marking the large-block storage write-in request, dynamically adjusting the priority of the large-block storage write-in request when the smoothed network delay exceeds a preset network delay threshold, splitting the large-block request into small-size sub-requests, and then re-adding the small-size sub-requests into a scheduling queue, so that network forwarding resources are prevented from being occupied by storage I/O pressure.
  3. 3. The router storage method for implementing a private persistent cloud according to claim 2, wherein when periodically reading key parameters of the health status of the storage module, the method further comprises: If the multi-factor emergency condition is further met, a termination signal is sent to all active writing processes, and after the data synchronization operation is completed, the cached data is ensured to be dropped, the file system is forcedly switched into a read-only mode.
  4. 4. The router storage method of claim 3, wherein the method further comprises: The remote access double authentication process is executed by the command server, the one-time session certificate is set to be short-term effective, the equipment and the mobile terminal management application establish WireGuard VPN tunnel after the NAT penetration is assisted by the command server, the temporary secret key is generated in the WireGuard VPN tunnel through session certificate negotiation, the application layer data is transmitted after being encrypted by the temporary secret key, and the command server does not participate in the transmission and caching of the user application layer data.
  5. 5. The router storage method for implementing a private permanent cloud of claim 1, further comprising: The integrated heat dissipation mechanism is attached to the surface of the storage module through the heat conduction silica gel pad, the metal radiating fin covers the heat conduction silica gel pad, the metal radiating fin is connected with the large-area grounding layer through the heat conduction structure on the main board to form a high-efficiency heat conduction path, and meanwhile the storage module is directly connected with the system-in-chip through a high-speed PCIe channel to ensure the storage access performance.
  6. 6. The router storage method for implementing a private permanent cloud of claim 1, further comprising: When the router is electrified and initialized, the storage module firstly completes formatting and is mounted to the system, then the registration and activation flow of the equipment certificate are started, the starting states of the storage system and the routing system are synchronized through a distributed consistency mechanism, the starting processes of the storage system and the routing system are ensured to be consistent in a coordinated mode, and functional conflict is avoided.
  7. 7. The router storage method for implementing a private persistent cloud as claimed in claim 1, wherein during the dynamic optimization process, the method further comprises: Based on user data operation feedback, the network delay response standard is adjusted, the early warning threshold and the emergency threshold of data protection are optimized according to the health state information of the storage module, and the cache configuration strategy is optimized by combining the safety log of remote access, so that the storage performance, the data reliability and the access safety are continuously improved.
  8. 8. A router storage system implementing a private permanent cloud, comprising: The hardware integration and system initialization module is directly connected with the NVMe SSD storage module through the high-speed PCIe channel of the M.2 interface and the system-level chip when the router is electrified and initialized, and an integrated heat dissipation mechanism of linkage of the heat conduction silica gel pad, the metal heat dissipation sheet and the mainboard grounding layer is started to complete the formatted mounting of the storage module and the registration activation of the equipment certificate, and the cooperative starting of the storage and routing system is ensured through a distributed consistency mechanism; The network perception type I/O intelligent scheduling module is used for constructing a network state closed loop feedback mechanism based on an exponential weighting moving average algorithm, monitoring network delay in real time and performing smoothing treatment, identifying and marking a large-block SSD writing request, adjusting request priority according to a dynamic priority calculation formula when a smooth delay value exceeds a preset network delay threshold value, splitting the large-block request into small-size sub-requests to be re-queued, and realizing intelligent collaborative scheduling of a network and storage I/O resources; The active storage health protection module periodically reads key parameters of the health state of the storage module, triggers a user early warning notice when the available standby block duty ratio is lower than a preset early warning threshold value, and firstly sends a process termination signal and executes data synchronization operation when a multi-factor emergency condition that the available standby block duty ratio is lower than an emergency threshold value, the medium abrasion degree reaches a high-loss state and uncorrectable error count is in a significant increasing trend in a short time is met, and then forcedly switches the file system into a read-only mode; When a user initiates remote access through a mobile terminal management application, a command server completes a double authentication process of an equipment certificate and a short-term effective one-time session certificate, NAT penetration is realized with the help of the command server, a WireGuard VPN tunnel is established, a temporary key is negotiated in the WireGuard VPN tunnel through the session certificate, and high-strength encryption transmission is carried out on application layer data; And the policy dynamic optimization module is used for continuously acquiring user data operation feedback and storage state information, dynamically optimizing network delay response standards, data protection threshold parameters and cache configuration policies, and continuously improving storage access performance, long-term reliability of data and remote access security.
  9. 9. An electronic device comprising a processor having a program running therein for implementing the router storage method of the private permanent cloud according to any one of claims 1-7.
  10. 10. A storage medium storing a program for implementing the router storage method of the private permanent cloud according to any one of claims 1 to 7.

Description

Router storage method and system for realizing private permanent cloud Technical Field The application relates to the technical field of private cloud storage, in particular to a router storage method and system for realizing a private permanent cloud. Background Current personal and home data storage relies primarily on public cloud disks and local NAS devices. Although the public cloud disk is convenient to remotely access, the risk of data privacy leakage exists, subscription fees need to be paid continuously, non-members face access speed limit, and the 'permanent free' storage cannot be realized, and the local NAS can guarantee the data privacy, but has the problems of high acquisition cost, complex setting, professional maintenance and the like, and is difficult to popularize. A compromise scheme of a USB external hard disk router on the market still has a short performance and stability board, the storage and routing functions lack deep cooperation, the I/O scheduling has no network perception, the data protection is passive, the remote access configuration is complex, the security mechanism is single, and the core requirement of a user on a private cloud can not be met. The method breaks through the bottleneck of the existing scheme in hardware architecture, resource scheduling, data protection, remote access and security mechanism, solves the privacy and charging problems of the public cloud disk, and overcomes the defects of the local and external storage schemes in performance, synergy, protection and usability. From the above, how to realize private permanent cloud storage for data private and one-time purchase life use is still to be solved. Disclosure of Invention In order to realize private permanent cloud storage of data private and one-time purchase life use, the application provides a router storage method and a router storage system for realizing the private permanent cloud. In a first aspect, the present application provides a router storage method for implementing a private permanent cloud, which adopts the following technical scheme: a router storage method for implementing a private permanent cloud, comprising: When the router is electrified and initialized, the memory module is directly connected with the NVMe SSD memory module through the high-speed PCIe channel of the M.2 interface and the system-level chip, an integrated heat dissipation mechanism of linkage of the heat conduction silica gel pad, the metal heat dissipation sheet and the mainboard grounding layer is started, the formatted mounting of the memory module and the registration activation of the equipment certificate are completed, and the cooperative starting of the memory and the routing system is ensured through a distributed consistency mechanism; Constructing a network state closed loop feedback mechanism based on an exponential weighted moving average algorithm, monitoring network delay in real time and performing smoothing treatment, identifying and marking a large-block SSD writing request, adjusting request priority according to a dynamic priority calculation formula when a smooth delay value exceeds a preset network delay threshold value, splitting the large-block request into small-size sub-requests, and re-queuing to realize intelligent collaborative scheduling of a network and storage I/O resources; Periodically reading key parameters of the health state of the storage module, triggering a user early warning notice when the available standby block duty ratio is lower than a preset early warning threshold value, and when the multi-factor emergency condition that the available standby block duty ratio is lower than an emergency threshold value, the medium abrasion degree reaches a high-loss state and uncorrectable error count is in a significant increasing trend in a short time is met, firstly sending a process termination signal and executing data synchronization operation, and then forcibly switching the file system into a read-only mode; When a user initiates remote access through a mobile terminal management application, a command server completes a double authentication process of an equipment certificate and a short-term effective one-time session certificate, NAT penetration is realized under the assistance of the command server, a WireGuard VPN tunnel is established, a temporary key is negotiated in the WireGuard VPN tunnel through the session certificate, and high-strength encryption transmission is carried out on application layer data; And continuously acquiring user data operation feedback and storage state information, dynamically optimizing network delay response standards, data protection threshold parameters and cache configuration strategies, and continuously improving storage access performance, long-term reliability of data and remote access security. Optionally, in the intelligent co-scheduling process of the network and the storage I/O resource, the method further includes: And smoothing t