File updating method, device, computer equipment and storage medium

By generating and integrated access to the network address in the family node area, it solves the problem of rude and simple family node file updates in the existing technology, realized high -efficiency and real -time file updates, and improved the user experience.

CN113590552BActive Publication Date: 2025-01-28BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110882726.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-02
Publication Date
2025-01-28
Estimated Expiration
2041-08-02

AI Technical Summary

Technical Problem

In the prior art, the update method of home node files is relatively crude and simple, resulting in an increase in invalid files and a poor update experience.

Method used

By generating hot spots in the specified area, integrate the number of visits of multiple time cycles, and send statistics list to access ports from the scheduling system for family nodes to download the latest files.

Benefits of technology

Real -time and efficient updates of family node files have been achieved, the user experience has been improved, and the transmission of invalid files has been reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113590552B_ABST
    Figure CN113590552B_ABST
Patent Text Reader

Abstract

The present application relates to a file update method, device, computer equipment and storage medium. The method includes: generating a hotspot list corresponding to a specified area according to a time period, wherein the hotspot list records a network address and the number of visits to the network address generated in the specified area; integrating all hotspot lists corresponding to multiple time periods within a target period to obtain a statistical list, wherein the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in multiple time periods, and the multiple time periods are continuous time periods within the target period; sending the statistical list to an access port of a scheduling system, wherein the access port is used to provide a file download address corresponding to the target network address to a home node associated with the specified area, and the number of visits to the target network address recorded in the statistical list is not less than the number of visits to other network addresses.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud computing technology, and in particular to a file updating method, apparatus, computer equipment and storage medium. Background Art

[0002] In telecommunication networks, a node is a connection point, representing a redistribution point or a communication endpoint (some terminal equipment). The definition of a node depends on the network and protocol layer mentioned. A physical network node is an active electronic device connected to the network that can send, receive or forward information through a communication channel. A home node can refer to a node based on a household. For example, the TV device used by each household can be regarded as a node, or the network router used by the household can be regarded as a node, and so on.

[0003] The home node can download new files through the network, or update the stored files to obtain the latest resource files. In the prior art, the update of home node files is usually done by regularly pushing node files to the home node, and the home node can choose whether to update. However, this file update method is relatively crude and simple, and the files pushed to each home node are relatively numerous, resulting in an increase in invalid files and a poor file update experience. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a file updating method, apparatus, computer device and storage medium.

[0005] In a first aspect, the present application provides a file updating method, which is applied to a scheduling system, and the method comprises:

[0006] Generate a hotspot list corresponding to the designated area according to the time period, wherein the hotspot list records the network address and the number of visits to the network address generated in the designated area;

[0007] Integrate all the hotspot lists corresponding to multiple time periods within the target time period to obtain a statistical list, wherein the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in the multiple time periods, and the multiple time periods are consecutive time periods within the target time period;

[0008] The statistical list is sent to the access port of the scheduling system, wherein the access port is used to provide a file download address corresponding to a target network address to a home node associated with the designated area, and the number of visits to the target network address recorded in the statistical list is not less than the number of visits to other network addresses.

[0009] In a second aspect, the present application also provides a file update method, which is applied to a home node, and the method includes:

[0010] Get local storage information;

[0011] When the local storage information meets the storage condition, an access request is sent to the scheduling system, wherein the access request is used to request the scheduling system to send a file download address corresponding to the target network address through an access port;

[0012] Receive the file download address;

[0013] Download the corresponding node file according to the file download address.

[0014] In a third aspect, the present application provides a file updating device, comprising:

[0015] A hotspot list generating module, used to generate a hotspot list corresponding to a specified area according to a time period, wherein the hotspot list records a network address and a number of visits to the network address generated in the specified area;

[0016] A statistical list generation module, used to integrate all the hotspot lists corresponding to multiple time periods within the target time period to obtain a statistical list, wherein the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in the multiple time periods, and the multiple time periods are continuous time periods within the target time period;

