CN111723309B - Method and device for web page searching - Google Patents

Method and device for web page searching Download PDF

Info

Publication number
CN111723309B
CN111723309B CN201910213547.2A CN201910213547A CN111723309B CN 111723309 B CN111723309 B CN 111723309B CN 201910213547 A CN201910213547 A CN 201910213547A CN 111723309 B CN111723309 B CN 111723309B
Authority
CN
China
Prior art keywords
page title
target
page
search
search bar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910213547.2A
Other languages
Chinese (zh)
Other versions
CN111723309A (en
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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201910213547.2A priority Critical patent/CN111723309B/en
Publication of CN111723309A publication Critical patent/CN111723309A/en
Application granted granted Critical
Publication of CN111723309B publication Critical patent/CN111723309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the disclosure discloses a method and a device for web page searching. One embodiment of the method comprises the following steps: in response to receiving a request to browse a target web page, displaying the target web page including a search field, wherein at least one page title for navigation is displayed in the search field; and in response to detecting that the user selects the target page title from at least one page title displayed in the search bar, executing the operation of jumping to the webpage corresponding to the target page title. According to the embodiment, the page navigation bar and the search bar are combined, so that the space of the page display core content can be increased, the operation time of a user can be shortened, and the efficiency is improved.

Description

Method and device for web page searching
Technical Field
Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method and apparatus for web searching.
Background
With the development of the internet, networks play an increasingly important role in the life of people, and people acquire information more quickly through the networks, but at the same time, because of the explosive growth of information, it becomes difficult to quickly find information which a user wants to acquire in a huge amount of information. Currently, the main display form of information on a network is WEB pages, so that page space becomes a precious resource gradually. The page space is reasonably utilized to display the core value of the enterprise, so that the cost can be reduced for the enterprise to acquire the user, and the efficiency of the user to acquire the effective information can be improved.
In order to improve efficiency, currently mainstream web page layout generally sets a search bar for users to search key information, and sets a navigation bar to facilitate users to jump to a target page quickly. Typically, the navigation bar is not used when the user looks up through the search bar, and the search bar is not used when the user jumps to the page through the navigation bar, i.e., the presence necessity of the search bar and the navigation bar at the time of use by the user is mutually exclusive. The navigation bar and the search bar are respectively and independently laid out and occupy a larger page space. Time and cost are required for going from the search bar to the navigation bar operation or from the navigation bar to the search bar operation. When the search bar is operated, the navigation bar is in an idle state, and when the navigation bar is operated, the search bar is in an idle state, but the elements in the idle state still occupy page space. The search bar keyword input area is idle and not effectively utilized.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for web page searching.
In a first aspect, embodiments of the present disclosure provide a method for web searching, including: in response to receiving a request to browse a target web page, displaying the target web page including a search field, wherein at least one page title for navigation is displayed in the search field; and in response to detecting that the user selects the target page title from at least one page title displayed in the search bar, executing the operation of jumping to the webpage corresponding to the target page title.
In some embodiments, the method comprises: in response to detecting that a user performs a predetermined clearing operation on the search bar, clearing page titles displayed in the search bar and displaying an input cursor; in response to receiving a search request including a keyword, the keyword is sent to a search engine.
In some embodiments, displaying at least one page title for navigation in a search bar includes: at least one page title for navigation is displayed in a search bar keyword input box in a font of a predetermined brightness.
In some embodiments, the operation of selecting a target page title from at least one page title displayed in the search bar includes at least one of: the mouse pointer stays above the target page title for more than a preset time, presses the target page title again, presses the target page title for a long time, and clicks the target page title.
In some embodiments, each page title corresponds to at least one sub-page title; the method further comprises: responding to the detection of the operation of selecting a target page title from at least one page title displayed in a search column by a user, and displaying at least one sub-page title corresponding to the target page title; and in response to detecting that the user selects the target sub-page title from at least one sub-page title corresponding to the target page title, executing the operation of jumping to the webpage corresponding to the target sub-page title.
In some embodiments, the selecting a target sub-page title from at least one sub-page title corresponding to the target page title includes at least one of: the mouse pointer stays above the target sub-page title for more than a preset time, presses the target sub-page title again, presses the target sub-page title for a long time, and clicks the target sub-page title.
In some embodiments, a predetermined clear operation is performed on the search bar, including at least one of: double-clicking in the search bar keyword input box, re-pressing in the search bar keyword input box, long-pressing in the search bar keyword input box, and clicking a clear button of the search bar keyword.
In a second aspect, embodiments of the present disclosure provide an apparatus for web searching, comprising: a display unit configured to display a target web page including a search field in which at least one page title for navigation is displayed in response to receiving a request to browse the target web page; and the jump unit is configured to respond to the detection of the operation of selecting a target page title from at least one page title displayed in the search column by a user, and execute the operation of jumping to a webpage corresponding to the target page title.
In some embodiments, the apparatus includes a search unit configured to: in response to detecting that a user performs a predetermined clearing operation on the search bar, clearing page titles displayed in the search bar and displaying an input cursor; in response to receiving a search request including a keyword, the keyword is sent to a search engine.
In some embodiments, the display unit is further configured to: at least one page title for navigation is displayed in a search bar keyword input box in a font of a predetermined brightness.
In some embodiments, the operation of selecting a target page title from at least one page title displayed in the search bar includes at least one of: the mouse pointer stays above the target page title for more than a preset time, presses the target page title again, presses the target page title for a long time, and clicks the target page title.
In some embodiments, each page title corresponds to at least one sub-page title; the apparatus further comprises: the display unit is configured to display at least one sub-page title corresponding to the target page title in response to detecting that a user selects the target page title from at least one page title displayed in the search bar; the jumping unit is further configured to perform an operation of jumping to a web page corresponding to the target sub-page title in response to detecting an operation of a user selecting the target sub-page title from at least one sub-page title corresponding to the target page title.
In some embodiments, the selecting a target sub-page title from at least one sub-page title corresponding to the target page title includes at least one of: the mouse pointer stays above the target sub-page title for more than a preset time, presses the target sub-page title again, presses the target sub-page title for a long time, and clicks the target sub-page title.
In some embodiments, a predetermined clear operation is performed on the search bar, including at least one of: double-clicking in the search bar keyword input box, re-pressing in the search bar keyword input box, long-pressing in the search bar keyword input box, and clicking a clear button of the search bar keyword.
In a third aspect, embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method as in any of the first aspects.
In a fourth aspect, embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program when executed by a processor implements a method as in any of the first aspects.
The embodiment of the invention provides a method and a device for searching web pages, which provide a search bar supporting a navigation function, and the combination of the page navigation bar and the search bar can reduce the invalid use of page space and increase the core content display space. The time cost of the user to switch between different modes of operation is reduced. The search bar space is effectively utilized, and idle waste is reduced.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings:
FIG. 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;
FIG. 2 is a flow chart of one embodiment of a method for web page searching according to the present disclosure;
3a, 3b, 3c, 3d are schematic diagrams of application scenarios of a method for web page searching according to the present disclosure;
FIG. 4 is a flow chart of yet another embodiment of a method for web page searching according to the present disclosure;
FIG. 5 is a schematic structural diagram of one embodiment of an apparatus for web page searching in accordance with the present disclosure;
fig. 6 is a schematic diagram of a computer system suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
FIG. 1 illustrates an exemplary system architecture 100 to which embodiments of the methods for web page searching or apparatuses for web page searching of the present disclosure may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping class application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like. When the terminal devices 101, 102, 103 are software, they can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., to provide distributed services), or as a single software or software module. The present invention is not particularly limited herein.
The server 105 may be a server providing various services, such as a background web server providing support for web pages displayed on the terminal devices 101, 102, 103. The background web server may analyze and process the received data such as the web page request, and feed back the processing result (e.g., web page data) to the terminal device.
The server may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (e.g., a plurality of software or software modules for providing distributed services), or as a single software or software module. The present invention is not particularly limited herein.
It should be noted that, the method for web searching provided by the embodiments of the present disclosure is generally performed by the terminal devices 101, 102, 103, and accordingly, the apparatus for web searching is generally provided in the terminal devices 101, 102, 103.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for web page searching according to the present disclosure is shown. The method for searching the web page comprises the following steps:
in response to receiving a request to browse a target web page, a target web page including a search bar is displayed, step 201.
In this embodiment, the execution body (for example, the terminal device shown in fig. 1) of the method for searching a web page may receive a browsing request of a user to browse a target web page, and then send the browsing request to a server, obtain the target web page returned by the server, and display the web page. Wherein, at least one page title for navigation is displayed in the search field of the target webpage (as shown in fig. 3 b), and each page title may correspond to at least one sub-page title (as shown in fig. 3 c).
The layout scheme of the existing web page is generally to set a navigation bar in the left area of the page to list all page entries of the website. A search bar is set in the upper area of the page for the user to search the information in the station, and fig. 3a is a typical page layout mode in the prior art. As shown in fig. 3a, a navigation bar is set on the left side of the page to display all page entries of the current website, each entry corresponds to a link of a specific page, and when the user clicks on the specific link, the page is jumped. A search bar is arranged in the upper right area of the page, a user inputs keywords in the search bar, and clicks a search button to search for corresponding information. The lower right area of the page is the core content display area.
The method and the device utilize mutual exclusivity of the search bar and the navigation bar when the user uses, combine the navigation bar and the search bar, and remove the navigation bar which is independently arranged in the page. The requirements of searching key information and jumping to a target page by a user are simultaneously met in a search bar area through a JavaScript event processing technology. FIG. 3b illustrates the page layout effect after using the search bar with navigation.
Step 202, in response to detecting that the user selects the target page title from at least one page title displayed in the search bar, performing an operation of jumping to a web page corresponding to the target page title.
In the present embodiment, when the user performs a selection operation (e.g., clicks on a target page title), an action of jumping to a page is performed, completing jumping to a target page represented by the target page title. And when the user clicks on the target sub-page title, jumping to the corresponding target sub-page. Thereby completing the user navigation requirements.
In some optional implementations of this embodiment, in response to detecting that the user selects the target page title from the at least one page title displayed in the search field, at least one sub-page title corresponding to the target page title is displayed.
In this embodiment, the page title to be skipped may be displayed in the search bar key input box in a low-brightness font or a font different from the color of the "search" key in the initial state. When a user moves the mouse to a specific target page title, the title is highlighted through a JavaScript event processing technology, the shape of the mouse is set to be a hand, a drop-down panel is displayed at the lower part of a search bar, and all sub pages under the page are displayed. The effect is shown in figure 3 c.
In some optional implementations of this embodiment, the selecting a target page title from at least one page title displayed in the search field includes at least one of: the mouse pointer stays above the target page title for more than a preset time, presses the target page title again, presses the target page title for a long time, and clicks the target page title. The operation of pressing again, pressing for a long time and the like is suitable for the touch screen terminal. The operation of the mouse is applicable to non-touch screen terminals. The clicking operation may be used for both touch screen terminals and non-touch screen terminals.
In some optional implementations of this embodiment, selecting the target sub-page title from the at least one sub-page title corresponding to the target page title includes at least one of: the mouse pointer stays above the target sub-page title for more than a preset time, presses the target sub-page title again, presses the target sub-page title for a long time, and clicks the target sub-page title. The operation of pressing again, pressing for a long time and the like is suitable for the touch screen terminal. The operation of the mouse is applicable to non-touch screen terminals. The clicking operation may be used for both touch screen terminals and non-touch screen terminals.
With further reference to FIG. 4, a flow 400 of yet another embodiment of a method for web page searching is shown. The process 400 of the method for web page searching includes the steps of:
in response to receiving the request to browse the target web page, the target web page including the search bar is displayed, step 401.
Step 401 is substantially the same as step 201 and will not be described again.
In response to detecting that the user performs a predetermined clear operation on the search bar, the page title displayed in the search bar is cleared and an input cursor is displayed, step 402.
In this embodiment, when the user performs a predetermined clearing operation on the search bar (for example, double-clicking the mouse in the keyword input box of the search bar), the page title in the input box is cleared by the JavaScript event processing technology, an input cursor is displayed for the user to input a search keyword, and after the input is completed, the search button after clicking the input box is used to perform keyword search. Thereby completing the user's need to search for information.
In some alternative implementations of the present embodiment, performing a predetermined clear operation on the search bar includes at least one of: double-clicking in the search bar keyword input box, re-pressing in the search bar keyword input box, long-pressing in the search bar keyword input box, and clicking a clear button of the search bar keyword. The clear operation is to be distinguished from the title selection operation.
Step 403, in response to receiving a search request including a keyword, sending the keyword to a search engine.
In this embodiment, the keyword determined by the user is sent to the search engine, and the search engine feeds back the search result. The search engine may be located at a remote server or may be located locally.
The method provided by the embodiment of the disclosure utilizes mutual exclusivity of the search bar and the navigation bar when the user uses, combines the navigation bar and the search bar, and removes the navigation bar which is independently arranged in the page. The requirements of searching key information and jumping to a target page by a user are simultaneously met in a search bar area through a JavaScript event processing technology. The page core content presentation area is increased. The time cost of the user going from the search bar to the navigation bar or vice versa is reduced. The space utilization rate of the search bar is improved, and the waste of space resources is reduced.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of an apparatus for web searching, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the apparatus 500 for web searching of the present embodiment includes: a display unit 501 and a skip unit 502 and a skip unit. Wherein the display unit 501 is configured to display a target web page including a search field in which at least one page title for navigation is displayed in response to receiving a request to browse the target web page. And a jumping unit 502 configured to perform an operation of jumping to a web page corresponding to a target page title in response to detecting an operation of selecting the target page title from at least one page title displayed in the search field by a user.
In this embodiment, the specific processing of the display unit 501 and the skip unit 502 of the apparatus 500 for web page search may refer to steps 201 and 202 in the corresponding embodiment of fig. 2.
In some optional implementations of this embodiment, each page title corresponds to at least one sub-page title; the apparatus further comprises: a presentation unit 503 configured to present at least one sub-page title corresponding to a target page title in response to detecting an operation of a user selecting the target page title from at least one page title displayed in a search field; the jumping unit is further configured to perform an operation of jumping to a web page corresponding to the target sub-page title in response to detecting an operation of a user selecting the target sub-page title from at least one sub-page title corresponding to the target page title.
In some optional implementations of the present embodiment, the apparatus 500 includes a search unit 504 configured to: in response to detecting that a user performs a predetermined clearing operation on the search bar, clearing page titles displayed in the search bar and displaying an input cursor; in response to receiving a search request including a keyword entered by a user, the keyword is sent to a search engine.
In some optional implementations of the present embodiment, the display unit 501 is further configured to: at least one page title for navigation is displayed in a search bar keyword input box in a font of a predetermined brightness.
In some optional implementations of this embodiment, the selecting a target page title from at least one page title displayed in the search bar includes at least one of: the mouse pointer stays above the target page title for more than a preset time, presses the target page title again, presses the target page title for a long time, and clicks the target page title.
In some optional implementations of this embodiment, the selecting a target sub-page title from at least one sub-page title corresponding to the target page title includes at least one of: the mouse pointer stays above the target sub-page title for more than a preset time, presses the target sub-page title again, presses the target sub-page title for a long time, and clicks the target sub-page title.
In some alternative implementations of the present embodiment, performing a predetermined clear operation on the search bar includes at least one of: double-clicking in the search bar keyword input box, re-pressing in the search bar keyword input box, long-pressing in the search bar keyword input box, and clicking a clear button of the search bar keyword.
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., end device in fig. 1) 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), car terminals (e.g., car navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The terminal device shown in fig. 6 is only one example, and should not impose any limitation on the functions and scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data required for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 shows an electronic device 600 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 6 may represent one device or a plurality of devices as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing means 601. It should be noted that, the computer readable medium according to the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In an embodiment of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Whereas in embodiments of the present disclosure, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to receiving a request to browse a target web page, displaying the target web page including a search field, wherein at least one page title for navigation is displayed in the search field; and in response to detecting that the user selects the target page title from at least one page title displayed in the search bar, executing the operation of jumping to the webpage corresponding to the target page title.
Computer program code for carrying out operations of embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments described in the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes a display unit, a jump unit. Wherein the names of the units do not constitute a limitation of the unit itself in some cases, for example, the display unit may also be described as "a unit that displays a target web page including a search bar in response to receiving a request to browse the target web page".
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention referred to in this disclosure is not limited to the specific combination of features described above, but encompasses other embodiments in which any combination of features described above or their equivalents is contemplated without departing from the inventive concepts described. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).

