Resource updating method, device and system

By downloading and processing resource update packages locally before the update window period, the problem of excessive pressure on resource servers is solved, resource updates during the update window period are realized, and update efficiency and server load balancing is improved.

CN115913947BActive Publication Date: 2024-12-06HUBEI CENTURY NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211398355.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-09
Publication Date
2024-12-06
Estimated Expiration
2042-11-09

AI Technical Summary

Technical Problem

When multiple terminal devices update resources, the resource server is under great pressure, which may cause resource updates to be unable to complete during the update window.

Method used

Before the update window period, download the pre-update package from the resource server, and run the resource update tool locally, determine and obtain the update content, and store it in the specified storage area. After the update window period begins, use the local resource update tool to directly update the resources.

Benefits of technology

Without putting pressure on the resource server, ensuring that resource updates are completed during the update window period, reducing server load and downloading volume and improving update efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115913947B_ABST
    Figure CN115913947B_ABST
Patent Text Reader

Abstract

The present application provides a resource update method, device and system. The method includes: downloading a pre-update package from a resource server before the update window period of the target resource, and running the resource update tool in the pre-update package locally; before the update window period, using the resource update tool running locally, determining the update content required for the terminal device to update the target resource; before the update window period, using the resource update tool running locally, obtaining the update content of the target resource from the resource server and storing it in a designated storage area, wherein the designated storage area is located outside the local storage area of ​​the target resource; in response to the start of the update window period notified by the monitoring platform, using the resource update tool to update the locally stored target resource with the update content. The method can complete resource updates during the update window period without putting pressure on the resource server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to a resource updating method, device and system. Background Art

[0002] In scenarios where resource updates are required, especially application scenarios where multiple terminal devices need to be updated, such as the update of online game resources, the resource server will package the complete resource update package, and when the update window period begins, each terminal device will download the resource update package from the resource server and update.

[0003] Since all terminal devices download resources during the update window period, when there are many terminal devices and / or the resource update package is relatively large, it will bring great pressure to the resource server export, which may cause congestion and result in failure to complete resource updates during the update window period. Summary of the invention

[0004] In view of this, the present application provides a resource update method, device and system, which can complete resource update within the update window period without putting pressure on the resource server.

[0005] To solve the above technical problems, the technical solution of this application is implemented as follows:

[0006] In one embodiment, a resource updating method is provided, the method comprising:

[0007] Downloading a pre-update package from a resource server before the update window period of the target resource, and running a resource update tool in the pre-update package locally;

[0008] Before the update window period, using the resource update tool running locally, determining the update content required for the terminal device to update the target resource;

[0009] Before the update window period, using the resource update tool running locally, obtain the updated content of the target resource from the resource server and store it in a designated storage area, wherein the designated storage area is located outside the local storage area of ​​the target resource;

[0010] In response to the start of the update window period notified by the monitoring platform, the resource update tool is used to update the locally stored target resource using the update content.

[0011] in,

[0012] The pre-update package also includes the updated data features of the target resource;

[0013] The using the resource update tool running locally to determine the update content required for the terminal device to update the target resource includes:

[0014] The resource update tool is used to obtain the data features of the target resource stored locally, and a difference feature is determined based on a difference comparison between the data features in the pre-update package and the data features of the target resource stored locally; the update content is the target resource corresponding to the difference feature;

[0015] The obtaining the updated content of the target resource from the resource server by using the resource update tool running locally includes:

[0016] Using the resource update tool running locally, obtaining the target resource corresponding to the difference feature from the resource server as the update content;

[0017] The using the resource update tool to use the update content to update the locally stored target resource includes:

[0018] The resource update tool is used to replace the locally stored resource corresponding to the target resource with the update content.

[0019] Wherein, the method further comprises:

[0020] In response to the instruction of starting the direct update resource mode issued by the monitoring platform, the direct update resource mode is started; the time of starting the direct update resource mode is later than the start of the update window period.

[0021] Wherein, the method further comprises:

[0022] In response to the clearing instruction issued by the monitoring platform, the locally stored update content is cleared using the resource update tool.

[0023] In another embodiment, a resource updating method is provided, the method comprising:

[0024] Release a pre-update package before the update window period of the target resource, wherein the pre-update package is used to be downloaded by a terminal device carrying the target resource, and the pre-update package includes a resource update tool for running in the terminal device;

[0025] Providing the resource update tool running in the terminal device with update content required for the terminal device to update the target resource, wherein the update content is determined by the resource update tool, the update content is stored in a designated storage area by the resource update tool before an update window period of the target resource, and the designated storage area is located outside a local storage area of ​​the target resource in the terminal device;

[0026] In response to the start of the update window period, the terminal device uses the resource update tool to update the locally stored target resource using the update content.

[0027] Wherein, the method further comprises:

[0028] In response to the download address of a new download source provided by the monitoring platform, the download address of the download source is provided to the terminal device that updates the target resource; wherein, the download address of the download source is the address stored on the corresponding terminal device after the monitoring platform monitors that the terminal device has completed downloading the update content.

[0029] In another embodiment, a resource updating method is provided, the method comprising:

[0030] Monitoring the resource update tool running on the terminal device; recording the resource update process information; wherein the resource update tool is a resource update tool in a pre-update package released by a resource server, and is used to obtain the update content of the target resource from the resource server;

[0031] In response to the target resource update time being reached, notifying the terminal device of the start of the update window period;

[0032] In response to the start of the update window period, the terminal device uses the resource update tool to update the locally stored target resource using the update content.

[0033] Wherein, the method further comprises:

[0034] In response to the recorded resource update process information indicating that the update content download is complete, the resource server is notified of a download address of a new download source; wherein the download address of the new download source is a storage address where the update content is stored on the terminal device.

[0035] Wherein, the method further comprises:

[0036] In response to the recorded resource update process information indicating that the resource update is completed, the terminal device is notified to use the resource update tool to clear the locally stored update content.

[0037] In another embodiment, a resource updating device is provided, the device comprising:

[0038] A downloading unit, configured to download a pre-update package from a resource server before an update window period of a target resource;

[0039] An operating unit, configured to execute and locally run the resource update tool in the pre-update package;

[0040] a determining unit configured to determine, before the update window period, using the resource update tool running locally to update the target resource required by the terminal device;

[0041] an acquisition unit, configured to acquire, before the update window period, the updated content of the target resource from the resource server using the resource update tool running locally, and store the updated content in a designated storage area, wherein the designated storage area is located outside the local storage area of ​​the target resource;

[0042] The updating unit is configured to execute, in response to the start of the update window period notified by the monitoring platform, using the resource updating tool to update the locally stored target resource with the update content.

[0043] In another embodiment, a resource updating device is provided, the device comprising:

[0044] A publishing unit, configured to execute publishing of a pre-update package before an update window period of a target resource, wherein the pre-update package is used to be downloaded by a terminal device carrying the target resource, and the pre-update package includes a resource update tool for running in the terminal device;

[0045] A providing unit is configured to execute providing the resource update tool running in the terminal device with update content required for the terminal device to update the target resource, wherein the update content is determined by the resource update tool, and the update content is stored in a designated storage area by the resource update tool before an update window period of the target resource, and the designated storage area is located outside a local storage area of ​​the target resource in the terminal device; wherein, in response to the start of the update window period, the terminal device uses the resource update tool to update the locally stored target resource using the update content.

[0046] In another embodiment, a resource updating device is provided, the device comprising:

[0047] A monitoring unit, configured to execute a resource update tool running on a monitoring terminal device;

[0048] A recording unit configured to execute and record resource update process information; wherein the resource update tool is a resource update tool in a pre-update package released by a resource server, and is used to obtain update content of the target resource from the resource server;

[0049] The notification unit is configured to execute, in response to the target resource update time arriving, notifying the terminal device of the start of an update window period; wherein, in response to the start of the update window period, the terminal device uses the resource update tool to use the update content to update the locally stored target resource.

[0050] In another embodiment, a resource update system is provided, the system comprising: a resource server, a terminal device and a monitoring platform;

[0051] The resource server publishes a pre-update package before an update window period of the target resource;

[0052] The terminal device downloads a pre-update package from the resource server before the update window period of the target resource, and locally runs the resource update tool in the pre-update package; before the update window period, the resource update tool running locally is used to determine the update content required for the terminal device to update the target resource; before the update window period, the resource update tool running locally is used to obtain the update content of the target resource from the resource server and store it in a designated storage area, wherein the designated storage area is located outside the local storage area of ​​the target resource; in response to the start of the update window period notified by the monitoring platform, the resource update tool is used to update the locally stored target resource with the update content;

[0053] The monitoring platform monitors the resource update tool running on the terminal device; records the resource update process information; and notifies the terminal device of the start of the update window period in response to the arrival of the target resource update time.

[0054] In another embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the resource updating method when executing the program.

[0055] In another embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the resource updating step is implemented.

[0056] As can be seen from the above technical solution, in the above embodiment, before the resource update window is updated, the resource server releases a pre-update package; the terminal device downloads the pre-update package from the resource server before the update window period of the target resource, and runs the resource update tool in the pre-update package locally to determine the update content required for the terminal device to update the target resource; the update content of the target resource is obtained from the resource server and stored in a designated storage area; in response to the start of the update window period notified by the monitoring platform, the resource update tool is used to update the locally stored target resource with the update content. This resource update method can complete the resource update during the update window period without putting pressure on the resource server. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0058] Figure 1 is a schematic diagram of an implementation environment of a resource updating method according to an exemplary embodiment;

[0059] Figure 2 is a flow chart of a resource update method applied to a resource server according to an exemplary embodiment;

[0060] Figure 3 is a flow chart of a resource updating method applied to a terminal device according to an exemplary embodiment;

[0061] Figure 4 is a flow chart of a resource update method applied to a monitoring platform according to an exemplary embodiment;

[0062] Figure 5 is an interactive flow chart of a resource updating method applied to a resource updating system according to an exemplary embodiment;

[0063] Figure 6 This is a schematic diagram of the structure of a resource updating device applied to a terminal device in an embodiment of the present application;

[0064] Figure 7 This is a schematic diagram of the structure of a resource updating device applied to a resource server side in an embodiment of the present application;

[0065] Figure 8 This is a schematic diagram of the structure of a resource updating device applied to a monitoring platform in an embodiment of the present application;

[0066] Fig. 9A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0067] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only 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 creative work are within the scope of protection of this application.

[0068] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0069] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0070] In scenarios where resource updates are required, especially application scenarios where multiple terminal devices need to be updated, such as the update of online game resources, each time the game resources of a game are updated, all terminal devices in the Internet cafe need to be updated during the update window period. Due to the large number of terminal devices, downloading updated resources at the same time will bring great pressure to the resource server export and may cause congestion. If the resource update package cannot be downloaded, or after the download is completed, the resource update is not completed before the end of the update window period, the resource update cannot be completed during the update window period.

