CN110809036A - Resource updating method and device - Google Patents

Resource updating method and device Download PDF

Info

Publication number
CN110809036A
CN110809036A CN201911025736.3A CN201911025736A CN110809036A CN 110809036 A CN110809036 A CN 110809036A CN 201911025736 A CN201911025736 A CN 201911025736A CN 110809036 A CN110809036 A CN 110809036A
Authority
CN
China
Prior art keywords
resource
configuration information
resource configuration
version number
terminal
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.)
Granted
Application number
CN201911025736.3A
Other languages
Chinese (zh)
Other versions
CN110809036B (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.)
Wireless Life (beijing) Information Technology Co Ltd
Original Assignee
Wireless Life (beijing) Information Technology Co Ltd
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 Wireless Life (beijing) Information Technology Co Ltd filed Critical Wireless Life (beijing) Information Technology Co Ltd
Priority to CN201911025736.3A priority Critical patent/CN110809036B/en
Publication of CN110809036A publication Critical patent/CN110809036A/en
Application granted granted Critical
Publication of CN110809036B publication Critical patent/CN110809036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a resource updating method and device. The method comprises the following steps: responding to the opening operation aiming at the webpage, and acquiring a resource name introduced by the webpage; when first resource configuration information which is acquired from a server in advance and corresponds to a resource name is stored in a local storage area of the terminal, and a version number corresponding to the first resource configuration information is larger than a version number corresponding to a resource introduced by a page, executing a resource code corresponding to the first resource configuration information; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a content delivery network CDN address. The method and the device can update the latest resources and synchronously execute the latest resource codes under the condition that the whole web page does not need to be re-issued after the resources are updated, can shorten the page issuing time, reduce the labor cost of development and test, and improve the research and development efficiency of products.

Description