[0017] A file access module is used to send the statistical list to the access port of the scheduling system, wherein the access port is used to provide a file download address corresponding to a target network address to a home node associated with the designated area, and the number of accesses to the target network address recorded in the statistical list is not less than the number of accesses to other network addresses.

[0018] In a fourth aspect, the present application provides a file updating device, comprising:

[0019] A storage information acquisition module is used to acquire local storage information;

[0020] A storage information judgment module, used for sending an access request to the scheduling system when the local storage information meets the storage condition, wherein the access request is used to request the scheduling system to send a file download address corresponding to the target network address through an access port;

[0021] The file download module is used to receive the file download address; and download the corresponding node file according to the file download address.

[0022] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0023] Generate a hotspot list corresponding to the designated area according to the time period, wherein the hotspot list records the network address and the number of visits to the network address generated in the designated area;

[0024] Integrate all the hotspot lists corresponding to multiple time periods within the target time period to obtain a statistical list, wherein the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in the multiple time periods, and the multiple time periods are consecutive time periods within the target time period;

[0025] The statistical list is sent to the access port of the scheduling system, wherein the access port is used to provide a file download address corresponding to a target network address to a home node associated with the designated area, and the number of visits to the target network address recorded in the statistical list is not less than the number of visits to other network addresses.

[0026] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0027] Get local storage information;

[0028] When the local storage information meets the storage condition, an access request is sent to the scheduling system, wherein the access request is used to request the scheduling system to send a file download address corresponding to the target network address through an access port;

[0029] Receive the file download address;

[0030] Download the corresponding node file according to the file download address.

[0031] The above-mentioned file updating method, apparatus, computer equipment and storage medium can generate a hot spot list corresponding to a specified area according to a time period, and integrate all hot spot lists corresponding to multiple time periods within the target period to obtain a statistical list, and then send the statistical list to the access port of the scheduling system, so that the home nodes associated with the specified area can download the corresponding files through the access port. In this way, the number of visits to each network address can be determined in real time, efficiently and accurately, and the corresponding popular URLs can be determined, and then the popular URLs can be distributed to the home nodes associated with the specified area, so that the home nodes can obtain the file resources corresponding to the popular URLs in time and download them for use, so that the files of the home nodes can be updated in real time and efficiently, and the user experience is also improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0034] Figure 1 An application environment diagram of a file updating method in an embodiment;

[0035] Figure 2 A schematic diagram of a flow chart of a file updating method in an embodiment;

[0036] Figure 3 is a flowchart of a file updating method in another embodiment;

[0037] Figure 4 is a structural block diagram of a file updating device in one embodiment;

[0038] Figure 5 is a structural block diagram of a file updating device in another embodiment;

[0039] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0041] Figure 1 FIG. 1 is an application environment diagram of a file update method in an embodiment. Figure 1 , the file update method is applied to a file update system. The file update system includes a home node 110 and a scheduling system 120. The home node 110 and the scheduling system 120 are connected via a network. The home node 110 is a router or set-top box that uses idle bandwidth to provide download services for ordinary user families. The scheduling system 120 can be implemented using an independent server or a server cluster consisting of multiple servers.

[0042] In one embodiment, Figure 2 A flowchart of a file update method in an embodiment is shown in FIG. Figure 2 , provides a file update method. This embodiment mainly applies this method to the above Figure 1 Taking the home node 110 (or the scheduling system 120) in FIG. 1 as an example, the file updating method specifically includes the following steps:

[0043] Step S210: Generate a hotspot list corresponding to the designated area according to a time period, wherein the hotspot list records a network address and a number of visits to the network address generated in the designated area.

[0044] Step S220, integrate all hot spot lists corresponding to multiple time periods within the target time period to obtain a statistical list, wherein the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in multiple time periods, and the multiple time periods are continuous time periods within the target time period.

