CN114637528B - Resource updating method, apparatus, computer device, storage medium, and program product - Google Patents

Resource updating method, apparatus, computer device, storage medium, and program product Download PDF

Info

Publication number
CN114637528B
CN114637528B CN202210489732.6A CN202210489732A CN114637528B CN 114637528 B CN114637528 B CN 114637528B CN 202210489732 A CN202210489732 A CN 202210489732A CN 114637528 B CN114637528 B CN 114637528B
Authority
CN
China
Prior art keywords
resource
information
files
structure information
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210489732.6A
Other languages
Chinese (zh)
Other versions
CN114637528A (en
Inventor
鞠坤峰
刘丰
徐伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch
Original Assignee
Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch filed Critical Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch
Priority to CN202210489732.6A priority Critical patent/CN114637528B/en
Publication of CN114637528A publication Critical patent/CN114637528A/en
Application granted granted Critical
Publication of CN114637528B publication Critical patent/CN114637528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present application relates to a resource updating method, apparatus, computer device, storage medium and program product. The method comprises the following steps: receiving resource structure information uploaded by a client and resource parameter information corresponding to the resource structure information; calculating to obtain a difference resource according to the resource structure information and the resource parameter information; sending the delta resource to the client. The method comprises the following steps: sending resource structure information and resource parameter information corresponding to the resource structure information to a server; the receiving server calculates to obtain the residual resource according to the resource structure information and the resource parameter information; and updating the corresponding application according to the residual resource. By adopting the method, the data flow can be saved, and the page loading speed can be improved.

Description

Resource updating method, apparatus, computer device, storage medium, and program product
Technical Field
The present application relates to the field of application program technologies, and in particular, to a resource updating method, apparatus, computer device, storage medium, and program product.
Background
With the development of the mobile internet, more and more application systems are presented to the client in the form of App clients to complete related operations.
However, with the timeliness and online urgency of business system requirements, the versions of apps are released too many correspondingly, the release versions need to be audited by an application store, the process is complicated, the client is updated too frequently, the user experience is reduced, and meanwhile, the flow consumption of the user is aggravated, and the excessive consumption of time and money is caused.
To solve the above problems, Hybrid App, i.e., a mixed mode mobile application, has emerged. The hybrid App reduces development cost, realizes fast iteration online of products, but still avoids excessive flow consumption, for example, in an HTML page online form, static resources always need all requests, resulting in poor fluency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a resource updating method, device, computer readable storage medium, and computer program product, which can save data traffic and improve page loading speed.
In a first aspect, the present application provides a resource updating method, which is applied to a server, and the method includes:
receiving resource structure information uploaded by a client and resource parameter information corresponding to the resource structure information;
calculating to obtain a difference resource according to the resource structure information and the resource parameter information;
sending the delta resource to the client.
In one embodiment, the calculating the delta resource according to the resource structure information and the resource parameter information includes:
determining a current resource layer from a resource packet according to the depth information in the resource parameter information;
selecting a corresponding file from the current resource layer according to the resource structure information;
and when the selection of the files in the current resource layer is finished, continuing to acquire a next resource layer as the current resource layer according to the depth information, and continuing to select corresponding files from the current resource layer according to the resource structure information until the corresponding resource layer is traversed according to the depth information.
In one embodiment, the selecting a corresponding file from the current resource layer according to the resource structure information includes:
acquiring breadth information from the resource parameter information;
and acquiring files with the number corresponding to the breadth information from the current resource layer according to the resource structure information.
In one embodiment, the resource structure information is represented by a file information linked list; the acquiring, from the current resource layer according to the resource structure information, files of a number corresponding to the extent information includes:
acquiring a file corresponding to a node which is not a preset value in the file information linked list from the current resource layer;
judging whether the number of the acquired files meets the requirement or not according to the breadth information;
and when the number of the acquired files meets the requirement, continuously acquiring the next resource layer as the current resource layer according to the depth information, otherwise, continuously acquiring the files corresponding to the nodes which are not the preset values in the file information linked list from the current resource layer.
In a second aspect, the present application provides a resource updating method, applied to a client, where the method includes:
sending resource structure information and resource parameter information corresponding to the resource structure information to a server;
calculating to obtain a difference resource according to the resource structure information and the resource parameter information by the receiving server;
and updating the corresponding application according to the delta resource.
In one embodiment, the method further comprises:
receiving a first function access instruction;
determining a corresponding resource according to the first function access instruction;
acquiring a resource access tree, wherein the resource access tree comprises a plurality of nodes;
adding a node value of a target node corresponding to the resource and a node value of a node at the upper stage of the target node;
and generating resource structure information and resource parameter information corresponding to the resource structure information according to the resource access tree.
In one embodiment, the generating resource structure information according to the resource access tree includes:
starting from the root node of the resource access tree, in the adjacent linked list, taking the node of the resource access tree as a linked list head, and sequentially inserting child nodes to the linked list head end to obtain resource structure information.
In one embodiment, the depth information in the resource parameter information is the length of the adjacency linked list; and the breadth information in the resource parameter information is the number of child nodes of each node in the adjacency linked list.
In one embodiment, after receiving the first function access, the method further includes:
judging whether the resource corresponding to the second function access instruction is updated or not;
when the resource is updated and is updated to the local, loading the updated resource;
when the resource is updated and is not loaded to the local, sending resource structure information and resource parameter information corresponding to the resource structure information to a server;
and when the resource is not updated, loading the local resource.
In a third aspect, the present application provides a resource updating apparatus, applied to a server, where the apparatus includes:
the first receiving module is used for receiving the resource structure information uploaded by the client and the resource parameter information corresponding to the resource structure information;
the residual resource calculation module is used for calculating residual resources according to the resource structure information and the resource parameter information;
a first sending module, configured to send the delta resource to the client.
In a fourth aspect, the present application provides a resource updating apparatus, applied to a client, the apparatus including:
the second sending module is used for sending the resource structure information and the resource parameter information corresponding to the resource structure information to the server;
the second receiving module is used for receiving the resource structure information and the resource parameter information which are calculated by the server to obtain the residual resource;
and the updating module is used for updating the corresponding application according to the residual resource.
In a fifth aspect, the present application provides a computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the method described in any one of the above embodiments when executing the computer program.
In a sixth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described in any one of the embodiments.
In a seventh aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the method described in any one of the embodiments.
According to the resource updating method, the resource updating device, the computer equipment, the storage medium and the program product, the residual quantity resources are obtained through calculation of the resource structure information and the resource parameter information, only the residual quantity resources are required to be downloaded each time, so that the data flow can be saved, in addition, only the residual quantity resources are required to be downloaded each time, so that the time is saved, the loading speed of the page is improved, the client can be started in seconds, and the difference in experience between the client and the native client is almost avoided in use.
Drawings
FIG. 1 is a diagram of an application environment of a resource update method in one embodiment;
FIG. 2 is a flowchart illustrating a resource update method according to an embodiment;
FIG. 3 is a flowchart illustrating a resource updating method according to another embodiment;
FIG. 4 is a flowchart illustrating a resource updating method according to still another embodiment;
FIG. 5 is a block diagram showing the structure of a resource update apparatus according to an embodiment;
FIG. 6 is a block diagram of an apparatus for updating resources according to an embodiment;
FIG. 7 is a diagram of the internal structure of a computer device in one embodiment;
fig. 8 is an internal structural view of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The resource updating method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104, or may be located on the cloud or other network server. In which the terminal 102 has a client installed therein. Specifically, resource structure information uploaded by the client and resource parameter information corresponding to the resource structure information are sent to the server 104, and the server 104 calculates difference resources according to the resource structure information and the resource parameter information; the residual resource is sent to the client, the residual resource is obtained through resource structure information and resource parameter information calculation, the residual resource only needs to be downloaded each time, and therefore data flow can be saved.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The server 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
In an embodiment, as shown in fig. 2, a resource updating method is provided, which is described by taking the application of the method to a client in the terminal in fig. 1 as an example, and includes the following steps:
s202: and receiving resource structure information uploaded by the client and resource parameter information corresponding to the resource structure information.
Specifically, the resource structure information is resource parameter information used to represent the resource accessed by the client, and may generate a corresponding adjacency linked list according to the resource accessed by the client.
The resource parameter information comprises the breadth of the resource and/or the depth of the resource, wherein the depth of the resource refers to the depth of the resource accessed by the client, and the breadth of the resource refers to the number of files of each folder in each layer of the resource accessed by the client.
The method includes that a resource access tree representing a hierarchical structure of resources is stored in a client, when a user uses a corresponding function, namely, accesses the corresponding resource, a node value of the resource access tree corresponding to the resource is increased, for example, by 1, and simultaneously a node value of a folder to which the node belongs is also increased, if the function relates to a plurality of resources, the node value corresponding to each resource is increased, and if different resources belong to the same upper node, an increased value of the upper node is the sum of the increased values of each resource.
Specifically, the file resource and the folder of the offline package correspond to each node on the resource file tree locally at the client, and the initial value of each tree node is 0, wherein optionally, after each update, the value of the tree node is set to be 0. When a client accesses a function every time, the tree node value of a file related to the function is increased by 1, and the node value of a folder to which the function belongs is also increased by 1, if the function relates to a plurality of files, the value increased by the folder node value of the file belongs is the sum of the added values of the plurality of files, and finally, an access depth D (the depth of the folder and the file under the accessed folder) and an access extent W are calculated according to the folder tree. Wherein begin from file tree root node, adopt the adjacency list to store, use each node as the chain table head, end insert the chain table head with child's node in proper order, finally form file information linked list L, the size of file linked list is the extent W, the size sum of all elements is degree D in the linked list, the extent is the extent of every folder, the file linked list points to each element of lost array, it all is a linked list to mean that every element in the folder array all, how many elements have how many extents in the array then, degree D is also the degree of depth of folder.
After the client calculates and obtains the resource structure information and the resource parameter information, the resource structure information and the resource parameter information are sent to the server, so that the server can calculate and obtain the differential resource.
In one embodiment, specifically, before uploading the resource structure information and the resource parameter information corresponding to the resource structure information, the client may be generated after the user accesses the corresponding resource file, where the client records an access path of the user and determines whether the resource corresponding to the corresponding access path is updated, and if so, downloads the corresponding delta resource from the server.
S204: and calculating to obtain the difference resource according to the resource structure information and the resource parameter information.
In particular, a delta resource refers to an increment of a resource involved in a function that the user has used, i.e., on the one hand, if the user has not used the function before, the resource involved in the function is added as a delta resource to the delta packet. If there is an update to the resource, the resource is added to the delta packet.
Specifically, the off-line package is stored in the server in advance, for example, the off-line resource package is rapidly generated through a Jenkins automatic packaging tool, no manual intervention is provided, the uncertainty possibly occurring in the manual operation process is reduced, the accuracy of the off-line package of the client side is effectively guaranteed, the server side adopts a similar tree structure to calculate and generate the off-line package through the access depth and the access width of the client side, and the client side updates the thermal restoration mode through silent downloading and generating.
Specifically, in practical application, after the HTML code test is passed, the production offline package is automatically and quickly produced through a Jenkins automatic offline packaging tool, and after packaging is completed, the production offline package HN is automatically transmitted to a background resource management server, namely, a server.
In one embodiment, when determining the corresponding file from the offline package, the server may further receive the current resource version uploaded by the client, so that the server compares the current resource version uploaded by the client with the local resource version to determine whether the resource version of the client is the latest, if so, the delta resource is directly calculated and issued, otherwise, the offline package of the latest version is acquired, and the delta resource is acquired from the offline package of the latest version.
It should also be noted that the first download will carry the latest resource package file. And during subsequent updating, the server compares the files of the two versions and fills up the new file. That is, when a new version exists, if a new resource file exists, the new resource file is issued regardless of whether the user accesses the new resource file. The new resource file refers to a resource file that originally has no corresponding, i.e., new, function. Not to updated resource files.
S206: the delta resource is sent to the client.
Specifically, after the server calculates the difference resource, the difference resource is issued to the client, so that all off-line package resources are not required to be issued, and data traffic is saved.
According to the resource updating method, the delta resource is obtained through calculation of the resource structure information and the resource parameter information, only the delta resource needs to be downloaded each time, so that data flow can be saved, in addition, the delta resource only needs to be downloaded each time, so that time is saved, the loading speed of a page is improved, a client can be started in seconds, and the difference in experience between the client and a native client is almost avoided.
In one embodiment, calculating the delta resource according to the resource structure information and the resource parameter information includes: determining a current resource layer from the resource packet according to the depth information in the resource parameter information; selecting a corresponding file from the current resource layer according to the resource structure information; and when the selection of the files in the current resource layer is finished, continuing to acquire the next resource layer as the current resource layer according to the depth information, and continuing to select the corresponding files from the current resource layer according to the resource structure information until the corresponding resource layer is traversed according to the depth information.
Specifically, the resource package is the above offline package, which is generated by automatic packaging. The depth information, that is, the number of layers of resources accessed corresponding to functions used by the client, may be calculated according to a resource access tree, and a resource layer to be traversed may be determined from a resource bundle according to the depth information, and optionally, the server starts to traverse from the first layer, and selects a corresponding file from the current resource layer according to the resource structure information, that is, selects a corresponding file from the corresponding resource layer according to a value of each node in the resource structure information until all resource layers are traversed, and packs the obtained file to obtain the delta resource.
In the above embodiment, not all resource files need to be issued, but the delta resource is calculated according to the resource accessed by the client, so as to reduce the transmission amount of the resource.
In one embodiment, selecting a corresponding file from the current resource layer according to the resource structure information includes: acquiring breadth information from the resource parameter information; and acquiring files with the number corresponding to the breadth information from the current resource layer according to the resource structure information.
Specifically, the extent information is only the number of subordinate nodes involved in each node, that is, the number of subordinate files involved in each folder. Each node has the extent information, so that the extent information of the node is 3, and the number of the acquired files is equal to 3.
In one embodiment, the resource structure information is represented by a file information linked list; obtaining the files with the quantity corresponding to the breadth information from the current resource layer according to the resource structure information, and the method comprises the following steps: acquiring a file corresponding to a node which is not a preset value in a file information linked list from a current resource layer; judging whether the number of the acquired files meets the requirement or not according to the breadth information; and when the number of the acquired files meets the requirement, continuously acquiring the next resource layer as the current resource layer according to the depth information, otherwise, continuously acquiring the files corresponding to the nodes which are not the preset values in the file information linked list from the current resource layer.
Specifically, when the client requests the server, parameters are transmitted: the method comprises the following steps of (1) obtaining a file information linked list L, a current resource package version V of a client, current user access D and access extent W of each level of a current user; and the server side simultaneously judges whether the corresponding node value in the linked list L is larger than 0 according to the corresponding breadth value in the breadth W from the folder at the layer 1 of the offline package according to the access depth D transmitted by the client side, if so, the file is reserved, if so, the file is deleted, the next level of depth is continuously accessed, and the like is repeated until all files in a certain folder and the node values of the folders in the linked list are 0, at the moment, the directory at the top layer is returned, other directories are accessed according to the logic, files meeting the node value requirement are deleted or reserved, after all the files are completely accessed, the remaining files generate zip packages, namely the minimum zip files meeting the requirement, and the download address is returned to the client side.
In the above embodiment, the incremental update logic is adopted, so that the mobile data traffic for downloading the offline resource is saved by about 80%, and the economic cost of the user is greatly reduced.
In one embodiment, as shown in fig. 3, a resource updating method is provided, which is described by taking the method as an example applied to the client in fig. 1, and includes the following steps:
s302: and sending the resource structure information and the resource parameter information corresponding to the resource structure information to the server.
Specifically, the file resource and the folder of the offline package correspond to each node on the resource access tree locally at the client, the initial value of each tree node is 0, when the client accesses the function at each time, the node value of the tree node on the resource access tree is modified correspondingly, so that resource structure information is obtained, resource parameter information can be obtained according to the resource structure information, for example, the maximum layer of the tree node related in the resource structure information is used as depth information, and breadth information is obtained according to the number of child nodes corresponding to each node in the resource structure information.
Therefore, when a client accesses a certain resource, whether the resource is updated or not is judged firstly, for example, the judgment is carried out through the version number, if yes, the latest resource is obtained from the server, and when the latest version of the resource is obtained, the server calculates the residual resource, namely, the resource is not updated at this time, the downloading is not needed again, only the updated resource is downloaded, and therefore, the incremental resource is required to be downloaded each time.
S304: and the receiving server calculates to obtain the difference resource according to the resource structure information and the resource parameter information.
In particular, a delta resource refers to an increment of a resource involved in a function that the user has used, i.e., on the one hand, if the user has not used the function before, the resource involved in the function is added as a delta resource to the delta packet. If there is an update to the resource, the resource is added to the delta packet.
Specifically, the off-line package is prestored in the server, for example, the off-line resource package is rapidly produced through a Jenkins automatic packing tool, no manual intervention is provided, the uncertainty possibly occurring in the manual operation process is reduced, the accuracy of the off-line package of the client is effectively guaranteed, the server side adopts a similar tree structure to calculate and produce the difference package through the access depth and the access breadth of the client, and the client updates the thermal repair mode through silent downloading and production.
Specifically, in practical application, after the HTML code test is passed, the production leaving package is automatically and quickly produced through a Jenkins automatic off-line packaging tool, and after packaging is completed, the production leaving package HN is automatically transmitted to a background resource management server, namely, a server.
S306: and updating the corresponding application according to the delta resource.
Specifically, when the client downloads the address increment offline resource packet through the file, all resources are decompressed, the decompressed resources are used for replacing the locally corresponding file, and other files are still unchanged.
According to the resource updating method, the delta resource is obtained through calculation of the resource structure information and the resource parameter information, only the delta resource needs to be downloaded each time, so that data flow can be saved, in addition, the delta resource only needs to be downloaded each time, so that time is saved, the loading speed of a page is improved, a client can be started in seconds, and the difference in experience between the client and a native client is almost avoided.
In one embodiment, the method further comprises: receiving a first function access instruction; determining a corresponding resource according to the first function access instruction; acquiring a resource access tree, wherein the resource access tree comprises a plurality of nodes; adding a node value of a target node corresponding to the resource and a node value of a node at the upper stage of the target node; and generating resource structure information and resource parameter information corresponding to the resource structure information according to the resource access tree.
Specifically, a resource access tree corresponding to a resource is stored in a client, an initial node value of each tree node is 0, when the client accesses a function each time, a tree node value of a file related to the function in the file is increased by 1, a node value of a folder to which the client belongs is also increased by 1, if the function relates to a plurality of files, an increased value of a folder node value of the file is a sum of increased values of the plurality of files, and finally, an access depth D (a depth of the folder and the file under the accessed folder) and an access extent W are calculated according to the folder tree.
In one embodiment, generating resource structure information from a resource access tree includes: starting from the root node of the resource access tree, in the adjacent linked list, taking the node of the resource access tree as a linked list head, and sequentially inserting child nodes to the linked list head end to obtain resource structure information.
The calculation method of the breadth information and the depth information comprises the following steps: and (3) storing by adopting an adjacency list from the root node of the file tree, sequentially inserting child nodes into the head of the chain list by taking each node as the head of the chain list, and finally forming a file information linked list L, wherein the size of the file linked list is the breadth W, and the sum of the sizes of all elements in the linked list is the depth D.
In one embodiment, after receiving the first function access instruction, the method further includes: judging whether the resource corresponding to the first function access instruction is updated or not; when the resource is updated and is updated to the local, the updated resource is loaded; when the resource is updated and is not loaded to the local, sending resource structure information and resource parameter information corresponding to the resource structure information to a server; and when the resource is not updated, loading the local resource.
Specifically, after the client detects that the offline package is updated, when the user clicks one functional module, the system determines whether the current resource is updated: if the current resource is updated to the latest, loading the local resource; if the current resource is not the latest, loading the remote resource to ensure that the user function is not influenced, and simultaneously, asynchronously and silently requesting off-line updating, wherein the user does not sense the updating process; and loading the local resources without updating.
Specifically, referring to fig. 4, fig. 4 is a flowchart of a resource updating method in yet another embodiment, in which a Jenkins automatic packaging tool is used to quickly generate a full resource package, and the full resource package is uploaded to a resource management platform, that is, a server.
The method comprises the steps that a resource access tree corresponding to a full resource package is stored in a client, the initial value of each tree node is 0, when the client accesses a function each time, 1 is added to the corresponding node value of a file related to the function in the resource access tree, 1 is added to the node value of a folder at the upper level to which the file belongs, if the function relates to a plurality of files, the added value of the node value of the folder to which the file belongs is the sum of the added values of the plurality of files, and finally the access depth D and the access extent W are calculated according to the resource access tree. The file information linked list L is finally formed, the size of the file linked list is the breadth W, and the sum of the sizes of all elements in the linked list is the depth D. And the client sends the file information linked list L, the current resource package version V of the client, the current user access D and the access extent W of each level of the current user to the server. And the server simultaneously judges whether the corresponding node value in the linked list L is larger than 0 according to the corresponding breadth value in the breadth W from the folder at the layer 1 of the offline package according to the access depth D transmitted by the client, if the corresponding node value is larger than 0, the file is reserved, if the corresponding node value is larger than 0, the file is deleted, the next-level depth is continuously accessed, and the like until the node values of all files and folders in the linked list under a certain folder are 0, at this time, the directory at the top layer is returned, other directories are accessed according to the logic, files meeting the node value requirement are deleted or reserved, after all files are completely accessed, the remaining files generate zip packages, namely the minimum zip files meeting the requirement, and the download address is returned to the client.
When the client downloads the address increment offline resource packet through the file, all resources are decompressed, the decompressed resources are used for replacing the locally corresponding files, and other files are still unchanged.
After detecting that an offline package is updated, when a user clicks a certain functional module, the system judges whether the current resource is updated: if the current resource is updated to the latest, loading the local resource; if the current resource is not the latest, loading the remote resource to ensure that the user function is not influenced, and simultaneously, asynchronously and silently requesting off-line updating, wherein the user does not sense the updating process; and loading the local resources without updating.
According to the resource updating method, the delta resource is obtained through calculation of the resource structure information and the resource parameter information, only the delta resource needs to be downloaded each time, so that data flow can be saved, in addition, the delta resource only needs to be downloaded each time, so that time is saved, the loading speed of a page is improved, a client can be started in seconds, and the difference in experience between the client and a native client is almost avoided.
It should be understood that, although the steps in the flowcharts related to the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the above embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a resource updating apparatus for implementing the above-mentioned resource updating method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so specific limitations in one or more embodiments of the resource updating device provided below can be referred to the limitations of the resource updating method in the foregoing, and details are not described here.
In one embodiment, as shown in fig. 5, there is provided a resource updating apparatus, including: a first receiving module 501, a delta resource calculation module 502, and a first transmitting module 503, wherein:
a first receiving module 501, configured to receive resource structure information uploaded by a client and resource parameter information corresponding to the resource structure information;
a difference resource calculating module 502, configured to calculate a difference resource according to the resource structure information and the resource parameter information;
a first sending module 503, configured to send the delta resource to the client.
In one embodiment, the delta resource calculation module 402 comprises:
a current resource layer determining unit, configured to determine a current resource layer from the resource package according to the depth information in the resource parameter information;
the file selection unit is used for selecting a corresponding file from the current resource layer according to the resource structure information;
and the circulating unit is used for continuously acquiring the next resource layer as the current resource layer according to the depth information when the selection of the files in the current resource layer is finished, and continuously selecting the corresponding files from the current resource layer according to the resource structure information until the corresponding resource layer is traversed according to the depth information.
In one embodiment, the file selecting unit includes:
the breadth information acquisition subunit is used for acquiring the breadth information from the resource parameter information;
and the file acquisition subunit is used for acquiring files with the number corresponding to the breadth information from the current resource layer according to the resource structure information.
In one embodiment, the file acquiring subunit includes:
the first selecting and grandchild unit is used for acquiring files corresponding to nodes which are not preset values in the file information linked list from the current resource layer;
the judging unit is used for judging whether the number of the acquired files meets the requirement or not according to the breadth information; and when the number of the acquired files meets the requirement, continuously acquiring the next resource layer as the current resource layer according to the depth information, otherwise, continuously acquiring the files corresponding to the nodes which are not the preset values in the file information linked list from the current resource layer.
In one embodiment, as shown in fig. 6, there is provided a resource updating apparatus, including: a second sending module 601, a second receiving module 602, and an updating module 603, wherein:
a second sending module 601, configured to send resource structure information and resource parameter information corresponding to the resource structure information to a server;
a second receiving module 602, configured to receive a residual resource calculated by the server according to the resource structure information and the resource parameter information;
an updating module 603 configured to update the corresponding application according to the delta resource.
In one embodiment, the apparatus further comprises:
the third receiving module is used for receiving the first function access instruction;
the resource determining module is used for determining corresponding resources according to the first function access instruction;
the resource access tree obtaining module is used for obtaining a resource access tree, and the resource access tree comprises a plurality of nodes;
a node value updating module 603, configured to add a node value of a target node corresponding to the resource and a node value of a node on a previous stage of the target node;
and the generating module is used for generating resource structure information and resource parameter information corresponding to the resource structure information according to the resource access tree.
In one embodiment, the generating module is configured to start from a root node of the resource access tree, and in the adjacency linked list, use a node of the resource access tree as a head of the linked list, and sequentially insert the child nodes end to the head of the linked list to obtain the resource structure information.
In one embodiment, the depth information in the resource parameter information is the length of the adjacency linked list; the extent information in the resource parameter information is the number of child nodes of each node in the adjacency linked list.
In one embodiment, the apparatus further includes:
a fourth receiving module for
The judging module is used for judging whether the resource corresponding to the first function access instruction is updated or not;
the loading module is used for loading the updated resource when the resource is updated and is updated to the local; when the resource is updated and is not loaded to the local, sending resource structure information and resource parameter information corresponding to the resource structure information to a server; and when the resource is not updated, loading the local resource.
The modules in the resource updating apparatus can be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database of the computer device is used to store resources. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a resource updating method.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for communicating with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a resource updating method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configurations shown in fig. 7 and 8 are block diagrams of only some of the configurations relevant to the present application, and do not constitute a limitation on the computing devices to which the present application may be applied, and that a particular computing device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: receiving resource structure information uploaded by a client and resource parameter information corresponding to the resource structure information; calculating to obtain a difference resource according to the resource structure information and the resource parameter information; the delta resource is sent to the client.
In one embodiment, the calculating the delta resource according to the resource structure information and the resource parameter information when the processor executes the computer program includes: determining a current resource layer from the resource packet according to the depth information in the resource parameter information; selecting a corresponding file from the current resource layer according to the resource structure information; and when the selection of the files in the current resource layer is finished, continuing to acquire the next resource layer as the current resource layer according to the depth information, and continuing to select the corresponding files from the current resource layer according to the resource structure information until the corresponding resource layer is traversed according to the depth information.
In one embodiment, the selection of the corresponding file from the current resource layer according to the resource structure information, which is implemented when the processor executes the computer program, includes: acquiring breadth information from the resource parameter information; and acquiring files with the number corresponding to the breadth information from the current resource layer according to the resource structure information.
In one embodiment, the resource structure information implemented by the processor when executing the computer program is represented by a linked list of file information; the method for acquiring the files with the number corresponding to the breadth information from the current resource layer according to the resource structure information when the processor executes the computer program comprises the following steps: acquiring a file corresponding to a node which is not a preset value in a file information linked list from a current resource layer; judging whether the number of the acquired files meets the requirement or not according to the breadth information; and when the number of the acquired files meets the requirement, continuously acquiring the next resource layer as the current resource layer according to the depth information, otherwise, continuously acquiring the files corresponding to the nodes which are not the preset values in the file information linked list from the current resource layer.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: sending resource structure information and resource parameter information corresponding to the resource structure information to a server; the receiving server calculates to obtain the difference resource according to the resource structure information and the resource parameter information; and updating the corresponding application according to the delta resource.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving a first function access instruction; determining a corresponding resource according to the first function access instruction; acquiring a resource access tree, wherein the resource access tree comprises a plurality of nodes; adding a node value of a target node corresponding to the resource and a node value of a node at the upper stage of the target node; and generating resource structure information and resource parameter information corresponding to the resource structure information according to the resource access tree.
In one embodiment, the generation of resource structure information from a resource access tree implemented by a processor when executing a computer program comprises: starting from the root node of the resource access tree, in the adjacent linked list, taking the node of the resource access tree as a linked list head, and sequentially inserting child nodes into the linked list head end to obtain resource structure information.
In one embodiment, the depth information in the resource parameter information implemented by the processor when executing the computer program is the length of the adjacency linked list; the extent information in the resource parameter information is the number of child nodes of each node in the adjacency linked list.
In one embodiment, after receiving the first function access instruction when the processor executes the computer program, the method further includes: judging whether the resource corresponding to the first function access instruction is updated or not; when the resource is updated and is updated to the local, the updated resource is loaded; when the resource is updated and is not loaded to the local, sending resource structure information and resource parameter information corresponding to the resource structure information to a server; and when the resource is not updated, loading the local resource.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving resource structure information uploaded by a client and resource parameter information corresponding to the resource structure information; calculating to obtain a difference resource according to the resource structure information and the resource parameter information; the delta resource is sent to the client.
In one embodiment, the calculation of the delta resource based on the resource structure information and the resource parameter information when the computer program is executed by the processor includes: determining a current resource layer from the resource packet according to the depth information in the resource parameter information; selecting a corresponding file from the current resource layer according to the resource structure information; and when the selection of the files in the current resource layer is finished, continuing to acquire the next resource layer as the current resource layer according to the depth information, and continuing to select the corresponding files from the current resource layer according to the resource structure information until the corresponding resource layer is traversed according to the depth information.
In one embodiment, the selection of the corresponding file from the current resource layer according to the resource structure information when the computer program is executed by the processor includes: acquiring breadth information from the resource parameter information; and acquiring files with the number corresponding to the breadth information from the current resource layer according to the resource structure information.
In one embodiment, resource structure information implemented when the computer program is executed by the processor is represented by a linked list of file information; the method for acquiring the files with the number corresponding to the breadth information from the current resource layer according to the resource structure information when the processor executes the computer program comprises the following steps: acquiring a file corresponding to a node which is not a preset value in a file information linked list from a current resource layer; judging whether the number of the acquired files meets the requirement or not according to the breadth information; and when the number of the acquired files meets the requirement, continuously acquiring the next resource layer as the current resource layer according to the depth information, otherwise, continuously acquiring the files corresponding to the nodes which are not the preset values in the file information linked list from the current resource layer.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: sending resource structure information and resource parameter information corresponding to the resource structure information to a server; the receiving server calculates to obtain the difference resource according to the resource structure information and the resource parameter information; and updating the corresponding application according to the delta resource.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving a first function access instruction; determining a corresponding resource according to the first function access instruction; acquiring a resource access tree, wherein the resource access tree comprises a plurality of nodes; adding a node value of a target node corresponding to the resource and a node value of a node at the upper stage of the target node; and generating resource structure information and resource parameter information corresponding to the resource structure information according to the resource access tree.
In one embodiment, the computer program, when executed by a processor, implements generating resource structure information from a resource access tree, comprising: starting from the root node of the resource access tree, in the adjacent linked list, taking the node of the resource access tree as a linked list head, and sequentially inserting child nodes to the linked list head end to obtain resource structure information.
In one embodiment, the depth information in the resource parameter information implemented when the computer program is executed by the processor is the length of the adjacency linked list; the extent information in the resource parameter information is the number of child nodes of each node in the adjacency linked list.
In one embodiment, the computer program, when executed by the processor, further comprises, after receiving the first function access instruction: judging whether the resource corresponding to the first function access instruction is updated or not; when the resource is updated and is updated to the local, the updated resource is loaded; when the resource is updated and is not loaded to the local, sending resource structure information and resource parameter information corresponding to the resource structure information to a server; and when the resource is not updated, loading the local resource.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of: receiving resource structure information uploaded by a client and resource parameter information corresponding to the resource structure information; calculating to obtain a difference resource according to the resource structure information and the resource parameter information; the delta resource is sent to the client.
In one embodiment, the calculation of the delta resource based on the resource structure information and the resource parameter information when the computer program is executed by the processor includes: determining a current resource layer from the resource packet according to the depth information in the resource parameter information; selecting a corresponding file from the current resource layer according to the resource structure information; and when the selection of the files in the current resource layer is finished, continuing to acquire the next resource layer as the current resource layer according to the depth information, and continuing to select the corresponding files from the current resource layer according to the resource structure information until the corresponding resource layer is traversed according to the depth information.
In one embodiment, the selection of the corresponding file from the current resource layer according to the resource structure information when the computer program is executed by the processor includes: acquiring breadth information from the resource parameter information; and acquiring files with the number corresponding to the breadth information from the current resource layer according to the resource structure information.
In one embodiment, resource structure information implemented when the computer program is executed by the processor is represented by a linked list of file information; the computer program, when executed by a processor, acquires a number of files corresponding to the extent information from the current resource layer according to the resource structure information, and includes: acquiring a file corresponding to a node which is not a preset value in a file information linked list from a current resource layer; judging whether the number of the acquired files meets the requirement or not according to the breadth information; and when the number of the acquired files meets the requirement, continuously acquiring the next resource layer as the current resource layer according to the depth information, otherwise, continuously acquiring the files corresponding to the nodes which are not the preset values in the file information linked list from the current resource layer.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of: sending resource structure information and resource parameter information corresponding to the resource structure information to a server; the receiving server calculates to obtain the difference resource according to the resource structure information and the resource parameter information; and updating the corresponding application according to the delta resource.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving a first function access instruction; determining a corresponding resource according to the first function access instruction; acquiring a resource access tree, wherein the resource access tree comprises a plurality of nodes; adding a node value of a target node corresponding to the resource and a node value of a node at the upper stage of the target node; and generating resource structure information and resource parameter information corresponding to the resource structure information according to the resource access tree.
In one embodiment, generating resource structure information from a resource access tree, implemented when a computer program is executed by a processor, includes: starting from the root node of the resource access tree, in the adjacent linked list, taking the node of the resource access tree as a linked list head, and sequentially inserting child nodes into the linked list head end to obtain resource structure information.
In one embodiment, the depth information in the resource parameter information implemented when the computer program is executed by the processor is the length of the adjacency linked list; the extent information in the resource parameter information is the number of child nodes of each node in the adjacency linked list.
In one embodiment, after receiving the first function access instruction, the computer program, when executed by the processor, further comprises: judging whether the resource corresponding to the first function access instruction is updated or not; when the resource is updated and is updated to the local, the updated resource is loaded; when the resource is updated and is not loaded to the local, sending resource structure information and resource parameter information corresponding to the resource structure information to a server; and when the resource is not updated, loading the local resource.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims (10)

1. A resource updating method is applied to a server side, and the method comprises the following steps:
receiving resource structure information uploaded by a client and resource parameter information corresponding to the resource structure information;
calculating to obtain a difference resource according to the resource structure information and the resource parameter information;
sending the delta resource to the client;
the calculating to obtain the delta resource according to the resource structure information and the resource parameter information includes:
determining a current resource layer from a resource packet according to the depth information in the resource parameter information;
selecting a corresponding file from the current resource layer according to the resource structure information;
when the selection of the files in the current resource layer is finished, continuing to acquire a next resource layer as the current resource layer according to the depth information, and continuing to select corresponding files from the current resource layer according to the resource structure information until the corresponding resource layer is traversed according to the depth information;
selecting a corresponding file from the current resource layer according to the resource structure information includes:
acquiring breadth information from the resource parameter information;
acquiring files with the number corresponding to the breadth information from the current resource layer according to the resource structure information;
the resource structure information is represented by a file information linked list; the acquiring, from the current resource layer according to the resource structure information, files of a number corresponding to the extent information includes:
acquiring a file corresponding to a node which is not a preset value in the file information linked list from the current resource layer;
judging whether the number of the acquired files meets the requirement or not according to the breadth information;
and when the number of the acquired files meets the requirement, judging that the selection of the files in the current resource layer is finished, otherwise, continuously acquiring the files corresponding to the nodes which are not in the preset value in the file information linked list from the current resource layer.
2. A resource updating method is applied to a client, and the method comprises the following steps:
sending resource structure information and resource parameter information corresponding to the resource structure information to a server;
the receiving server calculates to obtain the residual resource according to the resource structure information and the resource parameter information; the delta resource is a resource layer determined by the server from a resource packet according to depth information in the resource parameter information; acquiring breadth information from the resource parameter information; acquiring a file corresponding to a node which is not a preset value in a file information linked list from the current resource layer; judging whether the number of the acquired files meets the requirement or not according to the breadth information; when the number of the acquired files meets the requirement, judging that the selection of the files in the current resource layer is finished, otherwise, continuously acquiring the files corresponding to the nodes which are not in the preset value in the file information linked list from the current resource layer, when the selection of the files in the current resource layer is finished, continuously acquiring the next resource layer according to the depth information as the current resource layer, continuously selecting the corresponding files from the current resource layer according to the resource structure information until the corresponding resource layer is traversed according to the depth information, wherein the resource structure information is represented by the file information linked list; and updating the corresponding application according to the delta resource.
3. The method of claim 2, further comprising:
receiving a first function access instruction;
determining a corresponding resource according to the first function access instruction;
acquiring a resource access tree, wherein the resource access tree comprises a plurality of nodes;
adding a node value of a target node corresponding to the resource and a node value of a node at the upper stage of the target node;
and generating resource structure information and resource parameter information corresponding to the resource structure information according to the resource access tree.
4. The method of claim 3, wherein the generating resource structure information from the resource access tree comprises:
starting from the root node of the resource access tree, in the adjacent linked list, taking the node of the resource access tree as a linked list head, and sequentially inserting child nodes to the linked list head end to obtain resource structure information.
5. The method according to claim 4, wherein the depth information in the resource parameter information is the length of the adjacency linked list; and the breadth information in the resource parameter information is the number of child nodes of each node in the adjacency linked list.
6. The method of claim 3, wherein after receiving the first function access instruction, further comprising:
judging whether the resource corresponding to the first function access instruction is updated or not;
when the resource is updated and is updated to the local, the updated resource is loaded;
when the resource is updated and is not loaded to the local, sending resource structure information and resource parameter information corresponding to the resource structure information to a server;
and when the resource is not updated, loading the local resource.
7. A resource updating device applied to a server side is characterized by comprising:
the first receiving module is used for receiving the resource structure information uploaded by the client and the resource parameter information corresponding to the resource structure information;
the residual resource calculation module is used for calculating residual resources according to the resource structure information and the resource parameter information;
a first sending module, configured to send the delta resource to the client;
the delta resource calculation module comprises:
a current resource layer determining unit, configured to determine a current resource layer from a resource packet according to depth information in the resource parameter information;
the file selecting unit is used for selecting a corresponding file from the current resource layer according to the resource structure information;
the circulation unit is used for continuously acquiring a next resource layer as the current resource layer according to the depth information when the selection of the files in the current resource layer is finished, and continuously selecting corresponding files from the current resource layer according to the resource structure information until the corresponding resource layer is traversed according to the depth information;
the file selecting unit comprises:
the breadth information acquisition subunit is used for acquiring the breadth information from the resource parameter information;
a file obtaining subunit, configured to obtain, according to the resource structure information, files in a number corresponding to the extent information from the current resource layer;
the file acquisition subunit includes:
the first selecting and grandchild unit is used for acquiring files corresponding to nodes which are not preset values in the file information linked list from the current resource layer;
the judging unit is used for judging whether the number of the acquired files meets the requirement or not according to the breadth information; and when the number of the acquired files meets the requirement, judging that the selection of the files in the current resource layer is finished, otherwise, continuously acquiring the files corresponding to the nodes which are not in the preset value in the file information linked list from the current resource layer.
8. A resource updating device applied to a client, the device comprising:
the second sending module is used for sending the resource structure information and the resource parameter information corresponding to the resource structure information to the server;
the second receiving module is used for receiving the resource structure information and the resource parameter information which are calculated by the server to obtain the residual resource; the delta resource is a resource layer determined by the server from a resource packet according to depth information in the resource parameter information; acquiring breadth information from the resource parameter information; acquiring a file corresponding to a node which is not a preset value in a file information linked list from the current resource layer; judging whether the number of the acquired files meets the requirement or not according to the breadth information; when the number of the acquired files meets the requirement, judging that the selection of the files in the current resource layer is finished, otherwise, continuously acquiring the files corresponding to the nodes which are not in the preset value in the file information linked list from the current resource layer, when the selection of the files in the current resource layer is finished, continuously acquiring the next resource layer according to the depth information as the current resource layer, continuously selecting the corresponding files from the current resource layer according to the resource structure information until the corresponding resource layer is traversed according to the depth information, wherein the resource structure information is represented by the file information linked list;
and the updating module is used for updating the corresponding application according to the residual resource.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 or 2 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 or 2 to 6.
CN202210489732.6A 2022-05-07 2022-05-07 Resource updating method, apparatus, computer device, storage medium, and program product Active CN114637528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210489732.6A CN114637528B (en) 2022-05-07 2022-05-07 Resource updating method, apparatus, computer device, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210489732.6A CN114637528B (en) 2022-05-07 2022-05-07 Resource updating method, apparatus, computer device, storage medium, and program product

Publications (2)

Publication Number Publication Date
CN114637528A CN114637528A (en) 2022-06-17
CN114637528B true CN114637528B (en) 2022-08-30

Family

ID=81953260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210489732.6A Active CN114637528B (en) 2022-05-07 2022-05-07 Resource updating method, apparatus, computer device, storage medium, and program product

Country Status (1)

Country Link
CN (1) CN114637528B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735112A (en) * 2013-12-23 2015-06-24 阿里巴巴集团控股有限公司 Resource file sending method and resource file caching method and device
CN109471653A (en) * 2018-09-29 2019-03-15 百度在线网络技术(北京)有限公司 Update method, electronic equipment, server and the storage medium of application program
CN112947981A (en) * 2020-04-03 2021-06-11 深圳市明源云客电子商务有限公司 Application program resource updating method and device, terminal equipment and server
CN113297132A (en) * 2020-02-21 2021-08-24 阿里巴巴集团控股有限公司 Generation method and device of migration file list, electronic equipment and computer readable medium
CN113986323A (en) * 2021-10-19 2022-01-28 深圳奥哲网络科技有限公司 Data updating method and device and computer readable storage medium
CN114404991A (en) * 2021-12-27 2022-04-29 北京像素软件科技股份有限公司 Data replacement method, server, update system, and computer-readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836822B (en) * 2014-02-10 2019-04-26 腾讯科技(深圳)有限公司 Obtain downloading data method and device, the method and system of downloading data
CN111381858B (en) * 2018-12-29 2024-02-06 深圳Tcl新技术有限公司 Application program upgrading method, server and terminal equipment
CN111314426A (en) * 2020-01-17 2020-06-19 北京达佳互联信息技术有限公司 Webpage resource obtaining method and device, electronic equipment and storage medium
CN114253734A (en) * 2021-12-24 2022-03-29 建信金融科技有限责任公司 Resource calling method and device, electronic equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735112A (en) * 2013-12-23 2015-06-24 阿里巴巴集团控股有限公司 Resource file sending method and resource file caching method and device
CN109471653A (en) * 2018-09-29 2019-03-15 百度在线网络技术(北京)有限公司 Update method, electronic equipment, server and the storage medium of application program
CN113297132A (en) * 2020-02-21 2021-08-24 阿里巴巴集团控股有限公司 Generation method and device of migration file list, electronic equipment and computer readable medium
CN112947981A (en) * 2020-04-03 2021-06-11 深圳市明源云客电子商务有限公司 Application program resource updating method and device, terminal equipment and server
CN113986323A (en) * 2021-10-19 2022-01-28 深圳奥哲网络科技有限公司 Data updating method and device and computer readable storage medium
CN114404991A (en) * 2021-12-27 2022-04-29 北京像素软件科技股份有限公司 Data replacement method, server, update system, and computer-readable storage medium

Also Published As

Publication number Publication date
CN114637528A (en) 2022-06-17

Similar Documents

Publication Publication Date Title
CN104346345B (en) The storage method and device of data
CN113094076A (en) Version iteration method, device, equipment and medium based on version control
CN113611376A (en) Method and device for constructing molecular structure, computer equipment and storage medium
CN112685091A (en) Service request processing method, device, equipment and medium based on big data
CN112394932A (en) Automatic browser webpage skin changing method and device
CN107357588B (en) Object code generation method and device
CN115344284A (en) Automatic driving software upgrading method and device, storage medium and computer equipment
CN114218156A (en) Data export method, data export device, computer equipment and storage medium
CN113918437A (en) User behavior data analysis method and device, computer equipment and storage medium
CN114637528B (en) Resource updating method, apparatus, computer device, storage medium, and program product
CN110096295B (en) Multi-module mobile application thermal updating method and system based on reactivating
CN116821533A (en) Page rendering method, computer device and computer-readable storage medium
CN110457408B (en) Personalized map downloading method, device, equipment and storage medium
CN114997111B (en) Service processing method, device, computer equipment and storage medium
CN114756261A (en) Container cluster upgrading method and system, electronic equipment and medium
CN115344183A (en) Page sliding method, live broadcast page sliding method, device, equipment and medium
CN115130002A (en) Recommendation request processing method and device, computer equipment and storage medium
CN114564925A (en) Report generation method and device, electronic equipment and readable storage medium
CN112988176A (en) Channel package generation method and device, storage medium and electronic equipment
CN117251898B (en) Revit linking method and system based on cloud storage
CN111507566B (en) Method, device, computer equipment and storage medium for generating article production list
CN115344544A (en) Automatic driving software synchronization method and device, storage medium and computer equipment
CN114943045A (en) Terminal webpage loading method and device based on offline cache and computer equipment
CN118012459A (en) Upgrading method and device of low-code service system
CN115374406A (en) Document processing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant