Joint storage system, method, device and program product

Through the collaborative work of the main router and the cloud server, the extended storage devices in the LAN are used to form a joint storage space, solving the problem of limited hardware compatibility and expansion capabilities of the storage device, and achieving elastic expansion without hardware investment and efficient resource utilization.

CN120353385APending Publication Date: 2025-07-22FANXING INTELLIGENT COMPUTING TECHNOLOGY (BEIJING) CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510375398.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2025-07-22

AI Technical Summary

Technical Problem

The hardware compatibility requirements of existing storage devices are high, the scaling capability is limited, and the resource utilization rate is low, resulting in complex storage capacity expansion and waste of resources.

Method used

The main router scans the extended storage devices in the LAN, uses the unused storage space to form a joint storage space, and provides network penetration services through the cloud server, so that external client programs can access the joint storage space.

Benefits of technology

It realizes elastic expansion without additional hardware investment, reduces the implementation difficulty of storage resource expansion, and improves expansion flexibility and resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120353385A_ABST
    Figure CN120353385A_ABST
Patent Text Reader

Abstract

The invention provides a joint storage system, method, device and program product. The system comprises an extended storage device which is accessed to a local area network and has an unused storage space. And the main router is used for accessing the extended storage equipment after scanning the extended storage equipment accessed to the local area network so as to mount the unused storage space to the local to form a joint storage space. And the cloud server provides a network penetration service for accessing the main router for a client program, so that the client program uses the joint storage space by accessing the main router.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of storage, and in particular, to a combined storage system, method, device, and program product. Background Art

[0002] Some current storage devices on the market need to expand storage by adding hard disk slots or expansion enclosures. Although this method can meet basic needs, it has the following defects: High hardware compatibility requirements: Hard disk slots and expansion enclosures need to be used in conjunction with storage devices, and the hardware interfaces and expansion capabilities of different devices may vary, which increases the complexity of hardware selection.

[0003] Limited expansion ability: The number of physical interfaces of the storage device and the capacity of the hard disk slots are limited, which restricts the scale of storage expansion.

[0004] Low resource utilization: If storage expansion is excessive, the unused storage space will be idle, resulting in resource waste. Summary of the Invention

[0005] In view of the above problems, this application provides a combined storage system, method, device, and program product that overcome the above problems or at least partially solve the above problems. The technical solutions are as follows: In a first aspect, a combined storage system is provided, including: An extended storage device that accesses a local area network and has unused storage space; A main router that, after scanning the extended storage device accessing the local area network, accesses the extended storage device to mount the unused storage space locally to form a combined storage space; A cloud server that provides a network penetration service for accessing the main router to a client program, so that the client program can use the combined storage space by accessing the main router.

[0006] In a second aspect, a combined storage method is provided, including: Based on the main router of the local area network, scan the extended storage device accessing the local area network, and the extended storage device has unused storage space; Based on the main router, mount the unused storage space to the local of the main router to form a combined storage space; Based on the cloud server, provide a network penetration service for accessing the main router to a client program, so that the client program can use the combined storage space by accessing the main router.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor; and a memory configured to store computer-executable instructions, which, when executed, cause the processor to execute the method described in the second aspect.

[0008] In a fourth aspect, a computer-readable storage medium is provided, which is used to store computer-executable instructions, and the computer-executable instructions, when executed by a processor, implement the method described in the second aspect.

[0009] In the embodiment of the present application, network devices within a local area network are used as extended storage devices, and the main router is used to mount the unused storage space of the extended storage device as a combined storage space local to the main router, so as to achieve soft expansion of storage resources. At the same time, relying on the cloud server to provide network penetration services, external client programs can access the main router across the network, so as to remotely use the combined storage space. The solution of the embodiment of the present application breaks through the physical expansion limit of traditional storage devices in a software manner, and can achieve elastic expansion without additional hardware investment, significantly reducing the implementation difficulty of storage resource expansion. At the same time, unused storage space can be mounted on demand, which has certain advantages in terms of expansion flexibility and resource utilization efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0011] Figure 1 It is a schematic diagram of the functional modules of the combined storage system according to the embodiment of the present application.

[0012] Figure 2 It is a schematic diagram of the application architecture of the combined storage system according to the embodiment of the present application.

