A local area network management method and device and a storage medium

By broadcasting resource download information within the local area network, devices can directly download resources from devices that have already downloaded them, thus solving the slow and congestion problems caused by repeated resource downloads in the local area network and achieving more efficient resource distribution.

CN119172392BActive Publication Date: 2026-04-14FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

When multiple devices on a local area network simultaneously request the same resource, it can lead to slow resource downloads and network congestion.

Method used

After a device on a local area network (LAN) downloads resources from the internet, it generates a download service and broadcasts the download information within the LAN. Other devices can then directly download the resources from the device that has already downloaded them, avoiding duplicate downloads from the internet.

Benefits of technology

It improves resource download efficiency, avoids network congestion, and increases download speed within the local area network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172392B_ABST
    Figure CN119172392B_ABST
Patent Text Reader

Abstract

The application discloses a LAN management method and device and a storage medium, and comprises the following steps: a device in a local area network (LAN) downloads a resource from the Internet, and generates a download service of the downloaded resource; the download information of the resource is sent in a broadcast form in the LAN, the content of the download information comprises a download address of the resource in the LAN and a characteristic code of the resource; and other devices in the LAN receive the download information, and select a download address to download the resource according to the download information. The application can improve the efficiency of downloading network resources by the devices in the LAN, and avoid network congestion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, specifically to a local area network (LAN) management method, apparatus, and storage medium. Background Technology

[0002] A Local Area Network (LAN) is a group of devices located in the same geographical area and their interconnected communication network. These devices can communicate with each other, enabling data transmission and sharing. LAN devices include computers, servers, routers, and more. LANs are widely used in homes, offices, factories, and other similar locations due to their high transmission speed, stable performance, simple architecture, and security. In some scenarios, multiple devices on the same LAN need to request the same resource from the internet within a relatively concentrated period (e.g., multiple devices performing software upgrades). When the number of devices requesting the resource is large and bandwidth is limited, slow download speeds and buffering can occur. Summary of the Invention

[0003] In view of the above problems, this application provides a local area network (LAN) management method to solve the technical problems of slow download and lag when repeatedly downloading the same resource in a LAN.

[0004] To achieve the above objectives, this application provides a local area network (LAN) management method, comprising the following steps:

[0005] Devices on a local area network download resources from the Internet and generate a download service for the downloaded resources;

[0006] Download information for the resource is broadcast within the local area network. The download information includes the download address of the resource within the local area network and the resource's unique identifier.

[0007] Other devices on the local area network receive the download information and select a download address to download the resource based on the download information.

[0008] Furthermore, the devices in the local area network receive the download information and select a download address to download the resource based on the download information, followed by the following steps:

[0009] The device that has downloaded the resource from the download address generates a download service for the resource and updates the download information corresponding to the generated download service into the download information, so that the content of the download information contains more than two download addresses;

[0010] The updated download information is broadcast within the local area network.

[0011] Furthermore, it also includes the following steps:

[0012] Determine whether a device on the local area network has already downloaded the resource. If so, the device will not receive the updated download information.

[0013] Furthermore, the download service includes providing a download address for the resource, as well as the number of devices currently connected to the download address or the number of devices currently available for connection;

[0014] Determine whether the number of devices currently connected to the download address is full or whether the number of available devices is zero. If so, suspend the download service.

[0015] Furthermore, the download service includes providing a download address for the resource, the number of currently connected devices or the number of currently available devices for connection to the download address;

[0016] The step of selecting a download address and downloading resources based on download information includes:

[0017] Choose the download address with the fewest currently connected devices or the one with the most available devices to download the resource.

[0018] Furthermore, the devices in the local area network download resources from the Internet, including:

[0019] The device requests the resources from the local area network to download the aforementioned resources from the Internet;

[0020] Determine whether the number of devices requesting to download resources within the local area network exceeds a threshold. If not, allow the request; if so, prohibit requests exceeding the threshold.

[0021] Furthermore, it also includes the following steps:

[0022] Determine whether, within a preset time after broadcasting the download information, a download event is received from other devices on the local area network that are downloading using the download information. If not, then disable the broadcast and the download service.

[0023] Furthermore, the downloaded information also includes the device's unique code, which includes the device's MAC address or UUID;

[0024] The feature code of the resource includes the resource's MD5 value, SHA1 value, HMAC value, or NTLM value.

[0025] To address the aforementioned technical problems, this application also provides another technical solution:

[0026] A local area network (LAN) management device, comprising:

[0027] The first download module is used to download resources from the Internet, generate a download service for the downloaded resources, and broadcast the download information of the resources within the local area network. The content of the download information includes the download address of the resources within the local area network and the feature code of the resources.

[0028] The second download module is used to receive the download information and select a download address to download the resource based on the download information.

[0029] To address the aforementioned technical problems, this application also provides another technical solution:

[0030] A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the local area network management method described in any of the above technical solutions.

[0031] Unlike existing technologies, the above technical solution involves a local area network (LAN) device that has already downloaded resources from the Internet generating a download service for those resources. This means the device acts as a server within the LAN, downloading the resource and broadcasting the download information. Therefore, when other devices within the LAN need to download the resource, they can directly download it from the aforementioned device without needing to download it again from the Internet. This avoids network congestion and improves resource download efficiency.

[0032] The above description of the invention is merely an overview of the technical solution of this application. In order to enable those skilled in the art to better understand the technical solution of this application and to implement it based on the description and drawings, and to make the above-mentioned objectives and other objectives, features and advantages of this application easier to understand, the following description is provided in conjunction with the specific embodiments and drawings of this application. Attached Figure Description

[0033] The accompanying drawings are only used to illustrate the principles, implementation methods, applications, features, and effects of specific embodiments of the present invention and other related contents, and should not be considered as limitations on this application.

[0034] In the accompanying drawings of the instruction manual:

[0035] Figure 1 A flowchart illustrating the local area network management method described in a specific implementation;

[0036] Figure 2 A flowchart illustrating the broadcast update and rebroadcast process described in the specific implementation method;

[0037] Figure 3 A schematic diagram illustrating the broadcast content described in a specific implementation method;

[0038] Figure 4This is a schematic diagram illustrating the updated broadcast content as described in the specific implementation method.

[0039] Figure 5 This is a block diagram of the local area network management device described in a specific implementation.

[0040] Figure 6 A schematic diagram of the computer-readable storage medium described in a specific embodiment;

[0041] The reference numerals used in the above figures are explained as follows:

[0042] 500. Local Area Network Management Device; 501. First Download Module; 502. Second Download Module;

[0043] 600. Computer-readable storage media; Detailed Implementation

[0044] To illustrate the possible application scenarios, technical principles, implementable specific solutions, and achievable objectives and effects of this application in detail, the following description, in conjunction with the listed specific embodiments and accompanying drawings, provides a detailed explanation. The embodiments described herein are merely illustrative of the technical solutions of this application and are therefore intended to limit the scope of protection of this application.

[0045] In this document, the term "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The term "embodiment" appearing in various places throughout the specification does not necessarily refer to the same embodiment, nor does it specifically limit its independence or connection with other embodiments. In principle, in this application, as long as there are no technical contradictions or conflicts, the technical features mentioned in each embodiment can be combined in any way to form corresponding implementable technical solutions.

[0046] Unless otherwise defined, the technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the use of related terms herein is merely for the purpose of describing particular embodiments and is not intended to limit this application.

[0047] In the description of this application, the term "and / or" is used to describe the logical relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A exists, B exists, and A and B exist simultaneously. Additionally, the character " / " in this document generally indicates that the preceding and following objects have an "or" logical relationship.

[0048] In this application, terms such as “first” and “second” are used only to distinguish one entity or operation from another, and do not necessarily require or imply any actual quantity, hierarchy or order relationship between these entities or operations.

[0049] Without further limitations, the use of terms such as “comprising,” “including,” “having,” or other similar open-ended expressions in this application is intended to cover non-exclusive inclusion, which does not exclude the presence of additional elements in a process, method, or product that includes the stated elements, such that a process, method, or product that includes a list of elements may include not only those defined elements but also other elements not expressly listed, or elements inherent to such a process, method, or product.

[0050] Similar to the understanding in the Examination Guidelines, in this application, expressions such as "greater than," "less than," and "exceeding" are understood to exclude the stated number; expressions such as "above," "below," and "within" are understood to include the stated number. Furthermore, in the description of the embodiments in this application, "multiple" means two or more (including two), and similar expressions related to "multiple" are also understood in this way, such as "multiple groups" and "multiple times," unless otherwise explicitly specified.