[0071] Based on the above problems, a resource update method is provided in an embodiment of the present application. Before the resource update window is updated, the resource server releases a pre-update package; the terminal device downloads the pre-update package from the resource server before the update window period of the target resource, and runs the resource update tool in the pre-update package locally to determine the update content required for the terminal device to update the target resource; the update content of the target resource is obtained from the resource server and stored in a designated storage area; in response to the start of the update window period notified by the monitoring platform, the resource update tool is used to update the locally stored target resource with the update content. This resource update method is to use the resource update tool to obtain the update content of the target resource before the resource update window period, and store it locally; after the update window period begins, the resource can be directly updated locally, and thus this resource update method can complete the resource update in the update window period without putting pressure on the resource server.

[0072] Figure 1 is a schematic diagram of an implementation environment of a resource update method according to an exemplary embodiment. Figure 1 , the implementation environment may include at least one terminal device 101, a resource server 102 and a monitoring platform 103, which will be described in detail below.

[0073] The resource server 102 releases a pre-update package before an update window period of a target resource, wherein the pre-update package is used to be downloaded by a terminal device carrying the target resource, and the pre-update package includes a resource update tool for running in the terminal device; provides the resource update tool running in the terminal device with update content required for the terminal device to update the target resource, wherein the update content is determined by the resource update tool, and the update content is stored in a designated storage area by the resource update tool before the update window period of the target resource, and the designated storage area is located outside the local storage area of ​​the target resource in the terminal device; the resource server 102 may include at least one of a server, a plurality of servers, a cloud computing platform, or a virtualization center.

[0074] At least one terminal device 101 downloads a pre-update package from a resource server 102 before an update window period of a target resource, and locally runs a resource update tool in the pre-update package; before the update window period, uses the resource update tool running locally to determine the update content required for the terminal device to update the target resource; before the update window period, uses the resource update tool running locally to obtain the update content of the target resource from the resource server and stores it in a designated storage area, wherein the designated storage area is located outside the local storage area of ​​the target resource; in response to the start of the update window period notified by the monitoring platform 103, uses the resource update tool to update the locally stored target resource with the update content.

[0075] At least one terminal device 101 may be directly or indirectly connected to the resource server 102 via wired or wireless communication, which is not limited in the embodiment of the present disclosure.

[0076] The monitoring platform 103 monitors the resource update tool running on the terminal device 101; records the resource update process information; wherein the resource update tool is a resource update tool in a pre-update package released by the resource server, and is used to obtain the update content of the target resource from the resource server; in response to the target resource update time arriving, the terminal device is notified of the start of the update window period; wherein, in response to the start of the update window period, the terminal device uses the resource update tool to use the update content to update the locally stored target resource.

[0077] A resource update tool running on the resource server; recording resource update process information; wherein the resource update tool is a resource update tool in a pre-update package released by a resource server; in response to the target resource update time arriving, notifying the terminal device of the start of the update window period.

[0078] The monitoring platform 103 can be a computer or can be integrated into a computer device.

[0079] Those skilled in the art may appreciate that the number of the above-mentioned terminal devices may be more or less, and the embodiments of the present disclosure do not limit the number of computer devices.

[0080] Figure 2 is a flow chart showing a resource update method applied to a resource server according to an exemplary embodiment. Figure 2 shown.

[0081] In step 201, a pre-update package is released before an update window period of a target resource, wherein the pre-update package is used to be downloaded by a terminal device carrying the target resource, and the pre-update package includes a resource update tool for running in the terminal device.

[0082] The resource server publishes the pre-update package before the start of the update window period, so that each terminal device can download the pre-update package before the update window period.

[0083] In step 202, update content required for the terminal device to update a target resource is provided to a resource update tool running in the terminal device, wherein the update content is determined by the resource update tool, and the update content is stored in a designated storage area by the resource update tool before an update window period of the target resource, and the designated storage area is located outside a local storage area of ​​the target resource in the terminal device; wherein, in response to the start of the update window period, the terminal device uses the resource update tool to update the locally stored target resource using the update content.

[0084] In this embodiment, the resource server releases a pre-update package including a resource update tool before the start of the update window period, and the terminal device downloads and locally runs the resource update tool in the pre-update package; and provides the terminal device with update content determined by the resource tool, and at the start of the update window period, the terminal device uses the resource update tool to update the locally stored target resource with the update content. This solution can complete resource updates during the update window period without putting pressure on the resource server.

[0085] In some embodiments

[0086] In response to the download address of the new download source provided by the monitoring platform, the download address of the download source is provided to the terminal device that updates the target resource; wherein the download address of the download source is the address stored on the corresponding terminal device after the monitoring platform monitors that the terminal device has completed downloading the update content.

[0087] Figure 3 is a flow chart of a resource updating method applied to a terminal device according to an exemplary embodiment. Figure 3 shown.

[0088] In step 301, a pre-update package is downloaded from a resource server before an update window period of a target resource, and a resource update tool in the pre-update package is run locally.

[0089] After downloading the pre-update package, obtain the resource update tool in the pre-update package and run it locally.

[0090] In step 302, before the update window period, the update content required for the terminal device to update the target resource is determined using a resource update tool running locally.

[0091] The time to determine what to update is after running the resource update tool and before the update window begins.

[0092] In step 303, before the update window period, the updated content of the target resource is obtained from the resource server using the resource update tool running locally, and stored in the designated storage area.

[0093] The specified storage area is outside the local storage area of ​​the target resource.

[0094] Here, the update content is stored in a designated storage area, that is, the update content is stored in a place irrelevant to the local target resource storage location. This operation ensures that the entire update content download process does not affect the use of the target resource.

