WO2020042842A1 - 页面展示方法及其系统、计算机系统及计算机可读介质 - Google Patents
页面展示方法及其系统、计算机系统及计算机可读介质 Download PDFInfo
- Publication number
- WO2020042842A1 WO2020042842A1 PCT/CN2019/097933 CN2019097933W WO2020042842A1 WO 2020042842 A1 WO2020042842 A1 WO 2020042842A1 CN 2019097933 W CN2019097933 W CN 2019097933W WO 2020042842 A1 WO2020042842 A1 WO 2020042842A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- page
- module
- snapshot
- initial
- real
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- 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
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Definitions
- the present disclosure relates to the field of network technology, and more particularly, to a page display method and a page display system, a computer system, and a computer-readable medium.
- the related art has at least the following problems:
- the network environment the network is unstable or offline
- the performance of the electronic device it may cause users to browse web pages Need to wait for a long time, or page pages are not rendered synchronously, degrading the user experience, or even losing users.
- the present disclosure provides a page display method, a page display system, a computer system, and a computer-readable medium.
- a first aspect of the present disclosure provides a page display method, including: receiving an access request to a target page, wherein the target page has a plurality of page modules; and in response to the access request, displaying the target stored locally A module snapshot of at least one page module in a page, where each page module has a corresponding module snapshot.
- the method further includes: detecting whether an initial snapshot of at least one page module in the target page is stored locally; and generating an initial snapshot of at least one page module in the target page without storing the local snapshot. An initial snapshot of each page module in the at least one page module; and storing the initial snapshot as the module snapshot on the local.
- the method further includes: in a case where an initial snapshot of at least one page module in the target page is stored, before the network data of the access request is returned, displaying at least the local target page stored in the target page at least An initial snapshot of a page module.
- the method further includes: after the network data of the access request is returned, based on the network data, generating a real snapshot of at least one page module in the target page, wherein the real snapshot is used to record the at least one The actual effect of each page module in a page; and updating the initial snapshot stored locally on the basis of the real snapshot and the initial snapshot of each page module in the at least one page module.
- the updating the initial snapshot stored locally based on the real snapshot and the initial snapshot of each page module in the at least one page module includes: obtaining the actual of each page module in the at least one page module. Obtaining the first version information and / or the first identification information corresponding to the snapshot; obtaining the second version information and / or the second identification information corresponding to the initial snapshot of each page module in the at least one page module; and based on the first version information and The second version information and / or the first identification information and the second identification information detect whether the real snapshot of each page module in the at least one page module is consistent with the initial snapshot; and each of the at least one page module If the real snapshot of the page module is inconsistent with the initial snapshot, the real snapshot is stored locally on the client to replace the initial snapshot.
- a second aspect of the present disclosure provides a page display system, including: a receiving module for receiving an access request for a target page, wherein the target page has a plurality of page modules; and a first display module for responding In the above access request, a module snapshot of at least one page module of the target page stored locally is displayed, wherein each page module has a corresponding module snapshot.
- the above system further includes: a detection module for detecting whether the local snapshot of at least one page module of the target page is stored locally; and a first generation module for storing the target page without storing the target page.
- a detection module for detecting whether the local snapshot of at least one page module of the target page is stored locally
- a first generation module for storing the target page without storing the target page.
- an initial snapshot of at least one page module an initial snapshot of each page module in the at least one page module is generated
- a storage module is configured to store the initial snapshot as the module snapshot in the local area.
- the above-mentioned system further includes: a second display module, configured to display the storage in the before the network data of the access request is returned, in a case where an initial snapshot of at least one page module of the target page is stored. An initial snapshot of at least one page module in the local target page.
- the system further includes: a second generating module configured to generate a real snapshot of at least one page module of the target page based on the network data after the network data of the access request is returned, wherein the above The real snapshot is used to record the actual effect of each page module in the at least one page; and the update module is used to update the initial stored in the local area based on the real snapshot and the initial snapshot of each page module in the at least one page module. Snapshot.
- the update module includes: a first acquisition unit, configured to acquire first version information and / or first identification information corresponding to the real snapshot of each page module in the at least one page module; and a second acquisition A unit configured to obtain second version information and / or second identification information corresponding to the initial snapshot of each page module in the at least one page module; and a detection unit configured to be based on the first version information and the second version information and And / or the first identification information and the second identification information, to detect whether the real snapshot of each page module in the at least one page module is consistent with the initial snapshot; and a processing unit for each page in the at least one page module. If the real snapshot of the module is inconsistent with the initial snapshot, the real snapshot is stored locally on the client to replace the initial snapshot.
- a third aspect of the present disclosure provides a computer system including: one or more processors and a storage device for storing one or more programs, wherein when one or more programs are processed by one or more processors When executed, one or more processors are caused to implement the page display method as described above.
- a fourth aspect of the present disclosure provides a computer-readable medium having stored thereon executable instructions that, when executed by a processor, cause the processor to implement the page display method as described above.
- the network when a page is displayed in the related art, the network may be unstable, or even offline, or may be restricted by the performance of the electronic device, which may cause the user to wait a long time to browse the webpage, or
- the technical problem of page segmentation and asynchronous rendering and therefore can be independent of the network environment or the performance of electronic equipment when browsing the page. It can realize the technical effect of page effect caching and immediate response, which greatly reduces the time for users to wait for the page to load when browsing the page. , Give users the visual effect of opening the page instantly, and provide users with the same user experience as native applications.
- FIG. 1A schematically illustrates an exemplary system architecture to which a page display method can be applied according to an embodiment of the present disclosure
- FIG. 1B schematically illustrates an application scenario in which a page display method according to an embodiment of the present disclosure can be applied
- FIG. 2 schematically illustrates a flowchart of a page display method according to an embodiment of the present disclosure
- FIG. 3A schematically illustrates a flowchart of a page display method according to another embodiment of the present disclosure
- FIG. 3B schematically illustrates a flowchart of a page display method according to another embodiment of the present disclosure
- FIG. 3C schematically illustrates a flowchart of a page display method according to still another embodiment of the present disclosure
- 3D schematically illustrates an effect diagram of an initial snapshot of a page module generated according to an embodiment of the present disclosure
- 3E schematically illustrates an effect diagram of an initial snapshot of a page module updated according to an embodiment of the present disclosure
- 3F schematically illustrates a flowchart of updating an initial snapshot stored locally based on a real snapshot and an initial snapshot of each page module in at least one page module according to an embodiment of the present disclosure
- FIG. 3G schematically illustrates an effect diagram of an initial snapshot of a page module updated according to still another embodiment of the present disclosure
- FIG. 3H schematically illustrates an effect diagram of an initial snapshot of a page module updated according to still another embodiment of the present disclosure
- FIG. 4 schematically illustrates a block diagram of a page display system according to an embodiment of the present disclosure
- FIG. 5A schematically illustrates a block diagram of a page display system according to yet another embodiment of the present disclosure
- FIG. 5B schematically illustrates a block diagram of a page display system according to another embodiment of the present disclosure
- 5C schematically illustrates a block diagram of a page display system according to yet another embodiment of the present disclosure
- FIG. 5D schematically illustrates a block diagram of an update module according to an embodiment of the present disclosure.
- FIG. 6 schematically illustrates a block diagram of a computer system suitable for implementing a page display method according to an embodiment of the present disclosure.
- the present disclosure provides a method for displaying a page, including: receiving an access request to a target page, wherein the target page has a plurality of page modules; and a module that displays at least one page module stored in the local target page in response to the access request. Snapshot, where each page module has a corresponding module snapshot.
- FIG. 1A schematically illustrates an exemplary system architecture 100 to which a page display method can be applied according to an embodiment of the present disclosure. It should be noted that FIG. 1A is only an example of a system architecture to which the embodiments of the present disclosure can be applied to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other applications.
- the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105.
- the network 104 is a medium for providing a communication link between the terminal devices 101, 102, 103 and the server 105.
- the network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, and so on.
- the user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages and the like.
- Various communication client applications can be installed on the terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
- the terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including, but not limited to, smart phones, tablet computers, laptop computers, and desktop computers.
- the server 105 may be a server that provides various services, for example, a background management server (for example only) that provides support for users to browse websites using the terminal devices 101, 102, and 103.
- the background management server can analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data acquired or generated according to user requests) to the terminal device.
- the page display method provided by the embodiment of the present disclosure may generally be executed by the terminal device 101, 102, or 103, or may be executed by another terminal device different from the terminal device 101, 102, or 103. Accordingly, the page display system provided in the embodiment of the present disclosure may also be provided in the terminal device 101, 102, or 103, or in another terminal device different from the terminal device 101, 102, or 103.
- terminal devices, networks, and servers in FIG. 1A are merely exemplary. According to implementation needs, there can be any number of terminal devices, networks, and servers.
- FIG. 1B schematically illustrates an application scenario in which the page display method of the embodiment of the present disclosure can be applied.
- the page 110 may have a plurality of modules such as a module A (111), a module B (112), a module C (113), a module D (114), a module E (115), and a module F (116).
- a script such as JavaScript, loads at least one of multiple modules as needed to complete the display of the page. Normally, you can load from top to bottom and left to right.
- FIG. 1B is merely exemplary. According to the actual situation of the page, there can be any number of modules.
- FIG. 1B is only a schematic diagram showing the layout of the above multiple modules on the page 110, and is not a limitation on the layout of each module. According to the actual situation of the page, multiple modules may have different The layout is not limited in this disclosure, and the module content of each module is not limited here.
- FIG. 2 schematically illustrates a flowchart of a page display method according to an embodiment of the present disclosure.
- the method may include operations S210 and S220. among them:
- the target page may be a page of a browser of a mobile terminal or a page of a browser of a portable electronic device terminal.
- an electronic device used for browsing the page there is no limitation on an electronic device used for browsing the page.
- the operating system of the electronic device and the browser used to browse the pages can be the Google Chrome browser that supports the Android operating system, or the iPhone operating system (iOS for short).
- Safari browser can also be Microsoft's Internet Explorer (referred to as IE) browser.
- the target page has multiple page modules (as shown in FIG. 1B), and each page module has a corresponding module snapshot, and the corresponding module snapshot of each page may be the same or different.
- This disclosure does not Be limited.
- a module snapshot of a page module is stored locally, such as in localstorage. After receiving an access request for a target page, a module snapshot corresponding to at least one page module in the target page can be obtained locally and displayed to the user.
- the display screen of the electronic device limits the range of the visible area, and the area outside the visible area is the non-visible area. Since the user can only see the page content located on the display screen of the electronic device, the display screen size Limited, the size of the target page is often much larger than the display screen, and cannot be displayed on the display screen at one time, but can only be partially displayed on the screen. Therefore, the target page is divided into a visible area and a non-visible area by the display screen. , The user is currently seeing the target page in the visible area, and the user is currently not seeing the target page in the non-visible area. The non-visible area is only relative to the visible area. In the operation of the page, the visible area and the non-visible area are relatively changed.
- performing a scroll operation on the page can make the page originally located in the non-visible area be in the visible area.
- obtaining a module snapshot corresponding to at least one page module in the target page from the local display to the user is divided into two cases.
- Case 1 Module snapshots of all page modules in the target page are obtained locally and displayed to the user.
- Case 2 The module snapshots of all the page modules in the visible area of the target page are obtained locally and displayed to the user.
- case 2 because the module snapshot is stored and local, obtaining and displaying the module snapshot of all page modules in the target page is different from obtaining and displaying the module snapshot of all page modules in the visible area of the target page. Few can achieve the technical effect of instant page opening, but only obtaining and displaying module snapshots of all page modules in the visible area of the target page can achieve the technical effect of instant page opening, while reducing the energy consumption of electronic equipment and extending the electronic The duration of use of the device.
- PWA Progressive Web Application
- APP mobile native applications
- FIG. 2 The method for displaying a page shown in FIG. 2 is further described below with reference to FIGS. 3A to 3H in combination with specific embodiments.
- FIG. 3A schematically illustrates a flowchart of a page display method according to yet another embodiment of the present disclosure.
- the method may include operations S311 to S313 in addition to the foregoing operations S210 and S220. among them:
- operation S311 it is detected whether an initial snapshot of at least one page module in the target page is stored locally.
- the initial snapshot is stored locally as a module snapshot.
- the initial snapshot corresponding to each page module can be the same (as shown in Figure 3D) or different. You can manually set any picture as the initial snapshot, and also generate an initial snapshot based on the function of the page module. No restrictions.
- FIG. 3B schematically illustrates a flowchart of a page display method according to another embodiment of the present disclosure.
- the method may further include operation S321: when an initial snapshot of at least one page module in the target page is stored, an access request Before returning the network data, display an initial snapshot of at least one page module in the target page stored locally.
- the server may return the network data of the page module according to the relevant information carried by the network request, but before the network data is returned, the related technology is shown to the user
- the page effect is blank or indicates that it is in the Loading state.
- the module snapshot of the page module is stored locally, the user can show the target stored locally before the network data is returned.
- the initial snapshot of the page module of the page allows the user to see the initial snapshot of the module, avoiding seeing blank or blank page effects that indicate that it is in the Loading state.
- the embodiments of the present disclosure if there is an initial snapshot of at least one page module in the target page, before the network data of the access request is returned, displaying the initial snapshot of at least one page module in the target page,
- the waiting time of the user can be reduced, the technical effect of opening the page instantly can be achieved, and the user experience can be improved.
- FIG. 3C schematically illustrates a flowchart of a page display method according to still another embodiment of the present disclosure.
- the method may further include operations S331 and S332. among them:
- the initial snapshot stored locally is updated based on the real snapshot and the initial snapshot of each page module in the at least one page module.
- the display effect of the initial snapshot is covered by the real effect and the content of the page.
- the user sees the real effect of the page, and can further draw based on the real display effect of the page.
- Real-effect pictures of page modules generate real snapshots.
- the real effects of Scalable Vector Graphics (SVG) and canvas such as Canvas drawing modules can be converted into Base64 image, as a real snapshot for recording the actual effect of the page module, as a new snapshot of the module.
- SVG Scalable Vector Graphics
- Canvas drawing modules can be converted into Base64 image, as a real snapshot for recording the actual effect of the page module, as a new snapshot of the module.
- the method for generating a real snapshot based on page-based network data is not limited in this disclosure, and those skilled in the art can make adaptive selections based on their own experience and actual needs.
- a real snapshot is generated based on the network data, so that the snapshot can reflect the real effect of the page module, and provide the user with an effect of instantly opening the page.
- FIG. 3D schematically illustrates an effect diagram of an initial snapshot of a page module generated according to an embodiment of the present disclosure.
- each of the modules A, B, C, D, E, and F has a corresponding initial snapshot. You can set different initial snapshots for each module based on actual needs.
- FIG. 3E schematically illustrates an effect diagram of an initial snapshot of a page module updated according to an embodiment of the present disclosure.
- module A, module B, and module C are located in the visible area. Therefore, the real snapshot overlays corresponding to module A, module B, and module C based on the network data are generated.
- the initial snapshots corresponding to module A, module B, and module C shown in 3D.
- the real snapshot corresponding to the real effect is saved locally.
- Module D, module E, and module F are located in non-visible areas. Therefore, the real snapshots corresponding to module D, module E, and module F based on network data do not cover module D and module E shown in FIG. 3D. , The initial snapshot corresponding to module F, the user still sees the initial snapshot corresponding to module D, module E, and module F.
- FIG. 3F schematically illustrates a flowchart of updating an initial snapshot stored locally based on a real snapshot and an initial snapshot of each page module in at least one page module according to an embodiment of the present disclosure.
- the method may include operations S341 to S344. among them:
- first version information and / or first identification information corresponding to a real snapshot of each page module in at least one page module is acquired.
- the second version information and / or the second identification information corresponding to the initial snapshot of each page module in the at least one page module is acquired.
- the initial snapshot stored locally may be updated based on the real snapshot and the initial snapshot of the page module, that is, the judgment Whether the effect of the real snapshot is updated. If so, the real snapshot is stored locally on the client instead of the initial snapshot.
- the application version update may cause the number and layout of page modules of the target page to change
- each user's access operation may also cause the actual snapshot of the page module to be different from the initial snapshot. Therefore, according to the present disclosure, in the embodiment, it is possible to judge whether the effect of the real snapshot is updated according to different judgment standards.
- the judgment standards may include, but not limited to, version numbers and file identification information of the page, such as a check code (Message Digest Algorithm 5, abbreviated as MD5).
- Method 1 Determine whether the effect of the real snapshot is updated according to the version information.
- the application update corresponds to a different version number. Therefore, it can be judged whether the effect of the real snapshot is updated according to the version number. If the version number corresponding to the real snapshot is different from the version number corresponding to the initial snapshot, it indicates that the real snapshot is The effect is updated to store the real snapshot locally on the client instead of the initial snapshot. If they are the same, the effect of the real snapshot is not updated, and the initial snapshot is retained.
- Method 2 Determine whether the effect of the real snapshot is updated according to MD5.
- the same page module uses the MD5 algorithm to generate a unique MD5 check code. If the MD5 check code corresponding to the real snapshot is different from the MD5 check code corresponding to the initial snapshot, it indicates that the effect of the real snapshot is updated, and the real snapshot is updated. Stored locally on the client instead of the initial snapshot. If they are the same, the effect of the real snapshot is not updated, and the initial snapshot is retained.
- Method 3 Determine whether the effect of the real snapshot is updated according to the version information and MD5.
- the present disclosure also provides a method to determine whether the effect of the real snapshot is updated according to the version number (method 1) and MD5 (method 2). , Will not repeat them here.
- the initial snapshot is updated according to the version information and / or identification information of the initial snapshot and the real snapshot, so that the initial snapshot stored locally records the real effect of the page module, and brings a real browsing experience to the user.
- FIG. 3G schematically illustrates an effect diagram of an initial snapshot of a page module updated according to yet another embodiment of the present disclosure.
- FIG. 3H schematically illustrates an effect diagram of an initial snapshot of a page module updated according to still another embodiment of the present disclosure.
- a real snapshot recording the real display effect of the page module can be obtained, according to the version number and / or
- the file identification information can determine whether the initial snapshot of the page module stored locally needs to be updated. That is, the initial snapshot stored locally may be empty before the user generates an access request, but after the user performs the access operation, a real snapshot can be drawn according to the real display effect of each page module on the page displayed to the user. It is stored locally, so that the next time the user is in a poor network environment, the user can be shown a real snapshot of the real display effect that was previously displayed, so that the user has the experience of a native application.
- FIG. 4 schematically illustrates a block diagram of a page display system according to an embodiment of the present disclosure.
- the page display system 400 may include a receiving module 410 and a first display module 420. among them:
- the receiving module 410 is configured to receive an access request for a target page, where the target page has multiple page modules.
- the first display module 420 is configured to display a module snapshot of at least one page module stored in the local target page in response to the access request, wherein each page module has a corresponding module snapshot.
- FIG. 5A schematically illustrates a block diagram of a page display system according to yet another embodiment of the present disclosure.
- the page display system 400 may further include a detection module 511, a first generation module 512, and a storage module 513. among them:
- the detection module 511 is configured to detect whether an initial snapshot of at least one page module in the target page is stored locally.
- the first generating module 512 is configured to generate an initial snapshot of each page module in the at least one page module when the initial snapshot of at least one page module in the target page is not stored.
- the storage module 513 is configured to store the initial snapshot locally as a module snapshot.
- FIG. 5B schematically illustrates a block diagram of a page display system according to another embodiment of the present disclosure.
- the page display system 400 may include a receiving module 410, a first displaying module 420, a detecting module 511, a first generating module 512, and a storage module 513, as well as a second displaying module 521.
- a receiving module 410 the page display system 400 may include a receiving module 410, a first displaying module 420, a detecting module 511, a first generating module 512, and a storage module 513, as well as a second displaying module 521.
- the user can still see a display effect that is not blank or indicates that it is in the Loading state, while reducing the user's waiting time, achieving the technical effect of instantly opening the page, and improving the user experience.
- FIG. 5C schematically illustrates a block diagram of a page display system according to still another embodiment of the present disclosure.
- the page display system 400 may include a receiving module 410, a first displaying module 420, a detecting module 511, a first generating module 512, a storage module 513, and a second displaying module 521.
- Second generation module 531 and update module 532 among them:
- the second generating module 531 is configured to generate a real snapshot of at least one page module in the target page based on the network data after the network data of the access request is returned.
- the update module 532 is configured to update the initial snapshot stored locally based on the real snapshot and the initial snapshot of each page module in the at least one page module.
- a real snapshot is generated based on the network data, so that the snapshot can reflect the real effect of the page module, and provide the user with an effect of instantly opening the page.
- FIG. 5D schematically illustrates a block diagram of an update module according to an embodiment of the present disclosure.
- the update module 532 may include a first obtaining unit 541, a second obtaining unit 542, a detecting unit 543, and a processing unit 544. among them:
- the first obtaining unit 541 is configured to obtain first version information and / or first identification information corresponding to a real snapshot of each page module in at least one page module.
- the second obtaining unit 542 is configured to obtain second version information and / or second identification information corresponding to an initial snapshot of each page module in at least one page module.
- the detecting unit 543 is configured to detect whether the actual snapshot of each page module in the at least one page module is consistent with the initial snapshot based on the first version information and the second version information and / or the first identification information and the second identification information.
- the processing unit 544 is configured to store the real snapshot locally on the client instead of the initial snapshot if the actual snapshot of each page module in the at least one page module is inconsistent with the initial snapshot.
- the initial snapshot is updated according to the version information and / or identification information of the initial snapshot and the real snapshot, so that the initial snapshot stored locally records the real effect of the page module, and brings a real browsing experience to the user.
- Any number of modules, units, or at least part of the functions of any of them according to the embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being divided into a plurality of modules. Any one or more of the modules and units according to the embodiments of the present disclosure may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a Systems, systems on packages, application-specific integrated circuits (ASICs), or any other reasonable means of hardware or firmware that can integrate or package a circuit, or any one of software, hardware, and firmware Or in any appropriate combination of them. Alternatively, one or more of the modules and units according to the embodiments of the present disclosure may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be performed.
- FPGA field programmable gate array
- PLA
- any number of the receiving module 410, the first display module 420, the detection module 511, the first generation module 512, the storage module 513, the second display module 521, the second generation module 531, and the update module 532 may be combined into one Implemented in modules, or any one of them can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules may be combined with at least part of the functions of other modules and implemented in one module.
- At least one of the receiving module 410, the first display module 420, the detection module 511, the first generation module 512, the storage module 513, the second display module 521, the second generation module 531, and the update module 532 May be implemented at least partially as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or It is implemented by hardware or firmware in any other reasonable way such as integrating or packaging the circuit, or in any one of software, hardware, and firmware, or in any appropriate combination thereof.
- FPGA field programmable gate array
- PLA programmable logic array
- ASIC application specific integrated circuit
- At least one of the receiving module 410, the first display module 420, the detection module 511, the first generation module 512, the storage module 513, the second display module 521, the second generation module 531, and the update module 532 may be at least partially It is implemented as a computer program module, and when the computer program module is executed, it can perform corresponding functions.
- FIG. 6 schematically illustrates a block diagram of a computer system suitable for implementing a page display method according to an embodiment of the present disclosure.
- the computer system shown in FIG. 6 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present disclosure.
- a computer system 600 includes a processor 601 that can be loaded into a random access memory (RAM) 603 according to a program stored in a read-only memory (ROM) 602 or from a storage portion 608.
- the program performs various appropriate actions and processes.
- the processor 601 may include, for example, a general-purpose microprocessor (for example, a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), and so on.
- the processor 601 may also include on-board memory for caching purposes.
- the processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiment of the present disclosure.
- the processor 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
- the processor 601 executes various operations of the method flow according to the embodiment of the present disclosure by executing programs in the ROM 602 and / or the RAM 603. It should be noted that the program may also be stored in one or more memories other than the ROM 602 and the RAM 603.
- the processor 601 may also execute various operations of the method flow according to the embodiment of the present disclosure by executing a program stored in the one or more memories.
- the system 600 may further include an input / output (I / O) interface 605, and the input / output (I / O) interface 605 is also connected to the bus 604.
- the system 600 may also include one or more of the following components connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, and the like; including, such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker
- the communication section 609 performs communication processing via a network such as the Internet.
- the driver 610 is also connected to the I / O interface 605 as necessary.
- a removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
- the method flow according to the embodiment of the present disclosure may be implemented as a computer software program.
- embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing a method shown in a flowchart.
- the computer program may be downloaded and installed from a network through the communication portion 609, and / or installed from a removable medium 611.
- the computer program is executed by the processor 601
- the above functions defined in the system of the embodiment of the present disclosure are executed.
- the systems, devices, devices, modules, units, and the like described above may be implemented by computer program modules.
- the present disclosure also provides a computer-readable medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist alone without being assembled into the device / apparatus / System.
- the computer-readable medium described above carries one or more programs, and when the one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
- the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium or any combination of the foregoing.
- the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programming read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal that is included in baseband or propagated as part of a carrier wave, and which carries computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
- the program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, optical fiber cable, radio frequency signals, etc., or any suitable combination of the foregoing.
- the computer-readable medium may include one or more memories other than the ROM 602 and / or the RAM 603 and / or the ROM 602 and the RAM 603 described above.
- each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more of the logic functions used to implement the specified logic.
- Executable instructions may also occur in a different order than those marked in the drawings. For example, two successively represented boxes may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved.
- each block in the block diagram or flowchart, and combinations of blocks in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with A combination of dedicated hardware and computer instructions.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Claims (12)
- 一种页面展示方法,包括:接收对目标页面的访问请求,其中,所述目标页面具有多个页面模块;以及响应于所述访问请求,展示存储于本地的所述目标页面中至少一个页面模块的模块快照,其中,每个页面模块具有相应的模块快照。
- 根据权利要求1的方法,其中,所述方法还包括:检测所述本地是否存储有所述目标页面中至少一个页面模块的初始快照;在未存储有所述目标页面中至少一个页面模块的初始快照的情况下,生成所述至少一个页面模块中每个页面模块的初始快照;以及将所述初始快照作为所述模块快照存储于所述本地。
- 根据权利要求2的方法,其中,所述方法还包括:在存储有所述目标页面中至少一个页面模块的初始快照的情况下,在所述访问请求的网络数据返回之前,展示存储于本地的所述目标页面中至少一个页面模块的初始快照。
- 根据权利要求3的方法,其中,所述方法还包括:在所述访问请求的网络数据返回之后,基于所述网络数据,生成所述目标页面中至少一个页面模块的真实快照,其中,所述真实快照用于记录所述至少一个页面中每个页面模块的真实效果;以及基于所述至少一个页面模块中各页面模块的所述真实快照和所述初始快照,更新所述本地中存储的初始快照。
- 根据权利要求4的方法,其中,所述基于所述至少一个页面模块中各页面模块的所述真实快照和所述初始快照,更新所述本地中存储的初始快照包括:获取所述至少一个页面模块中各页面模块的所述真实快照对应的第一版本信息和/或第一标识信息;获取所述至少一个页面模块中各页面模块的所述初始快照对应的第二版本信息和/或第二标识信息;基于所述第一版本信息与所述第二版本信息和/或所述第一标识信息与所述第二标识信息,检测所述至少一个页面模块中各页面模块的所述真实快照是否与所述初始快照一致;以及在所述至少一个页面模块中各页面模块的所述真实快照与所述初始快照不一致的情况下,将所述真实快照存储在所述客户端本地以代替所述初始快照。
- 一种页面展示系统,包括:接收模块,用于接收对目标页面的访问请求,其中,所述目标页面具有多个页面模块;以及第一展示模块,用于响应于所述访问请求,展示存储于本地的所述目标页面中至少一个页面模块的模块快照,其中,每个页面模块具有相应的模块快照。
- 根据权利要求6的系统,其中,所述系统还包括:检测模块,用于检测所述本地是否存储有所述目标页面中至少一个页面模块的初始快照;第一生成模块,用于在未存储有所述目标页面中至少一个页面模块的初始快照的情况下,生成所述至少一个页面模块中每个页面模块的初始快照;以及存储模块,用于将所述初始快照作为所述模块快照存储于所述本地。
- 根据权利要求7的系统,其中,所述系统还包括:第二展示模块,用于在存储有所述目标页面中至少一个页面模块的初始快照的情况下,在所述访问请求的网络数据返回之前,展示存储于本地的所述目标页面中至少一个页面模块的初始快照。
- 根据权利要求8的系统,其中,所述系统还包括:第二生成模块,用于在所述访问请求的网络数据返回之后,基于所述网络数据,生成所述目标页面中至少一个页面模块的真实快照,其中,所述真实快照用于记录所述至少一个页面中每个页面模块的真实效果;以及更新模块,用于基于所述至少一个页面模块中各页面模块的所述真实快照和所述初始快照,更新所述本地中存储的初始快照。
- 根据权利要求9的系统,其中,所述更新模块包括:第一获取单元,用于获取所述至少一个页面模块中各页面模块的所述真实快照对应的第一版本信息和/或第一标识信息;第二获取单元,用于获取所述至少一个页面模块中各页面模块的所述初始快照对应的第二版本信息和/或第二标识信息;检测单元,用于基于所述第一版本信息与所述第二版本信息和/或所述第一标识信息与所述第二标识信息,检测所述至少一个页面模块中各页面模块的所述真实快照是否与所述初始快照一致;以及处理单元,用于在所述至少一个页面模块中各页面模块的所述真实快照与所述初始快照不一致的情况下,将所述真实快照存储在所述客户端本地以代替所述初始快照。
- 一种计算机系统,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,其中,当一个或多个程序被一个或多个处理器执行时,使得一个或多个处理器实现权利要求1至5中任一项的页面展示方法。
- 一种计算机可读介质,其上存储有可执行指令,该指令被处理器执行时使处理器实现权利要求1至5中任一项的页面展示方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/267,962 US11438403B2 (en) | 2018-08-31 | 2019-07-26 | Page presentation method and system, computer system, and computer readable medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811019233.0A CN110874446A (zh) | 2018-08-31 | 2018-08-31 | 页面展示方法及其系统、计算机系统及计算机可读介质 |
CN201811019233.0 | 2018-08-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020042842A1 true WO2020042842A1 (zh) | 2020-03-05 |
Family
ID=69643884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/097933 WO2020042842A1 (zh) | 2018-08-31 | 2019-07-26 | 页面展示方法及其系统、计算机系统及计算机可读介质 |
Country Status (3)
Country | Link |
---|---|
US (1) | US11438403B2 (zh) |
CN (1) | CN110874446A (zh) |
WO (1) | WO2020042842A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113449229A (zh) * | 2020-03-27 | 2021-09-28 | 北京沃东天骏信息技术有限公司 | 一种数据加载的方法、装置和存储介质 |
CN111857878B (zh) * | 2020-07-21 | 2024-04-09 | 北京蚂蜂窝网络科技有限公司 | 骨架屏页面生成方法、装置、电子设备及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541750A (zh) * | 2011-12-31 | 2012-07-04 | 曙光信息产业股份有限公司 | 数据快照的实现方法和装置 |
CN103678487A (zh) * | 2013-11-08 | 2014-03-26 | 北京奇虎科技有限公司 | 一种网页快照的生成方法和装置 |
CN103678378A (zh) * | 2012-09-17 | 2014-03-26 | 中国移动通信集团公司 | 网页信息处理的方法及装置 |
US20140258238A1 (en) * | 2013-03-05 | 2014-09-11 | VCE Company LLC | Method to embed snapshot management into virtual machine instances |
CN105302672A (zh) * | 2015-11-19 | 2016-02-03 | 中国建设银行股份有限公司 | 应用于网页快照的数据处理方法及系统 |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6917960B1 (en) * | 2000-05-05 | 2005-07-12 | Jibe Networks | Intelligent content precaching |
US8903950B2 (en) * | 2000-05-05 | 2014-12-02 | Citrix Systems, Inc. | Personalized content delivery using peer-to-peer precaching |
US8370420B1 (en) * | 2002-07-11 | 2013-02-05 | Citrix Systems, Inc. | Web-integrated display of locally stored content objects |
US20080177994A1 (en) * | 2003-01-12 | 2008-07-24 | Yaron Mayer | System and method for improving the efficiency, comfort, and/or reliability in Operating Systems, such as for example Windows |
US7555532B2 (en) * | 2004-09-23 | 2009-06-30 | Orbital Data Corporation | Advanced content and data distribution techniques |
US7689766B1 (en) * | 2005-06-10 | 2010-03-30 | American Megatrends, Inc. | Method, system, apparatus, and computer-readable medium for integrating a caching module into a storage system architecture |
US20080222273A1 (en) * | 2007-03-07 | 2008-09-11 | Microsoft Corporation | Adaptive rendering of web pages on mobile devices using imaging technology |
US9077681B2 (en) * | 2010-10-05 | 2015-07-07 | Microsoft Technology Licensing, Llc | Page loading optimization using page-maintained cache |
CN101984429B (zh) * | 2010-11-04 | 2012-03-14 | 北京百度网讯科技有限公司 | 获取目标页面的方法、装置、搜索引擎和浏览器 |
US20130031211A1 (en) * | 2011-01-29 | 2013-01-31 | Dustin Johnson | Feedback oriented private overlay network for content distribution |
US8621075B2 (en) * | 2011-04-27 | 2013-12-31 | Seven Metworks, Inc. | Detecting and preserving state for satisfying application requests in a distributed proxy and cache system |
US8789208B1 (en) * | 2011-10-04 | 2014-07-22 | Amazon Technologies, Inc. | Methods and apparatus for controlling snapshot exports |
US8711181B1 (en) * | 2011-11-16 | 2014-04-29 | Google Inc. | Pre-fetching map data using variable map tile radius |
CN102929985A (zh) * | 2012-10-18 | 2013-02-13 | 北京奇虎科技有限公司 | 一种收藏网页展示的方法和系统 |
CN103064925B (zh) * | 2012-12-21 | 2016-04-13 | 广东欧珀移动通信有限公司 | 定时处理网页的方法装置 |
US9336234B2 (en) * | 2013-02-22 | 2016-05-10 | Adobe Systems Incorporated | Online content management system with undo and redo operations |
US9342256B2 (en) * | 2013-03-14 | 2016-05-17 | SanDisk Technologies, Inc. | Epoch based storage management for a storage device |
CN103744853B (zh) * | 2013-11-08 | 2017-10-17 | 北京奇虎科技有限公司 | 提供搜索引擎网页快照信息的方法及装置 |
US10585970B2 (en) * | 2016-01-14 | 2020-03-10 | International Business Machines Corporation | Managing dynamic webpage content |
CN106372251B (zh) * | 2016-09-28 | 2020-03-03 | 北京京东尚科信息技术有限公司 | 一种返回页面显示位置的方法和装置 |
-
2018
- 2018-08-31 CN CN201811019233.0A patent/CN110874446A/zh active Pending
-
2019
- 2019-07-26 US US17/267,962 patent/US11438403B2/en active Active
- 2019-07-26 WO PCT/CN2019/097933 patent/WO2020042842A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541750A (zh) * | 2011-12-31 | 2012-07-04 | 曙光信息产业股份有限公司 | 数据快照的实现方法和装置 |
CN103678378A (zh) * | 2012-09-17 | 2014-03-26 | 中国移动通信集团公司 | 网页信息处理的方法及装置 |
US20140258238A1 (en) * | 2013-03-05 | 2014-09-11 | VCE Company LLC | Method to embed snapshot management into virtual machine instances |
CN103678487A (zh) * | 2013-11-08 | 2014-03-26 | 北京奇虎科技有限公司 | 一种网页快照的生成方法和装置 |
CN105302672A (zh) * | 2015-11-19 | 2016-02-03 | 中国建设银行股份有限公司 | 应用于网页快照的数据处理方法及系统 |
Also Published As
Publication number | Publication date |
---|---|
CN110874446A (zh) | 2020-03-10 |
US11438403B2 (en) | 2022-09-06 |
US20210185109A1 (en) | 2021-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9495881B2 (en) | System and method for displaying multiple applications | |
CN110096660B (zh) | 用于加载页面图片的方法、装置和电子设备 | |
CN109976620B (zh) | 列表项展现属性信息的确定方法、装置、设备及存储介质 | |
CN109558323B (zh) | 用于调试页面的系统、方法和装置 | |
US10803232B2 (en) | Optimizing loading of web page based on aggregated user preferences for web page elements of web page | |
CN110888696A (zh) | 页面展示方法及其系统、计算机系统及计算机可读介质 | |
CN109582317B (zh) | 用于调试寄宿应用的方法和装置 | |
US10467790B2 (en) | On-demand image spriting | |
CN110502699B (zh) | 用于获取信息的方法和装置 | |
CN109992406B (zh) | 图片请求方法、响应图片请求的方法及客户端 | |
US20140095579A1 (en) | System and method for increasing web site serving performance | |
CN110795649A (zh) | 目标页面展示方法、装置、系统及电子设备 | |
US10951486B2 (en) | Terminal device, UI expansion method, and UI expansion program | |
CN113434241A (zh) | 页面跳转方法及装置 | |
WO2020042842A1 (zh) | 页面展示方法及其系统、计算机系统及计算机可读介质 | |
CN112965916B (zh) | 页面测试方法、页面测试装置、电子设备及可读存储介质 | |
CN107330087B (zh) | 页面文件生成方法和装置 | |
CN109582580B (zh) | 用于调试页面的系统、方法和装置 | |
CN110888583B (zh) | 页面显示方法、系统、装置和电子设备 | |
US20170053383A1 (en) | Apparatus and method for providing 3d content and recording medium | |
CN110874253B (zh) | 显示方法及显示系统 | |
CN113157165A (zh) | 信息的显示方法、装置、电子设备及程序产品 | |
CN110766601B (zh) | 图像处理方法及其系统、计算机系统及计算机可读介质 | |
US20150339751A1 (en) | Dynamic pricing model | |
CN114510309B (zh) | 动画效果的设置方法、装置、设备及介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19856202 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2101001114 Country of ref document: TH |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14.06.2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19856202 Country of ref document: EP Kind code of ref document: A1 |