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

Method and device for searching web page Download PDF

Info

Publication number
CN111723309A
CN111723309A CN201910213547.2A CN201910213547A CN111723309A CN 111723309 A CN111723309 A CN 111723309A CN 201910213547 A CN201910213547 A CN 201910213547A CN 111723309 A CN111723309 A CN 111723309A
Authority
CN
China
Prior art keywords
page title
target
search bar
page
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910213547.2A
Other languages
Chinese (zh)
Other versions
CN111723309B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure discloses a method and a device for searching a webpage. One embodiment of the method comprises: in response to receiving a request to browse a target web page, displaying the target web page including a search bar, wherein at least one page title for navigation is displayed in the search bar; and responding to the detected operation that the user selects the target page title from at least one page title displayed in the search bar, and 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 for displaying the core content of the page can be increased, the operation time of a user can be reduced, and the efficiency is improved.

Description

Method and device for searching web page
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method and a device for searching web pages.
Background
With the development of the internet, the network plays an increasingly important role in the life of people, people can acquire information more quickly through the network, but at the same time, due to the explosive growth of the information, the information which users want to obtain is difficult to find quickly in mass information. Currently, the main presentation form of information on the network is WEB pages, and therefore, the page space is gradually becoming a precious resource. The core value of the enterprise is displayed reasonably by utilizing the page space, so that the cost of the enterprise for acquiring the user can be reduced, and meanwhile, the efficiency of the user for acquiring the effective information can be improved.
In the current mainstream web page layout, in order to improve efficiency, a search bar is usually set for a user to search key information, and a navigation bar is set for the user to conveniently and quickly jump to a target page. Generally, when a user searches through the search bar, the navigation bar is not used, and when the user jumps to a page through the navigation bar, the search bar is not used, that is, the existence necessity of the search bar and the navigation bar in the use of the user is mutually exclusive. The navigation bar and the search bar are respectively and independently arranged, and occupy larger page space. The operation from the search bar to the navigation bar or the operation from the navigation bar to the search bar consumes time and cost. Usually, 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 the page space. The search bar keyword input area is idle and not utilized effectively.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for webpage searching.
In a first aspect, an embodiment of the present disclosure provides a method for web page search, including: in response to receiving a request to browse a target web page, displaying the target web page including a search bar, wherein at least one page title for navigation is displayed in the search bar; and responding to the detected operation that the user selects the target page title from at least one page title displayed in the search bar, and executing the operation of jumping to the webpage corresponding to the target page title.
In some embodiments, the method comprises: clearing a page title displayed in the search bar and displaying an input cursor in response to detecting that a user performs a predetermined clearing operation on the search bar; in response to receiving a search request that includes a keyword, the keyword is sent to a search engine.
In some embodiments, displaying at least one page title for navigation in the search bar comprises: at least one page title for navigation is displayed within the search bar keyword input box in a font of a predetermined brightness.
In some embodiments, selecting the target page title from the at least one page title displayed in the search field comprises at least one of: and the mouse pointer stays on the target page title for more than preset time, the target page title is pressed again, the target page title is pressed for a long time, and the target page title is clicked.
In some embodiments, each page title corresponds to at least one sub-page title; and the method further comprises: in response to detecting that a user selects a target page title from at least one page title displayed in the search bar, displaying at least one sub-page title corresponding to the target page title; and responding to the detected operation that the user selects the target sub-page title from at least one sub-page title corresponding to the target page title, and executing the operation of jumping to the webpage corresponding to the target sub-page title.
In some embodiments, the operation of 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: and the mouse pointer stays on the target sub-page title for more than preset time, the target sub-page title is pressed again, the target sub-page title is pressed for a long time, and the target sub-page title is clicked.
In some embodiments, the predetermined cleanup operation is performed on the search bar, including at least one of: double-clicking in the keyword input box of the search bar, re-pressing in the keyword input box of the search bar, long-pressing in the keyword input box of the search bar, and clicking a clearing button of the keywords of the search bar.
In a second aspect, an embodiment of the present disclosure provides an apparatus for web page search, including: a display unit configured to display a target web page including a search bar 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 jumping unit is configured to respond to the operation that the user selects a target page title from at least one page title displayed in the search bar, and execute the operation of jumping to the webpage corresponding to the target page title.
In some embodiments, the apparatus comprises a search unit configured to: clearing a page title displayed in the search bar and displaying an input cursor in response to detecting that a user performs a predetermined clearing operation on the search bar; in response to receiving a search request that includes 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 within the search bar keyword input box in a font of a predetermined brightness.
In some embodiments, selecting the target page title from the at least one page title displayed in the search field comprises at least one of: and the mouse pointer stays on the target page title for more than preset time, the target page title is pressed again, the target page title is pressed for a long time, and the target page title is clicked.
In some embodiments, each page title corresponds to at least one sub-page title; and the apparatus further comprises: the display unit is configured to respond to the operation that a user selects a target page title from at least one page title displayed in the search bar, and display at least one sub-page title corresponding to the target page title; the jumping unit is further configured to execute an operation of jumping to a webpage corresponding to the target sub-page title 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.
In some embodiments, the operation of 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: and the mouse pointer stays on the target sub-page title for more than preset time, the target sub-page title is pressed again, the target sub-page title is pressed for a long time, and the target sub-page title is clicked.
In some embodiments, the predetermined cleanup operation is performed on the search bar, including at least one of: double-clicking in the keyword input box of the search bar, re-pressing in the keyword input box of the search bar, long-pressing in the keyword input box of the search bar, and clicking a clearing button of the keywords of the search bar.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: 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 a method as in any one of the first aspects.
In a fourth aspect, embodiments of the 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 one of the first aspect.
The method and the device for searching the webpage provided by the embodiment of the disclosure provide the search bar supporting the navigation function, and the page navigation bar and the search bar are combined, so that the invalid use of a page space can be reduced, and the core content display space is increased. The time cost for switching between different operation modes of a user is reduced. Effectively utilize search bar space, reduce idle waste.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present disclosure may be applied;
FIG. 2 is a flow diagram for 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 the method for web page search according to the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of a method for web page searching according to the present disclosure;
FIG. 5 is a schematic diagram illustrating an embodiment of an apparatus for web page searching according to the present disclosure;
FIG. 6 is a schematic block diagram of a computer system suitable for use with an electronic device implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. 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 method for web page search or apparatus for web page search of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal apparatuses 101, 102, and 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 smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services) or as a single piece of software or software module. And 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 perform other processing on the received data such as the web page request, and feed back a processing result (e.g., web page data) to the terminal device.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for web page search provided by the embodiment of the present disclosure is generally executed by the terminal devices 101, 102, 103, and accordingly, the apparatus for web page search is generally disposed 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 in accordance with the present disclosure is shown. The method for searching the web page comprises the following steps:
step 201, in response to receiving a request for browsing a target web page, displaying the target web page including a search bar.
In this embodiment, an execution body (for example, the terminal device shown in fig. 1) of the method for web page search may receive a browsing request of a user to browse a target web page, and then send the browsing request to the server, obtain the target web page returned by the server, and display the web page. At least one page title for navigation is displayed in the search bar of the target web page (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 generally sets a navigation bar in the left area of the web page, and lists all the web page entries of the web site. A search bar is arranged in the upper area of the page for a user to search information in the station, and fig. 3a is a more typical page layout mode in the existing scheme. As shown in fig. 3a, a navigation bar is provided 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 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 corresponding information. The lower right area of the page is a core content display area.
The method and the device have the advantages that the mutual exclusion of the search bar and the navigation bar when the user uses the search bar and the navigation bar is utilized, the navigation bar and the search bar are combined, and the navigation bar which is independently arranged in the page is removed. The requirement that a user searches key information and jumps to a target page is met in the search bar area through a JavaScript event processing technology. FIG. 3b illustrates the page layout effect after using the search bar with navigation function.
Step 202, in response to detecting that the user selects the target page title from the at least one page title displayed in the search bar, executing an operation of jumping to the webpage corresponding to the target page title.
In this embodiment, when the user performs a selection operation (e.g., clicking a target page title), the action of jumping to a page is performed, and jumping to a target page represented by the target page title is completed. And when the user clicks the title of the target sub-page, jumping to the corresponding target sub-page. Thereby fulfilling the user navigation requirements.
In some optional implementations of the embodiment, in response to detecting that the user selects the target page title from the at least one page title displayed in the search bar, at least one sub-page title corresponding to the target page title is displayed.
In this embodiment, the page title to be jumped may be displayed in the search bar keyword input box in a low-brightness font or in a font different from the color of the "search" button in the initial state. When a 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 on the lower portion of a search bar, and all sub-pages below the page are displayed. The effect is shown in figure 3 c.
In some optional implementations of this embodiment, the operation of selecting the target page title from the at least one page title displayed in the search bar includes at least one of: and the mouse pointer stays on the target page title for more than preset time, the target page title is pressed again, the target page title is pressed for a long time, and the target page title is clicked. 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 suitable for a non-touch screen terminal. The single-click operation can be used for both the touch screen terminal and the non-touch screen terminal.
In some optional implementations of this embodiment, the operation of 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: and the mouse pointer stays on the target sub-page title for more than preset time, the target sub-page title is pressed again, the target sub-page title is pressed for a long time, and the target sub-page title is clicked. 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 suitable for a non-touch screen terminal. The single-click operation can be used for both the touch screen terminal and the non-touch screen terminal.
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 search includes the following steps:
step 401, in response to receiving a request to browse a target web page, displaying the target web page including a search bar.
Step 401 is substantially the same as step 201, and therefore is not described again.
Step 402, in response to detecting that the user performs a predetermined clearing operation on the search bar, clearing the page title displayed in the search bar and displaying an input cursor.
In this embodiment, when the user performs a predetermined clearing operation on the search bar (for example, double-clicking a mouse in the keyword input box of the search bar), the JavaScript event processing technique is used to clear the page title in the input box, display the input cursor for the user to input the search keyword, and click the search button after the input box to perform keyword search after the input is completed. Thereby fulfilling the user's need to search for information.
In some optional implementations of the embodiment, the predetermined clearing operation is performed on the search bar, and includes at least one of: double-clicking in the keyword input box of the search bar, re-pressing in the keyword input box of the search bar, long-pressing in the keyword input box of the search bar, and clicking a clearing button of the keywords of the search bar. The clear operation is to be distinguished from the select operation of the title.
In response to receiving a search request including a keyword, step 403 sends the keyword to a search engine.
In this embodiment, the keyword determined by the user is sent to the search engine, and the search result is fed back by the search engine. The search engine may be located remotely from the server or locally.
The method provided by the embodiment of the disclosure combines the navigation bar and the search bar by utilizing the mutual exclusivity of the search bar and the navigation bar when the user uses the method, and removes the navigation bar which is independently arranged in the page. The requirement that a user searches key information and jumps to a target page is met in the search bar area through a JavaScript event processing technology. The page core content presentation area is increased. The time cost for the user to go 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 methods shown in the above-mentioned figures, the present disclosure provides an embodiment of an apparatus for web page search, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the apparatus 500 for web page search of the present embodiment includes: a display unit 501, a jump unit 502 and a jump unit. Wherein the display unit 501 is configured to display a target web page including a search bar in which at least one page title for navigation is displayed in response to receiving a request to browse the target web page. A jumping unit 502 configured to, in response to detecting that a user selects a target page title from at least one page title displayed in the search bar, execute an operation of jumping to a web page corresponding to the target page title.
In this embodiment, the specific processing of the display unit 501 and the jumping unit 502 of the apparatus 500 for web page search may refer to step 201 and step 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; and the apparatus further comprises: a presentation unit 503 configured to, in response to detecting that a user selects a target page title from at least one page title displayed in the search bar, present at least one sub-page title corresponding to the target page title; the jumping unit is further configured to execute an operation of jumping to a webpage corresponding to the target sub-page title 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.
In some optional implementations of this embodiment, the apparatus 500 comprises a search unit 504 configured to: clearing a page title displayed in the search bar and displaying an input cursor in response to detecting that a user performs a predetermined clearing operation on the search bar; in response to receiving a search request including a keyword input 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 within the search bar keyword input box in a font of a predetermined brightness.
In some optional implementations of the embodiment, the operation of selecting the target page title from the at least one page title displayed in the search bar includes at least one of: and the mouse pointer stays on the target page title for more than preset time, the target page title is pressed again, the target page title is pressed for a long time, and the target page title is clicked.
In some optional implementations of this embodiment, the operation of selecting the target sub-page title from at least one sub-page title corresponding to the target page title includes at least one of: and the mouse pointer stays on the target sub-page title for more than preset time, the target sub-page title is pressed again, the target sub-page title is pressed for a long time, and the target sub-page title is clicked.
In some optional implementations of the embodiment, the predetermined clearing operation is performed on the search bar, and includes at least one of: double-clicking in the keyword input box of the search bar, re-pressing in the keyword input box of the search bar, long-pressing in the keyword input box of the search bar, and clicking a clearing button of the keywords of the search bar.
Referring now to FIG. 6, a schematic diagram of an electronic device (e.g., the end device of FIG. 1) 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the use range of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with 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 necessary 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 via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, 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 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the 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 illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure. It should be noted that the computer readable medium described in 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. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 embodiments of the 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. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled 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 bar, wherein at least one page title for navigation is displayed in the search bar; and responding to the detected operation that the user selects the target page title from at least one page title displayed in the search bar, and executing the operation of jumping to the webpage corresponding to the target page title.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 described in the embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a display unit and a jump unit. Where the names of these elements do not in some cases constitute a limitation on the elements themselves, for example, the display element may also be described as "an element 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 exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (16)

1. A method for web page searching, comprising:
in response to receiving a request to browse a target web page, displaying the target web page including a search bar, wherein at least one page title for navigation is displayed in the search bar;
and responding to the operation that the user selects a target page title from at least one page title displayed in the search bar, and executing the operation of jumping to the webpage corresponding to the target page title.
2. The method of claim 1, wherein the method comprises:
clearing a page title displayed in the search bar and displaying an input cursor in response to detecting that the user performs a predetermined clearing operation on the search bar;
in response to receiving a search request including the user-entered keyword, the keyword is sent to a search engine.
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 within the search bar keyword input box in a font of a predetermined brightness.
4. The method of claim 1, wherein the operation of selecting a target page title from at least one page title displayed in the search bar comprises at least one of:
and the mouse pointer stays on the target page title for more than preset time, the target page title is pressed again, the target page title is pressed for a long time, and the target page title is clicked.
5. The method of claim 1 or 4, wherein each page title corresponds to at least one sub-page title; and the method further comprises:
in response to detecting that a user selects a target page title from at least one page title displayed in the search bar, displaying at least one sub-page title corresponding to the target page title;
and responding to the operation that the user selects the target sub-page title from at least one sub-page title corresponding to the target page title, and executing the operation of jumping to the webpage corresponding to the target sub-page title.
6. The method of claim 5, wherein the selecting a target sub-page title from at least one sub-page title corresponding to the target page title comprises at least one of:
and the mouse pointer stays on the target sub-page title for more than preset time, the target sub-page title is pressed again, the target sub-page title is pressed for a long time, and the target sub-page title is clicked.
7. The method of claim 2, wherein the performing a predetermined cleanup operation on the search bar comprises at least one of:
double-clicking in the keyword input box of the search bar, re-pressing in the keyword input box of the search bar, long-pressing in the keyword input box of the search bar, and clicking a clearing button of the keywords of the search bar.
8. An apparatus for web page search, comprising:
a display unit configured to display a target web page including a search bar 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 jumping unit is configured to respond to the operation that the user selects a target page title from at least one page title displayed in the search bar, and execute the operation of jumping to the webpage corresponding to the target page title.
9. The apparatus of claim 8, wherein the apparatus comprises a search unit configured to:
clearing a page title displayed in the search bar and displaying an input cursor in response to detecting that the user performs a predetermined clearing operation on the search bar;
in response to receiving a search request including the user-entered keyword, the keyword is sent to a search engine.
10. The apparatus of claim 8, wherein the display unit is further configured to:
at least one page title for navigation is displayed within the search bar keyword input box in a font of a predetermined brightness.
11. The apparatus of claim 8, wherein the operation of selecting a target page title from at least one page title displayed in the search bar comprises at least one of:
and the mouse pointer stays on the target page title for more than preset time, the target page title is pressed again, the target page title is pressed for a long time, and the target page title is clicked.
12. The apparatus of claim 8, wherein each page title corresponds to at least one sub-page title; and the apparatus further comprises:
the display unit is configured to respond to the operation that a user selects a target page title from at least one page title displayed in the search bar, and display at least one sub-page title corresponding to the target page title;
the jumping unit is further configured to execute an operation of jumping to a webpage corresponding to the target sub-page title 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.
13. The apparatus of claim 12, wherein the operation of selecting a target sub-page title from at least one sub-page title corresponding to the target page title comprises at least one of:
and the mouse pointer stays on the target sub-page title for more than preset time, the target sub-page title is pressed again, the target sub-page title is pressed for a long time, and the target sub-page title is clicked.
14. The apparatus of claim 9, wherein the performing a predetermined cleanup operation on the search bar comprises at least one of:
double-clicking in the keyword input box of the search bar, re-pressing in the keyword input box of the search bar, long-pressing in the keyword input box of the search bar, and clicking a clearing button of the keywords of the search bar.
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, cause the one or more processors to implement the method of any one of claims 1-7.
16. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one 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 true CN111723309A (en) 2020-09-29
CN111723309B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112346612A (en) * 2020-10-27 2021-02-09 上海连尚网络科技有限公司 Page display method and device
CN113821716A (en) * 2021-01-12 2021-12-21 北京沃东天骏信息技术有限公司 Information searching method and device
CN117454336A (en) * 2023-12-22 2024-01-26 厦门天锐科技股份有限公司 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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112346612A (en) * 2020-10-27 2021-02-09 上海连尚网络科技有限公司 Page display method and device
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
CN117454336A (en) * 2023-12-22 2024-01-26 厦门天锐科技股份有限公司 Anti-disclosure method and device for adding watermark to target webpage
CN117454336B (en) * 2023-12-22 2024-03-15 厦门天锐科技股份有限公司 Anti-disclosure method and device for adding watermark to target webpage

Also Published As

Publication number Publication date
CN111723309B (en) 2024-04-05

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
CN111368185B (en) Data display method and device, storage medium and electronic equipment
CN109976620B (en) Method, device, equipment and storage medium for determining list item display attribute information
EP3955153A1 (en) Method and apparatus for inserting information into online document
US20230325443A1 (en) Document processing method and apparatus, and electronic device
US11720235B2 (en) Method and apparatus for browsing table in document, and electronic device and storage medium
CN111400625B (en) Page processing method and device, electronic equipment and computer readable storage medium
CN111723309B (en) Method and device for web page searching
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN111597467A (en) Display method and device and electronic equipment
CN112287206A (en) Information processing method and device and electronic equipment
EP4231143A1 (en) Information display method and apparatus, electronic device, and computer readable storage medium
CN110658960A (en) Message processing method and device and electronic equipment
EP4343583A1 (en) Text input method and apparatus, and electronic device and storage medium
CN111857720B (en) User interface state information generation method and device, electronic equipment and medium
CN110825481A (en) Method and device for displaying page information corresponding to page tag and electronic equipment
CN111353296B (en) Article processing method, apparatus, electronic device and computer readable storage medium
CN110069186B (en) Method and equipment for displaying operation interface of application
CN112732652A (en) Information display method and device and electronic equipment
CN112307393A (en) Information issuing method and device and electronic equipment
CN114520928B (en) Display information generation method, information display device and electronic equipment
CN111460769B (en) Article issuing method and device, storage medium and electronic equipment
CN112114735B (en) Method and device for managing tasks
CN111274513B (en) Window display method, device, terminal and 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