[0095] In step 304, in response to the start of the update window period notified by the monitoring platform, the resource update tool is used to update the locally stored target resource with the update content.

[0096] Use the resource update tool to update target resources during the update window.

[0097] In this embodiment, the terminal device downloads the pre-update package from the resource server before the update window period of the target resource, and runs the resource update tool in the pre-update package locally to determine the update content required for the terminal device to update the target resource; obtains the update content of the target resource from the resource server and stores it in a designated storage area; in response to the start of the update window period notified by the monitoring platform, uses the resource update tool to update the locally stored target resource with the update content. This method of obtaining the update content of the target resource using the resource update tool before the resource update window period and storing it locally; after the update window period begins, the resource update can be performed directly locally. This resource update method can complete the resource update during the update window period without putting pressure on the resource server.

[0098] In some embodiments,

[0099] The pre-update package also includes data characteristics of the updated target resource;

[0100] Use the resource update tool running locally to determine the update content required for the terminal device to update the target resources, including:

[0101] The data features of the locally stored target resources are obtained by using a resource update tool, and the difference features are determined based on a difference comparison between the data features in the pre-update package and the data features of the locally stored target resources; the updated content is the target resources corresponding to the difference features.

[0102] Use the resource update tool running locally to obtain the updated content of the target resource from the resource server, including:

[0103] Using the resource update tool running locally, the target resource corresponding to the difference feature is obtained from the resource server as the update content;

[0104] Use the resource update tool to update the locally stored target resource with the updated content, including:

[0105] Use the resource update tool to replace the resources corresponding to the locally stored target resources with the updated content.

[0106] In some embodiments, the method further comprises:

[0107] In response to an instruction to start the direct update resource mode issued by the monitoring platform, the direct update resource mode is started; the time of starting the direct update resource mode is later than the start of the update window period.

[0108] In some embodiments, the method further comprises:

[0109] In response to the clearing instruction issued by the monitoring platform, the resource updating tool is used to clear the locally stored update content.

[0110] Figure 4 is a flow chart of a resource update method applied to a monitoring platform according to an exemplary embodiment. Figure 4 shown.

[0111] In step 401, a resource update tool running on a terminal device is monitored; resource update process information is recorded; wherein the resource update tool is a resource update tool in a pre-update package released by a resource server, and is used to obtain update content of a target resource from the resource server.

[0112] In step 402, in response to the target resource update time being reached, the terminal device is notified of the start of an update window period; wherein, in response to the start of the update window period, the terminal device uses a resource update tool to update the locally stored target resource with update content.

[0113] In the specific implementation, the notification content can be the beginning of the update window period, and the terminal device directly enters the update window update period after receiving it; it can also be the specific time when the window period starts. After receiving the notification, the terminal device records the start time of the update window period, and enters the update window period when the time arrives.

[0114] In this embodiment, the monitoring platform monitors the resource update tool running on the terminal device and records the resource update process information to determine whether the resource download is abnormal, when the download is completed, etc. This solution can complete the resource update within the update window period without putting pressure on the resource server.

[0115] In some embodiments, the method further comprises:

[0116] In response to the recorded resource update process information indicating that the update content download is complete, the resource server is notified of a download address of a new download source; wherein the download address of the new download source is a storage address where the update content is stored on the terminal device.

[0117] In some embodiments, the method further comprises:

[0118] In response to the recorded resource update process information indicating that the resource update is completed, the terminal device is notified to use the resource update tool to clear the locally stored update content.

[0119] Figure 5 is an interactive flow chart of a resource update method applied to a resource update system according to an exemplary embodiment, see Figure 5 shown.

[0120] In step 501, the resource server publishes a pre-update package before an update window period of a target resource.

[0121] The pre-update package released by the resource server includes a resource update tool to assist the terminal device in completing the resource update.

[0122] In a specific implementation, the pre-update package may also include data features of the updated target resource, which are used to compare the difference features and obtain only the target resource corresponding to the difference features from the resource server.

[0123] The data features of the updated target resource include: a complete directory tree structure and the file names it contains, feature codes of all files, and if the file is larger than a preset value, such as 100MB, the file can be sliced ​​into 100MB slices and the feature code of each file slice can be calculated.

[0124] In step 502, the terminal device downloads a pre-update package from a resource server before an update window period of the target resource, and locally runs a resource update tool in the pre-update package.

[0125] In step 503, the monitoring platform monitors the resource update tool running on the terminal device and records the resource update process information.

[0126] The progress information here includes: download of resource update content completed, target resource update completed.

[0127] In step 504, before the update window period, the terminal device uses a resource update tool running locally to determine the update content required for the terminal device to update the target resource.

[0128] In specific implementation, if the pre-update package includes the data features of the updated target resource, the resource update tool running locally is used to determine the update content required for the terminal device to update the target resource. This can be implemented in the following ways:

[0129] The resource update tool is used to obtain data features of the locally stored target resource, and the difference features are determined based on a difference comparison between the data features in the pre-update package and the data features of the locally stored target resource; and the update content is determined to be the target resource corresponding to the difference features.

[0130] In step 505, before the update window period, the terminal device uses a resource update tool running locally to obtain updated content of the target resource from the resource server and stores it in a designated storage area.

[0131] Step 504 and step 505 can be performed after the pre-update package is downloaded locally and before the update window period. The specific time of execution during this period is not limited.

[0132] In this step, the resource update tool running locally is used to obtain the updated content of the target resource from the resource server, including:

[0133] The resource update tool running locally is used to obtain target resources corresponding to the difference features from the resource server as update content.

