CN112035765B - Page rendering method, device and equipment - Google Patents
Page rendering method, device and equipment Download PDFInfo
- Publication number
- CN112035765B CN112035765B CN202010752350.9A CN202010752350A CN112035765B CN 112035765 B CN112035765 B CN 112035765B CN 202010752350 A CN202010752350 A CN 202010752350A CN 112035765 B CN112035765 B CN 112035765B
- Authority
- CN
- China
- Prior art keywords
- page
- data
- page data
- redisplaying
- server
- 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
Links
- 238000009877 rendering Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000001960 triggered effect Effects 0.000 claims abstract description 34
- 230000004044 response Effects 0.000 claims abstract description 15
- 238000012544 monitoring process Methods 0.000 claims description 11
- 230000004048 modification Effects 0.000 claims description 7
- 238000012986 modification Methods 0.000 claims description 7
- 230000008859 change Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 claims description 3
- 230000003139 buffering effect Effects 0.000 claims description 2
- 241000234295 Musa Species 0.000 description 7
- 235000021015 bananas Nutrition 0.000 description 7
- 238000001514 detection method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 240000009088 Fragaria x ananassa Species 0.000 description 2
- 244000141359 Malus pumila Species 0.000 description 2
- 240000008790 Musa x paradisiaca Species 0.000 description 2
- 235000018290 Musa x paradisiaca Nutrition 0.000 description 2
- 235000021016 apples Nutrition 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 235000021012 strawberries Nutrition 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a page rendering method, device and equipment. The method comprises the following steps: caching first page data of a first page; responding to a first operation triggered on the first page, and switching to display a second page; and redisplaying the first page in response to a second operation triggered on the second page, wherein the redisplayed first page is rendered according to the second page data, and the second operation enables the second page data which are required to be displayed currently on the first page to be different from the first page data. By the scheme, the first page can be automatically refreshed according to the second page data.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for page rendering.
Background
When the page has the page A to the page B, the browser always caches the page A, namely, caches the page data corresponding to the page A. When the a page needs to be displayed again, the a page may be rendered again based on the cached data.
In practical applications, however, when the a page is to be rolled back again, the data in the a page may change, and at this time, the a page to be redisplayed based on the cached a page data is obviously not matched with this case.
Disclosure of Invention
The embodiment of the invention provides a page rendering method, a device, equipment and a storage medium, which can realize synchronous refreshing of page data.
In a first aspect, an embodiment of the present invention provides a page rendering method, including:
Caching first page data of a first page;
responding to a first operation triggered on the first page, and switching to display a second page;
And redisplaying the first page in response to a second operation triggered on the second page, wherein the redisplayed first page is rendered according to second page data, and the second operation enables the second page data which are required to be displayed currently on the first page to be different from the first page data.
In a second aspect, an embodiment of the present invention provides a page rendering apparatus, including:
the buffer module is used for buffering first page data of the first page;
the switching module is used for responding to a first operation triggered on the first page and switching to display a second page;
And the display module is used for redisplaying the first page in response to a second operation triggered on the second page, wherein the redisplayed first page is rendered according to second page data, and the second operation enables the second page data which are required to be displayed currently on the first page to be different from the first page data.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor, a communication interface; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to at least implement the page rendering method as described in the first aspect.
In a fourth aspect, embodiments of the present invention provide a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to at least implement a page rendering method as described in the first aspect.
In the embodiment of the invention, after the first page is acquired, caching first page data of the first page to the local; and then switching to display the second page in response to a first operation triggered on the first page. And generating second page data in response to a second operation triggered on the second page, and returning to the redisplayed first page, wherein if the second operation causes the second page data to be displayed on the first page to be different from the first page data, when the first page is redisplayed, the redisplayed first page is rendered according to the second page data, so that the redisplayed page data is guaranteed to be updated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are 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 flowchart of a page rendering method according to an embodiment of the present invention;
fig. 2 is an application schematic diagram of a page rendering method according to an embodiment of the present invention;
FIG. 3 is a flowchart of another page rendering method according to an embodiment of the present invention;
FIG. 4 is a flowchart of another page rendering method according to an embodiment of the present invention;
FIG. 5 is a flowchart of another page rendering method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a page rendering device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device corresponding to the page rendering device provided in the embodiment shown in fig. 6.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, 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.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
In addition, the sequence of steps in the method embodiments described below is only an example and is not strictly limited.
Before introducing the page rendering method provided by the embodiment of the invention, a browser is taken as an example to introduce the general situation of executing page return operation: the user inputs the website to be accessed in the browser, the server returns corresponding webpage data according to the website, the terminal displays the corresponding webpage according to the webpage data and caches the webpage data locally, but in some cases, the user needs to perform operations of adding, deleting and changing certain webpage contents, for example, the webpage displayed for the first time is an order list, and the displayed data comprises: the number of orders for each commodity, for some reason, the customer cancels an order and therefore the corresponding data in the order list needs to be modified. At this time, by performing data modification on the specific operation of the order in the order list, such as touch operation, jumping to the detail page of the order, after modifying the order data, performing an operation of returning to the webpage where the order list is located, and because the caching mechanism of the browser caches the webpage displayed for the first time, the data displayed in the order list which is re-displayed after returning is still the data of the order list displayed for the first time, and at this time, the latest order list data can be displayed only by manually refreshing.
In order to solve the above problems, the present invention provides a page rendering method, which renders a page according to the latest data obtained, and ensures that the data displayed on the page after return is updated
Fig. 1 is a flowchart of a page rendering method according to an embodiment of the present invention, where, as shown in fig. 1, the page rendering method may include the following steps:
101. First page data of a first page is cached.
Generally, the terminal sends an access request of the first page to the server, and the server returns first page data corresponding to the first page according to the access request, where the first page data is used for rendering the first page.
102. And responding to a first operation triggered on the first page, and switching to display the second page.
Optionally, at least one control is set at least one preset position on the first webpage, and the second webpage is switched to be displayed through a first operation on the at least one control, where the preset position may be a position where a specific webpage content is displayed or a position associated with the webpage content, and the first operation includes: and (5) touch operation.
It should be noted that, the content displayed by the second web page is associated with the specific web page content displayed by the first web page.
103. And redisplaying the first page in response to a second operation triggered on the second page, wherein the redisplayed first page is rendered according to the second page data, and the second operation enables the second page data which are required to be displayed currently on the first page to be different from the first page data.
The second operation includes at least one of: an add operation, a modify operation, and a delete operation.
The second operation causes the data of the second webpage to change, so that the second page data uploaded to the browser by the terminal changes compared with the first page data, the first page data is used for rendering the first page displayed for the first time, the second page data is used for rendering the first page redisplayed, the first page redisplayed changes compared with the first page displayed for the first time, the first page data is cached while the first page is displayed for the first time by the terminal, the first page rendered according to the first page data is displayed by the terminal after the second page performs the return operation, and at the moment, the terminal requests to acquire the second page data from the server, so that the first page redisplayed according to the second page data is rendered.
In the embodiment of the invention, when the second page returns to the first page, i.e. the redisplayed first page is rendered according to the cached first page data, at this time, the terminal requests the server for the second page data generated based on the second operation, and renders the redisplayed page based on the second page data, thereby ensuring that the content of the redisplayed first page is updated.
Fig. 2 is an application schematic diagram of a page rendering method provided by the embodiment of the present invention, and in combination with fig. 2, the role of the page rendering method is illustrated, as shown in fig. 2, a merchant of a fruit store requests first page data from a server through an input link Http: www.123.com, a terminal uses the first page data to render and generate a merchant page, sales of 3 fruits of a month are displayed on the merchant page, the sales are respectively 500 jin of bananas, 290 jin of apples and 320 jin of strawberries, and since a customer suddenly cancels an order of one banana and the number is 50 jin, the merchant needs to modify the sales of the bananas, at this time, the merchant jumps to a second webpage for modifying banana related data by clicking a modification button corresponding to the bananas of the page, and the second webpage includes: the return button is operated to reduce the sales quantity of the bananas from 500 jin to 450 jin and is clicked, at this time, the terminal generates relevant second webpage data through the operation of reducing the sales quantity of the bananas, uploads the second webpage data to the server and returns to the merchant page, the server determines that the second webpage data is inconsistent with the first webpage data through comparison, the second webpage data is sent to the terminal, the terminal renders the redisplayed merchant page according to the second webpage data, and finally the displayed content is: 450 jin of bananas, 290 jin of apples and 320 jin of strawberries, thereby completing the modification of the sales of bananas.
The specific method for implementing the above page rendering will also be different due to the different versions of the terminal (browser). Fig. 3 is a flowchart of another obstacle avoidance method according to an embodiment of the present invention, where, as shown in fig. 3, a browser supports a page display listening event, the method may include the following steps:
301. First page data of a first page is cached.
302. And responding to a first operation triggered on the first page, and switching to display the second page.
303. And responding to a second operation triggered on the second page, and determining that a third page switched to be displayed by the second page is consistent with the first page through a page display monitoring event.
It should be noted that, the page display monitor (onpageshow) event is triggered each time a page is loaded, that is, when the first page is displayed for the first time and the first page is redisplayed, as known from the foregoing, the first page data for rendering the first page that is displayed for the first time is cached locally, so that the persisted (presence state) attribute may be applied in the page display monitor event to determine whether the first page data for rendering the redisplayed is acquired from the server or read in the local cache, if the first page data for rendering the redisplayed is read from the cache of the browser, the persisted attribute returns to the wire, if the first page data for rendering the redisplayed is read from the server, the false is returned, and the terminal determines whether the first page data for rendering the redisplayed is the second page data, that is, whether the latest data is the latest data according to the return value of the persisted attribute.
Optionally, the above-mentioned page display monitoring event may be triggered at the moment when the page is completely restored, so after the second page is switched to the third page displayed completely, the terminal can determine that the third page is consistent with the first page displayed for the first time.
304. And sending a data acquisition request to the server so that the server acquires the second page data according to the second operation, and feeding back the second page data when the second page data is determined to be different from the first page data.
305. And redisplaying the first page according to the received second page data, and hiding the third page.
After determining that the third page is consistent with the first page displayed for the first time, the terminal sends a detection request to the server for detecting whether the latest data for rendering the redisplayed first page is received in the server. As can be seen from the above, the second page data is changed compared with the first page data, so that the second page data is the latest data, and after the server detects the second page data, the second page data is sent to the terminal, and the terminal renders the redisplayed first page according to the second page data.
In an alternative embodiment, the method for determining that the second page data is different from the first page data is: setting a buffer memory in the second page, wherein the buffer memory is used for storing the changed data in the second page, and uploading the buffer memory to a server after the return operation is executed, and if the data exists in the buffer memory, the second page data generated based on the second operation is different from the first page data because the content displayed by the second page is related to the specific webpage content displayed by the first page.
Optionally, the above page presentation monitor event may be triggered before the page is completely restored, and the method further includes:
And receiving a disabling instruction fed back by the server, wherein the disabling instruction indicates that the first page is not rendered by the first page data.
Specifically, when the data for rendering the third page is the first page data, a detection request is sent to the service, after the server detects that the second page data is different from the first page data, the server feeds back the second data to the terminal, and simultaneously feeds back a disabling instruction to the terminal, so that the terminal is prohibited from rendering the redisplayed first page according to the first page data, and the terminal knows that the redisplayed first page needs to be rendered by using the second data based on the instruction.
In the embodiment of the invention, under the condition that the browser supports the page display monitoring event, the third page switched to display is consistent with the first page of the local cache through the page display monitoring, and the second page data is sent to the terminal under the condition that the browser detects that the second page data is different from the first page data by sending the detection request to the browser, and the terminal renders the redisplayed first page according to the second page data, so that the content of the redisplayed first page is ensured to be updated.
Fig. 4 is a flowchart of another page rendering method according to an embodiment of the present invention, where, as shown in fig. 4, the first page data includes: the first version number of the first page and the browser not supporting the page-show snoop event, the method may include the steps of:
401. First page data of a first page is cached.
402. And responding to a first operation triggered on the first page, and switching to display the second page.
403. In response to a second operation triggered on the second page, it is determined that a second version number of a third page switched to display by the second page is consistent with the first version number.
In the case that the browser does not support the page presentation listening event, adding a hidden (hidden field) on the first page displayed for the first time, for storing the time when the first page is generated in the server, that is, the first version number of the first page, and acquiring the second version number generated at the server by the third page switched to display by the second page, when the second version number generated at the server by the third page switched to display by the second page is compared with the first version number after responding to the second operation triggered on the second page, as known above, the third page is the locally cached first page, and therefore, the second version number is consistent with the first version number.
404. And sending a data acquisition request to the server so that the server acquires the second page data according to the second operation.
405. And redisplaying the first page according to the received second page data, and hiding the third page.
In the case that the second version number is consistent with the first version number, the terminal may send a detection request to the server, for detecting whether the server receives the latest data for rendering the redisplayed first page, where it is known from the above that the second page data is different from the first page data, so that the terminal renders the redisplayed first page according to the second page data.
In the embodiment of the invention, under the condition that the browser does not support the page display monitoring event, the second page data is acquired from the server under the condition that the second version number of the third page is consistent with the first version number of the first page, so that the redisplayed first page is rendered according to the second page data, and the content of the redisplayed first page is ensured to be updated.
Fig. 5 is a flowchart of another page rendering method according to an embodiment of the present invention, as shown in fig. 4, where the second operation includes a modification operation for changing the first page data, and the two methods are not supported, the method may include the following steps:
501. first page data of a first page is cached.
502. And responding to a first operation triggered on the first page, and switching to display the second page.
503. The modified data in the first page data is recorded.
504. And redisplaying the first page according to the unmodified data and the modified data in the first page data, wherein the second page data comprises the unmodified data and the modified data in the first page data.
Specifically, the first page and the second page are set to access two tag pages of the same storage area, and when the data of any page is modified, the modified data is sent to the storage area and is sent to the other page by the storage area.
Alternatively, the implementation manner of the method may be: after switching to display the second page, modifying the data of the second page through a triggered second operation, correspondingly generating modified data aiming at the first page, triggering a storage event, sending the modified data to the storage area, acquiring the modified data aiming at the first page by monitoring the storage event, namely generating second page data with the modified data and unmodified data in the first page, and rendering the redisplayed first page based on the second page data.
In the embodiment of the invention, the first page and the second page are set to access two tag pages in the same storage area, after the modified data aiming at the first page data are generated based on the second operation, the redisplayed first page is rendered according to the modified data and unmodified data in the first page data, so that the content of the redisplayed first page is ensured to be updated.
Fig. 6 is a schematic structural diagram of a page rendering device according to an embodiment of the present invention, as shown in fig. 6, where the device includes: a buffer module 11, a switching module 12 and a display module 13.
The buffer module 11 is configured to buffer first page data of a first page.
And the switching module 12 is used for responding to the first operation triggered on the first page and switching to display the second page.
And the display module 13 is configured to redisplay the first page in response to a second operation triggered on the second page, where the redisplayed first page is rendered according to second page data, and the second operation makes second page data that is currently required to be displayed on the first page different from the first page data.
Optionally, the browser supports a page presentation listening event, and the display module 11 may specifically be configured to: responding to a second operation triggered on the second page, and determining that a third page switched to be displayed by the second page is consistent with the first page through a page display monitoring event; sending a data acquisition request to a server, so that the server acquires the second page data according to the second operation, and feeding back the second page data when determining that the second page data is different from the first page data; and redisplaying the first page according to the received second page data, and hiding the third page.
Optionally, the first page data includes: the first version number of the first page, and the browser does not support a page-showing listening event, the display module 11 may be specifically configured to: responding to a second operation triggered on the second page, and determining that a second version number of a third page switched to be displayed by the second page is consistent with the first version number; sending a data acquisition request to a server so that the server acquires the second page data according to the second operation; and redisplaying the first page according to the received second page data, and hiding the third page.
Optionally, the second operation includes a modification operation for changing the first page data, and the display module 11 may specifically be configured to: recording the modified data in the first page data; and redisplaying the first page according to unmodified data and the modified data in the first page data, wherein the second page data comprises unmodified data and the modified data in the first page data.
The apparatus shown in fig. 6 may perform the page rendering method provided in the foregoing embodiments shown in fig. 1 to 5, and detailed execution and technical effects are referred to the description in the foregoing embodiments, which are not repeated herein.
In one possible design, the structure of the page rendering device shown in fig. 6 may be implemented as an electronic device. As shown in fig. 7, the electronic device may include: a processor 21, a memory 22, a communication interface 23. Wherein the memory 22 has stored thereon executable code which, when executed by the processor 21, causes the processor 21 to at least implement the page rendering method provided in the embodiments shown in fig. 1 to 5 as described above.
In addition, embodiments of the present invention provide a non-transitory machine-readable storage medium having executable code stored thereon, which when executed by a processor of an electronic device, causes the processor to at least implement a page rendering method as provided in the embodiments of fig. 1 to 5 described above.
The apparatus embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by adding necessary general purpose hardware platforms, or may be implemented by a combination of hardware and software. Based on such understanding, the foregoing aspects, in essence and portions contributing to the art, may be embodied in the form of a computer program product, which may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (8)
1. A method of page rendering, the method comprising:
Caching first page data of a first page;
responding to a first operation triggered on the first page, and switching to display a second page;
Redisplaying the first page in response to a second operation triggered on the second page, comprising: under the condition that a browser supports a page display monitoring event, responding to a second operation triggered on the second page, and determining that a third page switched to be displayed by the second page is consistent with the first page through the page display monitoring event; sending a data acquisition request to a server, so that the server acquires the second page data according to the second operation, and feeding back the second page data when determining that the second page data is different from the first page data; redisplaying the first page according to the received second page data, and hiding the third page; wherein the second operation includes at least one of: and rendering the redisplayed first page according to second page data aiming at the adding operation, the modifying operation and the deleting operation of the page data, wherein the second operation makes the second page data which are required to be displayed currently on the first page different from the first page data.
2. The method according to claim 1, wherein the method further comprises:
receiving a disable instruction fed back by the server, wherein the disable instruction indicates that the first page is not rendered by the first page data.
3. The method of claim 1, wherein the first page data comprises: a first version number of a first page, the browser not supporting a page presentation listening event;
the redisplaying the first page in response to a second operation triggered on the second page, including:
responding to a second operation triggered on the second page, and determining that a second version number of a third page switched to be displayed by the second page is consistent with the first version number;
Sending a data acquisition request to a server so that the server acquires the second page data according to the second operation;
And redisplaying the first page according to the received second page data, and hiding the third page.
4. The method of claim 1, wherein the second operation comprises a modify operation that changes the first page data, the redisplaying the first page in response to the second operation triggered on the second page comprising:
Recording the modified data in the first page data;
and redisplaying the first page according to unmodified data and the modified data in the first page data, wherein the second page data comprises unmodified data and the modified data in the first page data.
5. A page rendering apparatus, comprising:
the buffer module is used for buffering first page data of the first page;
the switching module is used for responding to a first operation triggered on the first page and switching to display a second page;
the display module is used for responding to a second operation triggered on the second page, redisplaying the first page and is also specifically used for: under the condition that a browser supports a page display monitoring event, responding to a second operation triggered on the second page, and determining that a third page switched to be displayed by the second page is consistent with the first page through the page display monitoring event; sending a data acquisition request to a server, so that the server acquires the second page data according to the second operation, and feeding back the second page data when determining that the second page data is different from the first page data; redisplaying the first page according to the received second page data, and hiding the third page; wherein the second operation includes at least one of: and rendering the redisplayed first page according to second page data aiming at the adding operation, the modifying operation and the deleting operation of the page data, wherein the second operation makes the second page data which are required to be displayed currently on the first page different from the first page data.
6. The apparatus of claim 5, wherein the first page data comprises: a first version number of a first page, the browser not supporting a page presentation listening event;
The display module is specifically configured to:
responding to a second operation triggered on the second page, and determining that a second version number of a third page switched to be displayed by the second page is consistent with the first version number;
Sending a data acquisition request to a server so that the server acquires the second page data according to the second operation;
And redisplaying the first page according to the received second page data, and hiding the third page.
7. The apparatus of claim 5, wherein the second operation comprises a modification operation to change the first page data, the display module being specifically configured to:
Recording the modified data in the first page data;
and redisplaying the first page according to unmodified data and the modified data in the first page data, wherein the second page data comprises unmodified data and the modified data in the first page data.
8. An electronic device, comprising: a memory, a processor, a communication interface; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform the page rendering method of any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010752350.9A CN112035765B (en) | 2020-07-30 | 2020-07-30 | Page rendering method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010752350.9A CN112035765B (en) | 2020-07-30 | 2020-07-30 | Page rendering method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112035765A CN112035765A (en) | 2020-12-04 |
CN112035765B true CN112035765B (en) | 2024-06-18 |
Family
ID=73583713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010752350.9A Active CN112035765B (en) | 2020-07-30 | 2020-07-30 | Page rendering method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112035765B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112667939A (en) * | 2021-01-04 | 2021-04-16 | 天津中新智冠信息技术有限公司 | Webpage refreshing method and device, electronic equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108920247A (en) * | 2018-07-20 | 2018-11-30 | 腾讯科技(深圳)有限公司 | Processing method, device and the terminal of page switching, storage medium, program product |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9195383B2 (en) * | 2012-06-29 | 2015-11-24 | Spotify Ab | Systems and methods for multi-path control signals for media presentation devices |
CN106682176A (en) * | 2016-12-29 | 2017-05-17 | 北京五八信息技术有限公司 | Page loading method, equipment and device |
CN108595242B (en) * | 2017-06-05 | 2021-06-29 | 掌阅科技股份有限公司 | Page display method, electronic equipment and computer storage medium |
CN107451181B (en) * | 2017-06-14 | 2020-09-22 | 北京星选科技有限公司 | Page rendering method and device |
CN110019464B (en) * | 2017-11-24 | 2023-10-20 | 阿里巴巴(中国)网络技术有限公司 | Page processing method and device |
CN110874166B (en) * | 2018-08-29 | 2022-05-03 | 腾讯科技(深圳)有限公司 | Page switching method and device, storage medium and computer equipment |
-
2020
- 2020-07-30 CN CN202010752350.9A patent/CN112035765B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108920247A (en) * | 2018-07-20 | 2018-11-30 | 腾讯科技(深圳)有限公司 | Processing method, device and the terminal of page switching, storage medium, program product |
Also Published As
Publication number | Publication date |
---|---|
CN112035765A (en) | 2020-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9754043B2 (en) | Rendering structured documents with place-markers | |
US8935620B1 (en) | Dynamic content management | |
CN106484862B (en) | Page control method and device | |
CN109032457B (en) | Page display method, device, terminal and storage medium | |
US20190188233A1 (en) | Method and system for causing a browser to preload web page components | |
US8881055B1 (en) | HTML pop-up control | |
US20150254475A1 (en) | Private browsing mode access for developers | |
US20030066031A1 (en) | Method and system for supporting user navigation in a browser environment | |
US20130024811A1 (en) | System and method for web page navigation | |
US11579902B2 (en) | User interface rendering performance | |
CA3058070A1 (en) | Page switching method and device, electronic device and storage medium | |
US9563710B2 (en) | Smooth navigation between content oriented pages | |
US12013911B2 (en) | Page-based prediction of user intent | |
CN111597475B (en) | Page returning method and device, electronic equipment and computer storage medium | |
EP3008613A2 (en) | Determining message data to present | |
US8788927B2 (en) | System and method for displaying web page content | |
US9584579B2 (en) | Method and system for providing page visibility information | |
CN112035765B (en) | Page rendering method, device and equipment | |
US8832288B1 (en) | Transitions between remotely cached and live versions of a webpage | |
US20230409398A1 (en) | Resource pre-fetch using age threshold | |
CN111898050B (en) | Method and system for automatically loading next news | |
US9201951B2 (en) | System and method for providing search results | |
CN114741149B (en) | Page switching method and device for single-page application, storage medium and electronic equipment | |
US9305090B1 (en) | Predictive page loading based on suggestion data | |
US10282482B2 (en) | Data provision device, data provision method, and data provision program |
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 |