[0051] In the description of the embodiments of this application, the space-related expressions used, such as "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "vertical," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," and "circumferential," indicate the orientation or positional relationship based on the orientation or positional relationship shown in the specific embodiments or drawings. They are only for the purpose of describing the specific embodiments of this application or for the reader's understanding, and do not indicate or imply that the device or component referred to must have a specific position, a specific orientation, or be constructed or operated in a specific orientation. Therefore, they should not be construed as limitations on the embodiments of this application.

[0052] Unless otherwise expressly specified or limited, the terms "installation," "connection," "linking," "fixing," and "setting," as used in the description of the embodiments of this application, should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral setting; it can be a mechanical connection, an electrical connection, or a communication connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two components or the interaction between two components. For those skilled in the art to which this application pertains, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.

[0053] This embodiment provides a local area network (LAN) management method applicable to various LAN scenarios for managing devices within the LAN that download resources from the internet. These resources can include software installation packages, multimedia resources, and other diverse resources. In related technologies, devices within a LAN need to download resources from the internet one by one, resulting in duplicate downloads, bandwidth consumption, slow download speeds, and buffering. In this embodiment, after a device downloads a resource from the internet, it acts as a server for downloading that resource within the LAN (i.e., generating a download service for the downloaded resource) and broadcasts it within the LAN. When other devices within the LAN need to download the same resource, they can directly download it from the device that has already downloaded it, eliminating the need for repeated downloads from the internet and thus improving download efficiency.

[0054] Please see Figure 1 The local area network management method in this embodiment includes the following steps:

[0055] S101. Devices in the local area network download resources from the Internet and generate a download service for the downloaded resources;

[0056] S102. The download information of the resource is broadcast within the local area network. The broadcast content includes the download address of the resource within the local area network and the feature code of the resource.

[0057] S103. Other devices in the local area network receive the broadcast and select a download address to download resources according to the broadcast.

[0058] In step S101, devices in the local area network (LAN) connect to the internet through the LAN's gateway and download resources from the internet. These resources can be software installation packages (including software upgrade packages and initial installation packages), multimedia files, etc. The downloaded resources may carry a unique identifier such as an MD5 hash. This identifier is used to characterize the uniqueness of the resource and can also be used to verify the integrity and correctness of the downloaded resource (i.e., it has not been tampered with). Preferably, the identifier is the MD5 hash of the resource. The MD5 hash is data obtained through a hash algorithm and is used to generate a unique fingerprint of the data. The downloaded resource includes an MD5 hash, which can be used to verify the integrity and correctness of the downloaded resource, ensuring that the downloaded resource has not been tampered with or damaged. In some embodiments, if the downloaded resource does not have the aforementioned identifier, the device can calculate the identifier of the resource after downloading it.

[0059] In other embodiments, the feature code of the above-mentioned resource may be any one of the SHA1 value, HMAC value, or NTLM value of the resource, in addition to using the MD5 value mentioned above.

[0060] Furthermore, in step S101, the device generates a download service for the downloaded resource. This refers to the preparatory work done by the device after downloading the resource, acting as a server for downloading this resource within the local area network (LAN), enabling the device to provide a download service for the resource. Other devices within the LAN can then download the resource from this device. For example, device A has downloaded resource 'a' from the Internet. Device A then prepares a download service for resource 'a', and other devices within the LAN can download resource 'a' through the download service provided by device A. The download service generated by device A includes: sharing the storage location of resource 'a' on device A with other devices within the LAN, allowing other devices to download resource 'a' by accessing that storage location; or, device A can generate a download link for resource 'a' within the LAN, allowing other devices to download resource 'a' by accessing the download link. Of course, this application includes, but is not limited to, the above two types of download services within the LAN.

[0061] In step S102, the device that has downloaded the aforementioned resource (e.g., device A) broadcasts the download information of the resource within the local area network (LAN). This broadcast ensures that all other devices within the LAN can receive the download information, thus guaranteeing coverage. The download information notifies other devices that they can download the resource from this device. It also includes a description of the resource and a download method. The resource description includes one or more of the resource's name, size, and unique identifier. The download method can be a download address, the resource's storage address, etc. In step S102, the download information may also include the device's unique identifier, which may include the device's MAC address or UUID. For example, the download information broadcast by device A may include device A's MAC address, the download address, and the resource's MD5 hash. However, the download information in this application does not necessarily have to include all of the above. In some embodiments, the download information may only include the device's MAC address and the resource's MD5 hash, allowing other devices within the LAN to download the resource based on the device's MAC address.