[0045] Taking the scheduling system 120 as an example, the scheduling system included in the server can provide a corresponding access interface (API) for users to search for node files. The node file has a corresponding network address (URL). When the user needs to find the node file, it is necessary to access the network address corresponding to the node file. Therefore, the number of visits pv corresponding to each network address can be counted once every certain time period. For example, the number of visits PV to each network address can be counted once every minute and stored. Further, the number of visits to each network address in the specified area can be obtained to generate a hot spot list corresponding to the specified area. Among them, the hot spot list records the network address and the number of visits to the network address generated in the specified area.

[0046] Further, the access count PV obtained by the above-mentioned statistics according to a certain time period can be accumulated and calculated according to a preset statistical window. A target period can be set, for example, set to 5 minutes, which means that all hotspot lists generated within these 5 minutes can be integrated every 5 minutes to calculate the cumulative total of the access counts of each network address within these 5 minutes, and the corresponding statistical list can be obtained. For example, the access count of each network address is counted once every one minute, and then the 5 consecutively counted access counts are accumulated every 5 minutes to determine the total number of access counts of each network address within these 5 minutes, and the corresponding statistical list can be obtained. Therefore, the access count of the network address actually recorded in the statistical list is the sum of the access counts of the same network address recorded in multiple time periods, and the multiple time periods are continuous time periods within the target period. The reason for adopting the above-mentioned statistical method instead of directly accumulating 5 minutes and counting the access counts of each network address within these 5 minutes at one time is that when the above-mentioned statistical method is adopted, the access count determined in each minute is calculated based on the statistical results of the previous minute, and the data obtained by statistics is more real-time and more accurate.

[0047] In one embodiment, step S220 includes: in a list of all hot spots corresponding to multiple time periods within a target time period, network addresses matching a business type with a specified type are integrated to generate a statistical list, wherein the network address has a corresponding business type, the specified type is the business type corresponding to the target time period, and the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in multiple time periods belonging to the same business type.

[0048] Furthermore, the network address has a corresponding business type, and the business types corresponding to different network addresses may be different. For network addresses of different business types, different target time periods can be used for statistics and integration. For example, the target time period corresponding to the video type can be set longer, while the target time period corresponding to the real-time news type can be set shorter. Therefore, when integrating all hot spot lists corresponding to multiple time periods within the target time period, the network addresses whose business types match the specified types corresponding to the target time period can be integrated in all hot spot lists corresponding to the target time period to generate the corresponding statistical list. The number of visits to the network address recorded in the statistical list refers to the sum of the number of visits to the same network address recorded in multiple time periods belonging to the same business type.

[0049] In another embodiment, step S220 may include: when no popular URL is detected in the hot spot list corresponding to N consecutive time periods, extending the duration corresponding to the target time period to obtain an extended target time period, wherein the popular URL is a network address in the hot spot list that meets the popular condition, and N is a positive integer; integrating all hot spot lists corresponding to multiple time periods within the extended target time period to obtain a statistical list.

[0050] Hot URLs refer to network addresses in the hotspot list that meet the hot conditions. Meeting the hot conditions can refer to network addresses with a high number of visits, or they can be defined by yourself. For the network addresses in the hotspot list, you can continuously detect whether there are hot URLs. If no hot URLs are detected in the hotspot list corresponding to N consecutive time periods, the duration corresponding to the target period can be extended to obtain the extended target period. Among them, N is a positive integer. For example, when the number of visits to each network address is small, then each network address may not meet the hot condition. In this case, the target period can be extended, that is, the statistical time can be lengthened, such as extending the target duration from 5 minutes to half an hour or one hour, to determine the hot URLs in the hotspot list. Furthermore, all hotspot lists corresponding to multiple time periods within the extended target period can be integrated to obtain a new statistical list again.

[0051] Step S230, sending the statistical list to the access port of the scheduling system, wherein the access port is used to provide the file download address corresponding to the target network address to the home node associated with the specified area, and the number of visits to the target network address recorded in the statistical list is not less than the number of visits to other network addresses.