[0013] Figure 3 It is a schematic diagram of the structure of the combined storage method according to the embodiment of the present application.

[0014] Figure 4 It is a schematic diagram of the structure of the electronic device according to the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0015] To enable those skilled in the art to better understand the technical solutions in this specification, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this specification, rather than all of them. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this specification without creative efforts shall fall within the scope of protection of this specification.

[0016] As mentioned above, some storage devices on the market currently need to add hard disk slots or expansion enclosures to achieve storage expansion. Although this method can meet basic needs, it has the following defects: High hardware compatibility requirements: Hard disk slots and expansion enclosures need to be used in combination with storage devices, and there may be differences in the hardware interfaces and expansion capabilities of different devices, which increases the complexity of hardware selection.

[0017] Limited expansion ability: The number of physical interfaces of the storage device and the capacity of the hard disk slots are limited, which restricts the scale of storage expansion.

[0018] Low resource utilization rate: If the storage expansion is excessive, the unused storage space will be idle, resulting in waste of resources.

[0019] Take a Network Attached Storage (NAS) device as an example. A NAS device is a dedicated storage device connected through a network and can provide centralized file storage and sharing services for multiple users. It realizes data management through a built-in operating system, supports redundant backup (such as RAID technology), remote access, and cross-platform compatibility, and is widely used in home personal file backup (such as photos, videos), enterprise data centralized management, multimedia content storage, and remote office scenarios.

[0020] However, although the mainstream NAS devices at the present stage reserve hard disk slots, the hard disk models supported by their hard disk slots are limited and the quantity is small, which to a certain extent restricts their expansion ability and flexibility. In addition, if a user needs to install an expansion enclosure through an external interface, the expansion enclosure needs to be highly compatible with the NAS device. However, different brands and models of NAS devices need to be paired with dedicated expansion enclosures, leaving limited options for users.

[0021] The above examples of NAS devices are used to illustrate the limitations of physical expansion of storage resources. To solve this problem, the present application proposes a combined storage solution. This solution uses the main router to mount the unused storage space of network devices in the local area network as a combined storage space local to the main router, and the main router provides storage services to users based on the combined storage space. This solution can not only make full use of the idle storage resources in the local area network, avoid resource waste, but also simplify the management process through virtualization technology, improve the flexibility and scalability of the storage system. At the same time, as the core node of the storage service, the main router can dynamically allocate storage resources, so as to better meet the storage needs of users.

[0022] Specifically, the combined storage solution of the present application includes a combined storage system, method, device, and program product. The following will introduce the respective embodiments in detail.

[0023] An embodiment of the present application provides a combined storage system. Figure 1 It is a schematic structural diagram of the combined storage system, including: An extended storage device 101, which is connected to the local area network and has unused storage space.

[0024] The local area network in this embodiment is not limited to a home network, an enterprise network, and a public network.

[0025] Taking the home network as an example, the extended storage device can be a smart home device, such as a set-top box, a smart TV, a smart speaker, a smart refrigerator, and a home gateway, etc.

[0026] Taking the enterprise network as an example, the extended storage device can be a smart office device, such as a cloud disk, a business server, and a monitoring system, etc.

[0027] Taking the public network as an example, the extended storage device can be a smart city device, such as a traffic monitoring system, a public information terminal, and a digital billboard, etc.

[0028] A main router 102, after scanning the extended storage device connected to the local area network, accesses the extended storage device to mount the unused storage space to the local to form a combined storage space.

[0029] The combined storage space in this embodiment can be regarded as an extended storage space to provide storage services to users.

[0030] Specifically, the main router 102 can periodically scan the extended storage devices connected to the local area network (such as smart TVs in a home network, office computers in an enterprise network, and smart terminals in a public network) based on the multicast protocol, such as the User Datagram Protocol (UDP), and mount the unused storage spaces of all extended storage devices to the local based on the distributed file system protocol to form a unified storage space.

[0031] Among them, the above-mentioned distributed file system protocol is not limited to including: the Network File System (NFS) protocol and the Server Message Block (Samba) protocol. Correspondingly, the main router 102 can automatically identify the IP address, storage capacity, and protocol support status (NFS / SAMBA) of the extended storage devices.