[0134] The updated content here is the target resource corresponding to the difference feature, that is, there is no need to download all the target resources after the update, only the updated difference content needs to be downloaded. This implementation method will mostly greatly reduce the amount of resources downloaded from the resource server, reduce system consumption, and improve system work efficiency.

[0135] The designated storage area here is located outside the local storage area of ​​the target resource. This implementation ensures that the pre-downloaded stored update content does not affect the normal use of the target resource.

[0136] In step 506, in response to the recorded resource update process information indicating that the update content download is complete, the monitoring platform notifies the resource server of the download address of the new download source.

[0137] The download address of the new download source is the storage address where the update content is stored on the terminal device.

[0138] In specific implementation, the state of the resource update tool can be updated to the mutual assistance mode, so that the updated content on the terminal device that has completed downloading is used as a new download source, which can further alleviate the bandwidth pressure of the resource server.

[0139] In step 507, in response to the download address of the new download source provided by the monitoring platform, the resource server provides the download address of the download source to the terminal device that is updating the target resource.

[0140] The download address of the download source is the address stored on the corresponding terminal device after the monitoring platform monitors that the terminal device has completed downloading the update content.

[0141] In step 508, in response to the target resource update time arriving, the monitoring platform notifies the terminal device of the start of the update window period.

[0142] In step 509, in response to the start of the update window period notified by the monitoring platform, the resource update tool is used to update the locally stored target resource with the update content.

[0143] In specific implementation, the resource update tool is used to update the locally stored target resource with the updated content, including:

[0144] Use the resource update tool to replace the resources corresponding to the locally stored target resources with the updated content.

[0145] Only part of the resources are replaced here, which can reduce the download of resources and save the consumption of device resources.

[0146] In step 510, in response to the recorded resource update process information indicating that the resource update is completed, the monitoring platform notifies the terminal device to use the resource update tool to clear the locally stored update content.

[0147] In step 511, in response to the notification from the monitoring platform, the terminal device clears the locally stored update content using the resource update tool.

[0148] In the related art, the related data obtained by using the resource update tool needs to be deleted by the resource update tool. Therefore, the updated content downloaded by using the resource update tool is cleared through notification.

[0149] At this point, the entire process of resource update is completed.

[0150] The embodiments of the present application can also be compatible with the implementation of the direct update resource mode in the related technology, which can be specifically:

[0151] The monitoring platform determines the time to start the direct resource update mode according to the completion status of the terminal device resource update, and sends an instruction to start the direct resource update mode to the terminal device according to the determined time.

[0152] The time determined to start the direct update resource mode is later than the start of the update window period.

[0153] For example, the time when 90% of the terminal devices complete the resource update can be determined as the time to start the direct update resource mode; or the time when all terminal devices complete the resource update can be determined as the time to start the direct update mode. When implemented in the embodiments of the present application, there is no limit on the number of terminals that specifically complete the resource update, and it can be set according to the total number of terminal devices that need to perform resource update and the duration of the update window period.

[0154] The terminal device starts the direct update resource mode in response to the instruction to start the direct update resource mode issued by the monitoring platform.

[0155] The direct resource update mode here refers to the resource update method in the related technology, such as starting to download the resource update package and update the resources at the beginning of the update window period, that is, the relevant processes of resource update are executed at the beginning of the update window period; if the update window period is not completed, the resource update will continue after the window period ends, which will affect the use of resources and reduce the user experience.

[0156] After starting the direct update resource mode, each terminal device in the embodiment of the present application stops the fast resource update solution provided by the embodiment of the present application and switches to using the direct update resource mode for resource update. After the switch, the terminal device that has completed the resource update ends the resource update process, and the terminal device that has not completed the resource update uses the direct update resource mode for resource update.

[0157] Based on the same inventive concept, the embodiment of the present application also provides a resource updating device. Figure 6 , Figure 6 This is a schematic diagram of the structure of a resource updating device applied to a terminal device in an embodiment of the present application. The device includes:

[0158] The downloading unit 601 is configured to download a pre-update package from a resource server before an update window period of a target resource;

[0159] An operating unit 602 is configured to execute locally a resource update tool in the pre-update package;

[0160] The determination unit 603 is configured to determine, before the update window period, using the resource update tool running locally to update the target resource required by the terminal device;

[0161] The obtaining unit 604 is configured to obtain the updated content of the target resource from the resource server by using the resource update tool running locally before the update window period, and store the updated content in a designated storage area, wherein the designated storage area is located outside the local storage area of ​​the target resource;

[0162] The updating unit 605 is configured to execute, in response to the start of the update window period notified by the monitoring platform, using the resource updating tool to update the locally stored target resource with the update content.

[0163] In another embodiment, the pre-update package further includes data features of the updated target resource;

[0164] The determination unit 603 is configured to execute the resource update tool running locally to determine the update content required for the terminal device to update the target resource, obtain the data features of the target resource stored locally by using the resource update tool, and determine the difference features based on the data features in the pre-update package and the data features of the target resource stored locally; the update content is the target resource corresponding to the difference features.

[0165] The acquisition unit 604 is configured to acquire the target resource corresponding to the difference feature from the resource server as the update content when acquiring the update content of the target resource from the resource server by using the resource update tool running locally;

[0166] The updating unit 605 is configured to use the resource updating tool to replace the resource corresponding to the locally stored target resource with the updated content when using the resource updating tool to update the locally stored target resource with the updated content.

[0167] In another embodiment,

[0168] The determination unit 603 is configured to execute, in response to an instruction of starting the direct update resource mode issued by the monitoring platform, starting the direct update resource mode; the time of starting the direct update resource mode is later than the start of the update window period.

[0169] In another embodiment, the apparatus further comprises: a cleaning unit;

[0170] The clearing unit 606 is configured to execute a clearing instruction in response to the monitoring platform and use the resource update tool to clear the locally stored update content.

[0171] Based on the same inventive concept, the embodiment of the present application also provides a resource updating device. Figure 7 , Figure 7 This is a schematic diagram of the structure of a resource update device applied to a resource server side in an embodiment of the present application. The device includes:

[0172] A publishing unit 701 is configured to execute publishing of a pre-update package before an update window period of a target resource, wherein the pre-update package is used to be downloaded by a terminal device carrying the target resource, and the pre-update package includes a resource update tool for running in the terminal device;

[0173] The providing unit 702 is configured to execute providing the resource update tool running in the terminal device with update content required for the terminal device to update the target resource, wherein the update content is determined by the resource update tool, and the update content is stored in a designated storage area by the resource update tool before an update window period of the target resource, and the designated storage area is located outside a local storage area of ​​the target resource in the terminal device; wherein, in response to the start of the update window period, the terminal device uses the resource update tool to update the locally stored target resource using the update content.

[0174] In another embodiment,

[0175] The providing unit 702 is further configured to execute a download address of a new download source provided by the monitoring platform, and provide the download address of the download source to the terminal device that updates the target resource; wherein the download address of the download source is the address stored on the corresponding terminal device after the monitoring platform monitors that the terminal device has completed downloading the update content.

[0176] Based on the same inventive concept, the embodiment of the present application also provides a resource updating device. Figure 8 , Figure 8 This is a schematic diagram of the structure of a resource update device applied to the monitoring platform side in an embodiment of the present application. The device includes:

[0177] The monitoring unit 801 is configured to execute a resource update tool running on a monitoring terminal device;

[0178] The recording unit 802 is configured to execute and record resource update process information; wherein the resource update tool is a resource update tool in a pre-update package released by a resource server, and is used to obtain the update content of the target resource from the resource server;

[0179] The notification unit 803 is configured to execute, in response to the target resource update time arriving, notifying the terminal device of the start of an update window period; wherein, in response to the start of the update window period, the terminal device uses the resource update tool to use the update content to update the locally stored target resource.

[0180] In another embodiment,

[0181] The notification unit 803 is configured to execute, in response to the recorded resource update process information that the update content download is completed, notifying the resource server of the download address of a new download source; wherein the download address of the new download source is the storage address where the update content is stored on the terminal device.

[0182] In another embodiment,

[0183] The notification unit 803 is configured to execute, in response to the recorded resource update process information indicating that the resource update is completed, to notify the terminal device to clear the locally stored update content using the resource update tool.

[0184] The units in the above-mentioned embodiments may be integrated into one body or deployed separately; they may be combined into one unit or further divided into multiple sub-units.

[0185] The embodiment of the present application also provides a resource update system, which includes:

[0186] The resource server releases a pre-update package before the update window of the target resource;

[0187] The terminal device downloads a pre-update package from a resource server before an update window period of a target resource, and locally runs a resource update tool in the pre-update package; before the update window period, the terminal device uses the resource update tool running locally to determine the update content required for updating the target resource; before the update window period, the terminal device uses the resource update tool running locally to obtain the update content of the target resource from the resource server and store it in a designated storage area, wherein the designated storage area is located outside the local storage area of ​​the target resource; in response to the start of the update window period notified by the monitoring platform, the terminal device uses the resource update tool to update the locally stored target resource with the update content;

[0188] The monitoring platform monitors the resource update tool running on the terminal device; records the resource update process information; and notifies the terminal device of the start of the update window period in response to the arrival of the target resource update time.

[0189] In another embodiment, the pre-update package further includes updated data features of the target resource;

[0190] The terminal device uses the resource update tool running locally to determine the update content required for the terminal device to update the target resource, uses the resource update tool to obtain the data features of the target resource stored locally, and compares the data features in the pre-update package with the data features of the target resource stored locally to determine the difference features; the update content is the target resource corresponding to the difference features; when using the resource update tool running locally to obtain the update content of the target resource from the resource server, uses the resource update tool running locally to obtain the target resource corresponding to the difference features from the resource server as the update content; when using the resource update tool to use the update content to update the locally stored target resource, uses the resource update tool to use the update content to replace the resource corresponding to the locally stored target resource.

[0191] In some embodiments,

[0192] The terminal device starts the direct update resource mode in response to the instruction to start the direct update resource mode issued by the monitoring platform; the time of starting the direct update resource mode is later than the start of the update window period.

[0193] In some embodiments,

[0194] The terminal device, in response to the clearing instruction issued by the monitoring platform, uses the resource updating tool to clear the locally stored update content.

[0195] In some embodiments,

[0196] The resource server, in response to the download address of the new download source provided by the monitoring platform, provides the download address of the download source to the terminal device that updates the target resource; wherein the download address of the download source is the address stored on the corresponding terminal device by the monitoring platform after monitoring that the terminal device has completed downloading the update content.

[0197] In some embodiments,

[0198] The monitoring platform, in response to the recorded resource update process information indicating that the update content download is complete, notifies the resource server of the download address of a new download source; wherein the download address of the new download source is the storage address where the update content is stored on the terminal device.

[0199] In some embodiments, the method further comprises:

[0200] The monitoring platform, in response to the recorded resource update process information indicating that the resource update is completed, notifies the terminal device to use the resource update tool to clear the locally stored update content.

[0201] In another embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps of the resource updating method are implemented when the processor executes the program.