[0062] In step S102, devices in the local area network can use UDP broadcast to broadcast the above download information, or broadcast the download information through a publish / subscribe mechanism based on a specific protocol. Of course, this application is not limited to the above two broadcast methods.

[0063] In step S103, when other devices on the local area network receive the download information, they can determine whether it is a resource they need to download by referring to the resource description information. If it is a resource they need to download, they can download the resource through the download information, thus eliminating the need to connect to the Internet to download the same resource repeatedly.

[0064] In some embodiments, after other devices on the local area network (LAN) download the required resources from the LAN, they can also generate a resource download service in the same way and broadcast the resource download information within the LAN. The download information includes the download address provided by the device (e.g., device B), thereby enabling more download information to be broadcast within the LAN. Therefore, devices on the LAN that have not yet downloaded the resource can download it through any of the broadcast download information.

[0065] In this embodiment, the local area network also controls the broadcast volume of the same resource. When two or more devices in the local area network are broadcasting download information at the same time (i.e., they are download servers and provide download services to other devices), other devices that have completed the download of the resource will not broadcast.

[0066] like Figure 2 As shown, in some other embodiments, after the device in the local area network receives the download information and selects a download address to download the resource according to the download information, the process further includes the following steps:

[0067] S201. The device that has downloaded the resource from the download address generates a download service for the resource and updates the download address corresponding to the generated download service to the download information, so that the content of the download information contains more than two download addresses;

[0068] S202. Broadcast the updated download information within the local area network via broadcast.

[0069] In this embodiment, after a device on the local area network (LAN) downloads the required resource, it does not broadcast the download information in the same way as in the previous embodiment, resulting in multiple downloads of the same resource on the LAN. Instead, it updates the received original download information by adding the new download address, resulting in updated download information containing more than two download addresses provided by download services generated by more than two different devices. Then, the updated download information is broadcast within the LAN. The download address can be the device's IP address, or it can be a download link.

[0070] For example, in the previous example, device A downloaded resource 'a' from the Internet, generated a resource 'a' download service within the local area network, and broadcast the download information of resource 'a', such as... Figure 3 As shown, the download information includes download address 1. In this embodiment, after device B downloads resource a from the download information, it also generates a download service for resource a and updates the download address 2 provided by device B to the download information generated by device A, as shown. Figure 4As shown, the updated download information includes both download address 1 and download address 2. The updated download information is then broadcast again. Other devices on the local area network can download resource a from either download address 1 or download address 2. Therefore, in this embodiment, multiple resource download information and download addresses generated by various devices can be integrated into a single broadcast, facilitating selection and download by devices on the local area network.

[0071] In one embodiment, the above embodiments are supplemented by adding the step of: determining whether the devices in the local area network have already downloaded the resource; if so, then not receiving the updated broadcast.

[0072] For example, suppose device A and device B have downloaded resource a. After downloading resource a, device A and device B made corresponding settings to filter out download information about resource a.

[0073] In one embodiment, the download service in the above local area network management method includes the number of devices currently connected to the corresponding download address or the number of devices currently available for connection;

[0074] Determine whether the number of devices currently connected to the download address is full or whether the number of available devices is zero. If so, suspend the download service. When the number of devices currently connected to the download address has not reached the threshold or there are remaining available devices, reopen the download service.

[0075] The step of selecting a download address based on the broadcast for resource download includes:

[0076] Choose the download address with the fewest currently connected devices or the one with the most available devices to download the resource.

[0077] like Figure 4As shown, the download information displays not only the download addresses provided by each device, but also the number of devices currently connected to that download address, i.e., how many devices are currently connected to that download address to download the resource. The download speed within a local area network (LAN) is related to the performance of the device providing the download service, the LAN bandwidth, and the number of connected download devices. The more connected devices, the slower the download speed may be. Therefore, in this embodiment, by using the number of connected devices displayed in the download information, a download address with a faster download speed can be selected to download the resource, thereby improving the download speed. Alternatively, in some embodiments, a certain download connection threshold can be set for each download address, and then the number of remaining available devices for each download address can be displayed. In principle, the more available devices, the faster the download speed of that download address. For example, the download connection threshold for device A can be set to 10. When device A has already connected to 4 download devices, the number of remaining available devices is 6.