[0032] For the extended storage devices that support the NFS protocol, the main router 102 initiates a connection request through the NFS client program. After verifying the device accessibility, it mounts the unused storage space to the local file system to form a logically unified combined storage space; For the extended storage devices that only support the SAMBA protocol, the main router 102 realizes cross-protocol mounting through the protocol conversion module to ensure the compatibility of heterogeneous devices.

[0033] Specifically, the main router 102 is built with a storage resource scheduling engine, which is used to monitor the remaining capacity, I / O load, and network status of each extended storage device in real time and dynamically adjust the data distribution strategy. For example, hot data with high-frequency access is preferentially stored in extended storage devices with low latency (such as a smart refrigerator with an embedded memory in a home network), while cold data is allocated to extended storage devices with high capacity (such as a server hard disk in an enterprise network). When an extended device goes offline or the storage space is insufficient, the main router 102 automatically triggers data migration to ensure the continuity of the storage service.

[0034] It should be noted that the main router in this embodiment does not require additional hardware modification, and the above solution can be implemented by using the mainstream X86 / ARM architecture main control chip. At the same time, the operating system of the main router has a flexible selection, not limited to mainstream operating systems such as Linux and OpenWRT, and these operating systems all support the transmission protocols of the above penetration methods.

[0035] The cloud server 103 provides a network penetration service for the client program to access the main router, so that the client program can use the combined storage space by accessing the main router.

[0036] The network penetration service in this embodiment adapts the penetration method according to the Network Address Translation (NAT) type of the client program.

[0037] Among them, the common NAT types include: full cone type (NAT1), restricted cone type (NAT2), port-restricted cone type (NAT3), and symmetric type (NAT4). The corresponding adaptation mechanisms are as follows: For NAT1 to NAT3 types: The session traversal protocol (such as STUN, TURN) is used to achieve penetration. For example, the STUN protocol sends a probe request to the STUN service of the cloud server to obtain the public IP and port mapping information of the client, and establishes an end-to-end direct connection channel according to the mapping rules of the NAT device. For example, a NAT2 type device in a home network can directly establish a connection through the STUN service without the need for a relay.

[0038] For NAT4 type (symmetric NAT / strict firewall scenario): Penetration is achieved through relay transmission technology (such as the Relay protocol). That is, the Relay service of the cloud server 103 serves as a data relay node to forward the communication traffic between the client and the main router, ensuring stable access even when direct connection is not possible. For example, a client protected by multiple firewalls in an enterprise intranet can securely read and write to the joint storage space through the Relay service.

[0039] As a feasible implementation, the main router 102 and the cloud server 103 work together to automatically detect the NAT type of the client and select the optimal penetration solution based on preset rules. For example: First, try the low-latency STUN direct connection; if the direct connection fails (such as NAT4 type), seamlessly switch to the TURN relay mode.

[0040] In addition, the cloud server 103 also provides a device management service, and this device management service includes at least one of the following functions: 1) User registration management of the client program: Supports account registration and identity verification for multi-role users, including home users, enterprise administrators, and public operation and maintenance personnel, etc. Users can complete the registration process through mobile phone numbers, email addresses, or third-party authentication. In addition, the system provides a user permission grading management function. For example, in a home scenario, parents can set the storage quota and access scope of children's accounts; in an enterprise scenario, document editing permissions can be assigned according to departments.

[0041] 2) Registration management of extended storage devices: It can automatically identify extended storage devices within a local area network (such as smart TVs, server hard drives, public terminals), and complete device authentication and binding. At the same time, when an extended storage device is abnormal, it automatically triggers an alarm and performs a data migration operation. For example, in the combined storage space, migrate the data corresponding to the set-top box to other devices.

[0042] 3) Allocation and management of the combined storage space: It supports dynamically partitioning the combined storage space and can perform on-demand allocation and elastic expansion according to requirements. For example, reserve an independent storage partition in the combined storage space for an enterprise project team.

[0043] 4) Data security management of the combined storage space: It uses the AES-256 algorithm to perform end-to-end encryption on the static data in the combined storage space and the transmission data between the client, cloud, and main router to ensure data security. At the same time, the file read and write permissions in the combined storage space can be refined (such as read-only, editable, shareable), and IP whitelisting and time window restrictions are supported. In addition, record all data operation logs (including users, devices, time, operation types), and support one-click export of audit reports to meet the compliance requirements of some enterprises.