[0052] After determining the statistical list, the target network address in the statistical list can be further determined. Among them, the number of visits to the target network address recorded in the statistical list is not less than the number of visits to other network addresses. That is, the network addresses in the statistical list can be sorted in order from high to low according to the total number of visits. The top M network addresses with the highest total number of visits can be determined as the target network address, that is, M network addresses with higher total number of visits can be selected as the target network address. Then, the statistical list can be sent to the access port of the scheduling system so that the home node associated with the specified area can download the file through the target network address. That is, the access port is used to provide the file download address corresponding to the target network address to the home node associated with the specified area. In one embodiment, the access port can be used to provide the file download address corresponding to the target network address to the home nodes in the specified area, and / or the home nodes in the adjacent area, wherein the adjacent area refers to the area adjacent to the specified area.

[0053] In one embodiment, step S230 includes: obtaining service capability information of each home node in the specified area; when the service capability information of each home node in the specified area does not meet the service conditions, sending the statistical list to the access port of the scheduling system, and the access port is used to provide the file download address corresponding to the target network address to the home nodes in the adjacent area.

[0054] In the present application, the service capability information of each home node in the specified area can also be obtained. If the service capability information of each home node in the specified area does not meet the service conditions, the statistical list can be sent to the access port of the scheduling system so that the home nodes in the adjacent area can access the target network address in the statistical list so that the corresponding file can be downloaded. Furthermore, the home nodes in the specified area can also access the target network address in the statistical list from the home nodes in the adjacent area to improve the corresponding file service quality.

[0055] The above-mentioned file updating method can generate a hotspot list corresponding to the specified area according to the time period, and integrate all the hotspot lists corresponding to multiple time periods within the target period to obtain a statistical list, and then send the statistical list to the access port of the scheduling system, so that the home nodes associated with the specified area can download the corresponding files through the access port. In this way, the number of visits to each network address can be determined in real time, efficiently and accurately, and the corresponding popular URLs can be determined, and then the popular URLs can be distributed to the home nodes associated with the specified area, so that the home nodes can obtain the file resources corresponding to the popular URLs in time and download them for use, so that the files of the home nodes can be updated in real time and efficiently, which also improves the user experience.

[0056] Figure 3FIG. 1 is a flowchart of a file updating method in another embodiment, referring to FIG. Figure 3 , and also provides a file update method. This embodiment mainly uses the method applied to a home node as an example to illustrate that the file update method specifically includes the following steps:

[0057] Step S310, obtaining local storage information.

[0058] Step S320, when the local storage information meets the storage conditions, an access request is sent to the scheduling system, wherein the access request is used to request the scheduling system to send a file download address corresponding to the target network address through the access port.

[0059] Step S330, receiving a file download address.

[0060] Step S340: download the corresponding node file according to the file download address.

[0061] Local storage information refers to the storage situation of the home node, for example, it may include the memory space that has been used and the memory space that can still be used. The home node can obtain the local storage information and determine whether the local storage information meets the storage conditions, that is, the home node can determine its own storage capacity, such as whether the local storage information indicates that there is still memory space that can be used for continued storage. When it is determined that the local storage information meets the storage conditions, the home node can send an access request to the scheduling system of the server. Among them, the access request can be used to request the scheduling system to send the file download address corresponding to the target network address through the access port. Therefore, the home node can obtain the file download address corresponding to the target network address through the target network address sent by the scheduling system, so that the corresponding node file can be downloaded according to the file download address. In one embodiment, when sending an access request to the scheduling system, the home node can send an access request to the scheduling system regularly according to a time period.

[0062] In one embodiment, when the local storage information meets the storage conditions, the method also includes: obtaining the transmission status of the home node; when the transmission status is data downloading, refusing to send an access request to the scheduling system; when the transmission status is not downloaded, sending an access request to the scheduling system.

[0063] When the local storage information meets the storage conditions, the transmission status of the home node can also be obtained. When it is determined that the transmission status of the home node is in data downloading, it indicates that the home node is in the state of downloading files. At this time, the home node can refuse to send an access request to the scheduling system, that is, the home node can not send an access request to the scheduling system to download new node files. When the transmission status of the home node is not downloaded, the home node can send an access request to the scheduling system to obtain the file download address corresponding to the target network address to download the file.

