CN113158098B - Page generation method, device, equipment and medium - Google Patents
Page generation method, device, equipment and medium Download PDFInfo
- Publication number
- CN113158098B CN113158098B CN202010015493.1A CN202010015493A CN113158098B CN 113158098 B CN113158098 B CN 113158098B CN 202010015493 A CN202010015493 A CN 202010015493A CN 113158098 B CN113158098 B CN 113158098B
- Authority
- CN
- China
- Prior art keywords
- search
- page
- static resources
- storage area
- local storage
- 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
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000003068 static effect Effects 0.000 claims abstract description 108
- 230000001960 triggered effect Effects 0.000 claims abstract description 15
- 230000015654 memory Effects 0.000 claims description 23
- 230000007246 mechanism Effects 0.000 claims description 13
- 238000012545 processing Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013515 script Methods 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual 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
- G06F16/972—Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
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 Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a page generation method, device, equipment and medium, which relate to the technical field of data processing, in particular to the technical field of intelligent search. The specific implementation scheme is as follows: generating a search home page; in the idle period, loading static resources of the search result page, and storing the loaded static resources locally; and if the search request triggered based on the search front page is detected, generating a search result page based on the static resources stored locally. The embodiment of the application provides a page generation method, device, equipment and medium, which improve the generation speed of a search result page.
Description
Technical Field
The embodiment of the application relates to the technical field of data processing, in particular to the technical field of intelligent searching. Specifically, the embodiment of the application provides a page generation method, device, equipment and medium.
Background
At present, the wireless environment is complicated, and various network types of 2G, 3G, 4G and WIFI exist in a search scene. Wherein the network speeds of different network types are different. The lower network speed directly affects the speed at which netizens acquire search results. Generally, the speed of acquiring the search results cannot meet the experience of fast and direct netizen search.
How to improve the speed of obtaining search results for netizens under the condition of different network speeds becomes a current urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides a page generation method, device, equipment and medium, so as to improve the generation speed of a search result page.
The embodiment of the application provides a page generation method, which comprises the following steps:
generating a search home page;
in the idle period, loading static resources of the search result page, and storing the loaded static resources locally;
and if the search request triggered based on the search front page is detected, generating a search result page based on the static resources stored locally.
According to the method, the static resources of the search result page are preloaded in an idle period, and the loaded static resources are stored locally; after the search request triggered based on the search front page is detected, the preloaded static resources are utilized to generate the search result page, so that the loading time of the static resources is saved, the generation speed of the search result page triggered based on the search front page is improved, and the speed of obtaining the search result by the internet citizens at different internet speeds is further improved.
Further, the idle period is a period between the search front page generation timing and the timing at which the search request is detected.
Based on the technical characteristics, the static resources of the search result page are preloaded through the time period between the generation time of the search home page and the time when the search request is detected, namely, the static resources of the search result page are preloaded in the process of inputting the search word or browsing the search home page by a user, so that the loading speed of the search result page is improved.
Further, the storing the loaded static resource locally includes:
creating a first local storage area;
and synchronously storing the loaded static resources into the first local storage area and a second local storage area associated with an automatic browser storage mechanism, wherein the storage capacity of the first storage area is larger than that of the second storage area.
Because the storage of the second local storage area associated with the browser automatic storage mechanism is typically small, this results in the problem of failure to fully store the loaded static resources. Based on the technical characteristics, the embodiment of the application stores the loaded static resources to the second local storage area associated with the browser automatic storage mechanism and the first local storage area with the storage amount larger than the second storage area through synchronization, so that the loaded static resources are completely stored.
Further, the generating a search results page based on the locally stored static resources includes:
acquiring static resources to be rendered from the second local storage area;
if the data quantity of the obtained static resources is smaller than a set data quantity threshold value, obtaining residual static resources from the first local storage area;
and generating the search result page based on the acquired static resources.
Based on the technical characteristics, the embodiment of the application can realize the rapid and complete acquisition of the static resources by firstly acquiring the static resources to be rendered from the second local storage area related to the browser automatic storage mechanism and then acquiring the rest static resources from the first storage area synchronously stored, wherein the speed of acquiring the static resources from the second local storage area is higher than that of acquiring the static resources from the first storage area.
The embodiment of the application also provides a page generating device, which comprises:
the home page generation module is used for generating a search home page;
the resource loading module is used for loading the static resources of the search result page in an idle period and storing the loaded static resources locally;
and the result page generation module is used for generating a search result page based on the static resources stored locally if the search request triggered based on the search front page is detected.
Further, the idle period is a period between the search front page generation timing and the timing at which the search request is detected.
Further, the resource loading module includes:
a memory area creation unit configured to create a first local memory area;
and the resource storage unit is used for synchronously storing the loaded static resources into the first local storage area and a second local storage area related to the browser automatic storage mechanism, wherein the storage amount of the first storage area is larger than that of the second storage area.
Further, the result page generating module includes:
the first resource acquisition unit is used for acquiring static resources to be rendered from the second local storage area;
the second resource acquisition unit is used for acquiring the rest static resources from the first local storage area if the data volume of the acquired static resources is smaller than a set data volume threshold value;
and the result page generating unit is used for generating the search result page based on the acquired static resources.
The embodiment of the application also provides electronic equipment, which comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the embodiments of the present application.
Embodiments of the present application also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method of any one of the embodiments of the present application.
Drawings
The drawings are for better understanding of the present solution and do not constitute a limitation of the present application. Wherein:
fig. 1 is a flowchart of a page generating method provided in a first embodiment of the present application;
FIG. 2 is a flowchart of a page generation method according to a second embodiment of the present application;
FIG. 3 is a flowchart of a page generation method according to a third embodiment of the present application;
FIG. 4 is a diagram showing a search front page according to a third embodiment of the present application;
FIG. 5 is a diagram showing a search results page according to a third embodiment of the present application;
fig. 6 is a schematic structural diagram of a page generating apparatus according to a fourth embodiment of the present application;
fig. 7 is a block diagram of an electronic device of a page generation method according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
First embodiment
Fig. 1 is a flowchart of a page generating method according to a first embodiment of the present application. The embodiment is applicable to the case where a search result page is generated based on a search request triggered by a search front page. The method may be performed by a page generating apparatus, which may be implemented in software and/or hardware. Referring to fig. 1, the page generating method provided in the embodiment of the present application includes:
s110, generating a search home page.
The search home page refers to a display home page of the search engine.
Specifically, generating the search front page includes:
and loading the home page resource, and generating a search home page based on the loaded home page resource.
S120, loading the static resources of the search result page in an idle period, and storing the loaded static resources locally.
The idle period refers to a period of time when data interaction and data operation do not occur at an executing end of the method described in the application. The duration of the idle period is not limited in this embodiment.
Specifically, the idle period is a period between the search front page generation timing and the timing at which the search request is detected.
The search results page is associated with a search home page.
A static resource refers to a resource that a user accesses this resource multiple times, the source code of the resource not changing. In particular, static resources include resources such as images, scripts, and styles.
The above-mentioned local refers to the generation end of the search result page, namely, the browser end.
And S130, if a search request triggered based on the search front page is detected, generating a search result page based on a static resource stored locally.
Specifically, generating a search results page based on locally stored static resources includes:
and loading dynamic resources of the search result page, and generating the search result page according to the loaded dynamic resources and static resources stored locally.
Optionally, if the static resources of the search result page are not completely loaded, generating the search result page based on the static resources stored locally includes:
and loading the dynamic resources and the residual static resources of the search result page, and generating the search result page according to the loaded dynamic resources, the residual static resources and the static resources stored locally.
Wherein the rest of the static resources refer to the static resources except the preloaded static resources in the search result page.
According to the method, the static resources of the search result page are preloaded in an idle period, and the loaded static resources are stored locally; after the search request triggered based on the search front page is detected, the preloaded static resources are utilized to generate the search result page, so that the loading time of the static resources is saved, the generation speed of the search result page triggered based on the search front page is improved, and the speed of obtaining the search result by the internet citizens at different internet speeds is further improved.
Second embodiment
Fig. 2 is a flowchart of a page generating method according to a second embodiment of the present application. This embodiment is an alternative to the embodiments described above. Referring to fig. 2, the page generating method provided in the embodiment of the present application includes:
s210, generating a search home page.
S220, loading static resources of the search result page in an idle period, and creating a first local storage area.
And S230, synchronously storing the loaded static resources into the first local storage area and a second local storage area associated with the browser automatic storage mechanism.
Wherein the storage amount of the first storage area is larger than the storage amount of the second storage area.
Current browsers have a self-contained storage function, i.e., the browser has an automatic storage mechanism. Thus, the second local storage area may be understood as a storage area associated with a storage function of the browser itself.
And S240, if a search request triggered based on the search front page is detected, generating a search result page based on the static resources stored locally.
Because the storage of the second local storage area associated with the browser automatic storage mechanism is typically small, this results in the problem of failure to fully store the loaded static resources. Based on the technical characteristics, the embodiment of the application stores the loaded static resources to the second local storage area associated with the browser automatic storage mechanism and the first local storage area with the storage amount larger than the second storage area through synchronization, so that the loaded static resources are completely stored.
Specifically, the generating a search result page based on the locally stored static resources includes:
acquiring static resources to be rendered from the second local storage area;
if the data quantity of the obtained static resources is smaller than a set data quantity threshold value, obtaining residual static resources from the first local storage area;
and generating the search result page based on the acquired static resources.
Wherein the set data amount threshold is determined according to the loaded data amount of the static resource.
Based on the technical characteristics, the embodiment of the application can realize the rapid and complete acquisition of the static resources by firstly acquiring the static resources to be rendered from the second local storage area related to the browser automatic storage mechanism and then acquiring the rest static resources from the first storage area synchronously stored, wherein the speed of acquiring the static resources from the second local storage area is higher than that of acquiring the static resources from the first storage area.
Third embodiment
Fig. 3 is a flowchart of a page generating method according to a third embodiment of the present application. This embodiment is an alternative to the embodiments described above. Referring to fig. 3, the page generating method provided in the embodiment of the present application includes:
s310, receiving the home page resource returned by the retrieval server in response to the home page searching request initiated by the netizen.
S320, generating a search home page by using the received home page resources, and asynchronously requesting static resources in a search result page after the search home page is generated.
S330, storing the received static resources locally according to the browser cache characteristics.
And S340, responding to a search request initiated by the netizen at the search home page, and generating a search result page based on the static resources stored locally.
Illustratively, referring to fig. 4, in response to a web citizen receiving a home page resource returned by a search server based on a search home page request initiated by a browser, a search home page is generated by using the received home page resource. And asynchronously requesting the static resources of the search result page by using the idle time before the netizen initiates the search.
Referring to fig. 5, in response to a search request initiated by a netizen at a search home page, a search results page is generated based on static resources stored locally.
According to the method and the device, when the netizen initiates a search request through searching the first page, static resources of the search result page are asynchronously requested by utilizing the search time difference and stored in the netizen browser, and when the netizen jump to reach the search result page, the static resources are not requested any more, so that the purpose of improving the page speed is achieved.
Fourth embodiment
Fig. 6 is a schematic structural diagram of a page generating apparatus according to a fourth embodiment of the present application. Referring to fig. 6, a page generating apparatus 600 provided in an embodiment of the present application includes: a top page generation module 601, a resource loading module 602, and a result page generation module 603.
The home page generation module 601 is configured to generate a search home page;
the resource loading module 602 is configured to load static resources of the search result page during an idle period, and store the loaded static resources locally;
and the result page generating module 603 is configured to generate a search result page based on the static resources stored locally if the search request triggered based on the search front page is detected.
According to the method, the static resources of the search result page are preloaded in an idle period, and the loaded static resources are stored locally; after the search request triggered based on the search front page is detected, the preloaded static resources are utilized to generate the search result page, so that the loading time of the static resources is saved, the generation speed of the search result page triggered based on the search front page is improved, and the speed of obtaining the search result by the internet citizens at different internet speeds is further improved.
Further, the idle period is a period between the search front page generation timing and the timing at which the search request is detected.
Further, the resource loading module includes:
a memory area creation unit configured to create a first local memory area;
and the resource storage unit is used for synchronously storing the loaded static resources into the first local storage area and a second local storage area related to the browser automatic storage mechanism, wherein the storage amount of the first storage area is larger than that of the second storage area.
Further, the result page generating module includes:
the first resource acquisition unit is used for acquiring static resources to be rendered from the second local storage area;
the second resource acquisition unit is used for acquiring the rest static resources from the first local storage area if the data volume of the acquired static resources is smaller than a set data volume threshold value;
and the result page generating unit is used for generating the search result page based on the acquired static resources.
Fifth embodiment
According to embodiments of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 7, a block diagram of an electronic device according to a page generation method according to an embodiment of the present application is shown. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the application described and/or claimed herein.
As shown in fig. 7, the electronic device includes: one or more processors 701, memory 702, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 701 is illustrated in fig. 7.
Memory 702 is a non-transitory computer-readable storage medium provided herein. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the page generation method provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to execute the page generation method provided by the present application.
The memory 702 is used as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the top page generation module 601, the resource loading module 602, and the result page generation module 603 shown in fig. 6) corresponding to the page generation method in the embodiments of the present application. The processor 701 executes various functional applications of the server and data processing, i.e., implements the page generation method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 702.
Memory 702 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created from the use of the page generating electronic device, and the like. In addition, the memory 702 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 702 optionally includes memory remotely located relative to processor 701, which may be connected to the page generating electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, blockchain networks, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the page generation method may further include: an input device 703 and an output device 704. The processor 701, the memory 702, the input device 703 and the output device 704 may be connected by a bus or otherwise, in fig. 7 by way of example.
The input device 703 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the page generating electronic device, such as a touch screen, keypad, mouse, trackpad, touchpad, pointer stick, one or more mouse buttons, trackball, joystick, and like input devices. The output device 704 may include a display apparatus, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions disclosed in the present application can be achieved, and are not limited herein.
The above embodiments do not limit the scope of the application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application are intended to be included within the scope of the present application.
Claims (6)
1. The page generation method is characterized by being applied to a browser end and comprising the following steps of:
generating a search home page, wherein the search home page is a display home page of a search engine;
loading static resources of a search result page in an idle period, and storing the loaded static resources locally, wherein the idle period is a period between the generation time of the search home page and the time when a search request is detected;
if a search request triggered based on the search home page is detected, generating a search result page based on a static resource stored locally;
wherein the search results page is associated with the search home page;
wherein the storing the loaded static resource locally includes:
creating a first local storage area;
and synchronously storing the loaded static resources into the first local storage area and a second local storage area associated with a browser automatic storage mechanism, wherein the storage capacity of the first local storage area is larger than that of the second local storage area.
2. The method of claim 1, wherein generating a search results page based on locally stored static resources comprises:
acquiring static resources to be rendered from the second local storage area;
if the data quantity of the obtained static resources is smaller than a set data quantity threshold value, obtaining residual static resources from the first local storage area;
and generating the search result page based on the acquired static resources.
3. A page generating device, which is applied to a browser end, and comprises:
the home page generation module is used for generating a search home page, wherein the search home page is a display home page of a search engine;
the resource loading module is used for loading the static resources of the search result page in an idle period, and storing the loaded static resources locally, wherein the idle period is a period between the generation time of the search home page and the time when a search request is detected;
the result page generation module is used for generating a search result page based on the static resources stored locally if the search request triggered based on the search front page is detected;
wherein the search results page is associated with the search home page;
the storage area creating unit is used for creating a first local storage area;
and the resource storage unit is used for synchronously storing the loaded static resources to the first local storage area and a second local storage area related to the browser automatic storage mechanism, wherein the storage capacity of the first local storage area is larger than that of the second local storage area.
4. The apparatus of claim 3, wherein the results page generation module comprises:
the first resource acquisition unit is used for acquiring static resources to be rendered from the second local storage area;
the second resource acquisition unit is used for acquiring the rest static resources from the first local storage area if the data volume of the acquired static resources is smaller than a set data volume threshold value;
and the result page generating unit is used for generating the search result page based on the acquired static resources.
5. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-2.
6. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010015493.1A CN113158098B (en) | 2020-01-07 | 2020-01-07 | Page generation method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010015493.1A CN113158098B (en) | 2020-01-07 | 2020-01-07 | Page generation method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113158098A CN113158098A (en) | 2021-07-23 |
CN113158098B true CN113158098B (en) | 2024-03-19 |
Family
ID=76881525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010015493.1A Active CN113158098B (en) | 2020-01-07 | 2020-01-07 | Page generation method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113158098B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114428921A (en) * | 2022-01-12 | 2022-05-03 | 腾讯科技(深圳)有限公司 | Resource preloading method and device, storage medium and electronic equipment |
CN114880602A (en) * | 2022-04-21 | 2022-08-09 | 北京达佳互联信息技术有限公司 | Page loading method and device, electronic equipment and storage medium |
CN117806573B (en) * | 2024-03-01 | 2024-05-24 | 山东云海国创云计算装备产业创新中心有限公司 | Solid state disk searching method, device, equipment and medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130074170A (en) * | 2011-12-26 | 2013-07-04 | 엔에이치엔(주) | System and method for shortening search performing time and computer readable recording medium thereof |
CN105824909A (en) * | 2016-03-15 | 2016-08-03 | 腾讯科技(深圳)有限公司 | Page generation method and device |
CN106980698A (en) * | 2017-04-11 | 2017-07-25 | 钟铮 | Browser static resource loading method, browser program and readable storage medium storing program for executing |
CN107315791A (en) * | 2017-06-14 | 2017-11-03 | 广州酷狗计算机科技有限公司 | Static resource caching method, device and computer-readable recording medium |
CN108932332A (en) * | 2018-07-05 | 2018-12-04 | 麒麟合盛网络技术股份有限公司 | The loading method and device of static resource |
CN109635217A (en) * | 2018-12-14 | 2019-04-16 | 平安普惠企业管理有限公司 | H5 page loading method, device, computer equipment and the storage medium of APP |
CN110110194A (en) * | 2019-04-29 | 2019-08-09 | 百度在线网络技术(北京)有限公司 | A kind of resource acquiring method, server, client and electronic equipment |
CN110263275A (en) * | 2019-06-14 | 2019-09-20 | 深圳前海桔子信息技术有限公司 | A kind of method, apparatus, mobile terminal and storage medium accessing webpage |
CN110287432A (en) * | 2019-06-28 | 2019-09-27 | 北京金山安全软件有限公司 | Network information processing method and device and electronic equipment |
CN110287433A (en) * | 2019-06-28 | 2019-09-27 | 北京金山安全软件有限公司 | Network information processing method and device and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10089284B2 (en) * | 2013-09-09 | 2018-10-02 | International Business Machines Corporation | Transforming a website for dynamic web content management |
-
2020
- 2020-01-07 CN CN202010015493.1A patent/CN113158098B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130074170A (en) * | 2011-12-26 | 2013-07-04 | 엔에이치엔(주) | System and method for shortening search performing time and computer readable recording medium thereof |
CN105824909A (en) * | 2016-03-15 | 2016-08-03 | 腾讯科技(深圳)有限公司 | Page generation method and device |
CN106980698A (en) * | 2017-04-11 | 2017-07-25 | 钟铮 | Browser static resource loading method, browser program and readable storage medium storing program for executing |
CN107315791A (en) * | 2017-06-14 | 2017-11-03 | 广州酷狗计算机科技有限公司 | Static resource caching method, device and computer-readable recording medium |
CN108932332A (en) * | 2018-07-05 | 2018-12-04 | 麒麟合盛网络技术股份有限公司 | The loading method and device of static resource |
CN109635217A (en) * | 2018-12-14 | 2019-04-16 | 平安普惠企业管理有限公司 | H5 page loading method, device, computer equipment and the storage medium of APP |
CN110110194A (en) * | 2019-04-29 | 2019-08-09 | 百度在线网络技术(北京)有限公司 | A kind of resource acquiring method, server, client and electronic equipment |
CN110263275A (en) * | 2019-06-14 | 2019-09-20 | 深圳前海桔子信息技术有限公司 | A kind of method, apparatus, mobile terminal and storage medium accessing webpage |
CN110287432A (en) * | 2019-06-28 | 2019-09-27 | 北京金山安全软件有限公司 | Network information processing method and device and electronic equipment |
CN110287433A (en) * | 2019-06-28 | 2019-09-27 | 北京金山安全软件有限公司 | Network information processing method and device and electronic equipment |
Non-Patent Citations (1)
Title |
---|
搜索引擎网页快照的实现与安全;孙静;赵恒永;;中国科技信息;20070601(第11期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113158098A (en) | 2021-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11144711B2 (en) | Webpage rendering method, device, electronic apparatus and storage medium | |
CN113158098B (en) | Page generation method, device, equipment and medium | |
EP3822828A2 (en) | Method, apparatus, device and storage medium for determining page theme and computer program product | |
CN112199620B (en) | Page operation method and device, electronic equipment and storage medium | |
JP7167222B2 (en) | APPLET DATA ACQUISITION METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM | |
CN111159592B (en) | Search result page generation method and device, electronic equipment and storage medium | |
US11768907B2 (en) | Search method, search device, electronic device and storage medium | |
CN111400000B (en) | Network request processing method, device, equipment and storage medium | |
CN111158799A (en) | Page rendering method and device, electronic equipment and storage medium | |
CN112527474B (en) | Task processing method and device, equipment, readable medium and computer program product | |
CN110727434B (en) | Rendering method, rendering device, electronic equipment and storage medium | |
JP7130803B2 (en) | SEARCH METHOD, SEARCH DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM | |
US20210216212A1 (en) | Method and apparatus for processing data | |
CN113722647A (en) | Method and device for displaying information | |
CN111339462B (en) | Component rendering method, device, server, terminal and medium | |
CN110795615B (en) | Search method, device, equipment and storage medium | |
CN112163143B (en) | Page switching method, device, equipment and storage medium | |
CN111767442B (en) | Data updating method, device, search server, terminal and storage medium | |
CN112581589A (en) | View list layout method, device, equipment and storage medium | |
CN111290912A (en) | Single-page application performance monitoring method and device and electronic equipment | |
US11748108B2 (en) | Instruction executing method and apparatus, electronic device, and computer-readable storage medium | |
CN111506499B (en) | Method and device for detecting availability of parameters in applet and electronic equipment | |
CN111352685B (en) | Display method, device, equipment and storage medium of input method keyboard | |
CN110851187B (en) | Video memory processing method, device, equipment and medium | |
CN112379945B (en) | Method, apparatus, device and storage medium for running application |
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 |