[0044] 5) Data read and write management of the combined storage space: It uses a scheduling algorithm to optimize the read and write performance of the combined storage space. For example, allocate cache acceleration for frequently accessed files in the combined storage space and enable sharded parallel transmission for large file transfers. At the same time, provide configurations for the database and cache of the combined storage space; the database can be MySQL, MongoDB, etc., and the cache can be Redis, Flume, Kafka, etc.

[0045] It should be noted that the extended storage device 101 and the main router 102 in the local area network of this embodiment are not limited to one. Among them, one extended storage device 101 can correspond to different main routers 102, that is, different main routers 102 respectively mount the unused storage space of the extended storage device 101 as the local combined storage space. In addition, one main router 102 can also correspond to different extended storage devices 101, that is, this main router 102 can mount the unused storage spaces of different extended storage devices 101 as the local combined storage space.

[0046] In summary, the system of this embodiment uses network devices within a local area network as extended storage devices, and utilizes the main router to mount the unused storage space of the extended storage device as a combined storage space local to the main router, thereby achieving soft expansion of storage resources. At the same time, relying on the cloud server to provide network penetration services enables external client programs to access the main router across the network, thereby remotely using the combined storage space. The solution of the embodiment of the present application breaks through the physical expansion limitations of traditional storage devices in a software-based manner, and can achieve elastic expansion without additional hardware investment, significantly reducing the implementation difficulty of storage resource expansion. At the same time, unused storage space can be mounted on demand, with outstanding advantages in terms of expansion flexibility and resource utilization efficiency.

[0047] In practical applications, client programs are not limited to computer terminals, mobile terminals, in-vehicle terminals, etc. In a feasible implementation manner, the client program can map the combined storage space to the terminal device to which the client program belongs in the form of a drive letter, so that the read and write operations of the terminal device on the combined storage space are the same as those of the local disk.

[0048] Among them, Figure 2 illustrates the operation process of the combined storage system of this embodiment, including: Phase ①: Device registration and authentication binding 1) Client device online registration After the client device (mobile terminal, PC terminal) is connected to the network, it sends a registration request to the cloud server 103, submitting user identity information (such as mobile phone number, email) and device identifier (MAC address / serial number); The cloud server 103 completes user authentication through SMS verification code, OAuth 2.0 or biometric identification, generates a unique device ID and assigns role permissions (such as home user, enterprise administrator); After the registration is completed, the client device is incorporated into the cloud device management service and marked as a "consumer end".

[0049] 2) Provider-consumer binding mapping The main router 102 (provider) automatically reports its storage resource information (such as EMMC capacity, external hard disk status) to the cloud server 103; The consumer end selects the main router or extended storage device to be bound through the device management interface, and the cloud server 103 establishes a binding relationship. For example, each home user binds all main routers, or enterprise teams bind to the same main router. Among them, an AES-256 encryption channel can be enabled during the binding process to ensure communication security.

[0050] Phase ②: Network penetration strategy adaptation 1) NAT type detection and penetration decision The consumer device and the main router 102 send a joint detection request to the network penetration service of the cloud server 103, and obtain the NAT mapping behavior (such as port restriction, symmetry) through STUN protocol interaction; The cloud server 103 determines the NAT type (NAT1 to NAT4) according to the detection result, and dynamically selects the penetration strategy: For NAT1-3 types: preferentially establish an end-to-end direct connection through the STUN service (such as the full-cone NAT in a home network); For NAT4 type (symmetric NAT / corporate firewall): switch to the TURN relay mode, and the cloud Relay service forwards the data traffic.

[0051] 2) Penetration link optimization The main router 102 continuously monitors the link quality (such as latency, packet loss rate). If the direct connection link deteriorates, it automatically triggers the relay mode switch; Support multi-path redundancy (such as enabling STUN and TURN simultaneously) to improve the connection stability in high-concurrency scenarios.