[0064] In one embodiment, when the local storage information does not meet the storage conditions, the method also includes: when the number of accesses corresponding to the local file within a preset time period does not meet the retention conditions, deleting the local file, wherein the local file is a node file stored in the home node; when the number of accesses corresponding to all local files in the home node meets the retention conditions, canceling sending the access request.

[0065] Furthermore, when the local storage information of the home node does not meet the storage conditions, that is, when it is determined that the storage space of the home node does not meet the preset threshold, the number of accesses to the local files stored in the home node within the preset time period can be determined. If the number of accesses corresponding to the local files does not meet the retention conditions within the preset time period, the local files whose accesses do not meet the retention conditions can be deleted to free up the storage space of the home node. For example, suppose the storage space of the home node is 60G, but the threshold is usually set to 40G, indicating that only 40G of files are stored. According to the above-mentioned node file download process, 40G is filled. After filling, it can be determined how long the node files stored in the home node have not been accessed. It can be set to 2 days, that is, to determine whether the node files in the home node have been accessed within two days. If they have all been accessed, the target network address will not be pulled, that is, the new node files will not be downloaded, and the files will not be updated.

[0066] Among them, local files refer to node files stored in the home node. The retention condition may refer to the number of accesses needing to reach a preset access threshold. For example, it can be set to: if the number of accesses reaches more than 10 times, it means that the retention condition is met. At the same time, if the number of accesses corresponding to all local files in the home node meets the retention condition, the home node may not send an access request to the scheduling system. If the home node initiates an access request, the access request sent by the home node at this time will also be in a failed state. In other words, at this time, the home node does not need a target network address to download a new node file.

[0067] The above-mentioned file update method obtains the local storage information of the home node, and determines whether the home node currently needs to update the saved node file based on the local storage information of the home node, so that the file update process is more in line with the needs of each home node, improves the efficiency and effectiveness of file updates, and avoids the unnecessary occupation of file download bandwidth.

[0068] Figure 2-3 FIG. 1 is a flowchart of a file updating method in an embodiment. It should be understood that although Figure 2-3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0069] In one embodiment, Figure 4 As shown, a file updating device is provided, comprising:

[0070] The hotspot list generating module 410 is used to generate a hotspot list corresponding to a specified area according to a time period, wherein the hotspot list records a network address and the number of visits to the network address generated in the specified area.

[0071] The statistical list generation module 420 is used to integrate all hot spot lists corresponding to multiple time periods within the target time period to obtain a statistical list, wherein the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in multiple time periods, and the multiple time periods are continuous time periods within the target time period.

[0072] The file access module 430 is used to send the statistical list to the access port of the scheduling system, wherein the access port is used to provide the file download address corresponding to the target network address to the home node associated with the specified area, and the number of accesses to the target network address recorded in the statistical list is not less than the number of accesses to other network addresses.

[0073] In one embodiment, the statistical list generation module 420 is also used to integrate network addresses whose business types match the specified type in all hotspot lists corresponding to multiple time periods within the target time period to generate a statistical list, wherein the network address has a corresponding business type, the specified type is the business type corresponding to the target time period, and the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in multiple time periods belonging to the same business type.

[0074] In one embodiment, the statistical list generation module 420 is also used to extend the duration corresponding to the target time period to obtain an extended target time period when no popular URL is detected in the hot spot list corresponding to N consecutive time periods, wherein the popular URL is a network address in the hot spot list that meets the popular condition, and N is a positive integer; all hot spot lists corresponding to multiple time periods within the extended target time period are integrated to obtain a statistical list.

[0075] In one embodiment, the file access module 430 is also used to obtain the service capability information of each home node in the specified area; when the service capability information of each home node in the specified area does not meet the service conditions, the statistical list is sent to the access port of the scheduling system, and the access port is used to provide the file download address corresponding to the target network address to the home nodes in the adjacent area.

[0076] In one embodiment, Figure 5 As shown, a file updating device is also provided, comprising:

[0077] The storage information acquisition module 510 is used to acquire local storage information;

[0078] The storage information determination module 520 is used to send an access request to the scheduling system when the local storage information meets the storage conditions, wherein the access request is used to request the scheduling system to send a file download address corresponding to the target network address through the access port;

[0079] The file download module 530 is used to receive a file download address; and download the corresponding node file according to the file download address.

[0080] In one embodiment, the storage information judgment module 520 is also used to delete local files when the number of access times corresponding to the local files within a preset time period does not meet the retention conditions, where the local files are node files stored in the home node; and cancel sending the access request when the number of access times corresponding to all local files in the home node meets the retention conditions.

[0081] In one embodiment, the storage information determination module 520 is further used to periodically send access requests to the scheduling system according to a time period, wherein the access request is used to request the scheduling system to send a file download address corresponding to a target network address through an access port.

[0082] In one embodiment, the storage information judgment module 520 is also used to obtain the transmission status of the home node; when the transmission status is data downloading, the access request to the scheduling system is rejected; when the transmission status is not downloading, the access request is sent to the scheduling system.

[0083] Figure 6 The internal structure diagram of a computer device in one embodiment is shown. The computer device may specifically be Figure 1 The home node 110 (or the scheduling system 120) in FIG. Figure 6 As shown, the computer device includes a processor, a memory, a network interface, an input device and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement a file update method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute a file update method. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device may be a touch layer covered on the display screen, or a button, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0084] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0085] In one embodiment, the file updating device provided by the present application can be implemented in the form of a computer program. The computer program can be Figure 6 The computer device shown in the figure is run. The memory of the computer device can store various program modules constituting the file updating device, such as: Figure 4 The hotspot list generation module 410, the statistical list generation module 420 and the file access module 430 are shown. The computer program composed of various program modules enables the processor to execute the steps of the file update method of each embodiment of the present application described in this specification.

[0086] Figure 6 The computer device shown can be Figure 4 The hotspot list generation module 410 in the file update device shown in the embodiment of the present invention performs the steps of integrating all hotspot lists corresponding to multiple time periods within the target period to obtain a statistical list, wherein the number of accesses to the network address recorded in the statistical list is the sum of the number of accesses to the same network address recorded in multiple time periods, and the multiple time periods are continuous time periods within the target period. The computer device can perform the steps of sending the statistical list to the access port of the scheduling system through the statistical list generation module 420, wherein the access port is used to provide the file download address corresponding to the target network address to the home node associated with the specified area, and the number of accesses to the target network address recorded in the statistical list is not less than the number of accesses to other network addresses. The computer device can perform the steps of sending the statistical list to the access port of the scheduling system through the file access module 430, wherein the access port is used to provide the file download address corresponding to the target network address to the home node associated with the specified area, and the number of accesses to the target network address recorded in the statistical list is not less than the number of accesses to other network addresses.

[0087] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the method described in any one of the above embodiments is implemented when the processor executes the computer program.

[0088] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in any one of the above embodiments is implemented.

[0089] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0090] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0091] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A file updating method, characterized in that: Applied to a dispatching system, the method comprises: Generate a hotspot list corresponding to the designated area according to the time period, wherein the hotspot list records the network address and the number of visits to the network address generated in the designated area; Integrate all the hotspot lists corresponding to multiple time periods within the target time period to obtain a statistical list, wherein the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in the multiple time periods, and the multiple time periods are consecutive time periods within the target time period; Sending the statistical list to the access port of the scheduling system, wherein the access port is used to provide the file download address corresponding to the target network address to the home node associated with the designated area, and the number of visits to the target network address recorded in the statistical list is not less than the number of visits to other network addresses; The step of integrating all the hotspot lists corresponding to multiple time periods within the target time period to obtain a statistical list includes: In the list of all the hot spots corresponding to multiple time periods within the target time period, the network addresses whose business types match the specified type are integrated to generate a statistical list, wherein the network address has a corresponding business type, the specified type is the business type corresponding to the target time period, and the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in the multiple time periods belonging to the same business type.