[0202] In another embodiment, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, the steps in the resource updating method are implemented.

[0203] Fig. 9 Schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. Fig. 9 As shown, the electronic device may include: a processor (Processor) 910, a communication interface (Communications Interface) 920, a memory (Memory) 930 and a communication bus 940, wherein the processor 910, the communication interface 920, and the memory 930 communicate with each other through the communication bus 940. The processor 910 may call the logic instructions in the memory 930 to execute the following method:

[0204] Download the pre-update package from the resource server before the update window period of the target resource, and run the resource update tool in the pre-update package locally;

[0205] Before the update window period, using a resource update tool running locally, determine the update content required for the terminal device to update the target resource;

[0206] Before the update window period, using a resource update tool running locally, obtain the updated content of the target resource from the resource server and store it in a designated storage area, wherein the designated storage area is located outside the local storage area of ​​the target resource;

[0207] In response to the start of the update window period notified by the monitoring platform, the resource update tool is used to update the locally stored target resource with the update content.

[0208] or,

[0209] Release a pre-update package before the update window period of the target resource, wherein the pre-update package is used to be downloaded by a terminal device carrying the target resource, and the pre-update package includes a resource update tool for running in the terminal device;

[0210] Providing update content required for the terminal device to update the target resource to a resource update tool running in the terminal device, wherein the update content is determined by the resource update tool, and the update content is stored in a designated storage area by the resource update tool before an update window period of the target resource, and the designated storage area is located outside a local storage area of ​​the target resource in the terminal device;

[0211] In response to the start of the update window period, the terminal device uses the resource update tool to update the locally stored target resource with the update content.

[0212] or,

[0213] Monitoring the resource update tool running on the terminal device; recording the resource update process information; wherein the resource update tool is a resource update tool in a pre-update package released by a resource server, and is used to obtain the update content of the target resource from the resource server;

[0214] In response to the target resource update time being reached, notifying the terminal device of the start of the update window period;

[0215] In response to the start of the update window period, the terminal device uses the resource update tool to update the locally stored target resource with the update content.

[0216] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0217] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0218] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0219] The flow chart and block diagram in the accompanying drawings of the present application show the possible architecture, function and operation of the system, method and computer program product according to the various embodiments disclosed in the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in the order of the standards in different figures. For example, the boxes represented by two connections can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0220] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims disclosed in this application may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in this application. In particular, without departing from the spirit and teachings of this application, the features described in the various embodiments and / or claims of this application may be combined and / or combined in a variety of ways, and all of these combinations and / or combinations fall within the scope disclosed in this application.

[0221] Specific embodiments are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core ideas, and is not used to limit the present application. For those skilled in the art, changes can be made in the specific implementation methods and application scopes according to the ideas, spirits and principles of the present invention, and any modifications, equivalent substitutions, improvements, etc. made therein should be included in the scope of protection of this application.

Claims

1. A resource updating method, It is characterized in that The method comprises: Downloading a pre-update package from a resource server before the update window period of the target resource, and running a resource update tool in the pre-update package locally; Before the update window period, using the resource update tool running locally, determining the update content required for the terminal device to update the target resource; Before the update window period, using the resource update tool running locally, obtain the updated content of the target resource from the resource server and store it in a designated storage area, wherein the designated storage area is located outside the local storage area of ​​the target resource; In response to the start of the update window period notified by the monitoring platform, using the resource update tool to update the locally stored target resource using the update content; in, The pre-update package also includes the updated data features of the target resource; The using the resource update tool running locally to determine the update content required for the terminal device to update the target resource includes: The resource update tool is used to obtain the data features of the target resource stored locally, and a difference feature is determined based on a difference comparison between the data features in the pre-update package and the data features of the target resource stored locally; the update content is the target resource corresponding to the difference feature; The obtaining the updated content of the target resource from the resource server by using the resource update tool running locally includes: Using the resource update tool running locally, obtaining the target resource corresponding to the difference feature from the resource server as the update content; The using the resource update tool to use the update content to update the locally stored target resource includes: The resource update tool is used to replace the locally stored resource corresponding to the target resource with the update content.

2. The method according to claim 1, It is characterized in that The method further comprises: In response to the instruction of starting the direct update resource mode issued by the monitoring platform, the direct update resource mode is started; the time of starting the direct update resource mode is later than the start of the update window period.

3. The method according to claim 1 or 2, It is characterized in that The method further comprises: In response to the clearing instruction issued by the monitoring platform, the locally stored update content is cleared using the resource update tool.

4. A resource updating method, It is characterized in that The method comprises: Release a pre-update package before the update window period of the target resource, wherein the pre-update package is used to be downloaded by a terminal device carrying the target resource, and the pre-update package includes a resource update tool for running in the terminal device, and data features of the updated target resource; Providing the resource update tool running in the terminal device with update content required for the terminal device to update the target resource, wherein the update content is determined by the resource update tool by performing a difference comparison between data features in the pre-update package and data features of the target resource stored locally, and the update content is stored in a designated storage area by the resource update tool before an update window period of the target resource, and the designated storage area is located outside a local storage area of ​​the target resource in the terminal device; In response to the start of the update window period, the terminal device uses the resource update tool to update the locally stored target resource using the update content.

5. The method according to claim 4, It is characterized in that The method further comprises: In response to the download address of a new download source provided by the monitoring platform, the download address of the download source is provided to the terminal device that updates the target resource; wherein, the download address of the download source is the address stored on the corresponding terminal device after the monitoring platform monitors that the terminal device has completed downloading the update content.