[0052] Phase ③: Secure access and file operations 1) Establishment of end-to-end secure channel After penetration is completed, an encrypted tunnel is established between the consumer device and the main router 102 to ensure that file transmission is eavesdropping-proof and tamper-proof; When accessing sensitive data, the authentication function is forcibly enabled.

[0053] 2) Joint storage space operation The consumer device directly accesses the joint storage space through a virtual drive letter (Windows / macOS) or an API interface, supporting the following operations: File management: drag-and-drop upload, batch download, version control; Collaborative editing: multiple people can edit documents in real time, and conflict files automatically generate historical versions; Permission control: restrict the operation scope according to roles (such as only allowing the enterprise finance group to access the encrypted account directory).

[0054] Phase ④: Extended storage dynamic mounting and retrieval 1) Device discovery and resource integration The extended storage device (such as an enterprise, an intelligent camera) periodically broadcasts the device model, storage capacity, and protocol support (NFS / SAMBA) through UDP multicast; After receiving the broadcast, the main router 102 automatically initiates an NFS mounting request, incorporates the free storage space into the joint storage pool, and generates a global file index (such as a distributed hash table based on metadata).

[0055] 2) Efficient cross-device file access When the consumer side accesses the extended device file, the main router 102 quickly locates the physical location of the file through indexing and directly reads and writes by reusing the established penetration link (STUN / TURN). The frequently accessed files are cached to the local storage (EMMC / SSD) of the main router to reduce the cross-device access latency.

[0056] Among them, Figure 2 The corresponding network scenario examples are not limited to the following several types: Home network: The main router mounts the idle storage space of the smart TV as a video and audio library, and users can directly play 4K videos through their mobile phones. Enterprise network: The main router integrates the redundant hard disks of office computers to provide a shared document pool for departments and supports concurrent editing by multiple employees. Public network: The main router accesses the storage module of the digital billboard to achieve distributed backup and fast retrieval of surveillance videos.

[0057] In addition, corresponding to Figure 1 the method shown, another embodiment of this embodiment further provides a joint storage method. Figure 3 is a schematic flowchart of the joint storage method, including: S302, the main router based on the local area network scans the extended storage devices accessing the local area network, and the extended storage devices have unused storage space.

[0058] Based on the foregoing, the local area network is not limited to home networks, enterprise networks, and public networks. Taking the home network as an example, the extended storage device can be a smart home device, such as a set-top box, smart TV, smart speaker, smart refrigerator, and home gateway. Taking the enterprise network as an example, the extended storage device can be a smart office device, such as a cloud disk, business server, and monitoring system. Taking the public network as an example, the extended storage device can be a smart city device, such as a traffic monitoring system, public information terminal, and digital billboard.

[0059] S304, based on the main router, mounts the unused storage space to the local of the main router to form a joint storage space.

[0060] It should be understood that the main router is a router empowered to provide a joint storage space.

[0061] Optionally, there is at least one extended storage device, and the main router mounts the unused storage spaces of all the extended storage devices to the local based on the distributed file system protocol to form the joint storage space.

[0062] Among them, the above-mentioned distributed file system protocols are not limited to including: NFS protocol, Samba protocol, etc. Correspondingly, the main router can automatically identify the IP address, storage capacity, and protocol support status (NFS / SAMBA) of the extended storage device.

[0063] For the extended storage device that supports the NFS protocol, the main router initiates a connection request through the NFS client program. After verifying the device accessibility, it mounts its unused storage space to the local file system to form a logically unified combined storage space. For the extended storage device that only supports other protocols (such as SAMBA), the main router realizes cross-protocol mounting through the protocol conversion module to ensure the compatibility of heterogeneous devices.

[0064] S306. Based on the cloud server providing a network penetration service for the client program to access the main router, the client program can use the combined storage space by accessing the main router.

[0065] The network penetration service of this embodiment adapts the penetration method according to the Network Address Translation (NAT) type of the client program.

[0066] Among them, the common NAT types include: NAT1 to NAT14 types. The corresponding adaptation mechanisms are as follows: NAT1 to NAT3 types: Use session traversal protocols (such as STUN, TURN) to achieve penetration. For example, the STUN protocol sends a probe request to the STUN service of the cloud server to obtain the public IP and port mapping information of the client, and establishes an end-to-end direct connection channel according to the mapping rules of the NAT device. For example, a NAT2 type device in a home network can directly establish a connection through the STUN service without relay.

[0067] NAT4 type (symmetric NAT / strict firewall scenario): Achieve penetration through relay transmission technology (such as Relay protocol). That is, the Relay service of the cloud server 103 acts as a data relay node to forward the communication traffic between the client and the main router, ensuring stable access even when direct connection is not possible. For example, a client protected by multiple firewalls in an enterprise intranet can securely read and write the combined storage space through the Relay service.

[0068] Among them, this embodiment can automatically detect the NAT type of the client through the main router and select the optimal penetration solution based on preset rules. For example: First, try the low-latency STUN direct connection; if the direct connection fails (such as NAT4 type), seamlessly switch to the TURN relay mode.

[0069] The method of this embodiment uses network devices within a local area network as extended storage devices, and utilizes the main router to mount the unused storage space of the extended storage device as a combined storage space local to the main router, thereby achieving soft expansion of storage resources. Meanwhile, relying on the cloud server to provide network penetration services enables external client programs to access the main router across networks, and thus remotely use the combined storage space. The solution of the embodiment of this application breaks through the physical expansion limit of traditional storage devices in a software-based manner, and can achieve elastic expansion without additional hardware investment, significantly reducing the implementation difficulty of storage resource expansion. At the same time, unused storage space can be mounted on demand, and it has outstanding advantages in terms of expansion flexibility and resource utilization efficiency.

[0070] Optionally, the cloud server provides device management services, and the device management services include at least one of user registration management, extended storage device registration management, combined storage space allocation management, combined storage space data security management, and combined storage space data read / write management.

[0071] Optionally, the client program maps the combined storage space to the terminal device to which the client program belongs in the form of a drive letter, so that the read / write operations of the terminal device on the combined storage space are the same as those on the local disk.

[0072] Optionally, the main router dynamically scans the extended storage devices within the local area network based on the multicast protocol.

[0073] Optionally, the local area network includes at least one of a home network, an enterprise network, and a public network; wherein, the extended storage devices corresponding to the home network include at least one of a set-top box, a smart TV, a smart speaker, and a home gateway; the extended storage devices of the enterprise network include at least one of a cloud disk, a business server, and a monitoring system; the extended storage devices corresponding to the public network include at least one of a traffic monitoring system, a public information terminal, and a digital billboard.

[0074] It should be noted that Figure 1 The combined storage system described above can be used as the execution subject of the method of this embodiment. Therefore, the method of this embodiment can achieve the same functions as the combined storage system, which will not be elaborated herein.

[0075] Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of this application. Please refer to Figure 4, at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Among them, the memory may include internal memory, such as high-speed random access memory (Random-Access Memory, RAM), and may also include non-volatile memory, such as at least one disk memory, etc. Of course, the electronic device may also include other hardware required for other services.

[0076] The processor, network interface, and memory can be interconnected through the internal bus. The internal bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 4 only a bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0077] The memory is used to store computer programs. Specifically, the computer program may include program code, and the program code includes computer operation instructions. The memory can include internal memory and non-volatile memory, and provide the computer program to the processor.

[0078] Among them, the processor reads the corresponding computer program from the non-volatile memory into the internal memory and then runs it, forming the above-mentioned Figure 1 shown combined storage system at the logical level. Correspondingly, the processor executes the program stored in the memory and is specifically used to perform the following operations: Scan the extended storage devices accessing the local area network based on the main router of the local area network, and the extended storage devices have unused storage space.

[0079] Mount the unused storage space to the local of the main router based on the main router to form a combined storage space.

[0080] Provide a network penetration service for the client program to access the main router based on the cloud server, so that the client program can use the combined storage space by accessing the main router.

[0081] In this embodiment, the electronic device uses network devices within a local area network as extended storage devices, and utilizes the main router to mount the unused storage space of the extended storage device as a combined storage space local to the main router, thereby achieving soft expansion of storage resources. At the same time, relying on the cloud server to provide network penetration services enables external client programs to access the main router across networks, thereby remotely using the combined storage space. The solution of the embodiment of this application breaks through the physical expansion limitations of traditional storage devices in a software-based manner, enabling elastic expansion without additional hardware investment, significantly reducing the implementation difficulty of storage resource expansion, and at the same time, unused storage space can be mounted on demand, having outstanding advantages in terms of expansion flexibility and resource utilization efficiency.

