1. Technical Field
Embodiments of the present disclosure relate to query processing, and more specifically relates to techniques for optimized method of searching web pages.
2. Description of Related Art
People seek information from the Internet using a web browser. A person performs his/her search for information by pointing his/her web browser at a website associated with a search engine. The search engine allows a user to request web pages containing information related to one or more particular search words or phrases.
Although the search words and phrases may be used by the search engine to guide the search, finding target web pages being sought from hundreds or even thousands of web pages by users is challenging.
In general, the word “module,” as used hereinafter, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware. It will be appreciated that modules may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable storage medium or other computer storage device.
In a first embodiment, referring to
The server 1 further includes a control device 11 and a storage device 12. The control device 11 may be a processor, an application-specific integrated circuit (ASIC), or a field programmable gate array (FPGA), for example. The control device 11 may execute computerized codes of the function modules of the web search optimization system 10 to realize the functions of the web search optimization system 10. The storage device 12 may include some type(s) of non-transitory computer-readable storage medium, such as a hard disk drive, a compact disc, a digital video disc, or a tape drive. The storage device 12 stores the computerized codes of the function modules of the web search optimization system 10.
In a second embodiment, referring to
Each of the client devices 2 further includes a control device 21 and a storage device 22. Similar to the control device 11, the control device 21 may also be a processor, an application-specific integrated circuit (ASIC), or a field programmable gate array (FPGA), for example. The control device 21 may execute computerized codes of the function modules of the web search optimization system 10 to realize the functions of the web search optimization system 10. The storage device 22 may also include some type(s) of non-transitory computer-readable storage medium, such as a hard disk drive, a compact disc, a digital video disc, or a tape drive. The storage device 22 stores the computerized codes of the function modules of the web search optimization system 10.
In step S01, the receiving module 100 receives a keyword inputted by a user from one of the client devices 2, and captures an image of the user. As mentioned above, each of the client devices 2 includes a search engine which allows the user to input the keyword to query web pages containing information related to the keyword from the server 1. In one embodiment, the receiving module 100 receives the keyword from the search engine of the client device 2. In one embodiment, the receiving module 100 activates the camera device 20 of the client device 2 automatically to capture the image of the user. In another embodiment, the receiving module 100 outputs a dialog box to inquire the user whether to capture the image. When the user selects a “yes” option, the camera device 20 of the client device 2 captures the image of the user. When the user selects a “no” option, no image is captured.
In step S02, the identification module 101 identifies facial feature data of the user from the image.
In step S03, the creation module 102 stores the identified facial feature data into the storage device 22, creates a blank user log for the user, and relates the identified facial feature data and the user log.
In step S04, the analysis module 103 analyzes attributes of the user according to the facial feature data, and storing the attributes into the user log. As mentioned above, the attributes include characteristics such as age, sex, and nationality, for example.
In step S05, the record module 104 obtains one or more web pages which have been browsed by the user, wherein the web pages are obtained from a search result relating to the keyword.
In step S06, the record module 104 analyzes one or more feature values from documents contained in the browsed web pages, records the keyword and the feature values as reference parameters, and stores the reference parameters into the user log. The document contained in the web pages may include graphics, texts, and videos. The feature values may be one or more words or phrases which have high frequencies in the document contained in one web page. In one embodiment, the keyword and the feature values are respectively recorded in a prior keywords column and a feature values column of the first reference parameters column in the user log.
In other embodiments, the method in
In step S10, the receiving module 100 receives a keyword inputted by a user from one of the client devices 2, and captures an image of the user. As mentioned above, each of the client devices 2 includes a search engine which allows the user to input the keyword to query web pages containing information related to the keyword from the server 1. In one embodiment, the receiving module 100 receives the keyword from the search engine of the client device 2. In one embodiment, the receiving module 100 activates the camera device 20 of the client device 2 to automatically capture the image of the user. In another embodiment, the receiving module 100 outputs a dialog box to inquire of the user whether to capture the image. When the user selects a “yes” option, the camera device 20 of the client device 2 captures the image of the user. When the user selects a “no” option, no image is captured.
In step S11, the identification module 101 identifies facial feature data of the user from the image.
In step S12, the determination module 105 determines if there is facial feature data matched with the identified facial feature data in the storage device 22. Step S13 is implemented when there is no facial feature data matched with the identified facial feature data in the storage device 22. Otherwise, step S14 is implemented when there is facial feature data matched with the identified facial feature data in the storage device 22.
In step S13, the creation module 102 creates a user log for the user. The creation of the user log refers to step S03 to S06 in
In step S14, the rank module 106 obtains the reference parameters from the user log which corresponds to the identified facial feature data.
In step S15, the rank module 106 obtains a searched result relating to the keyword. The searched result can be transmitted from the server 1 through the network 3.
In step S16, the rank module 106 ranks the web pages of the searched result according to the reference parameters. For detailed description of step S16 please refer to
In step S17, the output module 107 outputs the ranked web pages to the client device 2 to the user.
In step S160, the rank module 106 determines whether the reference parameters include a prior keyword which is similar to the current inputted keyword. Step S161 is implemented when the reference parameters include a prior keyword which is similar to the current inputted keyword. Otherwise, the procedure ends when the reference parameters does not include a prior keyword which is similar to the current inputted keyword.
In step S161, the rank module 106 obtains feature values corresponding to the prior keyword which is similar to the current inputted keyword.
In step S162, the rank module 106 ranks the web pages in the searched result relating to the current inputted keyword according to frequencies of the feature values appearing in the documents contained in the web pages.
It should be emphasized that the above-described embodiments of the present disclosure, including any particular embodiments, are merely possible examples of implementations, set forth for a clear understanding of the principles of the disclosure. Many variations and modifications may be made to the above-described embodiment(s) of the disclosure without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and protected by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
102108612 | Mar 2013 | TW | national |