Resource updating method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a resource updating method and apparatus.
Background
The Web page usually contains static resource scripts such as JS and CSS, the static resource scripts are issued in a Content Delivery Network (CDN), one resource script corresponds to one CDN path, a CDN path address is introduced into the page, the resource Content is cached to a browser end due to cache control of the CDN, and when the local resource Content is modified and issued to the CDN and a user opens the page, the static resource cannot be updated to the latest Content due to cache of the browser, so that the latest function cannot be updated.
In order to solve the above problems, the scheme adopted in the related art is as follows: after the local resource file is modified, a corresponding version number is generated, and after the version number is delivered to the CDN, a version mark is provided on a CDN path, for example,
https://assets.geilicdn.com/v-components/v-collect/11.2.8/index.js,
wherein: 11.2.8, the version number corresponding to the v-collect resource file, the latest CDN path is introduced into the page, and because the path is a new path, if the browser has not cached, the latest resource content will be requested, and the user can operate the latest function.
However, in the related art, part of static resources introduced into a Web page are shared on a basic basis, all pages of a whole company need to be introduced, when the basic static resources are updated, all pages of the whole network need to be reintroduced into a new CDN path and then re-delivered, because the number of pages of the whole network is very large, the delivery cycle is very long, a large amount of investments of developers and testers are required, the efficiency is low, and therefore, products cannot be iterated quickly, and losses are brought to the company.
Disclosure of Invention
In order to overcome the problems in the related art, the embodiments of the present disclosure provide a resource updating method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a resource updating method, including:
responding to an opening operation aiming at a webpage, and acquiring a resource name introduced by the webpage;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, executing a resource code corresponding to the first resource configuration information; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a CDN address.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the technical scheme, the latest resource codes corresponding to the resource names are obtained from the server in advance, the latest resource codes are synchronously executed when the user opens the webpage, the page loading performance can be improved, the latest resources can be updated and the latest resource codes can be synchronously executed under the condition that the whole webpage does not need to be reissued after the resources are updated, the page publishing time can be shortened, the labor cost of development and test is reduced, and the product research and development efficiency is improved.
In one embodiment, the method further comprises:
acquiring second resource configuration information from the server;
detecting whether first resource configuration information corresponding to the resource name of the second resource configuration information is stored in a local storage area of the terminal;
if first resource configuration information corresponding to the resource name of the second resource configuration information is not stored in the local storage area of the terminal, loading a CDN address corresponding to the second resource configuration information to obtain a resource code corresponding to the second resource configuration information; adding a resource code corresponding to the second resource configuration information in the second resource configuration information; writing the modified second resource configuration information into a local storage area of the terminal;
if first resource configuration information corresponding to the resource name of the second resource configuration information is stored in the local storage area of the terminal, loading a CDN address corresponding to the second resource configuration information when the version number corresponding to the first resource configuration information is smaller than the version number corresponding to the second resource configuration information to obtain a resource code corresponding to the second resource configuration information; and replacing the resource code corresponding to the first resource configuration information with the resource code corresponding to the second resource configuration information.
In one embodiment, the first resource configuration information further includes: signing;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and a version number corresponding to the first resource configuration information is greater than a version number corresponding to a resource introduced by the page, executing a resource code corresponding to the first resource configuration information, wherein the resource code comprises:
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, a public key is used for verifying and signing the resource code and the signature corresponding to the first resource configuration information;
and when the signature verification is successful, executing the resource code corresponding to the first resource configuration information.
In one embodiment, the method further comprises:
when the signature verification fails, deleting the first resource configuration information in a local storage area of the terminal;
and executing the resource code corresponding to the resource introduced by the page.
According to a second aspect of the embodiments of the present disclosure, there is provided a resource updating apparatus, including:
the first acquisition module is used for responding to the opening operation aiming at the webpage and acquiring the resource name introduced by the webpage;
the execution module is used for executing a resource code corresponding to the first resource configuration information when the first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a content delivery network CDN address.
In one embodiment, the apparatus further comprises:
a second obtaining module, configured to obtain second resource configuration information from the server;
a detection module, configured to detect whether first resource configuration information corresponding to the resource name of the second resource configuration information is stored in a local storage area of the terminal;
the updating module is configured to load a CDN address corresponding to the second resource configuration information if first resource configuration information corresponding to the resource name of the second resource configuration information is not stored in the local storage area of the terminal, and obtain a resource code corresponding to the second resource configuration information; adding a resource code corresponding to the second resource configuration information in the second resource configuration information; writing the modified second resource configuration information into a local storage area of the terminal;
the updating module is further configured to, if first resource configuration information corresponding to the resource name of the second resource configuration information is stored in the local storage area of the terminal, load a CDN address corresponding to the second resource configuration information when a version number corresponding to the first resource configuration information is smaller than a version number corresponding to the second resource configuration information, and obtain a resource code corresponding to the second resource configuration information; and replacing the resource code corresponding to the first resource configuration information with the resource code corresponding to the second resource configuration information.
In one embodiment, the first resource configuration information further includes: signing;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, the execution module uses a public key to verify the signature of the resource code and the signature corresponding to the first resource configuration information; and when the signature verification is successful, executing the resource code corresponding to the first resource configuration information.
In one embodiment, the execution module deletes the first resource configuration information in a local storage area of the terminal when the signature verification fails; and executing the resource code corresponding to the resource introduced by the page.
According to a third aspect of the embodiments of the present disclosure, there is provided a resource updating apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
responding to an opening operation aiming at a webpage, and acquiring a resource name introduced by the webpage;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, executing a resource code corresponding to the first resource configuration information; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a content delivery network CDN address.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of the first aspect described above.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a resource update method in accordance with an exemplary embodiment.
FIG. 2 is a flow diagram illustrating a resource update method in accordance with an exemplary embodiment.
FIG. 3 is a flow diagram illustrating a resource update method in accordance with an exemplary embodiment.
FIG. 4 is a diagram illustrating resource configuration information, according to an example embodiment.
Fig. 5 is a diagram illustrating resource configuration information, according to an example embodiment.
FIG. 6 is a diagram illustrating resource configuration information, according to an example embodiment.
FIG. 7 is a block diagram illustrating a resource updating apparatus according to an example embodiment.
FIG. 8 is a block diagram illustrating a resource updating apparatus according to an example embodiment.
FIG. 9 is a block diagram illustrating a resource updating apparatus according to an example embodiment.
FIG. 10 is a block diagram illustrating a resource updating apparatus according to an example embodiment.
FIG. 11 is a block diagram illustrating a resource updating apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to solve the above problems in the related art, an embodiment of the present disclosure provides a resource updating method, including: responding to an opening operation aiming at a webpage, and acquiring a resource name introduced by the webpage; when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, executing a resource code corresponding to the first resource configuration information; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a CDN address. According to the resource updating method provided by the embodiment of the disclosure, the latest resource codes corresponding to the resource names are obtained from the server in advance, and the latest resource codes are synchronously executed when the user opens the webpage, so that the page loading performance can be improved, the latest resources can be updated and the latest resource codes can be synchronously executed under the condition that the whole webpage does not need to be reissued after the resources are updated, the page publishing time can be shortened, the labor cost of development and testing can be reduced, and the product research and development efficiency can be improved.
It should be noted that the terminal according to the present disclosure may include an electronic device such as a smart phone, a tablet computer, a desktop computer, a notebook computer, or a wearable device, which is installed with a client of a browser.
Based on the above analysis, the following specific examples are proposed.
Fig. 1 is a flowchart illustrating a resource updating method according to an exemplary embodiment, where an execution subject of the method may be a terminal; as shown in fig. 1, the method comprises the following steps 101-102:
in step 101, in response to an opening operation for a web page, a resource name introduced by the page is acquired.
It should be noted that the resources introduced by the page usually have multiple resources; each resource corresponds to one piece of resource configuration information.
In step 102, when first resource configuration information corresponding to the resource name, which is acquired from a server in advance, is stored in a local storage area of the terminal, and a version number corresponding to the first resource configuration information is greater than a version number corresponding to a resource introduced by the page, a resource code corresponding to the first resource configuration information is executed; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a CDN address.
For example, the terminal continuously monitors the opening operation for the web page; after monitoring the opening operation for the webpage, the terminal responds to the opening operation to acquire the resource name corresponding to each resource introduced by the webpage. Then, the terminal detects whether first resource configuration information corresponding to the resource name, which is acquired from a server in advance, is stored in a local storage area of the terminal: 1) if the local storage area of the terminal stores the first resource configuration information corresponding to the resource name, judging whether the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page: when the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, executing the resource code corresponding to the first resource configuration information; when the version number corresponding to the first resource configuration information is equal to the version number corresponding to the resource introduced by the page, executing a resource code corresponding to the resource introduced by the page; 2) and if the first resource configuration information corresponding to the resource name is not stored in the local storage area of the terminal, executing a resource code corresponding to the resource introduced by the page.
According to the technical scheme provided by the embodiment of the disclosure, the latest resource codes corresponding to the resource names are obtained from the server in advance, and are synchronously executed when the user opens the webpage, so that the page loading performance can be improved, the latest resources can be updated and the latest resource codes can be synchronously executed under the condition that the whole webpage does not need to be reissued after the resources are updated, the page publishing time can be shortened, the labor cost of development and testing can be reduced, and the product research and development efficiency can be improved.
FIG. 2 is a flow diagram illustrating a resource update method in accordance with an exemplary embodiment. As shown in fig. 2, on the basis of the embodiment shown in fig. 1, the resource updating method related to the present disclosure may include the following steps 201 and 205:
in step 201, the terminal acquires second resource configuration information corresponding to the web page from the server periodically or when the user opens the web page.
For example, the web page may correspond to a plurality of pieces of resource configuration information, and the second resource configuration information is taken as an example in this embodiment for description.
In step 202, the terminal detects whether first resource configuration information corresponding to the resource name of the second resource configuration information is stored in a local storage area of the terminal; if the first resource configuration information corresponding to the resource name of the second resource configuration information is not stored in the local storage area of the terminal, go to step 203; if the first resource allocation information corresponding to the resource name of the second resource allocation information is stored in the local storage area of the terminal, go to step 204.
In step 203, the terminal loads the CDN address corresponding to the second resource configuration information to obtain a resource code corresponding to the second resource configuration information; adding a resource code corresponding to the second resource configuration information in the second resource configuration information; writing the modified second resource configuration information into a local storage area of the terminal; the process is finished.
In step 204, the terminal determines whether the version number corresponding to the first resource configuration information is smaller than the version number corresponding to the second resource configuration information: when the version number corresponding to the first resource configuration information is smaller than the version number corresponding to the second resource configuration information, go to step 205; and when the version number corresponding to the first resource configuration information is equal to the version number corresponding to the second resource configuration information, ending the process.
In step 205, the terminal loads the CDN address corresponding to the second resource configuration information to obtain a resource code corresponding to the second resource configuration information; and replacing the resource code corresponding to the first resource configuration information with the resource code corresponding to the second resource configuration information.
According to the technical scheme provided by the embodiment of the disclosure, the latest resource codes of the webpage are cached in the local storage area, the resource library codes can be shared by other pages of the whole network, and a user does not need to download the resource codes again when browsing other pages, so that the user flow consumption is reduced, the page loading performance is improved, the user experience is improved, the page publishing time is shortened, a large amount of investment of developers and testers is reduced, and the research and development efficiency of a company is improved.
FIG. 3 is a flow diagram illustrating a resource update method in accordance with an exemplary embodiment. As shown in fig. 3, on the basis of the embodiment shown in fig. 1, the resource updating method according to the present disclosure may include the following steps 301-:
in step 301, the terminal, in response to an opening operation for a web page, acquires a resource name introduced by the web page.
In step 302, the terminal detects whether first resource configuration information corresponding to the resource name, which is acquired from the server in advance, is stored in a local storage area of the terminal: if the first resource configuration information corresponding to the resource name is stored in the local storage area of the terminal, go to step 303; if the resource configuration information corresponding to the first resource name is not stored in the local storage area of the terminal, go to step 304; wherein: the first resource configuration information includes a resource name, a resource code, a signature, a version number corresponding to the resource, and a CDN address.
In step 303, the terminal determines whether the version number corresponding to the first resource configuration information is greater than the version number corresponding to the resource introduced by the page: when the version number corresponding to the first resource configuration information is greater than the version number corresponding to the resource introduced by the page, go to step 305; when the version number corresponding to the first resource configuration information is equal to the version number corresponding to the resource introduced by the page, go to step 304.
In step 304, the resource code corresponding to the resource introduced by the page is executed.
In step 305, the public key is used to verify the resource code and the signature corresponding to the first resource configuration information: when the signature verification is successful, go to step 306; when the signature verification fails, go to step 307.
In step 306, the resource code corresponding to the first resource configuration information is executed.
In step 307, deleting the first resource configuration information in a local storage area of the terminal; go to step 304.
According to the technical scheme provided by the embodiment of the disclosure, by introducing a signature and signature verification mode of an asymmetric encryption algorithm, the security of the browser during data caching can be realized, and the problem that after a certain page is attacked by XSS, codes or data in the cache are modified, so that other pages in the whole network are also attacked by XSS when the codes or data in the cache are obtained is avoided.
In one possible embodiment, the server generates a pair of public and private keys using an RSA asymmetric encryption algorithm; storing the resource configuration information in a Map data structure to obtain source configuration data, as shown in fig. 4, each resource corresponds to one record, the resource name is used as Key, the Value includes a resource corresponding version number (version) and a CDN address (url), the CDN addresses corresponding to different resource versions are different, and a new address is generated after each resource releases the CDN to ensure that the browser does not cache the resource file content. And if the resource content is updated, updating a version field and a url field corresponding to the resource. And if the resource file is newly added, adding a piece of new resource configuration information. Loading source configuration data, sequentially circulating all resource configuration information, and processing by the following steps: loading a CDN address to obtain a resource file code; generating a signature for the resource file code by using RSA and a private key; the signature field (sign) generated in the previous step is added to the corresponding resource configuration information. Thereby obtaining a piece of resource configuration information with signature field, as shown in fig. 5, and if the source configuration data has update, the above steps are re-executed.
When a user opens a webpage, a terminal acquires a resource name introduced by the webpage, and searches whether a local storage area (localstorage) of a browser has cache resource configuration information corresponding to the name by using the resource name:
if so, comparing the (local) cached resource version with the page-imported resource version: and if so, taking out the code and the signature in the cache resource configuration information, and verifying the signature by using RSA plus a public key. If the failure occurs, the following steps are performed: clearing the corresponding cache resource configuration information in the localstorage; the resource pool code introduced by the page is executed. If successful, the resource codes in the execution cache are synchronized. If less than or equal to, then the page imported repository code is executed.
If not, then the resource pool code introduced by the page is executed.
The terminal remotely obtains resource configuration information (hereinafter abbreviated as remote resource configuration information) from the server periodically or when a user opens a webpage; traversing the remote resource configuration information in sequence; checking whether resource configuration information (hereinafter abbreviated as cache resource configuration information) corresponding to the resource name of the remote resource configuration information exists in the localstorage: if the CDN address does not exist, loading the CDN address in the remote configuration to obtain a resource code; the resource code is used as a content field to be merged with the remote resource configuration information to obtain the data shown in fig. 6, and the resource name is used as a Key to be written into the localstorage.
If so, comparing the cached resource version with the remote resource version: if the remote resource configuration information is larger than or equal to the preset remote resource configuration information, traversing next remote resource configuration information; and if the resource code is smaller than the preset threshold value, loading the CDN address in the remote configuration to obtain the resource code, and replacing the resource code corresponding to the cache resource configuration information by using the resource code.
In the technical scheme provided by the embodiment of the disclosure, the Web page can dynamically pull real-time resource configuration data through the interface, so that resource codes can be synchronously executed, all pages in the whole network can be updated to the latest resources without being released, and the efficiency is greatly improved; the latest resource codes are cached through the localstorage, and other pages in the whole network can share the resource library codes without downloading again, so that the user flow consumption is reduced, the page loading performance is improved, and the user experience is improved; by introducing a signature and signature verification mode of an asymmetric encryption algorithm, the security of the browser during data caching can be realized, and the problem that codes or data in the cache are modified after a certain page is attacked by XSS (extensible service System) is avoided, so that other pages in the whole network are also attacked by XSS when the codes or data in the cache are acquired.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 7 illustrates a terminal control server in which all components of the apparatus are implemented according to an exemplary embodiment, or in which the components of the apparatus are implemented in a coupled manner on the terminal side; the apparatus may implement the method related to the present disclosure through software, hardware, or a combination of the two, as shown in fig. 7, the resource updating apparatus includes: a first obtaining module 701 and an executing module 702, wherein:
the first obtaining module 701 is configured to, in response to an opening operation for a web page, obtain a resource name introduced by the web page;
the execution module 702 is configured to execute a resource code corresponding to first resource configuration information when the first resource configuration information corresponding to the resource name, which is acquired from a server in advance, is stored in a local storage area of the terminal and a version number corresponding to the first resource configuration information is greater than a version number corresponding to a resource introduced by the page; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a content delivery network CDN address.
The device provided by the embodiment of the disclosure can be used for executing the technical scheme of the embodiment shown in fig. 1, and the execution mode and the beneficial effect are similar, and are not described again here.
In a possible implementation manner, as shown in fig. 8, the resource updating apparatus shown in fig. 7 may further include: a second obtaining module 801, a detecting module 802, and an updating module 803, wherein:
the second obtaining module 801 is configured to obtain second resource configuration information from the server;
the detecting module 802 is configured to detect whether first resource configuration information corresponding to a resource name of the second resource configuration information is stored in a local storage area of the terminal;
the updating module 803 is configured to, if first resource configuration information corresponding to the resource name of the second resource configuration information is not stored in the local storage area of the terminal, load a CDN address corresponding to the second resource configuration information to obtain a resource code corresponding to the second resource configuration information; adding a resource code corresponding to the second resource configuration information in the second resource configuration information; writing the modified second resource configuration information into a local storage area of the terminal;
if the local storage area of the terminal stores the first resource configuration information corresponding to the resource name of the second resource configuration information, the update module 803 loads the CDN address corresponding to the second resource configuration information when the version number corresponding to the first resource configuration information is smaller than the version number corresponding to the second resource configuration information, to obtain the resource code corresponding to the second resource configuration information; and replacing the resource code corresponding to the first resource configuration information with the resource code corresponding to the second resource configuration information.
In a possible implementation manner, the first resource configuration information further includes: signing;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and a version number corresponding to the first resource configuration information is greater than a version number corresponding to a resource introduced by the page, the execution module 702 uses a public key to verify a resource code and a signature corresponding to the first resource configuration information; and when the signature verification is successful, executing the resource code corresponding to the first resource configuration information.
In a possible implementation manner, the executing module 702 deletes the first resource configuration information in a local storage area of the terminal when the signature verification fails; and executing the resource code corresponding to the resource introduced by the page.
Fig. 9 is a block diagram illustrating a resource updating apparatus 900 according to an exemplary embodiment, the resource updating apparatus 900 is applied to a terminal, and the resource updating apparatus 900 includes:
a processor 901;
a memory 902 for storing processor-executable instructions;
wherein the processor 901 is configured to:
responding to an opening operation aiming at a webpage, and acquiring a resource name introduced by the webpage;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, executing a resource code corresponding to the first resource configuration information; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a content delivery network CDN address.
In one embodiment, the processor 901 is further configured to:
acquiring second resource configuration information from the server;
detecting whether first resource configuration information corresponding to the resource name of the second resource configuration information is stored in a local storage area of the terminal;
if first resource configuration information corresponding to the resource name of the second resource configuration information is not stored in the local storage area of the terminal, loading a CDN address corresponding to the second resource configuration information to obtain a resource code corresponding to the second resource configuration information; adding a resource code corresponding to the second resource configuration information in the second resource configuration information; writing the modified second resource configuration information into a local storage area of the terminal;
if first resource configuration information corresponding to the resource name of the second resource configuration information is stored in the local storage area of the terminal, loading a CDN address corresponding to the second resource configuration information when the version number corresponding to the first resource configuration information is smaller than the version number corresponding to the second resource configuration information to obtain a resource code corresponding to the second resource configuration information; and replacing the resource code corresponding to the first resource configuration information with the resource code corresponding to the second resource configuration information.
In one embodiment, the processor 901 is further configured to:
the first resource configuration information further includes: signing;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, a public key is used for verifying and signing the resource code and the signature corresponding to the first resource configuration information;
and when the signature verification is successful, executing the resource code corresponding to the first resource configuration information.
In one embodiment, the processor 901 is further configured to:
when the signature verification fails, deleting the first resource configuration information in a local storage area of the terminal;
and executing the resource code corresponding to the resource introduced by the page.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 10 is a block diagram illustrating a resource updating apparatus 1000 in accordance with an example embodiment. For example, the resource updating apparatus 1000 may be an electronic device such as a smart speaker, a smart phone, a smart television, a tablet computer, a notebook computer, or a wearable device (e.g., a bracelet, smart glasses, etc.). Referring to fig. 10, the resource updating apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the resource updating apparatus 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the resource updating apparatus 1000. Examples of such data include instructions for any application or method operating on the resource updating apparatus 1000, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 1006 provides power to the various components of the resource updating device 1000. The power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the resource update apparatus 1000.
The multimedia component 1008 includes a screen that provides an output interface between the resource updating apparatus 1000 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. When the resource updating apparatus 1000 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when resource updating apparatus 1000 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing status assessments of various aspects to the resource updating apparatus 1000. For example, the sensor assembly 1014 can detect an open/closed status of the resource updating apparatus 1000, the relative positioning of components, such as a display and keypad of the resource updating apparatus 1000, the sensor assembly 1014 can also detect a change in the position of the resource updating apparatus 1000 or a component of the resource updating apparatus 1000, the presence or absence of user contact with the resource updating apparatus 1000, the orientation or acceleration/deceleration of the resource updating apparatus 1000, and a change in the temperature of the resource updating apparatus 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communication between the resource updating apparatus 1000 and other devices in a wired or wireless manner. The resource updating apparatus 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the resource updating apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the resource updating apparatus 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
FIG. 11 is a block diagram illustrating a resource updating apparatus according to an example embodiment. For example, the resource updating apparatus 1100 may be provided as a server. The resource updating apparatus 1100 comprises a processing component 1102, which further comprises one or more processors, and a memory resource, represented by memory 1103, for storing instructions, e.g. application programs, executable by the processing component 1102. The application stored in the memory 1103 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1102 is configured to execute instructions to perform the above-described methods.
The resource updating apparatus 1100 may further include a power component 1106 configured to perform power management of the resource updating apparatus 1100, a wired or wireless network interface 1105 configured to connect the apparatus 1100 to a network, and an input/output (I/O) interface 1108. The resource updating apparatus 1100 may operate based on an operating system stored in the memory 1103, such as Windows Server, Mac OSXTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a resource updating apparatus 1000 or 1100, enable the resource updating apparatus 1000 or 1100 to perform a method comprising:
responding to an opening operation aiming at a webpage, and acquiring a resource name introduced by the webpage;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, executing a resource code corresponding to the first resource configuration information; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a content delivery network CDN address.
In one embodiment, the method further comprises:
acquiring second resource configuration information from the server;
detecting whether first resource configuration information corresponding to the resource name of the second resource configuration information is stored in a local storage area of the terminal;
if first resource configuration information corresponding to the resource name of the second resource configuration information is not stored in the local storage area of the terminal, loading a CDN address corresponding to the second resource configuration information to obtain a resource code corresponding to the second resource configuration information; adding a resource code corresponding to the second resource configuration information in the second resource configuration information; writing the modified second resource configuration information into a local storage area of the terminal;
if first resource configuration information corresponding to the resource name of the second resource configuration information is stored in the local storage area of the terminal, loading a CDN address corresponding to the second resource configuration information when the version number corresponding to the first resource configuration information is smaller than the version number corresponding to the second resource configuration information to obtain a resource code corresponding to the second resource configuration information; and replacing the resource code corresponding to the first resource configuration information with the resource code corresponding to the second resource configuration information.
In one embodiment, the first resource configuration information further includes: signing;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and a version number corresponding to the first resource configuration information is greater than a version number corresponding to a resource introduced by the page, executing a resource code corresponding to the first resource configuration information, wherein the resource code comprises:
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, a public key is used for verifying and signing the resource code and the signature corresponding to the first resource configuration information;
and when the signature verification is successful, executing the resource code corresponding to the first resource configuration information.
In one embodiment, the method further comprises:
when the signature verification fails, deleting the first resource configuration information in a local storage area of the terminal;
and executing the resource code corresponding to the resource introduced by the page.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for resource update, the method comprising:
responding to an opening operation aiming at a webpage, and acquiring a resource name introduced by the webpage;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, executing a resource code corresponding to the first resource configuration information; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a content delivery network CDN address.
2. The method of claim 1, further comprising:
acquiring second resource configuration information from the server;
detecting whether first resource configuration information corresponding to the resource name of the second resource configuration information is stored in a local storage area of the terminal;
if first resource configuration information corresponding to the resource name of the second resource configuration information is not stored in the local storage area of the terminal, loading a CDN address corresponding to the second resource configuration information to obtain a resource code corresponding to the second resource configuration information; adding a resource code corresponding to the second resource configuration information in the second resource configuration information; writing the modified second resource configuration information into a local storage area of the terminal;
if first resource configuration information corresponding to the resource name of the second resource configuration information is stored in the local storage area of the terminal, loading a CDN address corresponding to the second resource configuration information when the version number corresponding to the first resource configuration information is smaller than the version number corresponding to the second resource configuration information to obtain a resource code corresponding to the second resource configuration information; and replacing the resource code corresponding to the first resource configuration information with the resource code corresponding to the second resource configuration information.
3. The method of claim 1, wherein the first resource configuration information further comprises: signing;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and a version number corresponding to the first resource configuration information is greater than a version number corresponding to a resource introduced by the page, executing a resource code corresponding to the first resource configuration information, wherein the resource code comprises:
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, a public key is used for verifying and signing the resource code and the signature corresponding to the first resource configuration information;
and when the signature verification is successful, executing the resource code corresponding to the first resource configuration information.
4. The method of claim 3, further comprising:
when the signature verification fails, deleting the first resource configuration information in a local storage area of the terminal;
and executing the resource code corresponding to the resource introduced by the page.
5. An apparatus for resource update, the apparatus comprising:
the first acquisition module is used for responding to the opening operation aiming at the webpage and acquiring the resource name introduced by the webpage;
the execution module is used for executing a resource code corresponding to the first resource configuration information when the first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a content delivery network CDN address.
6. The apparatus of claim 5, further comprising:
a second obtaining module, configured to obtain second resource configuration information from the server;
a detection module, configured to detect whether first resource configuration information corresponding to the resource name of the second resource configuration information is stored in a local storage area of the terminal;
the updating module is configured to load a CDN address corresponding to the second resource configuration information if first resource configuration information corresponding to the resource name of the second resource configuration information is not stored in the local storage area of the terminal, and obtain a resource code corresponding to the second resource configuration information; adding a resource code corresponding to the second resource configuration information in the second resource configuration information; writing the modified second resource configuration information into a local storage area of the terminal;
the updating module is further configured to, if first resource configuration information corresponding to the resource name of the second resource configuration information is stored in the local storage area of the terminal, load a CDN address corresponding to the second resource configuration information when a version number corresponding to the first resource configuration information is smaller than a version number corresponding to the second resource configuration information, and obtain a resource code corresponding to the second resource configuration information; and replacing the resource code corresponding to the first resource configuration information with the resource code corresponding to the second resource configuration information.
7. The apparatus of claim 5, wherein the first resource configuration information further comprises: signing;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, the execution module uses a public key to verify the signature of the resource code and the signature corresponding to the first resource configuration information; and when the signature verification is successful, executing the resource code corresponding to the first resource configuration information.
8. The apparatus according to claim 7, wherein the execution module deletes the first resource configuration information in a local storage area of the terminal when the signature verification fails; and executing the resource code corresponding to the resource introduced by the page.
9. A resource updating apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
responding to an opening operation aiming at a webpage, and acquiring a resource name introduced by the webpage;
when first resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, executing a resource code corresponding to the first resource configuration information; wherein: the first resource configuration information includes a resource name, a resource code, a version number corresponding to the resource, and a content delivery network CDN address.
10. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 4.
CN201911025736.3A 2019-10-25 2019-10-25 Resource updating method and device Active CN110809036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911025736.3A CN110809036B (en) 2019-10-25 2019-10-25 Resource updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911025736.3A CN110809036B (en) 2019-10-25 2019-10-25 Resource updating method and device

