CN111177539A - Search result page generation method and device, electronic equipment and storage medium - Google Patents

Search result page generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111177539A
CN111177539A CN201911295372.0A CN201911295372A CN111177539A CN 111177539 A CN111177539 A CN 111177539A CN 201911295372 A CN201911295372 A CN 201911295372A CN 111177539 A CN111177539 A CN 111177539A
Authority
CN
China
Prior art keywords
search result
basic information
information
user
search
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.)
Pending
Application number
CN201911295372.0A
Other languages
Chinese (zh)
Inventor
刘俊启
梁建平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201911295372.0A priority Critical patent/CN111177539A/en
Publication of CN111177539A publication Critical patent/CN111177539A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Abstract

The application discloses a method and a device for generating a search result page, electronic equipment and a storage medium, and relates to the field of intelligent search, wherein the method comprises the following steps: a client acquires a search request sent by a user and loads basic information of a search result page cached locally; the method comprises the steps that a client side obtains a keyword input by a user, and when the input keyword changes, search result information corresponding to the currently input keyword is obtained and cached; the client side obtains a search instruction sent by a user, and if the search result information corresponding to the complete keyword input by the user is determined to be cached, the search result information corresponding to the complete keyword is integrated with the basic information to obtain a search result page. By applying the scheme, the display speed of the search result page can be improved.

Description

Search result page generation method and device, electronic equipment and storage medium
Technical Field
The present application relates to computer application technologies, and in particular, to a method and an apparatus for generating a search result page in the field of intelligent search, an electronic device, and a storage medium.
Background
In recent years, with the rapid spread of smart phones, the mobile internet has become a main way for users to acquire information through a network, and accordingly, mobile search is gradually replacing Personal Computer (PC) search as a main way for users to use search engines.
In the current search mode, after a user inputs a keyword in a search box, a search instruction is sent, for example, a search button is clicked, and then search result information is requested. This may result in a slow presentation of the search result page, etc.
Disclosure of Invention
In view of the above, the present application provides a search result page generation method, apparatus, electronic device, and storage medium.
A search result page generation method, comprising:
when a client acquires a search request sent by a user, loading basic information of a search result page cached locally;
the client side obtains the keywords input by the user, and when the input keywords change, the client side obtains search result information corresponding to the currently input keywords and caches the search result information;
and the client acquires a search instruction sent by the user, and if the search result information corresponding to the complete keyword input by the user is determined to be cached, the search result information corresponding to the complete keyword is integrated with the basic information to obtain a search result page.
According to a preferred embodiment of the present application, the method further comprises: and the client determines whether the basic information of the latest version is cached locally, if so, the basic information is loaded, and if not, the basic information of the latest version is obtained from the server for loading and local caching.
According to a preferred embodiment of the present application, the method further comprises: when any one of the following conditions is met: if the basic information of the latest version is determined not to be cached locally, the basic information of the latest version is obtained from the server side and is cached locally.
According to a preferred embodiment of the present application, the method further comprises: if the search result information corresponding to the complete keyword is not cached, after the search result information corresponding to the complete keyword is obtained, integrating the search result information corresponding to the complete keyword with the basic information to obtain a search result page.
According to a preferred embodiment of the present application, the method further comprises: and when the external application calls the client to initiate the search, the client integrates the acquired search result information with the basic information to obtain a search result page.
According to a preferred embodiment of the present application, the method further comprises: and the client removes the cached search result information after obtaining the search result page or determining that the user leaves the search scene.
A search result page generation apparatus, applied to a client, comprising: a first information processing unit, a second information processing unit, and a third information processing unit;
the first information processing unit is used for loading the basic information of the search result page cached locally when the search request sent by the user is acquired;
the second information processing unit is used for acquiring the keywords input by the user, and acquiring the search result information corresponding to the currently input keywords and caching the search result information when the input keywords are changed;
and the third information processing unit is used for acquiring a search instruction sent by the user, and integrating the search result information corresponding to the complete keyword with the basic information to obtain a search result page if the search result information corresponding to the complete keyword input by the user is determined to be cached.
According to a preferred embodiment of the present application, the first information processing unit is further configured to determine whether the basic information of the latest version is cached locally, if yes, load the basic information, and if not, acquire the basic information of the latest version from the server to load the basic information, and perform local caching.
According to a preferred embodiment of the present application, the first information processing unit is further configured to, when any one of the following conditions is met: if the basic information of the latest version is determined not to be cached locally, the basic information of the latest version is obtained from the server side and is cached locally.
According to a preferred embodiment of the present application, the third information processing unit is further configured to, if search result information corresponding to the complete keyword is not cached, wait until the search result information corresponding to the complete keyword is obtained, integrate the search result information corresponding to the complete keyword with the basic information to obtain a search result page.
According to a preferred embodiment of the present application, the third information processing unit is further configured to, when the external application invokes the client to initiate a search, integrate the acquired search result information with the basic information to obtain a search result page.
According to a preferred embodiment of the present application, the second information processing unit is further configured to clear the cached search result information after obtaining the search result page or determining that the user leaves the search scenario.
An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method as described above.
A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method as described above.
One embodiment in the above application has the following advantages or benefits: in the process of inputting the keywords, when the keywords input each time change, the search result information corresponding to the currently input keywords can be obtained and cached, so that after the user finishes inputting, the search result information corresponding to the complete keywords input by the user can be cached greatly, the search result information corresponding to the complete keywords can be used directly, the basic information of the search result page can be cached in advance, the search result information corresponding to the complete keywords and the basic information can be integrated to obtain the search result page, the display speed of the search result page is further improved, in the process of inputting the keywords, the user requests partial data in the whole page each time, the search result information can be obtained in advance and simply, the resource consumption is reduced, and the like; in addition, the basic information can be pre-cached and effectively managed, such as timely updating and the like, so that the basic information can be directly used when needed, and the display speed of the search result page is further improved; the assembly of the search result page is completed at the client, so that the hardware resource investment of the server can be effectively reduced; in addition, the cached search result information can be cleared in time, so that storage resources and the like can be saved; other effects of the above-described alternative will be described below with reference to specific embodiments.
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 first embodiment of a method for generating a search result page according to the present application;
FIG. 2 is a flowchart of a second embodiment of a method for generating a search result page according to the present application;
FIG. 3 is a schematic diagram illustrating a structure of a search result page generating apparatus 300 according to an embodiment of the present application;
fig. 4 is a block diagram of an electronic device according to the method of 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.
In addition, it should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 is a flowchart of a first embodiment of a method for generating a search result page according to the present application. As shown in fig. 1, the following detailed implementation is included.
In 101, a client obtains a search request sent by a user, and loads basic information of a search result page cached locally.
In 102, the client obtains the keyword input by the user, and when the input keyword changes, obtains the search result information corresponding to the currently input keyword, and caches the search result information.
In 103, the client obtains a search instruction sent by the user, and if it is determined that search result information corresponding to a complete keyword input by the user is cached, the search result information corresponding to the complete keyword is integrated with the basic information to obtain a search result page.
In the embodiment, the content of the webpage can be disassembled and put on the client for assembly, basic information in the search result page, such as script, template file, style sheet file and other information (also called basic resource or basic data) irrelevant to the search result can be pre-cached, in addition, in the process of inputting the keyword by the user, the client can directly request the search result information from the search engine, and after the user finishes inputting, the requested search result information and the basic information can be integrated to obtain the search result page and display the search result page to the user.
Wherein, the client can meet any one of the following conditions: if the local un-cached basic information of the latest version is determined, the basic information of the latest version can be obtained from the server and local caching is carried out. The local un-cached basic information of the latest version can refer to that the basic information is not cached, or refer to that the basic information is cached but not the basic information of the latest version.
For example, after the client is successfully started, if it is determined that the basic information is not cached locally, the basic information of the latest version can be obtained from the server and cached locally, which contents are specifically included in the basic information can be determined according to actual needs, and this part of functions can be independent of a browsing kernel. The client can also acquire the latest version of the basic information from the server and update the locally cached basic information by using the acquired basic information if the basic information is updated through the server periodically or when a preset trigger condition is met. The specific trigger condition is not limited. The client can upload the version information of the locally cached basic information, and if the new version information is acquired from the server, the client can know that the basic information is updated, and accordingly, the client can acquire the latest version of the basic information from the server immediately or at a later moment and can update the locally cached basic information by using the acquired basic information.
In practical application, all basic information can be packaged and managed uniformly, and each kind of basic information can be managed separately.
When a user sends a search request, such as clicking a search box, the client may load the locally cached basic information. Preferably, the client may further determine whether the basic information of the latest version is cached locally, if so, the basic information may be loaded, and if not, the basic information of the latest version may be obtained from the server to be loaded and cached locally.
In the process of inputting the keywords by the user, the client can acquire the search result information corresponding to the currently input keywords and cache the search result information when the input keywords change every time. For example, if the user inputs "beijing" first, the search result information corresponding to "beijing" may be obtained and cached, and then the user inputs "national day festival", the search result information corresponding to "beijing national day festival" may be obtained and cached, and then the user inputs "weather", and then the search result information corresponding to "beijing national day festival" may be obtained and cached. The acquired search result information may be structured data, a web page, or the like.
After the client side obtains a search instruction sent by a user, if the user clicks a search button, whether search result information corresponding to a complete keyword input by the user is cached or not can be further determined, if yes, the search result information corresponding to the complete keyword and basic information can be integrated to obtain a search result page, if not, the search result information corresponding to the complete keyword is determined not to be cached, and after the search result information corresponding to the complete keyword is obtained, the search result information corresponding to the complete keyword and the basic information can be integrated to obtain the search result page.
Assuming that the 'Beijing national day festival weather' is a complete keyword input by the user, after the user inputs the 'Beijing national day festival weather', namely, the user can obtain the search result information corresponding to the "Beijing national day festival weather", and when the user clicks the search button, the search result information corresponding to "the day of the national festival of Beijing" may have already been acquired, or the search result information corresponding to "the day of the national festival of Beijing" may not have been acquired (in the process of being acquired), then for the former case, the search result information corresponding to the 'Beijing national day festival weather' can be directly integrated with the basic information to obtain a search result page, for the latter case, after the search result information corresponding to the "Beijing national day festival weather" is obtained, and integrating the search result information corresponding to the 'Beijing national day festival weather' with the basic information to obtain a search result page.
After the search result page is obtained or the user is determined to leave the search scene, the cached search result information can be cleared, so that the storage resources are saved and the like.
How the client integrates the search result information and the basic information corresponding to the complete keyword to obtain the search result page is not limited. For example, the cloud may configure and update the integration capability/manner of the client.
When the external application calls the client to initiate the search, the acquired search result information and the locally cached basic information can be integrated to obtain a search result page. For example, invoking a Baidu search client in a third-party application may be, for example, directly opening a Uniform Resource Locator (URL), and the like, and in this case, the obtained search result information may be directly integrated with the basic information, so that the display speed of the search result page is increased, and the like.
The client may also provide browsing capabilities for search result pages, such as may include loading, refreshing, forward, backward, favorites, and network request processing capabilities, among others.
Based on the foregoing description, fig. 2 is a flowchart of a second embodiment of a method for generating a search result page according to the present application. As shown in fig. 2, the following detailed implementation is included.
In 201, when it is determined that the user clicks the search box, the client determines whether the basic information of the latest version is cached locally, if so, 202 is executed, otherwise, 203 is executed.
In 202, the client loads the underlying information, followed by execution 204.
In 203, the client acquires the latest version of basic information from the server to load, performs local caching, and then executes 204.
The client can also meet any one of the following conditions: if the local un-cached basic information of the latest version is determined, the basic information of the latest version is obtained from the server side and local caching is carried out.
In 204, the client obtains the keyword input by the user, and when the input keyword changes, obtains the search result information corresponding to the currently input keyword, and caches the search result information.
In 205, when it is determined that the user clicks the search button, the client determines whether search result information corresponding to the complete keyword input by the user is cached, if so, 206 is executed, otherwise, 207 is executed.
In 206, the search result information corresponding to the complete keyword is integrated with the basic information to obtain a search result page, and the process is ended.
After the search result information corresponding to the complete keyword is obtained, the search result information corresponding to the complete keyword is integrated with the basic information to obtain a search result page, and the process is ended.
In addition, browsing capabilities may also be provided for search result pages, such as may include loading, refreshing, forward, backward, favorites, and network request processing capabilities, among others.
It is noted that while for simplicity of explanation, the foregoing method embodiments are described as a series of acts or combination of acts, those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In summary, by adopting the scheme of the embodiment of the method, when the keyword input by the user each time changes in the process of inputting the keyword, the search result information corresponding to the currently input keyword can be obtained and cached, so that after the user finishes inputting, the search result information corresponding to the complete keyword input by the user can be cached greatly, the search result information corresponding to the complete keyword can be directly used, the basic information of the search result page can be cached in advance, the search result information corresponding to the complete keyword and the basic information can be integrated to obtain the search result page, the display speed of the search result page is further improved, in addition, in the process of inputting the keyword, the user requests partial data in the whole page each time, and the advanced and simplified search result information obtaining is realized, and reduces resource consumption, etc.; in addition, the basic information can be pre-cached and effectively managed, such as timely updating and the like, so that the basic information can be directly used when needed, and the display speed of the search result page is further improved; the assembly of the search result page is completed at the client, so that the hardware resource investment of the server can be effectively reduced; in addition, the cached search result information can be cleared in time, so that storage resources and the like can be saved.
The above is a description of method embodiments, and the embodiments of the present application are further described below by way of apparatus embodiments.
Fig. 3 is a schematic structural diagram of an embodiment of a search result page generating device 300 according to the present application, where the device is applied to a client, and includes: a first information processing unit 301, a second information processing unit 302, and a third information processing unit 303.
The first information processing unit 301 is configured to obtain a search request sent by a user, and load basic information of a search result page cached locally.
The second information processing unit 302 is configured to obtain a keyword input by a user, and when the input keyword changes, obtain search result information corresponding to the currently input keyword, and perform caching.
The third information processing unit 303 is configured to obtain a search instruction sent by a user, and if it is determined that search result information corresponding to a complete keyword input by the user is cached, integrate the search result information corresponding to the complete keyword with the basic information to obtain a search result page.
The first information processing unit 301 may be configured to execute the following processing when any one of the following conditions is satisfied: if the local un-cached basic information of the latest version is determined, the basic information of the latest version can be obtained from the server and local caching is carried out.
When a user issues a search request, such as clicking on a search box, the first information processing unit 301 may load the locally cached basic information. Preferably, the first information processing unit 301 may further determine whether the basic information of the latest version is cached locally, if so, the basic information may be loaded, and if not, the basic information of the latest version may be acquired from the server for loading and caching locally.
In the process of inputting a keyword by a user, the second information processing unit 302 may acquire and cache search result information corresponding to the currently input keyword each time the input keyword changes.
After the user sends a search instruction, if the user clicks a search button, the third information processing unit 303 may determine whether search result information corresponding to a complete keyword input by the user is cached, if so, the search result information corresponding to the complete keyword may be integrated with the basic information to obtain a search result page, otherwise, it is determined that search result information corresponding to the complete keyword is not cached, and after the search result information corresponding to the complete keyword is obtained, the search result information corresponding to the complete keyword may be integrated with the basic information to obtain the search result page.
The third information processing unit 303 may further integrate the acquired search result information with the basic information to obtain a search result page when the external application invokes the client to initiate a search.
The second information processing unit 302 may also clear the cached search result information after getting the search result page or determining that the user leaves the search scene.
For a specific work flow of the apparatus embodiment shown in fig. 4, reference is made to the related description in the foregoing method embodiment, and details are not repeated.
In summary, by adopting the scheme of the embodiment of the application device, when the keyword input each time changes in the process of inputting the keyword, the user can obtain the search result information corresponding to the currently input keyword and cache the search result information, so that after the user finishes inputting, the search result information corresponding to the complete keyword input by the user can be cached greatly, the search result information corresponding to the complete keyword can be directly used, the basic information of the search result page can be cached in advance, the search result information corresponding to the complete keyword and the basic information can be integrated to obtain the search result page, the display speed of the search result page is further improved, in addition, in the process of inputting the keyword, the user requests partial data in the whole page each time, and the advanced and simplified search result information acquisition is realized, and reduces resource consumption, etc.; in addition, the basic information can be pre-cached and effectively managed, such as timely updating and the like, so that the basic information can be directly used when needed, and the display speed of the search result page is further improved; the assembly of the search result page is completed at the client, so that the hardware resource investment of the server can be effectively reduced; in addition, the cached search result information can be cleared in time, so that storage resources and the like can be saved.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 4 is a block diagram of an electronic device according to the 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. 4, the electronic apparatus includes: one or more processors Y01, a memory Y02, 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 for a graphical user interface 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, 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. 4, one processor Y01 is taken as an example.
Memory Y02 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the methods provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the methods provided herein.
Memory Y02, 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 methods in the embodiments of the present application (e.g., xx module X01, xx module X02, and xx module X03 shown in fig. X). The processor Y01 executes various functional applications of the server and data processing, i.e., implements the method in the above-described method embodiments, by executing non-transitory software programs, instructions, and modules stored in the memory Y02.
The memory Y02 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 according to use of the electronic device, and the like. Additionally, the memory Y02 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 Y02 may optionally include memory located remotely from processor Y01, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device may further include: an input device Y03 and an output device Y04. The processor Y01, the memory Y02, the input device Y03 and the output device Y04 may be connected by a bus or other means, and the bus connection is exemplified in fig. 4.
The input device Y03 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device, such as a touch screen, keypad, mouse, track pad, touch pad, pointer, one or more mouse buttons, track ball, joystick, or other input device. The output device Y04 may include a display device, an auxiliary lighting device, a tactile feedback device (e.g., a vibration motor), and the like. The display device may include, but is not limited to, a liquid crystal display, a light emitting diode 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 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) 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 cathode ray tube or a 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, wide area networks, and the internet.
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 (12)

1. A method for generating a search result page, comprising:
when a client acquires a search request sent by a user, loading basic information of a search result page cached locally;
the client side obtains the keywords input by the user, and when the input keywords change, the client side obtains search result information corresponding to the currently input keywords and caches the search result information;
and the client acquires a search instruction sent by the user, and if the search result information corresponding to the complete keyword input by the user is determined to be cached, the search result information corresponding to the complete keyword is integrated with the basic information to obtain a search result page.
2. The method of claim 1,
the method further comprises the following steps: and the client determines whether the basic information of the latest version is cached locally, if so, the basic information is loaded, and if not, the basic information of the latest version is obtained from the server for loading and local caching.
3. The method of claim 1,
the method further comprises the following steps: when any one of the following conditions is met: if the basic information of the latest version is determined not to be cached locally, the basic information of the latest version is obtained from the server side and is cached locally.
4. The method of claim 1,
the method further comprises the following steps: if the search result information corresponding to the complete keyword is not cached, after the search result information corresponding to the complete keyword is obtained, integrating the search result information corresponding to the complete keyword with the basic information to obtain a search result page.
5. The method of claim 1,
the method further comprises the following steps: and when the external application calls the client to initiate the search, the client integrates the acquired search result information with the basic information to obtain a search result page.
6. A search result page generation apparatus, applied to a client, comprising: a first information processing unit, a second information processing unit, and a third information processing unit;
the first information processing unit is used for loading the basic information of the search result page cached locally when the search request sent by the user is acquired;
the second information processing unit is used for acquiring the keywords input by the user, and acquiring the search result information corresponding to the currently input keywords and caching the search result information when the input keywords are changed;
and the third information processing unit is used for acquiring a search instruction sent by the user, and integrating the search result information corresponding to the complete keyword with the basic information to obtain a search result page if the search result information corresponding to the complete keyword input by the user is determined to be cached.
7. The apparatus of claim 6,
the first information processing unit is further configured to determine whether the basic information of the latest version is cached locally, if yes, load the basic information, and if not, acquire the basic information of the latest version from the server to load the basic information and perform local caching.
8. The apparatus of claim 6,
the first information processing unit is further configured to, when any one of the following conditions is met: if the basic information of the latest version is determined not to be cached locally, the basic information of the latest version is obtained from the server side and is cached locally.
9. The apparatus of claim 6,
the third information processing unit is further configured to, if search result information corresponding to the complete keyword is not cached, wait until the search result information corresponding to the complete keyword is obtained, integrate the search result information corresponding to the complete keyword with the basic information to obtain a search result page.
10. The apparatus of claim 6,
the third information processing unit is further configured to, when the external application invokes the client to initiate a search, integrate the acquired search result information with the basic information to obtain a search result page.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
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-5.
12. 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-5.
CN201911295372.0A 2019-12-16 2019-12-16 Search result page generation method and device, electronic equipment and storage medium Pending CN111177539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911295372.0A CN111177539A (en) 2019-12-16 2019-12-16 Search result page generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911295372.0A CN111177539A (en) 2019-12-16 2019-12-16 Search result page generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111177539A true CN111177539A (en) 2020-05-19