Claims (16)

1. A method for web page searching, comprising:
in response to receiving a request for browsing a target webpage, displaying the target webpage comprising a search bar, wherein at least one page title for navigation is displayed in the search bar, combining the navigation bar with the search bar, removing the navigation bar which is independently arranged in the page, and simultaneously meeting the requirements of a user for searching key information and jumping to the target page in the search bar area through a JavaScript event processing technology;
and responding to the operation of detecting that a user selects a target page title from at least one page title displayed in the search bar, and executing the operation of jumping to a webpage corresponding to the target page title, wherein the page title needing to be jumped is displayed in a keyword input frame of the search bar in a low-brightness font or a font different from the color of a search key in an initial state, when the user moves a mouse to a specific target page title, the title is highlighted through a JavaScript event processing technology, the shape of the mouse is set to be a hand shape, and meanwhile, a pull-down panel is displayed at the lower part of the search bar, and all sub pages below the page are displayed.
2. The method according to claim 1, wherein the method comprises:
in response to detecting that the user performs a predetermined clearing operation on the search bar, clearing page titles displayed in the search bar and displaying an input cursor;
and sending the keywords to a search engine in response to receiving a search request comprising the keywords input by the user.
3. The method of claim 1, wherein displaying at least one page title for navigation in the search bar comprises:
at least one page title for navigation is displayed in a search bar keyword input box in a font of a predetermined brightness.
4. The method of claim 1, wherein the selecting a target page title from at least one page title displayed in the search bar comprises at least one of:
the mouse pointer stays above the target page title for more than a preset time, presses the target page title again, presses the target page title for a long time, and clicks the target page title.
5. The method of claim 1 or 4, wherein each page title corresponds to at least one sub-page title; the method further comprises:
responding to the detection of the operation of selecting a target page title from at least one page title displayed in the search column by a user, and displaying at least one sub-page title corresponding to the target page title;
and in response to detecting the operation of selecting the target sub-page title from at least one sub-page title corresponding to the target page title by the user, executing the operation of jumping to the webpage corresponding to the target sub-page title.
6. The method of claim 5, wherein the selecting the target sub-page title from the at least one sub-page title corresponding to the target page title comprises at least one of:
the mouse pointer stays above the target sub-page title for more than a preset time, presses the target sub-page title again, presses the target sub-page title for a long time, and clicks the target sub-page title.
7. The method of claim 2, wherein the performing a predetermined clear operation on the search bar comprises at least one of:
double-clicking in the search bar keyword input box, re-pressing in the search bar keyword input box, long-pressing in the search bar keyword input box, and clicking a clear button of the search bar keyword.
8. An apparatus for web page searching, comprising:
the display unit is configured to respond to the received request for browsing the target webpage, and display the target webpage comprising a search column, wherein at least one page title for navigation is displayed in the search column, the navigation column and the search column are combined, the navigation column which is independently arranged in the page is removed, and the requirements of searching key information and jumping to the target page by a user are simultaneously met in the search column area through a JavaScript event processing technology;
and a jump unit configured to execute an operation of jumping to a web page corresponding to the target page title in response to detecting an operation of selecting the target page title from at least one page title displayed in the search bar by a user, wherein the page title to be jumped is displayed in a search bar keyword input frame in a low-brightness font or a font different from the color of a search key in an initial state, when the user moves a mouse to a specific target page title, the title is highlighted through a JavaScript event processing technology, the shape of the mouse is set to be a hand shape, and simultaneously, a drop-down panel is displayed at the lower part of the search bar, and all sub pages below the page are displayed.
9. The apparatus of claim 8, wherein the apparatus comprises a search unit configured to:
in response to detecting that the user performs a predetermined clearing operation on the search bar, clearing page titles displayed in the search bar and displaying an input cursor;
and sending the keywords to a search engine in response to receiving a search request comprising the keywords input by the user.
10. The apparatus of claim 8, wherein the display unit is further configured to:
at least one page title for navigation is displayed in a search bar keyword input box in a font of a predetermined brightness.
11. The apparatus of claim 8, wherein the selecting a target page title from at least one page title displayed in the search bar comprises at least one of:
the mouse pointer stays above the target page title for more than a preset time, presses the target page title again, presses the target page title for a long time, and clicks the target page title.
12. The apparatus of claim 8, wherein each page title corresponds to at least one sub-page title; the apparatus further comprises:
the display unit is configured to display at least one sub-page title corresponding to the target page title in response to detecting that a user selects the target page title from at least one page title displayed in the search bar;
the jumping unit is further configured to perform an operation of jumping to a web page corresponding to the target sub-page title in response to detecting an operation of the user selecting the target sub-page title from at least one sub-page title corresponding to the target page title.
13. The apparatus of claim 12, wherein the selecting the target sub-page title from the at least one sub-page title corresponding to the target page title comprises at least one of:
the mouse pointer stays above the target sub-page title for more than a preset time, presses the target sub-page title again, presses the target sub-page title for a long time, and clicks the target sub-page title.
14. The apparatus of claim 9, wherein the performing a predetermined clear operation on the search bar comprises at least one of:
double-clicking in the search bar keyword input box, re-pressing in the search bar keyword input box, long-pressing in the search bar keyword input box, and clicking a clear button of the search bar keyword.
15. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-7.
16. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1-7.
CN201910213547.2A 2019-03-20 2019-03-20 Method and device for web page searching Active CN111723309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910213547.2A CN111723309B (en) 2019-03-20 2019-03-20 Method and device for web page searching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910213547.2A CN111723309B (en) 2019-03-20 2019-03-20 Method and device for web page searching