2. The method according to claim 1, characterized in that The step of integrating all the hotspot lists corresponding to multiple time periods within the target time period to obtain a statistical list includes: When no popular website is detected in the hotspot list corresponding to N consecutive time periods, the duration corresponding to the target period is extended to obtain an extended target period, wherein the popular website is a network address that meets the popular condition in the hotspot list, and N is a positive integer; All the hot spot lists corresponding to multiple time periods within the extended target time period are integrated to obtain a statistical list.

3. The method according to claim 1, characterized in that The step of sending the statistical list to the access port of the scheduling system includes: The statistical list is sent to the access port of the scheduling system, wherein the access port is used to provide a file download address corresponding to the target network address to home nodes within the designated area and / or home nodes within an adjacent area, wherein the adjacent area is an area adjacent to the designated area.

4. The method according to claim 3, characterized in that The step of sending the statistical list to the access port of the scheduling system includes: Obtaining service capability information of each home node in the specified area; When the service capability information of each home node in the designated area does not meet the service conditions, the statistical list is sent to the access port of the scheduling system, and the access port is used to provide the file download address corresponding to the target network address to the home nodes in the adjacent area.

5. A file update method, characterized in that: Applied to a home node, the method comprises: Get local storage information; When the local storage information meets the storage conditions, an access request is sent to the scheduling system, wherein the access request is used to request the scheduling system to send a file download address corresponding to the target network address through an access port, and the scheduling system is used to implement the file update method according to any one of claims 1 to 4; Receive the file download address; Download the corresponding node file according to the file download address.

6. The method according to claim 5, characterized in that When the local storage information does not meet the storage condition, the method further includes: If the number of accesses corresponding to the local file within a preset time period does not meet the retention condition, deleting the local file, wherein the local file is a node file stored in the home node; When the number of accesses corresponding to all the local files in the home node meets the retention condition, the sending of the access request is cancelled.

7. The method according to claim 5, characterized in that The sending of the access request to the scheduling system comprises: An access request is periodically sent to the scheduling system according to a time period, wherein the access request is used to request the scheduling system to send a file download address corresponding to a target network address through an access port.

8. The method according to claim 5, characterized in that When the local storage information meets the storage condition, the method further includes: Obtaining the transmission status of the home node; When the transmission status is data downloading, refusing to send an access request to the scheduling system; When the transmission status is not downloaded, an access request is sent to the scheduling system.

9. A file updating device, characterized in that: The device comprises: A hotspot list generating module, used to generate a hotspot list corresponding to a specified area according to a time period, wherein the hotspot list records a network address and a number of visits to the network address generated in the specified area; A statistical list generation module, used to integrate all the hotspot lists corresponding to multiple time periods within the target time period to obtain a statistical list, wherein the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in the multiple time periods, and the multiple time periods are continuous time periods within the target time period; A file access module, configured to send the statistical list to an access port of a scheduling system, wherein the access port is configured to provide a file download address corresponding to a target network address to a home node associated with the designated area, and the number of accesses to the target network address recorded in the statistical list is not less than the number of accesses to other network addresses; The statistical list generating module is also used for: In the list of all the hot spots corresponding to multiple time periods within the target time period, the network addresses whose business types match the specified type are integrated to generate a statistical list, wherein the network address has a corresponding business type, the specified type is the business type corresponding to the target time period, and the number of visits to the network address recorded in the statistical list is the sum of the number of visits to the same network address recorded in the multiple time periods belonging to the same business type.

10. A file updating device, characterized in that: The device comprises: A storage information acquisition module is used to acquire local storage information; A storage information judgment module, used for sending an access request to a scheduling system when the local storage information meets the storage conditions, wherein the access request is used to request the scheduling system to send a file download address corresponding to the target network address through an access port, and the scheduling system is used to execute the file update method according to any one of claims 1 to 4; The file download module is used to receive the file download address; and download the corresponding node file according to the file download address.

11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Data distribution method and system

    CN111355798A

  • Hot knowledge generation method and device

    CN111966733A