CN114518922B - Page display system, method and device, electronic equipment and storage medium - Google Patents

Page display system, method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114518922B
CN114518922B CN202111626508.9A CN202111626508A CN114518922B CN 114518922 B CN114518922 B CN 114518922B CN 202111626508 A CN202111626508 A CN 202111626508A CN 114518922 B CN114518922 B CN 114518922B
Authority
CN
China
Prior art keywords
page
management server
target
version number
file
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
CN202111626508.9A
Other languages
Chinese (zh)
Other versions
CN114518922A (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.)
Bigo Technology Singapore Pte Ltd
Original Assignee
Bigo Technology Singapore Pte 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 Bigo Technology Singapore Pte Ltd filed Critical Bigo Technology Singapore Pte Ltd
Priority to CN202111626508.9A priority Critical patent/CN114518922B/en
Publication of CN114518922A publication Critical patent/CN114518922A/en
Application granted granted Critical
Publication of CN114518922B publication Critical patent/CN114518922B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a page display system, a method, a device, electronic equipment and a storage medium. And when the client judges that the second version number of the stored page is consistent with the first version number, rendering the page by adopting the first static resource corresponding to the stored page to realize page display, and if the page is inconsistent with the first version number, downloading the second static resource corresponding to the page from the page management server according to the downloading address information, and rendering the page by adopting the second static resource to realize page display. By judging the version numbers, the user can open the latest page, and the page is rendered by adopting the stored first static resources when the version numbers are consistent, so that page display is realized, static resources are not required to be downloaded, and page display speed is improved.

Description

Page display system, method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a page display system, a method, an apparatus, an electronic device, and a storage medium.
Background
During the use of an Application program (App), a user inevitably needs to access some pages, such as a cash register page, where he selects a suitable payment mode for payment. In the page loading process, some static resources, such as html page skeleton, multilingual Js text, etc., need to be downloaded remotely through network requests. The speed of downloading these static resources is affected by the performance of the user equipment and the quality of the network. Therefore, if the performance of the user's equipment or the network quality is poor, the downloading speed of the static resources is reduced, so that the page loading is slow, and the experience of the user using the App is finally affected.
In the related art, in order to solve the above-mentioned problem, the page to be used by the App client is generally preloaded with respect to static resources on which the App client depends. The downloading time can be set in advance, for example, before the user opens the page, for example, the user just opens an App client, so that when the user really opens the page, the static resources on which the page depends are already downloaded in the background, and the opening speed is obviously improved compared with the speed of opening without preloading.
The related art has a problem in that static resources have timeliness. Assuming time T, the user App client downloads the static resources on which the page depends. These downloaded resources are cached locally and typically have a validity period set. When the validity period is exceeded, the static resources are regarded as invalid resources and need to be downloaded again, so that the version of the local static resources is prevented from being behind the remote static resources. However, if the validity period is set too large, the version of the local static resource may lag behind the remote static resource for a long time, and the user cannot open the latest page. And the validity period is set too small, frequent preloading loses the effect of improving the speed of opening the page.
Disclosure of Invention
The embodiment of the invention provides a page display system, a method, a device, electronic equipment and a storage medium, which are used for improving the speed of opening a page and ensuring that a user can open the latest page.
The embodiment of the invention provides a page display system, which comprises: the system comprises a client, a preloading management server and a page management server;
the client is used for sending a request carrying a page identifier to the preloading management server;
the preloading management server is used for sending a page corresponding to the request, a first version number of the page and download address information of static resources for rendering the page to the client;
the client is further configured to determine whether the saved second version number of the page is consistent with the first version number; if the page is consistent, rendering the page by adopting the stored first static resource corresponding to the page; and if the download address information is inconsistent, downloading a second static resource corresponding to the page from the page management server, and rendering the page by adopting the second static resource.
In another aspect, an embodiment of the present invention provides a page display method, where the method includes:
a request carrying a page identifier is sent to a preloading management server, and a page corresponding to the request, a first version number of the page and download address information for rendering static resources of the page, which are responded by the preloading management server, are received;
judging whether the second version number of the stored page is consistent with the first version number;
if the page is consistent, rendering the page by adopting the stored first static resource corresponding to the page;
and if the download address information is inconsistent, downloading a second static resource corresponding to the page from the page management server, and rendering the page by adopting the second static resource.
In still another aspect, an embodiment of the present invention provides a page display device, including:
the system comprises a sending and receiving module, a loading management server and a loading management module, wherein the sending and receiving module is used for sending a request carrying a page identifier to the loading management server and receiving a page corresponding to the request, a first version number of the page and downloading address information of a static resource for rendering the page, which are responded by the loading management server;
the page display module is used for judging whether the second version number of the stored page is consistent with the first version number; if the page is consistent, rendering the page by adopting the stored first static resource corresponding to the page; and if the download address information is inconsistent, downloading a second static resource corresponding to the page from the page management server, and rendering the page by adopting the second static resource.
In yet another aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of the method when executing the program stored in the memory.
In yet another aspect, embodiments of the present invention provide a computer-readable storage medium having a computer program stored therein, which when executed by a processor, implements the above-described method steps.
The embodiment of the invention provides a page display system, a method, a device, electronic equipment and a storage medium, wherein the system comprises the following components: the system comprises a client, a preloading management server and a page management server; the client is used for sending a request carrying a page identifier to the preloading management server; the preloading management server is used for sending a page corresponding to the request, a first version number of the page and download address information of static resources for rendering the page to the client; the client is further configured to determine whether the saved second version number of the page is consistent with the first version number; if the page is consistent, rendering the page by adopting the stored first static resource corresponding to the page; and if the download address information is inconsistent, downloading a second static resource corresponding to the page from the page management server, and rendering the page by adopting the second static resource.
The technical scheme has the following advantages or beneficial effects:
since in the embodiment of the invention, after the client sends the request to the preload management server, the preload management server sends the page corresponding to the request, the first version number of the page and the download address information of the static resource for rendering the page to the client. And when the client judges that the second version number of the stored page is consistent with the first version number, rendering the page by adopting the first static resource corresponding to the stored page to realize page display, and if the page is inconsistent with the first version number, downloading the second static resource corresponding to the page from the page management server according to the downloading address information, and rendering the page by adopting the second static resource to realize page display. By judging the version numbers, the user can open the latest page, and the page is rendered by adopting the stored first static resources when the version numbers are consistent, so that page display is realized, static resources are not required to be downloaded, and page display speed is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a page display system according to an embodiment of the present invention;
FIG. 2 is a timing diagram of displaying a page according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a page display process according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a page display device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail below with reference to the attached drawings, wherein it is apparent that the embodiments described are only some, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1:
fig. 1 is a schematic structural diagram of a page display system according to an embodiment of the present invention, where the system includes: a client 11, a preload management server 12, and a page management server 13;
a client 11, configured to send a request carrying a page identifier to the preload management server 12;
the preload management server 12 is configured to send, to the client 11, a page corresponding to the request, a first version number of the page, and download address information of a static resource for rendering the page;
the client 11 is further configured to determine whether the saved second version number of the page is consistent with the first version number; if the page is consistent, rendering the page by adopting the stored first static resource corresponding to the page; and if the download address information is inconsistent, downloading a second static resource corresponding to the page from the page management server 13, and rendering the page by adopting the second static resource.
In the embodiment of the invention, the concept of version numbers is given to pages. When the client needs to open the page, a request carrying the page identification needs to be sent to the preloading management server, and the preloading management server sends the page corresponding to the request to the client. At the same time, the preload management server sends the first version number of the page and download address information of the static resource for rendering the page to the client. The client saves the second version number of the page after downloading the static resources for rendering the page for the historical period of time.
The client judges whether the second version number of the stored page is consistent with the first version number; if the static resources are consistent, the static resources stored locally are the static resources of the latest version at present, so that the page can be directly rendered by adopting the first static resources corresponding to the stored page. The efficiency of page display is guaranteed, and the page which is the latest version is also guaranteed to be opened.
If the client judges that the second version number of the stored page is inconsistent with the first version number, the method indicates that the locally stored static resource is not the current latest version of static resource, and the page of the latest version is ensured to be opened by a user as a priority principle. Thereby ensuring that the user opens the latest version of the page.
Since in the embodiment of the invention, after the client sends the request to the preload management server, the preload management server sends the page corresponding to the request, the first version number of the page and the download address information of the static resource for rendering the page to the client. And when the client judges that the second version number of the stored page is consistent with the first version number, rendering the page by adopting the first static resource corresponding to the stored page to realize page display, and if the page is inconsistent with the first version number, downloading the second static resource corresponding to the page from the page management server according to the downloading address information, and rendering the page by adopting the second static resource to realize page display. By judging the version numbers, the user can open the latest page, and the page is rendered by adopting the stored first static resources when the version numbers are consistent, so that page display is realized, static resources are not required to be downloaded, and page display speed is improved.
Example 2:
based on the foregoing embodiment, in the embodiment of the present invention, the preload management server is further configured to obtain text information corresponding to the page from the page management server, and determine a first check value corresponding to the page according to the text information;
acquiring a second check value corresponding to the stored page, and judging whether the first check value is consistent with the second check value; if the version information of the page is consistent, determining that the version information of the page is unchanged, and keeping the version number of the page unchanged; if the version information of the page is inconsistent, determining that the version information of the page is changed, and updating the version number of the page.
The process of the preloading management server recording the version number of the page is as follows:
firstly, a preloading management server acquires text information corresponding to a page from a page management server, and performs verification calculation on the text information to obtain a first verification value corresponding to the page. The first check value corresponding to the page can be calculated through an MD5 message digest algorithm. And then obtaining a second check value corresponding to the saved page. If the first check value is consistent with the second check value, the version information of the page is not updated, and at the moment, the version information of the page is determined to be unchanged, so that the version number of the page is kept unchanged. If the first check value is inconsistent with the second check value, the version information of the page is changed, and the version number of the page needs to be updated. The embodiment of the invention does not limit the method for updating the version number, as long as the version numbers before and after updating are different. Preferably, the version numbers of the pages may be updated in order of number from small to large. For example, the initial version number is 1, and when the version number of the page needs to be updated, the version number is updated to 2.
The preloading management server can judge whether the version information of the page changes according to the check value corresponding to the page, and update the version information of the page when the page information changes.
Furthermore, the client can judge whether the static resource needs to be downloaded again according to whether the second version number of the saved page is consistent with the first version number of the page sent by the preloading management server, so as to ensure that the latest page can be opened.
Example 3:
in order to ensure that whether version information of a page changes or not can be found timely, in the embodiments of the present invention, the preload management server is specifically configured to obtain text information corresponding to the page from the page management server when verification indication information is received or when verification time is determined to be reached according to a timing rule, and determine a first verification value corresponding to the page according to the text information.
If the developer changes the content in the text information corresponding to the page, check indication information is sent to the preloading management server, when the preloading management server receives the check indication information, the text information corresponding to the page is obtained from the page management server, and a first check value corresponding to the page is determined according to the text information. Acquiring a second check value corresponding to the stored page, and judging whether the first check value is consistent with the second check value; if the version information of the page is consistent, determining that the version information of the page is unchanged, and keeping the version number of the page unchanged; if the version information of the page is inconsistent, determining that the version information of the page is changed, and updating the version number of the page.
In order to avoid the problem that whether the version information of the page changes or not cannot be found in time when the active notification check indication information fails, when the check time is determined to be reached according to the timing rule, text information corresponding to the page is obtained from the page management server, and a first check value corresponding to the page is determined according to the text information. That is, the pre-loading management server actively acquires text information corresponding to the page from the page management server according to the timing task, and determines a first check value corresponding to the page according to the text information.
The preloading management server obtains text information corresponding to the page from the page management server through the two occasions, and determines a first check value corresponding to the page according to the text information. Whether the version information of the page changes or not can be timely found.
Example 4:
in order to ensure that the version information of the page can be found to change, in the embodiments of the present invention, the page management server is further configured to determine each target page associated with the target JS file when an instruction for representing that the content of the target JS file is updated is received, and update the file name of the target JS file in the text information corresponding to each target page.
In one scenario, the text information corresponding to the page is unchanged, but the content of a referenced JS file is updated. Since the text information corresponding to the page includes the name of the JS file, but does not include the content in the JS file, when the text information corresponding to the page is not changed, but the content of a referenced JS file is updated, the version information of the page is changed, but the verification value calculated according to the text information corresponding to the page is not changed, which leads to misunderstanding that the version information of the page is not changed.
In order to avoid the above problem, in the embodiment of the present invention, when receiving an instruction for representing that the content of the target JS file has been updated, the page management server determines each target page associated with the target JS file, and updates the file name of the target JS file in the text information corresponding to each target page. The instruction for representing that the content of the target JS file is updated is sent to the page management server after the developer updates the content of a certain JS file. Thus, when the content of the target JS file is updated, the file name of the target JS file in the text information corresponding to each target page is updated. Therefore, the verification value calculated according to the text information corresponding to the page is also changed, so that the change of the version information of the page can be found.
For example, when a developer changes the content of the JS file, when submitting the code, the background build tool will retrieve all pages that reference the JS according to the reference relationship chain of the JS file. The corresponding js file name in these pages is then updated, assuming that the "a.js" file content is updated, the html page referencing a.js will replace the a.js name with "Md5 (a js latest content)".
The page in the embodiment of the invention can be an H5 page, and the H5 page refers to: HTML5 is a language description of the way Web content is built. While the H5 page may be considered a web page conforming to the HTML5 specification. JavaScript (simply "JS") is a lightweight, interpreted or just-in-time compiled programming language with functional prioritization. H5 pages are widely used in this technology.
According to the embodiment of the invention, the version information of the page can be judged to change according to the verification value obtained by calculating the text information corresponding to the page. And the JS file content does not need to be judged one by one, so that the checking efficiency is improved.
Example 5:
based on the foregoing embodiments, in the embodiments of the present invention, the client is specifically configured to send, to the preload management server, a request carrying a page identifier when an operation of opening the page is identified, or when an operation associated with the page is identified.
In the embodiment of the invention, when the client identifies the operation of opening the page, a request carrying the page identifier is sent to the pre-load management server, for example, the operation of double-clicking a certain APP is carried out, and the corresponding operation is that the home page of the APP is opened, and after the client identifies the operation of double-clicking a certain APP, the client sends the request carrying the identifier of the home page of the APP to the pre-load management server.
Or, when the client identifies the operation associated with the page, the client sends a request carrying the page identification to the preload management server. For example, in an e-commerce scenario, if a user adds an item to a shopping cart and submits an order, then the operation associated with adding the item to the shopping cart and submitting the order is to open a checkout page. Thus if the client identifies to add an item to the shopping cart and submits an order, a request is sent to the preload management server carrying an identification of the checkout counter page. Thereby further improving the efficiency of opening the page.
Fig. 2 is a timing chart of page display provided in an embodiment of the present invention, as shown in fig. 2, timing one: when the APP is just started, the client sends a request carrying a page identifier to the preload management server. The preload management server sends a page corresponding to the request, a first version number of the page, and download address information of static resources for rendering the page to the client. When the client downloads for the first time, the static resources are not saved locally, so that the second static resources corresponding to the page are downloaded from the page management server according to the download address information, and the page is rendered by adopting the second static resources. The preload management server checks whether the version information of the page is updated when receiving the check indication information or when determining that the check time is reached according to the timing rule, and if so, updates the version number of the page.
As shown in fig. 2, timing two: the client sends a request carrying the page identification to the preload management server when the operation of opening the page is identified or when the operation associated with the page is identified. The preload management server sends a page corresponding to the request, a first version number of the page and download address information of static resources for rendering the page to the client. The client judges whether the second version number of the stored page is consistent with the first version number, and if so, the page is rendered by adopting a first static resource corresponding to the stored page; and if the static resources are inconsistent, downloading second static resources corresponding to the page from the page management server according to the downloading address information, and rendering the page by adopting the second static resources.
Example 6:
fig. 3 is a schematic diagram of a page display process according to an embodiment of the present invention, where the process includes the following steps:
s101: and sending a request carrying a page identifier to a preloading management server, and receiving a page corresponding to the request, a first version number of the page and download address information of static resources for rendering the page, which are responded by the preloading management server.
S102: judging whether the second version number of the stored page is consistent with the first version number; if so, S103 is performed, and if not, S104 is performed.
S103: and rendering the page by adopting the stored first static resource corresponding to the page.
S104: and downloading a second static resource corresponding to the page from the page management server according to the download address information, and rendering the page by adopting the second static resource.
The page display provided by the embodiment of the invention is applied to electronic equipment, and the electronic equipment can be a client, a PC, a tablet personal computer and other equipment.
In the embodiment of the invention, when the client needs to open the page, a request carrying the page identifier is sent to the preloading management server, and the preloading management server sends the page corresponding to the request to the client. At the same time, the preload management server sends the first version number of the page and download address information of the static resource for rendering the page to the client.
When the client judges that the second version number of the stored page is consistent with the first version number, the locally stored static resource is the current latest static resource, so that the page can be directly rendered by adopting the first static resource corresponding to the stored page. The efficiency of page display is guaranteed, and the page which is the latest version is also guaranteed to be opened. If the client judges that the second version number of the stored page is inconsistent with the first version number, the method indicates that the locally stored static resource is not the current latest version of static resource, and the page of the latest version is ensured to be opened by a user as a priority principle. Thereby ensuring that the user opens the latest version of the page.
Since in the embodiment of the invention, after the client sends the request to the preload management server, the preload management server sends the page corresponding to the request, the first version number of the page and the download address information of the static resource for rendering the page to the client. And when the client judges that the second version number of the stored page is consistent with the first version number, rendering the page by adopting the first static resource corresponding to the stored page to realize page display, and if the page is inconsistent with the first version number, downloading the second static resource corresponding to the page from the page management server according to the downloading address information, and rendering the page by adopting the second static resource to realize page display. By judging the version numbers, the user can open the latest page, and the page is rendered by adopting the stored first static resources when the version numbers are consistent, so that page display is realized, static resources are not required to be downloaded, and page display speed is improved.
The sending of the request carrying the page identifier to the preload management server comprises:
when an operation to open the page is identified, or when an operation associated with the page is identified, a request carrying a page identification is sent to the preload management server.
In the embodiment of the invention, when the client identifies the operation of opening the page, a request carrying the page identifier is sent to the pre-load management server, for example, the operation of double-clicking a certain APP is carried out, and the corresponding operation is that the home page of the APP is opened, and after the client identifies the operation of double-clicking a certain APP, the client sends the request carrying the identifier of the home page of the APP to the pre-load management server. Or, when the client identifies the operation associated with the page, the client sends a request carrying the page identification to the preload management server. For example, in an e-commerce scenario, if a user adds an item to a shopping cart and submits an order, then the operation associated with adding the item to the shopping cart and submitting the order is to open a checkout page. Thus if the client identifies to add an item to the shopping cart and submits an order, a request is sent to the preload management server carrying an identification of the checkout counter page. Thereby further improving the efficiency of opening the page.
Example 7:
fig. 4 is a schematic structural diagram of a page display device according to an embodiment of the present invention, where the device includes:
the sending and receiving module 61 is configured to send a request carrying a page identifier to a preload management server, and receive a page corresponding to the request, a first version number of the page, and download address information of a static resource for rendering the page, which are responded by the preload management server;
the page display module 62 is configured to determine whether the saved second version number of the page is consistent with the first version number; if the page is consistent, rendering the page by adopting the stored first static resource corresponding to the page; and if the download address information is inconsistent, downloading a second static resource corresponding to the page from the page management server, and rendering the page by adopting the second static resource.
The sending and receiving module 61 is specifically configured to send a request carrying a page identifier to the preload management server when an operation of opening the page is identified or when an operation associated with the page is identified.
Example 8:
on the basis of the above embodiments, the embodiment of the present invention further provides an electronic device, as shown in fig. 5, including: processor 301, communication interface 302, memory 303 and communication bus 304, wherein processor 301, communication interface 302, memory 303 complete the communication each other through communication bus 304;
the memory 303 has stored therein a computer program which, when executed by the processor 301, causes the processor 301 to perform the steps of:
a request carrying a page identifier is sent to a preloading management server, and a page corresponding to the request, a first version number of the page and download address information for rendering static resources of the page, which are responded by the preloading management server, are received;
judging whether the second version number of the stored page is consistent with the first version number;
if the page is consistent, rendering the page by adopting the stored first static resource corresponding to the page;
and if the download address information is inconsistent, downloading a second static resource corresponding to the page from the page management server, and rendering the page by adopting the second static resource.
The electronic equipment provided by the embodiment of the invention can be used for executing the page display method provided by any embodiment, and has corresponding functions and beneficial effects.
Example 9:
on the basis of the above embodiments, the embodiments of the present invention further provide a computer-readable storage medium having stored therein a computer program executable by an electronic device, which when run on the electronic device, causes the electronic device to perform the steps of:
a request carrying a page identifier is sent to a preloading management server, and a page corresponding to the request, a first version number of the page and download address information for rendering static resources of the page, which are responded by the preloading management server, are received;
judging whether the second version number of the stored page is consistent with the first version number;
if the page is consistent, rendering the page by adopting the stored first static resource corresponding to the page;
and if the download address information is inconsistent, downloading a second static resource corresponding to the page from the page management server, and rendering the page by adopting the second static resource.
The embodiment of the invention also provides a computer storage readable storage medium, in which a computer program executable by an electronic device is stored, and when the program runs on the electronic device, the program can be used for executing the interface call timing sequence detection method provided by any embodiment, and has corresponding functions and beneficial effects.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (9)

1. A page display system, the system comprising: the system comprises a client, a preloading management server and a page management server;
the client is used for sending a request carrying a page identifier to the preloading management server;
the preloading management server is used for sending a page corresponding to the request, a first version number of the page and download address information of static resources for rendering the page to the client;
the client is further configured to determine whether the saved second version number of the page is consistent with the first version number; if the page is consistent, rendering the page by adopting the stored first static resource corresponding to the page; if the download address information is inconsistent, downloading a second static resource corresponding to the page from the page management server, and rendering the page by adopting the second static resource;
the page management server is further configured to determine each target page associated with the target JS file when an instruction for representing that the content of the target JS file is updated is received, and update the file name of the target JS file in text information corresponding to each target page;
the text information corresponding to the page includes the name of the target JS file.
2. The system of claim 1, wherein the preload management server is further configured to obtain text information corresponding to the page from the page management server, and determine a first check value corresponding to the page according to the text information;
acquiring a second check value corresponding to the stored page, and judging whether the first check value is consistent with the second check value; if the version information of the page is consistent, determining that the version information of the page is unchanged, and keeping the version number of the page unchanged; if the version information of the page is inconsistent, determining that the version information of the page is changed, and updating the version number of the page.
3. The system of claim 1, wherein the preload management server is specifically configured to obtain text information corresponding to the page from the page management server when the check indication information is received or when it is determined that the check time is reached according to a timing rule, and determine a first check value corresponding to the page according to the text information.
4. The system of claim 1, wherein the client is specifically configured to send a request carrying a page identification to the preload management server when an operation to open the page is identified or when an operation associated with the page is identified.
5. A method of displaying a page, the method comprising:
a request carrying a page identifier is sent to a preloading management server, and a page corresponding to the request, a first version number of the page and download address information for rendering static resources of the page, which are responded by the preloading management server, are received;
judging whether the second version number of the stored page is consistent with the first version number;
if the page is consistent, rendering the page by adopting the stored first static resource corresponding to the page;
if the download address information is inconsistent, downloading a second static resource corresponding to the page from the page management server, and rendering the page by adopting the second static resource;
when an instruction for representing that the content of the target JS file is updated is received, each target page associated with the target JS file is determined, and the file name of the target JS file in text information corresponding to each target page is updated;
the text information corresponding to the page includes the name of the target JS file.
6. The method of claim 5, wherein sending a request to the preload management server carrying a page identification comprises:
when an operation to open the page is identified, or when an operation associated with the page is identified, a request carrying a page identification is sent to the preload management server.
7. A page display device, the device comprising:
the system comprises a sending and receiving module, a loading management server and a loading management module, wherein the sending and receiving module is used for sending a request carrying a page identifier to the loading management server and receiving a page corresponding to the request, a first version number of the page and downloading address information of a static resource for rendering the page, which are responded by the loading management server;
the page display module is used for judging whether the second version number of the stored page is consistent with the first version number; if the page is consistent, rendering the page by adopting the stored first static resource corresponding to the page; if the download address information is inconsistent, downloading a second static resource corresponding to the page from the page management server, and rendering the page by adopting the second static resource;
when an instruction for representing that the content of the target JS file is updated is received, each target page associated with the target JS file is determined, and the file name of the target JS file in text information corresponding to each target page is updated;
the text information corresponding to the page includes the name of the target JS file.
8. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of claim 5 or 6 when executing a program stored on a memory.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of claim 5 or 6.
CN202111626508.9A 2021-12-28 2021-12-28 Page display system, method and device, electronic equipment and storage medium Active CN114518922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111626508.9A CN114518922B (en) 2021-12-28 2021-12-28 Page display system, method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111626508.9A CN114518922B (en) 2021-12-28 2021-12-28 Page display system, method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114518922A CN114518922A (en) 2022-05-20
CN114518922B true CN114518922B (en) 2024-03-05