Family

ID=70650231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911295372.0A Pending CN111177539A (en) 2019-12-16 2019-12-16 Search result page generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111177539A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111814042A (en) * 2020-06-24 2020-10-23 浙江大华技术股份有限公司 Device search method, device search system, and computer-readable storage medium
CN112579897A (en) * 2020-12-16 2021-03-30 北京百度网讯科技有限公司 Information searching method and device
CN113127732A (en) * 2021-03-23 2021-07-16 金蝶蝶金云计算有限公司 Method and device for acquiring service data, computer equipment and storage medium
CN114428902A (en) * 2021-12-31 2022-05-03 北京百度网讯科技有限公司 Information searching method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984429A (en) * 2010-11-04 2011-03-09 百度在线网络技术(北京)有限公司 Method and device for acquiring destination page, search engine and browser
US20130036381A1 (en) * 2011-08-02 2013-02-07 Oracle International Corporation Framework to persist and retrieve previous searches based on the context
CN105095441A (en) * 2015-07-23 2015-11-25 百度在线网络技术(北京)有限公司 Information acquisition method and device
CN105354344A (en) * 2015-12-24 2016-02-24 北京金和网络股份有限公司 SEO (search engine optimization) system and method
CN105868319A (en) * 2016-03-25 2016-08-17 广州酷狗计算机科技有限公司 Web page loading method and device
CN106790334A (en) * 2015-11-25 2017-05-31 广州市动景计算机科技有限公司 A kind of page data transmission method and system
CN110502699A (en) * 2019-08-27 2019-11-26 百度在线网络技术(北京)有限公司 Method and apparatus for obtaining information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984429A (en) * 2010-11-04 2011-03-09 百度在线网络技术(北京)有限公司 Method and device for acquiring destination page, search engine and browser
US20130036381A1 (en) * 2011-08-02 2013-02-07 Oracle International Corporation Framework to persist and retrieve previous searches based on the context
CN105095441A (en) * 2015-07-23 2015-11-25 百度在线网络技术(北京)有限公司 Information acquisition method and device
CN106790334A (en) * 2015-11-25 2017-05-31 广州市动景计算机科技有限公司 A kind of page data transmission method and system
CN105354344A (en) * 2015-12-24 2016-02-24 北京金和网络股份有限公司 SEO (search engine optimization) system and method
CN105868319A (en) * 2016-03-25 2016-08-17 广州酷狗计算机科技有限公司 Web page loading method and device
CN110502699A (en) * 2019-08-27 2019-11-26 百度在线网络技术(北京)有限公司 Method and apparatus for obtaining information

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111814042A (en) * 2020-06-24 2020-10-23 浙江大华技术股份有限公司 Device search method, device search system, and computer-readable storage medium
CN112579897A (en) * 2020-12-16 2021-03-30 北京百度网讯科技有限公司 Information searching method and device
CN112579897B (en) * 2020-12-16 2023-07-28 北京百度网讯科技有限公司 Information searching method and device
CN113127732A (en) * 2021-03-23 2021-07-16 金蝶蝶金云计算有限公司 Method and device for acquiring service data, computer equipment and storage medium
CN113127732B (en) * 2021-03-23 2024-02-20 金蝶蝶金云计算有限公司 Service data acquisition method, device, computer equipment and storage medium
CN114428902A (en) * 2021-12-31 2022-05-03 北京百度网讯科技有限公司 Information searching method and device, electronic equipment and storage medium
WO2023125315A1 (en) * 2021-12-31 2023-07-06 北京百度网讯科技有限公司 Information search method and apparatus, electronic device and storage medium
CN114428902B (en) * 2021-12-31 2023-11-14 北京百度网讯科技有限公司 Information searching method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111159592B (en) Search result page generation method and device, electronic equipment and storage medium
CN111177539A (en) Search result page generation method and device, electronic equipment and storage medium
EP3896567B1 (en) Page pre-rendering method and apparatus, electronic device, and storage medium
KR102501968B1 (en) Mini app processing method, server, device, storage medium, and program
JP2021096857A (en) Data processing method, device, electronic apparatus, and storage medium
EP2732380A1 (en) Mobile web browser for pre-loading web pages
CN110704162B (en) Method, device and equipment for sharing container mirror image by physical machine and storage medium
CN111666585A (en) Method and device for accessing sub-application, electronic equipment and readable storage medium
US11768907B2 (en) Search method, search device, electronic device and storage medium
CN111694857B (en) Method, device, electronic equipment and computer readable medium for storing resource data
US20220294689A1 (en) Automated configuration of a content delivery network
US20170359434A1 (en) Web caching with image and local storage
KR20210089081A (en) Landing page processing method, device, equipment and medium
KR20210141412A (en) Method and device for obtaining page resources, electronic equipment and readable storage medium
US20230171329A1 (en) Systems and methods for rendering interactive web pages
EP3933619A1 (en) Data update method and device, search server, terminal, and storage medium
CN111339462A (en) Component rendering method, device, server, terminal and medium
JP7130803B2 (en) SEARCH METHOD, SEARCH DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM
CN111857656B (en) Data processing method, device, electronic equipment and storage medium
CN111506399B (en) Task migration method and device, electronic equipment and storage medium
CN113765979A (en) Information transmission method, system and device
JP7322194B2 (en) DATA UPDATE METHOD, DEVICE, SEARCH SERVER, TERMINAL AND STORAGE MEDIUM
CN111506420B (en) Memory synchronization method and device, electronic equipment and storage medium
CN112379945B (en) Method, apparatus, device and storage medium for running application
US10909209B2 (en) Dynamic insertion of content into webpages

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200519