Publications (2)

Publication Number Publication Date
CN111723309A CN111723309A (en) 2020-09-29
CN111723309B true CN111723309B (en) 2024-04-05

Family

ID=72562929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910213547.2A Active CN111723309B (en) 2019-03-20 2019-03-20 Method and device for web page searching

Country Status (1)

Country Link
CN (1) CN111723309B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112346612B (en) * 2020-10-27 2022-09-06 上海连尚网络科技有限公司 Page display method and device
CN113821716A (en) * 2021-01-12 2021-12-21 北京沃东天骏信息技术有限公司 Information searching method and device
CN117454336B (en) * 2023-12-22 2024-03-15 厦门天锐科技股份有限公司 Anti-disclosure method and device for adding watermark to target webpage

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256596A (en) * 2008-03-28 2008-09-03 北京搜狗科技发展有限公司 Method and system for instation guidance
WO2013078665A1 (en) * 2011-12-01 2013-06-06 Motorola Mobility, Inc. Methods performed by electronic devices that facilitate navigating a webpage
CN103324694A (en) * 2013-06-01 2013-09-25 魏新成 Method of clicking left button in address search box of browser to activate and display navigation browser window
CN104376069A (en) * 2014-11-12 2015-02-25 北京搜狗科技发展有限公司 Method and device for searching address bar of browser for webpage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256596A (en) * 2008-03-28 2008-09-03 北京搜狗科技发展有限公司 Method and system for instation guidance
WO2013078665A1 (en) * 2011-12-01 2013-06-06 Motorola Mobility, Inc. Methods performed by electronic devices that facilitate navigating a webpage
CN103324694A (en) * 2013-06-01 2013-09-25 魏新成 Method of clicking left button in address search box of browser to activate and display navigation browser window
CN104376069A (en) * 2014-11-12 2015-02-25 北京搜狗科技发展有限公司 Method and device for searching address bar of browser for webpage

Also Published As

Publication number Publication date
CN111723309A (en) 2020-09-29

Similar Documents

Publication Publication Date Title
CN111414498B (en) Multimedia information recommendation method and device and electronic equipment
CN111510760B (en) Video information display method and device, storage medium and electronic equipment
CN110673772B (en) Page returning method and device, electronic equipment and computer readable medium
CN111368185B (en) Data display method and device, storage medium and electronic equipment
US20220261127A1 (en) Information display method and apparatus, electronic device, and computer readable medium
EP3955153A1 (en) Method and apparatus for inserting information into online document
WO2022002066A1 (en) Method and apparatus for browsing table in document, and electronic device and storage medium
CN111723309B (en) Method and device for web page searching
CN111400625B (en) Page processing method and device, electronic equipment and computer readable storage medium
US20220374538A1 (en) Permission control method and device and electronic equipment
CN110633126B (en) Information display method and device and electronic equipment
EP4131023A1 (en) Information pushing method and apparatus, electronic device, and storage medium
CN111857720B (en) User interface state information generation method and device, electronic equipment and medium
CN111258736B (en) Information processing method and device and electronic equipment
CN113542336A (en) Information switching sharing method and device, electronic equipment and storage medium
CN110825481A (en) Method and device for displaying page information corresponding to page tag and electronic equipment
CN114201705A (en) Video processing method and device, electronic equipment and storage medium
WO2024056040A1 (en) Multimedia information display method and apparatus, and electronic device
CN111353296B (en) Article processing method, apparatus, electronic device and computer readable storage medium
US20230276079A1 (en) Live streaming room page jump method and apparatus, live streaming room page return method and apparatus, and electronic device
CN110069186B (en) Method and equipment for displaying operation interface of application
CN114520928B (en) Display information generation method, information display device and electronic equipment
CN112114735B (en) Method and device for managing tasks
CN111460769B (en) Article issuing method and device, storage medium and electronic equipment
CN115933919A (en) Interaction method, interaction device, electronic equipment and computer-readable storage medium

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