Family

ID=81596701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111626508.9A Active CN114518922B (en) 2021-12-28 2021-12-28 Page display system, method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114518922B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989208A (en) * 2009-08-04 2011-03-23 鸿富锦精密工业(深圳)有限公司 Software updating method
CN106020843A (en) * 2016-05-31 2016-10-12 乐视控股(北京)有限公司 System function updating method and system, terminal device and server
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device
CN107784086A (en) * 2017-10-09 2018-03-09 中国平安人寿保险股份有限公司 A kind of loading method of webpage, terminal device and computer-readable recording medium
CN113569551A (en) * 2021-07-16 2021-10-29 青岛海尔科技有限公司 APP page configuration method, device, system and storage medium
CN113703807A (en) * 2021-08-26 2021-11-26 上海德拓信息技术股份有限公司 Method and system for detecting and updating static resource version in real time
CN113704654A (en) * 2021-07-30 2021-11-26 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN113703893A (en) * 2021-08-24 2021-11-26 上海浦东发展银行股份有限公司 Page rendering method, device, terminal and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989208A (en) * 2009-08-04 2011-03-23 鸿富锦精密工业(深圳)有限公司 Software updating method
CN106020843A (en) * 2016-05-31 2016-10-12 乐视控股(北京)有限公司 System function updating method and system, terminal device and server
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device
CN107784086A (en) * 2017-10-09 2018-03-09 中国平安人寿保险股份有限公司 A kind of loading method of webpage, terminal device and computer-readable recording medium
CN113569551A (en) * 2021-07-16 2021-10-29 青岛海尔科技有限公司 APP page configuration method, device, system and storage medium
CN113704654A (en) * 2021-07-30 2021-11-26 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN113703893A (en) * 2021-08-24 2021-11-26 上海浦东发展银行股份有限公司 Page rendering method, device, terminal and storage medium
CN113703807A (en) * 2021-08-26 2021-11-26 上海德拓信息技术股份有限公司 Method and system for detecting and updating static resource version in real time

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于web的统计年鉴可视化系统设计与实现;郭梦杰;《中国优秀硕士学位论文全文数据库信息科技辑》;20190815(第8期);I139-175 *
智慧家庭App的设备控制页面动态呈现技术;郭涛;韩建亭;杨晓玲;;电信科学;20171020(第10期);183-190 *