Publications (2)

Publication Number Publication Date
CN110809036A true CN110809036A (en) 2020-02-18
CN110809036B CN110809036B (en) 2022-05-10

Family

ID=69489270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911025736.3A Active CN110809036B (en) 2019-10-25 2019-10-25 Resource updating method and device

Country Status (1)

Country Link
CN (1) CN110809036B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506837A (en) * 2020-03-09 2020-08-07 百度在线网络技术(北京)有限公司 Searching method and device, electronic equipment and readable storage medium
CN113741913A (en) * 2020-08-03 2021-12-03 北京沃东天骏信息技术有限公司 Picture configuration method, device and system and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140215019A1 (en) * 2013-01-28 2014-07-31 Spencer Ahrens Static resource caching
WO2014166265A1 (en) * 2013-04-12 2014-10-16 Tencent Technology (Shenzhen) Company Limited Method, terminal, cache server and system for updating webpage data
WO2014206138A1 (en) * 2013-06-28 2014-12-31 小米科技有限责任公司 Webpage data update method, apparatus and terminal device
CN104765622A (en) * 2014-01-03 2015-07-08 腾讯科技(深圳)有限公司 Page resource loading method and device
CN105049486A (en) * 2015-06-16 2015-11-11 腾讯科技(北京)有限公司 Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system
CN105630981A (en) * 2015-12-25 2016-06-01 小米科技有限责任公司 Network resource loading and configuration method and device
CN105808305A (en) * 2016-03-29 2016-07-27 北京小米移动软件有限公司 Static resource loading method and device
CN106156291A (en) * 2016-06-29 2016-11-23 深圳市彬讯科技有限公司 The caching method of static resource and system thereof based on Localstroage
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device
CN106933614A (en) * 2015-12-30 2017-07-07 广州爱九游信息技术有限公司 A kind of single-page application upgrade method and device
CN107463613A (en) * 2017-06-29 2017-12-12 北京五八信息技术有限公司 Page loading method and device
CN107465707A (en) * 2016-06-03 2017-12-12 阿里巴巴集团控股有限公司 A kind of content refresh method and device of content distributing network
CN108932332A (en) * 2018-07-05 2018-12-04 麒麟合盛网络技术股份有限公司 The loading method and device of static resource

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140215019A1 (en) * 2013-01-28 2014-07-31 Spencer Ahrens Static resource caching
WO2014166265A1 (en) * 2013-04-12 2014-10-16 Tencent Technology (Shenzhen) Company Limited Method, terminal, cache server and system for updating webpage data
WO2014206138A1 (en) * 2013-06-28 2014-12-31 小米科技有限责任公司 Webpage data update method, apparatus and terminal device
CN104765622A (en) * 2014-01-03 2015-07-08 腾讯科技(深圳)有限公司 Page resource loading method and device
CN105049486A (en) * 2015-06-16 2015-11-11 腾讯科技(北京)有限公司 Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system
CN105630981A (en) * 2015-12-25 2016-06-01 小米科技有限责任公司 Network resource loading and configuration method and device
CN106933614A (en) * 2015-12-30 2017-07-07 广州爱九游信息技术有限公司 A kind of single-page application upgrade method and device
CN105808305A (en) * 2016-03-29 2016-07-27 北京小米移动软件有限公司 Static resource loading method and device
CN107465707A (en) * 2016-06-03 2017-12-12 阿里巴巴集团控股有限公司 A kind of content refresh method and device of content distributing network
CN106156291A (en) * 2016-06-29 2016-11-23 深圳市彬讯科技有限公司 The caching method of static resource and system thereof based on Localstroage
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device
CN107463613A (en) * 2017-06-29 2017-12-12 北京五八信息技术有限公司 Page loading method and device
CN108932332A (en) * 2018-07-05 2018-12-04 麒麟合盛网络技术股份有限公司 The loading method and device of static resource

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姜良军等: "互联网思维影响下的网络运维安全研究", 《互联网天地》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506837A (en) * 2020-03-09 2020-08-07 百度在线网络技术(北京)有限公司 Searching method and device, electronic equipment and readable storage medium
CN113741913A (en) * 2020-08-03 2021-12-03 北京沃东天骏信息技术有限公司 Picture configuration method, device and system and storage medium