[0082] As described above in this specification Figure 3 The combined storage method disclosed in the above embodiments as shown in this specification can be applied to a processor and implemented by the processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit in the hardware of the processor or instructions in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of this application can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps of the above method.

[0083] Of course, in addition to the software implementation method, the electronic device described in this specification does not exclude other implementation methods, such as a logic device or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, and can also be hardware or a logic device.

[0084] In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores one or more computer programs, and the one or more computer programs include instructions.

[0085] Among them, when the above instructions are executed by a portable electronic device including multiple application programs, the portable electronic device can be enabled to execute Figure 1 the steps in the method shown, including: The main router based on the local area network scans for extended storage devices accessing the local area network, and the extended storage device has unused storage space.

[0086] Based on the main router, the unused storage space is mounted locally to the main router to form a combined storage space.

[0087] Based on the cloud server, a network penetration service for accessing the main router is provided to the client program, so that the client program can use the combined storage space by accessing the main router.

[0088] Those skilled in the art should understand that the embodiments of this specification can provide methods, systems, or computer program products. Therefore, this specification can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.

[0089] The above describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be executed in a different order than in the embodiments and still achieve the desired results. Additionally, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0090] The above are only the embodiments of this specification and are not used to limit this specification. For those skilled in the art, this specification can have various changes and modifications. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of this specification shall be included within the scope of the claims of this specification. In addition, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this document.

Claims

1. A combined storage system, characterized in that, Comprising: An extended storage device, which is connected to a local area network and has unused storage space; A main router, after scanning the extended storage device accessing the local area network, accesses the extended storage device to mount the unused storage space to the local to form a combined storage space; A cloud server, which provides a network penetration service for a client program to access the main router, so that the client program uses the combined storage space by accessing the main router.

2. The system according to claim 1, wherein There is at least one extended storage device, and the main router mounts the unused storage spaces of all the extended storage devices to the local based on a distributed file system protocol to form the combined storage space.

3. The system according to claim 1, wherein The network penetration service adapts the penetration method according to the network address translation (NAT) type of the client program; Among them, NAT1 type, NAT2 type and NAT3 type correspond to penetration methods based on the session traversal protocol, and NAT4 type corresponds to a penetration method based on the relay transmission protocol.

4. The system according to any one of claims 1 to 3, wherein The cloud server provides a device management service, and the device management service includes at least one of the following functions: User registration management of the client program; Registration management of the extended storage device; Allocation management of the combined storage space; Data security management of the combined storage space; Data read and write management of the combined storage space.

5. The system according to any one of claims 1 to 3, wherein The client program maps the combined storage space to the terminal device to which the client program belongs in the form of a drive letter, so that the read and write operations of the terminal device on the combined storage space are the same as those of the local disk.

6. The system according to any one of claims 1 to 3, wherein The main router dynamically scans the extended storage devices in the local area network based on the multicast protocol.

7. The system according to any one of claims 1 to 3, wherein The local area network includes at least one of a home network, an enterprise network and a public network; Among them, the extended storage devices corresponding to the home network include at least one of a set-top box, a smart TV, a smart speaker, a smart refrigerator and a home gateway; the extended storage devices of the enterprise network include at least one of a cloud disk, a business server and a monitoring system; the extended storage devices corresponding to the public network include at least one of a traffic monitoring system, a public information terminal and a digital billboard.

8. A combined storage method, characterized in that, Comprising: The main router based on the local area network scans the extended storage devices accessing the local area network, and the extended storage devices have unused storage space; Based on the main router, the unused storage space is mounted to the local of the main router to form a combined storage space; Based on the cloud server, a network penetration service for accessing the main router is provided to the client program, so that the client program uses the combined storage space by accessing the main router.

9. An electronic device, comprising: A processor; and a memory arranged to store computer-executable instructions, wherein the executable instructions, when executed, cause the processor to perform the method according to claim 8.

10. A computer program product, the computer program product comprising a computer-readable storage medium storing a computer program, characterized in that, The computer program is operable to cause a computer to perform the method according to claim 8.