Also Published As

Publication number Publication date
CN114518922A (en) 2022-05-20

Similar Documents

Publication Publication Date Title
CN110263275B (en) Method and device for accessing webpage, mobile terminal and storage medium
CN106990975B (en) Application heat deployment method, device and system
US9195638B2 (en) Method and apparatus of processing nested fragment caching of a web page
US20140143644A1 (en) Web browser page transition acceleration
US7797432B2 (en) Sharing state information between dynamic web page generators
EP3528474B1 (en) Webpage advertisement anti-shielding methods and content distribution network
JP5004857B2 (en) Application update information providing system and application update information providing method
CN113535267A (en) Applet page configuration method and device, electronic equipment and storage medium
CN111079048B (en) Page loading method and device
CN112035114A (en) Page rollback method, device, equipment and medium
CN113330432A (en) Asynchronous predictive caching of content listed in search results
CN112818270B (en) Data cross-domain transfer method and device and computer equipment
CN114518922B (en) Page display system, method and device, electronic equipment and storage medium
CN110874445A (en) Webpage loading method, client and business service center
CN112433784A (en) Page loading method, device, equipment and storage medium
CN112926002A (en) Service request processing method and device
CN115858978A (en) Page loading method and device based on updated resources
CN115687826A (en) Page refreshing method and device, computer equipment and storage medium
CN102272748A (en) System and method for enhancing digital content
CN113934954A (en) Webpage first screen rendering method and device in application program
CN113704648A (en) Page data processing method, device, equipment and storage medium
CN112380468A (en) Page loading method, computer equipment and storage medium
CN113779458A (en) Method and device for accelerating application loading, electronic equipment and storage medium
CN112328922A (en) Processing method and device
CN113553133B (en) Page display method and system

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