6. A resource updating method, It is characterized in that The method comprises: Monitoring a resource update tool running on a terminal device; recording resource update process information; wherein the resource update tool is a resource update tool obtained from a pre-update package released by a resource server before an update window period, and is used to obtain update content of a target resource from the resource server; the update content is determined by the resource update tool by comparing the difference between data features in the pre-update package and data features of the target resource stored locally on the resource server; In response to the target resource update time being reached, notifying the terminal device of the start of the update window period; In response to the start of the update window period, the terminal device uses the resource update tool to update the locally stored target resource using the update content.

7. The method according to claim 6, It is characterized in that The method further comprises: In response to the recorded resource update process information indicating that the update content download is complete, the resource server is notified of a download address of a new download source; wherein the download address of the new download source is a storage address where the update content is stored on the terminal device.

8. The method according to claim 6, It is characterized in that The method further comprises: In response to the recorded resource update process information indicating that the resource update is completed, the terminal device is notified to use the resource update tool to clear the locally stored update content.

9. A resource updating device, It is characterized in that The device comprises: A downloading unit, configured to download a pre-update package from a resource server before an update window period of a target resource; An operating unit, configured to execute and locally run the resource update tool in the pre-update package; A determination unit configured to determine, before the update window period, using the resource update tool running locally, the update content required for the terminal device to update the target resource; an acquisition unit, configured to acquire, before the update window period, the updated content of the target resource from the resource server using the resource update tool running locally, and store the updated content in a designated storage area, wherein the designated storage area is located outside the local storage area of ​​the target resource; an updating unit, configured to execute, in response to the start of the update window period notified by the monitoring platform, updating the locally stored target resource using the update content by using the resource update tool; Wherein, the pre-update package also includes the updated data features of the target resource; The determining unit is configured to specifically execute, when determining the update content required for the terminal device to update the target resource by using the resource update tool running locally, obtaining the data features of the target resource stored locally by using the resource update tool, and performing a difference comparison based on the data features in the pre-update package and the data features of the target resource stored locally to determine the difference features; the update content is the target resource corresponding to the difference features; The acquisition unit is configured to specifically execute the step of acquiring the target resource corresponding to the difference feature from the resource server as the update content by using the resource update tool running locally when acquiring the update content of the target resource from the resource server by using the resource update tool running locally; The updating unit is configured to specifically execute the updating of the locally stored target resource by using the resource updating tool and the updating content, and to replace the resource corresponding to the locally stored target resource by using the resource updating tool and the updating content.

10. A resource updating device, It is characterized in that The device comprises: a publishing unit, configured to execute publishing of a pre-update package before an update window period of a target resource, wherein the pre-update package is used to be downloaded by a terminal device carrying the target resource, and the pre-update package includes a resource update tool for running in the terminal device, and data features of the updated target resource; A providing unit is configured to execute the provision of update content required for the terminal device to update the target resource to the resource update tool running in the terminal device, wherein the update content is determined by the resource update tool based on a difference comparison between data features in the pre-update package and data features of the locally stored target resource, and the update content is stored in a designated storage area by the resource update tool before an update window period for the target resource, and the designated storage area is located outside the local storage area for the target resource in the terminal device; wherein, in response to the start of the update window period, the terminal device uses the resource update tool to update the locally stored target resource using the update content.

11. A resource updating device, It is characterized in that The device comprises: A monitoring unit, configured to execute a resource update tool running on a monitoring terminal device; A recording unit, configured to execute and record resource update process information; wherein the resource update tool is a resource update tool obtained from a pre-update package released by a resource server before the update window period, and is used to obtain update content of a target resource from the resource server; the update content is determined by the resource update tool by comparing the difference between data features in the pre-update package and data features of the target resource locally stored on the resource server; The notification unit is configured to execute, in response to the target resource update time arriving, notifying the terminal device of the start of an update window period; wherein, in response to the start of the update window period, the terminal device uses the resource update tool to use the update content to update the locally stored target resource.

12. A resource updating system, It is characterized in that The system includes: a resource server, a terminal device and a monitoring platform; The resource server publishes a pre-update package before an update window period of the target resource; The terminal device downloads a pre-update package from the resource server before the update window period of the target resource, and locally runs the resource update tool in the pre-update package; before the update window period, the resource update tool running locally is used to determine the update content required for the terminal device to update the target resource; before the update window period, the resource update tool running locally is used to obtain the update content of the target resource from the resource server and store it in a designated storage area, wherein the designated storage area is located outside the local storage area of ​​the target resource; in response to the start of the update window period notified by the monitoring platform, the resource update tool is used to update the locally stored target resource with the update content; The monitoring platform monitors the resource update tool running on the terminal device; records the resource update process information; and in response to the target resource update time arriving, notifies the terminal device of the start of the update window period; Wherein, the pre-update package also includes the updated data features of the target resource; The terminal device, when using the resource update tool running locally to determine the update content required for the terminal device to update the target resource, uses the resource update tool to obtain the data features of the target resource stored locally, and compares the data features in the pre-update package with the data features of the target resource stored locally to determine the difference features; the update content is the target resource corresponding to the difference features; when using the resource update tool running locally to obtain the update content of the target resource from the resource server, using the resource update tool running locally to obtain the target resource corresponding to the difference features from the resource server as the update content; when using the resource update tool to update the locally stored target resource using the update content, using the resource update tool to replace the resource corresponding to the locally stored target resource.

13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method according to any one of claims 1-3, 4-5, or 6-8 is implemented.

14. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method described in any one of claims 1-3, 4-5, or 6-8 is implemented.