CN107220306B - Searching method and device - Google Patents
Searching method and device Download PDFInfo
- Publication number
- CN107220306B CN107220306B CN201710325623.XA CN201710325623A CN107220306B CN 107220306 B CN107220306 B CN 107220306B CN 201710325623 A CN201710325623 A CN 201710325623A CN 107220306 B CN107220306 B CN 107220306B
- Authority
- CN
- China
- Prior art keywords
- search
- displaying
- feed data
- display area
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9032—Query formulation
- G06F16/90324—Query formulation using system suggestions
- G06F16/90328—Query formulation using system suggestions using search space presentation or visualization, e.g. category or range presentation and selection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a searching method and a searching device. The searching method comprises the following steps: when a user sends a search request aiming at Feed data, acquiring a search word corresponding to the Feed data; displaying the search terms for selection by the user; and when a selection instruction of the user is received, searching according to the search word selected by the selection instruction. According to the technical scheme of the embodiment of the application, the user does not need to manually input the query words, the search efficiency of the user is improved to the maximum extent, and meanwhile, the search experience of the user in reading Feed data is greatly optimized.
Description
Technical Field
The present disclosure relates generally to the field of computer technologies, and in particular, to a search method and apparatus.
Background
At present, search and Feed streams are two major engines of a mobile phone browser, wherein the Feed streams become more important content ecological construction directions of the mobile phone browser. The Feed stream refers to an information set of a single piece of Feed data, the Feed data is a general presentation of information, and different modules can be used, such as a three-diagram, a left-right diagram, a plain text, a big diagram and the like. The user can enter the landing page of the Feed data by clicking the Feed data, namely the detailed information display page.
When a user experiences a Feed stream, if the user wants to search for a certain Feed data, only search words can be manually input in a search page, and the search efficiency of the user is low due to the mode.
Disclosure of Invention
In view of the above-mentioned drawbacks and deficiencies of the prior art, it is desirable to provide a solution that can effectively improve the search efficiency of the user.
In a first aspect, an embodiment of the present application provides a search method, including:
when a user sends a search request aiming at Feed data, acquiring a search word corresponding to the Feed data;
displaying the search terms for selection by the user;
and when a selection instruction of the user is received, searching according to the search word selected by the selection instruction.
In a second aspect, an embodiment of the present application further provides a search apparatus, including:
the device comprises an acquisition unit, a search unit and a search unit, wherein the acquisition unit is used for acquiring a search word corresponding to Feed data when a user sends a search request aiming at the Feed data;
the display unit is used for displaying the search terms for the user to select;
and the searching unit is used for searching according to the search word selected by the selection instruction when the selection instruction of the user is received.
In a third aspect, embodiments of the present application further provide a computer device, including one or more processors and a memory; the memory contains instructions executable by the processor to cause the processor to perform the search methods provided by embodiments of the present application.
According to the searching scheme provided by the embodiment of the application, when a user sends a searching request aiming at Feed data, the searching words corresponding to the Feed data are obtained and displayed, and when a selection instruction of the user is received, searching is carried out according to the searching words selected by the selection instruction. According to the technical scheme of the embodiment of the application, the user does not need to manually input the query words, the search efficiency of the user is improved to the maximum extent, and meanwhile, the search experience of the user in reading Feed data is greatly optimized.
Drawings
Other features, objects and advantages of the present application 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 illustrates an exemplary system architecture in which embodiments of the present application may be applied;
FIG. 2 illustrates an exemplary flow diagram of a search method according to an embodiment of the present application;
FIG. 3 shows an exemplary block diagram of a search apparatus according to an embodiment of the present application; and
fig. 4 shows a schematic structural diagram of a computer system suitable for implementing the terminal device of the embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following 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 present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to FIG. 1, an exemplary system architecture 100 to which embodiments of the present application may be applied is shown.
As shown in fig. 1, system architecture 100 may include terminal devices 101, 102, network 103, and servers 104, 105, 106, and 107. The network 103 is the medium used to provide communication links between the terminal devices 101, 102 and the servers 104, 105, 106, 107. Network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user 110 may use the terminal device 101, 102 to interact with the server 104, 105, 106, 107 via the network 103 to access various services, such as browsing web pages, downloading data, etc. The terminal devices 101, 102 may have installed thereon various client applications, such as applications that may access a uniform resource locator, URL, cloud service, including but not limited to browsers, security applications, and the like.
The terminal devices 101, 102 may be various electronic devices including, but not limited to, personal computers, smart phones, smart televisions, tablet computers, personal digital assistants, e-book readers, and the like.
The servers 104, 105, 106, 107 may be servers that provide various services. The server may provide the service in response to a service request of the user. It will be appreciated that one server may provide one or more services, and that the same service may be provided by multiple servers. In the embodiments of the present application, the server may include, but is not limited to, a crawler scheduling server, a dynamic crawler server, a web page server, a detection server, an image recognition server, a semantic analysis server, and the like.
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.
As mentioned in the background, in the prior art, if a user wants to search for a certain Feed data, the user can only manually input search terms in a search page, which results in low search efficiency for the user.
In view of the above-mentioned drawbacks of the prior art, embodiments of the present application provide a search scheme. According to the technical scheme of the embodiment of the application, the user does not need to manually input the query words, the search efficiency of the user is improved to the maximum extent, and meanwhile, the search experience of the user in reading Feed data is greatly optimized.
The method of the embodiments of the present application will be described below with reference to a flowchart.
Referring to FIG. 2, an exemplary flow diagram of a search method according to one embodiment of the present application is shown. The method shown in fig. 2 may be performed at the terminal device side in fig. 1. The method specifically comprises the following steps:
When a user executes a preset specified operation on the Feed data, a search request for the Feed data is sent, wherein the preset specified operation can be long press Feed data or double click Feed data.
In the embodiment of the application, the search word corresponding to the Feed data can be pre-determined by the server according to the Feed data and carried in the Feed data to be issued to the user equipment, so that when a user sends a search request for the Feed data, the user equipment can obtain the search word from the Feed data.
In addition, the number of search terms corresponding to Feed data is not limited to be too large, and may be 1 to 3, and too large number may interfere with user selection.
Wherein, step 220 can be implemented, but not limited to, as follows:
firstly, calling a search page, wherein the search page comprises a search box for inputting search terms and a first display area for displaying search history records;
the search terms are then displayed in the search page.
In the prior art, the search page only includes the search box and the first display area, and in the embodiment of the present application, the search page may be expanded on the basis of the above search box and the first display area, and the second display area may be located below the search box and above the first display area, and the first display area and the second display area are distinguished by using appropriate visual elements.
Thus, when the search term is displayed in the search page, the search term can be displayed in the second presentation area of the search page. When the search term is plural, the search terms may be displayed in the second presentation area of the search page in order from high to low in priority that is set in advance for each search term.
In addition, when the number of the search terms is multiple, the search term with the highest priority may be displayed in the search box according to the priority set for each search term in advance, and the search terms except the search term with the highest priority may be displayed in the second display area in the order of priority from high to low.
And step 230, when a selection instruction of the user is received, searching according to the search terms selected by the selection instruction.
In the embodiment of the application, after the search terms are displayed, a user can select one search term to search, can also select the search history record to search, and can also manually input the search term in the search box if the search term can not meet the search requirement.
It should be noted that while the operations of the method of the present invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Rather, the steps depicted in the flowcharts may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
With further reference to fig. 3, an exemplary block diagram of a search apparatus according to an embodiment of the present application is shown. The device includes:
the obtaining unit 310 is configured to obtain a search term corresponding to Feed data when a user sends a search request for the Feed data;
a display unit 320, configured to display the search term for the user to select;
the searching unit 330 is configured to, when receiving a selection instruction of the user, perform a search according to a search term selected by the selection instruction.
Wherein the display unit 320 includes:
the invoking module 3210 is configured to invoke a search page, where the search page includes a search box for inputting a search term and a first display area for displaying a search history;
a display module 3220 is configured to display the search term in the search page.
Wherein the display module 3220 is configured to:
displaying the search terms in a second display area of the search page, wherein the second display area is located between the search box and the first display area.
Further, the display module 3220 is configured to:
and when the search terms are multiple, displaying the search terms in a second display area of the search page according to the priority preset for each search term from high to low.
In another case, the display module 3220 is configured to:
when the search terms are multiple, displaying the search term with the highest priority in the search frame according to the priority preset for each search term, and displaying other search terms except the search term with the highest priority in a second display area of the search page according to the sequence of the priorities from high to low, wherein the second display area is located between the search frame and the first display area.
Wherein the obtaining unit 310 is configured to:
and acquiring the search word from the Feed data, wherein the search word is predetermined by a server and carried in the Feed data.
It should be understood that the subsystems or units recited in system 300 correspond to various steps in the method described with reference to fig. 2. Thus, the operations and features described above for the method are equally applicable to the system 300 and the units included therein and will not be described again here.
Referring now to FIG. 4, a block diagram of a computer system 400 suitable for use in implementing a user device of an embodiment of the present application is shown.
As shown in fig. 4, the computer system 400 includes a Central Processing Unit (CPU)401 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the system 400 are also stored. The CPU 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. A driver 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
In particular, the process described above with reference to fig. 2 may be implemented as a computer software program, according to an embodiment of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method of fig. 2. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 409, and/or installed from the removable medium 411.
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 invention. 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 or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor. The names of these units or modules do not in some cases constitute a limitation of the unit or module itself.
As another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above-described embodiments; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the formula input methods described herein.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
Claims (13)
1. A method of searching, the method comprising:
when a user sends a search request aiming at Feed data, obtaining a search word corresponding to the Feed data, wherein the search request is sent when the user executes preset appointed operation on the Feed data, and the preset appointed operation is long-time pressing of the Feed data or double-click of the Feed data;
displaying the search terms for selection by the user;
and when a selection instruction of the user is received, searching according to the search word selected by the selection instruction.
2. The method of claim 1, wherein the displaying the search term comprises:
calling a search page, wherein the search page comprises a search box for inputting search terms and a first display area for displaying search history records;
displaying the search terms in the search page.
3. The method of claim 2, wherein displaying the search terms in the search page comprises:
displaying the search terms in a second display area of the search page, wherein the second display area is located between the search box and the first display area.
4. The method of claim 3, wherein displaying the search term in a second presentation area of the search page comprises:
and when the search terms are multiple, displaying the search terms in a second display area of the search page according to the priority preset for each search term from high to low.
5. The method of claim 2, wherein displaying the search terms in the search page comprises:
when the search terms are multiple, displaying the search term with the highest priority in the search frame according to the priority preset for each search term, and displaying other search terms except the search term with the highest priority in a second display area of the search page according to the sequence of the priorities from high to low, wherein the second display area is located between the search frame and the first display area.
6. The method of claim 1, wherein the obtaining of the search term corresponding to the Feed data comprises:
and acquiring the search word from the Feed data, wherein the search word is predetermined by a server and carried in the Feed data.
7. A search apparatus, characterized in that the apparatus comprises:
the device comprises an acquisition unit, a search unit and a processing unit, wherein the acquisition unit is used for acquiring a search word corresponding to Feed data when a user sends a search request aiming at the Feed data, the search request is sent when the user executes preset specified operation on the Feed data, and the preset specified operation is long-time pressing of the Feed data or double-click of the Feed data;
the display unit is used for displaying the search terms for the user to select;
and the searching unit is used for searching according to the search word selected by the selection instruction when the selection instruction of the user is received.
8. The apparatus of claim 7, wherein the display unit comprises:
the system comprises a calling module, a searching module and a display module, wherein the calling module is used for calling a searching page, and the searching page comprises a searching box used for inputting searching words and a first display area used for displaying searching history records;
and the display module is used for displaying the search terms in the search page.
9. The apparatus of claim 8, wherein the display module is configured to:
displaying the search terms in a second display area of the search page, wherein the second display area is located between the search box and the first display area.
10. The apparatus of claim 9, wherein the display module is configured to:
and when the search terms are multiple, displaying the search terms in a second display area of the search page according to the priority preset for each search term from high to low.
11. The apparatus of claim 8, wherein the display module is configured to:
when the search terms are multiple, displaying the search term with the highest priority in the search frame according to the priority preset for each search term, and displaying other search terms except the search term with the highest priority in a second display area of the search page according to the sequence of the priorities from high to low, wherein the second display area is located between the search frame and the first display area.
12. The apparatus of claim 7, wherein the obtaining unit is configured to:
and acquiring the search word from the Feed data, wherein the search word is predetermined by a server and carried in the Feed data.
13. A computer device comprising one or more processors and memory; the method is characterized in that:
the memory contains instructions executable by the processor to cause the processor to perform the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710325623.XA CN107220306B (en) | 2017-05-10 | 2017-05-10 | Searching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710325623.XA CN107220306B (en) | 2017-05-10 | 2017-05-10 | Searching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107220306A CN107220306A (en) | 2017-09-29 |
CN107220306B true CN107220306B (en) | 2021-09-28 |
Family
ID=59943952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710325623.XA Active CN107220306B (en) | 2017-05-10 | 2017-05-10 | Searching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107220306B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109815404B (en) | 2019-01-30 | 2021-07-27 | 百度在线网络技术(北京)有限公司 | Clipboard data-based search processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105302834A (en) * | 2014-07-29 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Information aggregation display method and apparatus |
CN105843817A (en) * | 2015-01-15 | 2016-08-10 | 北京三星通信技术研究有限公司 | Method and apparatus for searching on terminal device, and device |
CN106777217A (en) * | 2016-12-23 | 2017-05-31 | 北京奇虎科技有限公司 | A kind of search word recommends method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100761463B1 (en) * | 2001-10-13 | 2007-09-27 | (주) 엘지텔레콤 | A searching method with one click for mobile phone |
KR20140131166A (en) * | 2013-05-03 | 2014-11-12 | 삼성전자주식회사 | Display apparatus and searching method |
US20150262069A1 (en) * | 2014-03-11 | 2015-09-17 | Delvv, Inc. | Automatic topic and interest based content recommendation system for mobile devices |
-
2017
- 2017-05-10 CN CN201710325623.XA patent/CN107220306B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105302834A (en) * | 2014-07-29 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Information aggregation display method and apparatus |
CN105843817A (en) * | 2015-01-15 | 2016-08-10 | 北京三星通信技术研究有限公司 | Method and apparatus for searching on terminal device, and device |
CN106777217A (en) * | 2016-12-23 | 2017-05-31 | 北京奇虎科技有限公司 | A kind of search word recommends method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107220306A (en) | 2017-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107622135B (en) | Method and apparatus for displaying information | |
CN109683998B (en) | Internationalization realization method, device and system | |
CN107256232B (en) | Information recommendation method and device | |
CN108804450B (en) | Information pushing method and device | |
US8527862B2 (en) | Methods for making ajax web applications bookmarkable and crawlable and devices thereof | |
US8935798B1 (en) | Automatically enabling private browsing of a web page, and applications thereof | |
CN104572843B (en) | The loading method and device of a kind of page | |
CN110020329B (en) | Method, device and system for generating webpage | |
CN111443909B (en) | Method and device for generating page | |
CN105488205A (en) | Page generation method and page generation apparatus | |
US11687715B2 (en) | Summary generation method and apparatus | |
US20150120729A1 (en) | Web-based representational state transfer api server | |
US20140095579A1 (en) | System and method for increasing web site serving performance | |
CN106886594B (en) | Method and device for displaying information | |
CN113609308B (en) | Knowledge graph construction method and device, storage medium and electronic equipment | |
CN113159970A (en) | Data format conversion method, device, system, electronic equipment and storage medium | |
CN111723309B (en) | Method and device for web page searching | |
CN109981546B (en) | Method and device for acquiring remote call relation between application modules | |
CN113656737A (en) | Webpage content display method and device, electronic equipment and storage medium | |
CN111488386B (en) | Data query method and device | |
CN111400581B (en) | System, method and apparatus for labeling samples | |
CN107220306B (en) | Searching method and device | |
US9253279B2 (en) | Preemptive caching of data | |
CN112084441A (en) | Information retrieval method and device and electronic equipment | |
CN110647327A (en) | Method and device for dynamic control of user interface based on card |
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 |