Also Published As

Publication number Publication date
CN110809036B (en) 2022-05-10

Similar Documents

Publication Publication Date Title
CN107862514B (en) Bus card management method, device and system and storage medium
CN106454392A (en) Live broadcast processing method, device and terminal
CN111221559B (en) Application updating method, device, storage medium, terminal and server
CN110809036B (en) Resource updating method and device
CN115185717B (en) Interface calling method and device, electronic equipment and storage medium
CN107463372B (en) Data-driven page updating method and device
CN108280342B (en) Application synchronization method and device for application synchronization
CN113076504B (en) Skeleton screen generation method, device, equipment and storage medium
CN105976201B (en) Purchasing behavior monitoring method and device for e-commerce system
CN104111829A (en) Data storage method and device
CN105630948A (en) Web page display method and apparatus
CN106354595B (en) Mobile terminal, hardware component state detection method and device
CN113407879B (en) Data reporting method, device and readable medium
CN111061633B (en) Webpage first screen time detection method, device, terminal and medium
CN112102009A (en) Advertisement display method, device, equipment and storage medium
CN108804181B (en) Control content obtaining method and device and storage medium
CN108021808B (en) Account book security reinforcing method and device and electronic equipment
CN107257384B (en) Service state monitoring method and device
CN110989987A (en) Portal webpage generation method, portal webpage generation device, client, server and storage medium
CN115203618B (en) Page processing method and device, electronic equipment and storage medium
CN113867992B (en) Call chain resource isolation method and device, storage medium and electronic equipment
CN110995767B (en) Request processing method and device
CN113473233B (en) Log splicing method and device, electronic equipment, storage medium and product
CN110473138B (en) Graphic code conversion method, graphic code conversion device, electronic equipment and storage medium
CN115373763B (en) Plug-in loading method and device, electronic equipment and storage medium

Legal Events

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