CN113158098A - Page generation method, device, equipment and medium - Google Patents
Page generation method, device, equipment and medium Download PDFInfo
- Publication number
- CN113158098A CN113158098A CN202010015493.1A CN202010015493A CN113158098A CN 113158098 A CN113158098 A CN 113158098A CN 202010015493 A CN202010015493 A CN 202010015493A CN 113158098 A CN113158098 A CN 113158098A
- Authority
- CN
- China
- Prior art keywords
- page
- storage area
- search
- static resources
- generating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000003068 static effect Effects 0.000 claims abstract description 102
- 230000001960 triggered effect Effects 0.000 claims abstract description 15
- 230000015654 memory Effects 0.000 claims description 19
- 230000007246 mechanism Effects 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims 2
- 238000012545 processing Methods 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 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
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001360 synchronised effect 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
- 230000006872 improvement Effects 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
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
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 Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the application discloses a page generation method, a page generation device, page generation equipment and a page generation medium, and relates 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; loading static resources of the search result page in an idle period, and storing the loaded static resources locally; and if a retrieval request triggered based on the search home page is detected, generating a search result page based on the locally stored static resources. The embodiment of the application provides a page generation method, a page generation device and a page generation medium, and the generation speed of a search result page is improved.
Description
Technical Field
The embodiment of the application relates to the technical field of data processing, in particular to the technical field of intelligent search. Specifically, the embodiment of the application provides a page generation method, a page generation device, page generation equipment and a page generation medium.
Background
At present, the wireless environment is complicated, and various network types such as 2G, 3G, 4G and WIFI exist in a search scene. Where the network speeds of different network types differ. The lower network speed directly influences the speed of searching results obtained by netizens. Generally, the speed of obtaining the search result cannot meet the rapid and direct experience of searching by netizens.
How to improve the speed of searching results obtained by netizens under the condition of different network speeds becomes a problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the application provides a page generation method, a page generation device and a page generation medium, so that the generation speed of a search result page is improved.
The embodiment of the application provides a page generation method, which comprises the following steps:
generating a search home page;
loading static resources of the search result page in an idle period, and storing the loaded static resources locally;
and if a retrieval request triggered based on the search home page is detected, generating a search result page based on the locally stored static resources.
The method and the device have the advantages that static resources of a search result page are preloaded in an idle period, and the loaded static resources are stored locally; after a retrieval request triggered based on the search home page is detected, a search result page is generated by using the preloaded static resources, so that the loading time of the static resources is saved, the generation speed of the search result page triggered based on the search home page is increased, and the speed of network owners obtaining search results at different network speeds is increased.
Further, the idle period is a period between the time of generating the search top page and the time of detecting the retrieval request.
Based on the technical characteristics, the static resources of the search result page are preloaded in the time interval between the time of generating the search top page and the time of detecting the search request, namely, the static resources of the search result page are preloaded in the process of inputting search words or browsing the search top page by the user, so that the loading speed of the search result page is increased.
Further, the storing the loaded static resource locally includes:
creating a first local storage area;
and synchronously storing the loaded static resources to 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 greater than that of the second storage area.
Because the storage amount of the second local storage area associated with the automatic browser storage mechanism is usually small, the problem that the loaded static resource cannot be completely stored is caused. Based on the technical characteristics, the loaded static resources are synchronously stored in the second local storage area associated with the automatic browser storage mechanism and the first local storage area with the storage capacity larger than the second storage area, so that the loaded static resources are completely stored.
Further, 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 volume of the acquired static resources is smaller than a set data volume threshold, acquiring the remaining 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 static resources to be rendered are firstly obtained from the second local storage area associated with the automatic storage mechanism of the browser, and then the rest static resources are obtained from the first storage area in synchronous storage.
An embodiment of the present application further provides a page generating apparatus, where the apparatus includes:
the home page generating 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 generating module is used for generating a search result page based on the locally stored static resources if a retrieval request triggered based on the search home page is detected.
Further, the idle period is a period between the time of generating the search top page and the time of detecting the retrieval request.
Further, the resource loading module includes:
a storage area creating unit configured to create 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 associated with an automatic browser storage mechanism, wherein the storage capacity of the first storage area is greater than that of the second storage area.
Further, the result page generation module includes:
a first resource obtaining unit, configured to obtain a static resource to be rendered from the second local storage area;
a second resource obtaining unit, configured to obtain, if the obtained data amount of the static resource is smaller than a set data amount threshold, the remaining static resource from the first local storage area;
a result page generating unit configured to generate the search result page based on the acquired static resource.
An embodiment of the present application further provides an electronic device, where the device includes:
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 having stored thereon computer instructions for causing a computer to perform the method of any of the embodiments of the present application.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a flowchart of a page generation method according to 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 schematic illustration of a search front page provided by a third embodiment of the present application;
FIG. 5 is a schematic diagram illustrating 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
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those 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 generation method according to a first embodiment of the present application. The present embodiment is applicable to a case where a search result page is generated based on a search request triggered by a search home page. The method may be performed by a page generating apparatus, which may be implemented by software and/or hardware. Referring to fig. 1, a page generation method provided in the embodiment of the present application includes:
and S110, generating a search home page.
The search home page refers to a display home page of a search engine.
Specifically, generating the search home page includes:
and loading the home page resource, and generating a search home page based on the loaded home page resource.
And 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 time period in which data interaction and data operation do not occur at an execution 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 time of generating the search top page and the time of detecting the retrieval request.
The search result page is associated with a search home page.
Static resources refer to resources that a user accesses the resource multiple times without the source code of the resource changing. In particular, static assets include assets such as images, scripts, and styles.
The local means a generating end of the search result page, that is, a browser end.
S130, if a retrieval request triggered based on the search home page is detected, generating a search result page based on the locally stored static resources.
Specifically, based on the locally stored static resources, a search results page is generated, including:
and loading the dynamic resources of the search result page, and generating the search result page according to the loaded dynamic resources and the static resources stored in the local.
Optionally, if the static resource of the search result page is not completely loaded, generating the search result page based on the locally stored static resource, including:
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.
The remaining static resources refer to static resources in the search result page except the preloaded static resources.
The method and the device have the advantages that static resources of a search result page are preloaded in an idle period, and the loaded static resources are stored locally; after a retrieval request triggered based on the search home page is detected, a search result page is generated by using the preloaded static resources, so that the loading time of the static resources is saved, the generation speed of the search result page triggered based on the search home page is increased, and the speed of network owners obtaining search results at different network speeds is increased.
Second embodiment
Fig. 2 is a flowchart of a page generation method according to a second embodiment of the present application. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 2, a page generation method provided in the embodiment of the present application includes:
and S210, generating a search home page.
S220, in an idle period, loading static resources of the search result page and creating a first local storage area.
And S230, synchronously storing the loaded static resources to the first local storage area and a second local storage area associated with the browser automatic storage mechanism.
The storage capacity of the first storage area is larger than that of the second storage area.
Currently, the browser has a self-contained storage function, that is, the browser has an automatic storage mechanism. Therefore, the second local storage area may also be understood as a storage area associated with a storage function of the browser itself.
S240, if a retrieval request triggered based on the search home page is detected, a search result page is generated based on the locally stored static resources.
Because the storage amount of the second local storage area associated with the automatic browser storage mechanism is usually small, the problem that the loaded static resource cannot be completely stored is caused. Based on the technical characteristics, the loaded static resources are synchronously stored in the second local storage area associated with the automatic browser storage mechanism and the first local storage area with the storage capacity larger than the second storage area, so that the loaded static resources are completely stored.
Specifically, the generating a search result page based on locally stored static resources includes:
acquiring static resources to be rendered from the second local storage area;
if the data volume of the acquired static resources is smaller than a set data volume threshold, acquiring the remaining static resources from the first local storage area;
and generating the search result page based on the acquired static resources.
Wherein the set data volume threshold is determined according to the loaded data volume of the static resource.
Based on the technical characteristics, the static resources to be rendered are firstly obtained from the second local storage area associated with the automatic storage mechanism of the browser, and then the rest static resources are obtained from the first storage area in synchronous storage.
Third embodiment
Fig. 3 is a flowchart of a page generation method according to a third embodiment of the present application. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 3, a page generation method provided in the embodiment of the present application includes:
s310, responding to a search home page request initiated by a netizen, and receiving home page resources returned by a retrieval server.
S320, generating a search home page by using the received home page resources, and asynchronously requesting for static resources in a search result page after the search home page is generated.
S330, storing the received static resources locally according to the cache characteristics of the browser.
S340, responding to a retrieval request initiated by the network citizen on 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 search home page request initiated by a netizen based on a browser, receiving a home page resource returned by a retrieval service end, and generating a search home page by using the received home page resource. And asynchronously requesting to search the static resources of the result page by using the idle time before the netizen initiates retrieval.
Referring to fig. 5, in response to a retrieval request initiated by a netizen on a search home page, a search result page is generated based on static resources stored locally.
According to the method and the device, when a netizen initiates a retrieval request through a search home page, the static resources of a search result page are asynchronously requested and stored in a browser of the netizen by utilizing the retrieval time difference, and when the netizen actually jumps to the search result page, the static resources are not requested any more, so that the purpose of increasing 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 the embodiment of the present application includes: a home 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;
a resource loading module 602, configured to load a static resource of the search result page during an idle period, and store the loaded static resource locally;
a result page generating module 603, configured to generate a search result page based on the locally stored static resource if a retrieval request triggered based on the search home page is detected.
The method and the device have the advantages that static resources of a search result page are preloaded in an idle period, and the loaded static resources are stored locally; after a retrieval request triggered based on the search home page is detected, a search result page is generated by using the preloaded static resources, so that the loading time of the static resources is saved, the generation speed of the search result page triggered based on the search home page is increased, and the speed of network owners obtaining search results at different network speeds is increased.
Further, the idle period is a period between the time of generating the search top page and the time of detecting the retrieval request.
Further, the resource loading module includes:
a storage area creating unit configured to create 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 associated with an automatic browser storage mechanism, wherein the storage capacity of the first storage area is greater than that of the second storage area.
Further, the result page generation module includes:
a first resource obtaining unit, configured to obtain a static resource to be rendered from the second local storage area;
a second resource obtaining unit, configured to obtain, if the obtained data amount of the static resource is smaller than a set data amount threshold, the remaining static resource from the first local storage area;
a result page generating unit configured to generate the search result page based on the acquired static resource.
Fifth embodiment
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 7 is a block diagram of an electronic device according to the page generation method of the embodiment of the present application. 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 phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 7, the electronic apparatus includes: one or more processors 701, a memory 702, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. 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 for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 7, one processor 701 is taken as an example.
The memory 702 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the page generation method provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the page generation method provided herein.
The memory 702, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the page generation method in the embodiments of the present application (e.g., the top page generation module 601, the resource loading module 602, and the result page generation module 603 shown in fig. 6). The processor 701 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 702, that is, implements the page generation method in the above-described method embodiments.
The memory 702 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the page generation electronic device, and the like. Further, 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, the memory 702 may optionally include memory located remotely from the 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 other means, and fig. 7 illustrates an example of a connection by a bus.
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 apparatus, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointer, one or more mouse buttons, a track ball, a joystick, or other input device. The output devices 704 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating 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 can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. 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 a pointing device (e.g., a mouse or a 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 can 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, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end 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 back-end, 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 clients and servers. A client and server are generally 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 understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. A page generation method is characterized by comprising the following steps:
generating a search home page;
loading static resources of the search result page in an idle period, and storing the loaded static resources locally;
and if a retrieval request triggered based on the search home page is detected, generating a search result page based on the locally stored static resources.
2. The method according to claim 1, wherein the idle period is a period between a time of generation of the search top page and a time of detection of the retrieval request.
3. The method of claim 1, wherein storing the loaded static resource locally comprises:
creating a first local storage area;
and synchronously storing the loaded static resources to 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 greater than that of the second storage area.
4. The method of claim 3, 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 volume of the acquired static resources is smaller than a set data volume threshold, acquiring the remaining static resources from the first local storage area;
and generating the search result page based on the acquired static resources.
5. A page generating apparatus, comprising:
the home page generating 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 generating module is used for generating a search result page based on the locally stored static resources if a retrieval request triggered based on the search home page is detected.
6. The apparatus according to claim 5, wherein the idle period is a period between a time of generation of the search top page and a time of detection of the retrieval request.
7. The apparatus of claim 5, wherein the resource loading module comprises:
a storage area creating unit configured to create 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 associated with an automatic browser storage mechanism, wherein the storage capacity of the first storage area is greater than that of the second storage area.
8. The apparatus of claim 7, wherein the result page generation module comprises:
a first resource obtaining unit, configured to obtain a static resource to be rendered from the second local storage area;
a second resource obtaining unit, configured to obtain, if the obtained data amount of the static resource is smaller than a set data amount threshold, the remaining static resource from the first local storage area;
a result page generating unit configured to generate the search result page based on the acquired static resource.
9. 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-4.
10. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-4.
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 true CN113158098A (en) | 2021-07-23 |
CN113158098B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114880602A (en) * | 2022-04-21 | 2022-08-09 | 北京达佳互联信息技术有限公司 | Page loading method and device, electronic equipment and storage medium |
WO2023134276A1 (en) * | 2022-01-12 | 2023-07-20 | 腾讯科技(深圳)有限公司 | Resource preloading method and apparatus, storage medium, and computer device |
CN117806573A (en) * | 2024-03-01 | 2024-04-02 | 山东云海国创云计算装备产业创新中心有限公司 | Solid state disk searching method, device, equipment and medium |
Citations (11)
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 |
US20150074510A1 (en) * | 2013-09-09 | 2015-03-12 | International Business Machines Corporation | Transforming a website for dynamic web content management |
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 |
-
2020
- 2020-01-07 CN CN202010015493.1A patent/CN113158098B/en active Active
Patent Citations (11)
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 |
US20150074510A1 (en) * | 2013-09-09 | 2015-03-12 | International Business Machines Corporation | Transforming a website for dynamic web content management |
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 |
---|
孙静;赵恒永;: "搜索引擎网页快照的实现与安全", 中国科技信息, no. 11, 1 June 2007 (2007-06-01) * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023134276A1 (en) * | 2022-01-12 | 2023-07-20 | 腾讯科技(深圳)有限公司 | Resource preloading method and apparatus, storage medium, and computer device |
CN114880602A (en) * | 2022-04-21 | 2022-08-09 | 北京达佳互联信息技术有限公司 | Page loading method and device, electronic equipment and storage medium |
CN117806573A (en) * | 2024-03-01 | 2024-04-02 | 山东云海国创云计算装备产业创新中心有限公司 | Solid state disk searching method, device, equipment and medium |
CN117806573B (en) * | 2024-03-01 | 2024-05-24 | 山东云海国创云计算装备产业创新中心有限公司 | Solid state disk searching method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN113158098B (en) | 2024-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11768907B2 (en) | Search method, search device, electronic device and storage medium | |
JP7167222B2 (en) | APPLET DATA ACQUISITION METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM | |
CN111694857B (en) | Method, device, electronic equipment and computer readable medium for storing resource data | |
CN111159592B (en) | Search result page generation method and device, electronic equipment and storage medium | |
CN111158799A (en) | Page rendering method and device, electronic equipment and storage medium | |
CN113158098A (en) | Page generation method, device, equipment and medium | |
CN112199620A (en) | Page operation method and device, electronic equipment and storage medium | |
JP7130803B2 (en) | SEARCH METHOD, SEARCH DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM | |
CN111752960B (en) | Data processing method and device | |
CN111339462A (en) | Component rendering method, device, server, terminal and medium | |
CN111290912A (en) | Single-page application performance monitoring method and device and electronic equipment | |
CN111339187A (en) | Data processing method, device, equipment and storage medium based on intelligent contract | |
CN111966471B (en) | Access method, device, electronic equipment and computer storage medium | |
CN111522599B (en) | Method and device for transmitting information | |
CN112581589A (en) | View list layout method, device, equipment and storage medium | |
CN111767442A (en) | Data updating method and device, search server, terminal and storage medium | |
CN111352685B (en) | Display method, device, equipment and storage medium of input method keyboard | |
CN112752323A (en) | Method and device for changing hotspot access state | |
CN113448695A (en) | Method, device, electronic equipment and medium for realizing process persistence | |
CN110851187A (en) | Video memory processing method, device, equipment and medium | |
CN112346512A (en) | Time synchronization method and device | |
CN112800319A (en) | Information searching method, device, equipment and medium | |
CN111026438A (en) | Extraction method, device, equipment and medium for key information of small program package and page | |
CN111582480A (en) | Method and device for pruning a model | |
CN111177558A (en) | Channel service construction method and device |
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 |