[0078] In this embodiment, the number of devices currently connected to the download address or the number of devices currently available for connection is updated in real time. When a device in the local area network connects to the download address, the number of devices currently connected and the number of devices currently available for connection are updated.

[0079] In the above embodiment, a device that has completed downloading a resource within the local area network (LAN) will broadcast a download message. This message includes a timestamp (timeStamp), the resource's MD5 hash, the broadcast type (Type), the device's IP address, and the current number of available connections. The device's IP address is the download address. When other devices on the LAN receive this broadcast, they save the download information and retrieve the download address from it to download the resource. When a new device finishes downloading, if the MD5 hash matches, it adds its own device IP address to the previously saved download information, forming an IP list—the resource download list. It then broadcasts this download message with its own device IP address added. The original device that sent the broadcast will stop sending broadcasts upon receiving this message. When a device reaches its maximum connection limit, it will remove its own IP address from the broadcast data, or when the number of available connections changes, it will update this download information accordingly.

[0080] In the above embodiment, the download information broadcast by the local area network (LAN) device includes a timestamp (timeStamp). The broadcast start time of the download information can be determined based on the order of the timestamps, and the completeness of the download information can be compared based on the number of download addresses included in the download information. In step S201, when downloading the information, the download information can be updated based on the timestamp or by comparing the completeness of the download information. The download addresses of the devices that have completed downloading the resources are updated in the download information. The updated download information includes all download addresses, and the device continues to broadcast the updated download information, while the other devices can turn off broadcasting. Therefore, only one device in the LAN needs to broadcast, and the download information broadcast by that device needs to include all download addresses.

[0081] In the above embodiments, the devices in the local area network download resources from the Internet, including:

[0082] The device requests the resources from the local area network to download the aforementioned resources from the Internet;

[0083] Determine whether the number of devices currently requesting to download resources exceeds a threshold. If not, allow the request; if so, prohibit requests exceeding the threshold.

[0084] In the above embodiments, devices on the local area network (LAN) can download the required resources from the download service provided by devices that have already downloaded the resources. Therefore, when a large number of devices still request to download resources from the internet (i.e., the number of requests exceeds a threshold), to avoid network congestion, some requests can be temporarily blocked, allowing these devices to switch to the download service provided within the LAN for resource download. For example, the request threshold can be set to 3. When the LAN server receives 4, 5, or more requests to download resources from the internet, the LAN server only allows the first 3 requesting devices to download resources from the internet, while subsequent requests are rejected. When these devices that have already downloaded resources from the internet broadcast the download information of the resource within the LAN, the rejected devices can then download the resource from within the LAN.

[0085] In one embodiment, the local area network management method further includes the step of:

[0086] Determine whether, within a preset time after broadcasting the download information, a download event is received from other devices on the local area network that are downloading using the download information. If not, then disable the broadcast and the download service.

[0087] The preset time can be set according to the actual situation such as the number of devices in the local area network (LAN) and the importance of the resources. For example, the preset time can be set to one minute. If no download request is received after one minute of a device broadcasting download information within the LAN, the broadcast is turned off and the download service ends, thereby ending the current download management activity. In this embodiment, by determining whether there are download events within the preset time, it can be determined whether there is a download demand for the resource. Therefore, unnecessary download services and broadcasts can be terminated in a timely manner to save LAN system resources and avoid unnecessary broadcast overhead.

[0088] In some embodiments, status management and error handling can also be configured in the above-described LAN management method. In status management, each device providing the download service needs to maintain its download status and connection count to ensure the accuracy of broadcast information. Error handling: Error handling and retry mechanisms are added to address network problems or device malfunctions.

[0089] like Figure 5 As shown, in one embodiment, a local area network (LAN) management device 500 is provided, which includes a first download module 501 and a second download module 502.

[0090] The first download module 501 is used to download resources from the Internet, generate a download service for the downloaded resources, and broadcast the download information of the resources within the local area network. The content of the download information includes the download address of the resources within the local area network and the feature code of the resources.

[0091] The second download module is used to receive the download information and select a download address to download the resource based on the download information.

[0092] The descriptions of various features in the local area network management device 500 of this embodiment follow the descriptions and explanations of various features in the embodiments of the above local area network management method. In this local area network management device, local area network devices that have already downloaded resources from the Internet generate a download service for the resources and broadcast the download information of the resources within the local area network. Therefore, when other devices within the local area network need to download this resource, they can directly download it from the aforementioned devices that have already downloaded the resource, without needing to download it again from the Internet. This avoids network congestion and improves resource download efficiency.

[0093] like Figure 6 As shown, in another embodiment, a computer-readable storage medium 600 is provided, which stores a computer program. When the computer program is run by a processor, it executes the local area network management method described in any of the above embodiments.

[0094] The computer-readable storage medium may be volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); the magnetic surface memory may be disk storage or magnetic tape storage.

[0095] The volatile memory may be random access memory (RAM), which serves as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synclink dynamic random access memory (SLDRAM), and direct memory bus random access memory (DRRAM). The computer-readable storage media described in the embodiments of the present invention are intended to include these and any other suitable types of memory.

[0096] In some embodiments, the processor may be implemented by software, hardware, firmware, or a combination thereof, and may use at least one of the following: circuit, single or multiple application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), central processing units (CPUs), controllers, microcontrollers, and microprocessors, thereby enabling the processor to execute some or all of the steps or any combination of the steps in the local area network management method of the various embodiments of this application.

[0097] Finally, it should be noted that although the above embodiments have been described in the text and drawings of this application, this should not limit the scope of patent protection of this application. Any technical solutions that are based on the essential concept of this application and utilize the content described in the text and drawings of this application, resulting in equivalent structural or procedural substitutions or modifications, as well as the direct or indirect application of the technical solutions of the above embodiments to other related technical fields, are all included within the scope of patent protection of this application.

Claims

1. A local area network (LAN) management method, characterized in that, Includes the following steps: Devices on a local area network download resources from the Internet and generate a download service for the downloaded resources; Download information for the resource is broadcast within the local area network. The download information includes the download address of the resource within the local area network and the resource's unique identifier. Other devices on the local area network receive the download information and select a download address to download the resource based on the download information; The device in the local area network receives the download information and selects a download address to download the resource based on the download information. The process then includes the following steps: The device that has downloaded the resource from the download address generates a download service for the resource and updates the download address corresponding to the generated download service into the download information, so that the content of the download information contains more than two download addresses; The updated download information is broadcast within the local area network.

2. The local area network management method according to claim 1, characterized in that, It also includes the following steps: Determine whether a device on the local area network has already downloaded the resource. If so, the device will not receive the updated download information.

3. The local area network management method according to claim 1, characterized in that, The download service includes providing the download address of the resource, as well as the number of devices currently connected to the download address or the number of devices currently available for connection; Determine whether the number of devices currently connected to the download address is full or whether the number of available devices is zero. If so, suspend the download service.

4. The local area network management method according to claim 1, characterized in that, The download service includes providing the download address of the resource, the number of currently connected devices or the number of currently available devices for connection to the download address; Select the download address based on the download information to download the resource, including: Choose the download address with the fewest currently connected devices or the one with the most available devices to download the resource.

5. The local area network management method according to claim 1, characterized in that, Devices on the local area network download resources from the Internet, including: The device requests the resources from the local area network to download the aforementioned resources from the Internet; Determine whether the number of devices requesting to download resources within the local area network exceeds a threshold. If not, allow the request; if so, prohibit requests exceeding the threshold.

6. The local area network management method according to claim 1, characterized in that, It also includes the following steps: Determine whether, within a preset time after broadcasting the download information, a download event is received from other devices on the local area network that are downloading using the download information. If not, then disable the broadcast and the download service.

7. The local area network management method according to claim 1, characterized in that, The downloaded information also includes the device's unique code, which includes the device's MAC address or UUID. The feature code of the resource includes the resource's MD5 value, SHA1 value, HMAC value, or NTLM value.

8. A local area network management device, characterized in that, include: The first download module is used to download resources from the Internet, generate a download service for the downloaded resources, and broadcast the download information of the resources within the local area network. The content of the download information includes the download address of the resources within the local area network and the feature code of the resources. The second download module is used to receive the download information and select a download address to download the resource according to the download information. The device in the local area network receives the download information and selects a download address to download the resource based on the download information. The process then includes the following steps: The device that has downloaded the resource from the download address generates a download service for the resource and updates the download address corresponding to the generated download service into the download information, so that the content of the download information contains more than two download addresses; The updated download information is broadcast within the local area network.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is run by the processor, it executes the local area network management method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Rapid file transmission method, system and device for intelligent screen of Internet of Things and medium

    CN117061500A

  • Software update file downloading method and device, electronic equipment and readable medium

    CN117201481A