CN110069667A - A kind of searching method, device and the device for search - Google Patents

A kind of searching method, device and the device for search Download PDF

Info

Publication number
CN110069667A
CN110069667A CN201711071244.9A CN201711071244A CN110069667A CN 110069667 A CN110069667 A CN 110069667A CN 201711071244 A CN201711071244 A CN 201711071244A CN 110069667 A CN110069667 A CN 110069667A
Authority
CN
China
Prior art keywords
content
webpage
search
keyword
local page
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
CN201711071244.9A
Other languages
Chinese (zh)
Other versions
CN110069667B (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 Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201711071244.9A priority Critical patent/CN110069667B/en
Publication of CN110069667A publication Critical patent/CN110069667A/en
Application granted granted Critical
Publication of CN110069667B publication Critical patent/CN110069667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/83Querying
    • G06F16/835Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/83Querying
    • G06F16/838Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

Abstract

The embodiment of the present application provides a kind of searching method, device and the device for search, this method comprises: the collection in response to online webpage operates, the content of pages of the online webpage is saved to local;In response to the keyword of input, the local page content of search and the Keywords matching;The local page content searched is shown as search result.Using the embodiment of the present application, by the way that the content of webpage and keyword are established mapping relations, it can be retrieved for the content for the webpage that user has collected, so as to fast and accurately search the webpage that user once saved, promote the experience for the webpage that user's search was collected.

Description

A kind of searching method, device and the device for search
Technical field
This application involves search technique field, in particular to a kind of searching method, device and a kind of dress for search It sets.
Background technique
Currently, when user browses webpage, if liking some webpage or wishing to learn the content of some webpage Deng, it can be by the function of collection by the link of webpage and title, correspondence is collected in local collection.Wish next time in user When browsing the webpage, corresponding link directly can be clicked by the title of each webpage in collection, open the net Page browsing content.
But inventor has found in the implementation of the present invention, when user collects webpage, generally only saves net The link of page and title etc., and some users, when requiring to look up the content of related web page, just need because web page storage is excessive The webpage for oneself needing to check is searched from a large amount of web page titles, so that target webpage can just be found by taking a substantial amount of time. In addition, if the title between each webpage there is a situation where it is similar, user it is also possible to can mistake opening title it is approximate Webpage, alternatively, user also can not normally open the net once collected in the event of the failure of collection webpage or the case where suspension Page, to not only generate unnecessary interaction, also reduces user in the experience of collection.
Summary of the invention
Based on this, this application provides a kind of search plans, even if user can also in the case where webpage failure or suspension Directly by the local page content locally saved, to browse the content for the webpage collected, and to be inputted in user When keyword, the local page content of webpage relevant to the keyword that it is inputted may provide the user with.Therefore, pass through The content of webpage and keyword are established into mapping relations, so that it may it is retrieved for the content for the webpage that user has collected, So as to fast and accurately search the webpage that user once saved, the experience for the webpage that user's search was collected is promoted.
Present invention also provides a kind of searchers, to guarantee the realization and application of the above method in practice.
This application provides a kind of searching methods, comprising:
In response to the collection operation of online webpage, the content of pages of the online webpage is saved to local;
In response to the keyword of input, the local page content of search and the Keywords matching;
The local page content searched is shown as search result.
Wherein, the keyword in response to input, the local page content of search and the Keywords matching, comprising:
In response to the keyword of input, mapping relations with the Keywords matching, pre-establishing are judged whether there is, The mapping relations are used to indicate the corresponding relationship between keyword and local page content;
If there is with the Keywords matching, the mapping relations that pre-establish, then by the page in the mapping relations Content is determined as the local page content with the Keywords matching.
Wherein, if there is no with the Keywords matching, the mapping relations that pre-establish, further includes:
The substitution word of the keyword is searched, and is judged whether there is and the substitution word is matched, reflecting of pre-establishing Penetrate relationship;The substitution word includes: synonym or approximate word;
The mapping relations that word is matched, pre-establishes are substituted if there is with described, then by the page in the mapping relations Content is determined as the local page content with the Keywords matching.
Wherein, it saves in the content of pages of the online webpage to local, further includes:
Whether the content of pages for monitoring the online webpage generates update, if the content of pages of the online webpage generates Update, then updated content of pages replaced into the local page content that has been saved, alternatively, by updated content of pages with Local page content correspondence is saved.
Wherein, the method can also include:
Searched in real time by internet with the webpage of the Keywords matching, and search result is shown.
Wherein, the local page content that will be searched is shown as search result, comprising:
Obtain the correlation for the local page content that described search arrives;
According to the sequence of the correlation from big to small, carried out respectively using the local page content as search result items It shows.
Disclosed herein as well is a kind of searchers, comprising:
Storage unit, in response to online webpage collection operation, by the content of pages of the online webpage save to It is local;
Search unit, for the keyword in response to input, the local page content of search and the Keywords matching;
Display unit, for the local page content searched to be shown as search result.
Wherein, described search unit includes:
Judgment sub-unit is judged whether there is with the Keywords matching, preparatory for the keyword in response to input The mapping relations of foundation, the mapping relations are used to indicate the corresponding relationship between keyword and local page content;
Determine subelement, for if there is with the Keywords matching, the mapping relations that pre-establish, then this is reflected The content of pages in relationship is penetrated, the local page content with the Keywords matching is determined as.
Wherein, if there is no with the Keywords matching, the mapping relations that pre-establish, described device can also wrap It includes:
Searching unit, for searching the substitution word of the keyword;
Judging unit substitutes the mapping relations that word is matched, pre-establishes with described for judging whether there is;It is described to replace Pronoun includes: synonym or approximate word;
Determination unit, for substituting the mapping relations that word is matched, pre-establishes if there is with described, then by the mapping Content of pages in relationship is determined as the local page content with the Keywords matching.
Wherein, it saves in the content of pages of the online webpage to local, described device can also include:
Monitoring unit, whether the content of pages for monitoring the online webpage generates update, if the online webpage Content of pages generate update;
Updating unit, for updated content of pages to be replaced the local page content being saved, alternatively, will update Content of pages afterwards is corresponding with local page content to be saved.
Wherein, described device can also include:
Second search unit, searched in real time by internet with the webpage of the Keywords matching, and by search result into Row is shown.
Wherein, the display unit may include:
Subelement is obtained, for obtaining the correlation for the local page content that described search arrives;And show subelement, For the sequence according to the correlation from big to small, opened up respectively using the local page content as search result items Show.
It include memory and one or more than one disclosed herein as well is a kind of device for search Program, perhaps more than one program is stored in memory and is configured to by one or more than one processing for one of them It includes the instruction for performing the following operation that device, which executes the one or more programs:
In response to the collection operation of online webpage, the content of pages of the online webpage is saved to local;
In response to the keyword of input, the local page content of search and the Keywords matching;
The local page content searched is shown as search result.
Disclosed herein as well is a kind of computer-readable mediums, instruction are stored thereon with, when by one or more processors When execution, so that device executes searching method as the aforementioned.
In the embodiment of the present application, even if user can or directly pass through in the case where webpage failure or suspension The local page content locally saved, to browse the content for the webpage collected, and when user inputs keyword It waits, may provide the user with the local page content of webpage relevant to the keyword that it is inputted, therefore, by will be in webpage Hold and establish mapping relations with keyword, so that it may be retrieved for the content for the webpage that user has collected, so as to fast Speed accurately searches the webpage that user once saved, and promotes the experience for the webpage that user's search was collected.
Even if in addition, in the local keyword that retrieved user's input simultaneously and its substitution word, it is also possible that search is not To the local page content with Keywords matching, this is likely to be user and did not collect the relevant webpage of the keyword, at this In the case of kind, if internet can be accessed, it can be searched in real time by internet and the Keywords matching of user's input Webpage, and search result is showed into user.In this way, the validity of search is just improved, even if user does not receive Relevant webpage was hidden, search result can be also provided online to user, further improve the search experience of user.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is the flow chart of the searching method embodiment of the application;
Fig. 2 is the structural block diagram of the searcher embodiment of the application;
Fig. 3 is a kind of block diagram of the device 800 for search shown according to an exemplary embodiment in the application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The application can be used in numerous general or special purpose computing device environment or configurations.Such as: personal computer, service Device computer, handheld device or portable device, laptop device, multi-processor device including any of the above devices or devices Distributed computing environment etc..
The application can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
With reference to Fig. 1, a kind of flow chart of searching method embodiment of the application is shown, the present embodiment can be applied to browse Device etc. can open webpage and show in the application program of user, and the present embodiment may comprise steps of:
Step 101: the collection in response to online webpage operates, and the content of pages of online webpage is saved to local.
In the present embodiment, user is when passing through internet browsing webpage, if user triggers some webpage Collection operation, for example, the collection operation for the webpage that web page title is " singer A has sent out new disc " is triggered, to be applied to browsing For on device, then browser can link by the webpage and title correspondence save, also, browser can also be by the webpage The content currently shown is saved in local, for example, browser corresponds to the save location in hard disk.Wherein, webpage is currently shown Content save to it is local when, snapshots of web pages can be saved by way of grabbing snapshots of web pages, web page contents can also made For XML (extensible markup language) file or HTML (HyperText Markup Language, hypertext markup language) File etc. is stored in local, and specific preserving type is unlimited, as long as when can restore collection according to the content locally saved Web page contents.
It is understood that the content of pages of online webpage is saved to local executing step 101, because local Content of pages when the only user's online browse webpage saved, and for different webpages, may due to news or Situations such as update of person's user comment, thus can the online content of webpage over time may generate update, for example, For portal website, news can change.
Therefore, can also be saved after step 101 by browser periodic monitor web page contents webpage whether Line produces the update in content, if web page contents are updated online, browser can be by updated online page Face content replaces the local page content being saved, and updated online content of pages can be supplied to use so as to subsequent Family;Alternatively, save updated content of pages is corresponding with local page content, so as to it is subsequent can will be in local page Hold and updated content of pages is all supplied to user;Alternatively, can not also be replaced to local page content, it is subsequent still The local page content of original preservation is supplied to user.In addition, if not monitoring that webpage produces update online, then may be used When judging that real-time judge can make the web page contents locally saved more timely to continue real-time or timing, and periodically judging Period can be preset by those skilled in the art, for example, every other day judging that one is inferior, the period size of timing judgement is simultaneously The realization of the embodiment of the present application is not influenced.
Step 102: in response to the keyword of input, the local page content of search and the Keywords matching.
It in the present embodiment, can be based on the local page content locally saved, for example, the title of webpage and webpage Content etc., to extract keyword, to establish the native page of keyword and webpage using the keyword that each webpage extracts Mapping relations between the content of face.In practical applications, those skilled in the art can only close local page content Keyword extracts, so that the mapping relations between each keyword and each local page content are established, it is, of course, also possible to extract this simultaneously The keyword of the title of ground content of pages and webpage establishes mapping relations.
In practical applications, browser can provide an input frame, which can be used for wishing to pass through in user The mode of search come when searching the webpage locally collected, can the input frame input and oneself wish the content searched as crucial Word, then the keyword that browser can input user is as search term come in each local page of webpage locally save, each It is scanned in appearance, searches the local page content to match with the keyword of user's input.Certainly, in advance to the mark of webpage Topic also carries out keyword extraction in the case where establishing mapping relations, browser can also be simultaneously out of, webpage local page Hold and is retrieved in title.
Certainly, the keyword of user's input is also not only to search in collection, can also both be mentioned keyword Search engine real-time online search result is given, meanwhile, and local page content is searched in the webpage locally collected, and will be Line search result and the local page content found are all used as search result to be supplied to user.
Therefore, step 102 may comprise steps of in specific implementation:
Step A1: in response to the keyword of input, with the Keywords matching, reflecting of pre-establishing is judged whether there is Penetrate relationship;If it is, A2 is entered step, if not, entering step A3.
Based on the mapping relations that browser pre-establishes, the mapping relations for indicate keyword and local page content it Between corresponding relationship, alternatively, the mapping relations can also indicate the corresponding pass of keyword and local page content and title simultaneously System, browser judge whether there is the mapping relations to match with the keyword of user's input.
For example, user once collected introduction " deep learning LSTM (Long Short-Term Memory, shot and long term note Recall network) model " webpage, and the content of the webpage has passed through step 101 and has saved to local.And the user is due to collection Webpage is excessive in folder or wishes that fast browsing arrives the local page content of the webpage, it is possible in the input of browser offer " deep learning LSTM " is inputted in frame and is used as keyword, and is committed to browser and scans for, so that whether browser retrieval has Have and " deep learning LSTM " matched mapping relations.
Step A2: by the content of pages in the mapping relations, it is determined as the local page content with the Keywords matching.
If it is present illustrate user input keyword there are corresponding local page contents, which can be closed Content of pages in system is determined as the local page content to match with the keyword that user inputs.For example, with " deep learning Content of pages in the matched mapping relations of LSTM " is that this is retrieved, matched with keyword " deep learning LSTM " Local page content.Certainly, existing mapping relations can also have multiple, then can will be in the page in this multiple mapping relations Hold all as the multiple local page contents to match with keyword.
Step A3: searching the substitution word of the keyword, and judge whether there is with the substitution word it is matched, in advance build Vertical mapping relations, if it is, entering step A4.
If the mapping that the keyword that can not find user's input in the local page content locally saved matches is closed System, then can search the substitution word of the keyword online by internet, be the near synonym or synonym of the keyword, and Locally search whether there are the mapping relations to match with substitution word.For example, user input " LSTM " do not retrieve it is corresponding Mapping relations, then can search the synonym of " LSTM ", such as " shot and long term memory network " or " Long Short- online Then Term Memory " etc. searches whether exist and substitution word " shot and long term memory network " or " Long Short-Term again The mapping relations that Memory " matches.
It is of course also possible to pre-establish the mapping relations between keyword and corresponding substitution word, or in local preservation One keyword substitutes the relation table of word with it, and then can also determine that keyword is by inquiry mapping relations or relation table It is no to there is substitution word.
Step A4: by the content of pages in the mapping relations, it is determined as the local page content with the Keywords matching.
It is then possible to by with substitution the matched mapping relations of word in content of pages, be determined as the sheet with Keywords matching Ground content of pages.In some cases, because being likely to be the webpage for introducing LSTM in local page content, but local page Only include in content " shot and long term memory network " or " Long Short-Term Memory ", not including " LSTM ", so User input " LSTM " retrieval less than matched local page content, therefore, if there is locally retrieval less than with keyword When the result to match, if search also can be added the substitution word for the keyword that user inputs, missing inspection will be avoided as far as possible Situation, to improve the accuracy rate of search.
It is understood that step 101 and step 102 may be performed simultaneously or first carry out step 102 executes step again 101, gauze page is collected according to user in practical applications or input keyword scans for, to select to execute step 101 or step 102.When user is collected in gauze page, can execute step 101 by the content of pages of online webpage save to It is local, and when user inputs keyword search, the local page content of step 102 search and Keywords matching can be executed.
Step 103: the local page content searched is shown as search result.
In this step, then using the local page content that step 102 searches it is shown as search result, in local The webpage can be directly shown in the case where only one by content of pages on a web browser;Have in local page content In the case where multiple, it can be tied according to the correlation size of each local page content using multiple local page contents as search Fruit shows respectively.
Specifically, can be previously according to the authority of the number of the keyword occurred in local page content, web page source Etc. parameters, calculated come the correlation to each local page content relative to some keyword, and itself and keyword, local Corresponding save to local of corresponding relationship between content of pages first obtains search then when needing to show search result The correlation of each local page content arrived makees each local page content according still further to the sequence of the correlation from big to small User is showed for search result items.
As it can be seen that in the embodiment of the present application, even if in the case where webpage failure or suspension, user can and also it is direct By the local page content locally saved, to browse the content for the webpage collected, and keyword is inputted in user When, it may provide the user with the local page content of webpage relevant to the keyword that it is inputted, therefore, by by webpage Content and keyword establish mapping relations, so that it may retrieved for the content for the webpage that user has collected, so as to Fast and accurately to search the webpage that user once saved, the experience for the webpage that user's search was collected is promoted.
In practical applications, be there are also a kind of situation, even if in the local keyword that retrieved user's input simultaneously and its Word is substituted, it is also possible that search is less than the local page content with Keywords matching, this is likely to be user and did not collect The relevant webpage of the keyword, alternatively, local page content can also searched, in order to provide local page simultaneously to user Content and on-line search as a result, can then search for the net with the Keywords matching of user's input in real time by the internet of access Page, and search result is showed into user.In this way, the validity of search is just improved, even if user does not collect Relevant webpage is crossed, also can provide online search result to user, alternatively, simultaneously by on-line search result and local page content It is supplied to user, further improves the search experience of user.
For the aforementioned method embodiment, for simple description, therefore, it is stated as a series of action combinations, still Those skilled in the art should understand that the application is not limited by the described action sequence, because according to the application, it is certain Step can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know that, it is described in the specification Embodiment belong to preferred embodiment, necessary to related actions and modules not necessarily the application.
Corresponding with method provided by a kind of searching method embodiment of above-mentioned the application, referring to fig. 2, the application also provides A kind of searcher embodiment, in the present embodiment, the apparatus may include:
Storage unit 201 saves the content of pages of the online webpage for the collection operation in response to online webpage To local.
First search unit 202, for the keyword in response to input, the local page of search and the Keywords matching Content.
Display unit 203, for the local page content searched to be shown as search result.
Wherein, described search unit 202 may include:
Judgment sub-unit, in response to input keyword, judge whether there is it is with the Keywords matching, build in advance Vertical mapping relations, the mapping relations are used to indicate the corresponding relationship between keyword and local page content;And it determines Subelement, for if there is with the Keywords matching, the mapping relations that pre-establish, then by the page in the mapping relations Face content is determined as the local page content with the Keywords matching.
Wherein, if there is no with the Keywords matching, the mapping relations that pre-establish, described device can also wrap It includes:
Searching unit, for searching the substitution word of the keyword;
Judging unit substitutes the mapping relations that word is matched, pre-establishes with described for judging whether there is;It is described to replace Pronoun includes: synonym or approximate word;
Determination unit, for substituting the mapping relations that word is matched, pre-establishes if there is with described, then by the mapping Content of pages in relationship is determined as the local page content with the Keywords matching.
Wherein, it saves in the content of pages of the online webpage to local, described device can also include:
Monitoring unit, whether the content of pages for monitoring the online webpage generates update, if the online webpage Content of pages generate update;
Updating unit, for updated content of pages to be replaced the local page content being saved, alternatively, will update Content of pages afterwards is corresponding with local page content to be saved.
Wherein, described device can also include:
Second search unit, searched in real time by internet with the webpage of the Keywords matching, and by search result into Row is shown.
Wherein, the display unit 203 can specifically include:
Subelement is obtained, for obtaining the correlation for the local page content that described search arrives;And show subelement, For the sequence according to the correlation from big to small, opened up respectively using the local page content as search result items Show.
As it can be seen that in the embodiment of the present application, even if in the case where webpage failure or suspension, user can and also it is direct By the local page content locally saved, to browse the content for the webpage collected, and keyword is inputted in user When, it may provide the user with the local page content of webpage relevant to the keyword that it is inputted, therefore, by by webpage Content and keyword establish mapping relations, so that it may retrieved for the content for the webpage that user has collected, so as to Fast and accurately to search the webpage that user once saved, the experience for the webpage that user's search was collected is promoted.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 3 is a kind of block diagram of searcher 800 shown according to an exemplary embodiment.For example, device 800 can be Mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building are set It is standby, personal digital assistant etc..
Referring to Fig. 3, device 800 may include following one or more components: processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing element 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of equipment 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that mobile terminal is able to carry out a kind of searching method, which comprises the collection in response to online webpage is grasped Make, the content of pages of the online webpage is saved to local;In response to the keyword of input, search and the Keywords matching Local page content;The local page content searched is shown as search result.
Wherein, the keyword in response to input, the local page content of search and the Keywords matching, can wrap It includes:
In response to inputting keyword, mapping relations with the Keywords matching, pre-establishing, institute are judged whether there is Mapping relations are stated for indicating the corresponding relationship between keyword and local page content;
If there is with the Keywords matching, the mapping relations that pre-establish, then by the page in the mapping relations Content is determined as the local page content with the Keywords matching.
Wherein, if there is no with the Keywords matching, the mapping relations that pre-establish, can also include:
The substitution word of the keyword is searched, and is judged whether there is and the substitution word is matched, reflecting of pre-establishing Penetrate relationship;The substitution word includes: synonym or approximate word;
The mapping relations that word is matched, pre-establishes are substituted if there is with described, then by the page in the mapping relations Content is determined as the local page content with the Keywords matching.
Wherein, it saves in the content of pages of the online webpage to local, can also include:
Whether the content of pages for monitoring the online webpage generates update, if the content of pages of the online webpage generates Update, then updated content of pages replaced into the local page content that has been saved, alternatively, by updated content of pages with Local page content correspondence is saved.
Wherein, can also include:
Searched in real time by internet with the webpage of the Keywords matching, and search result is shown.
Wherein, the local page content that will be searched is shown as search result, may include:
Obtain the correlation for the local page content that described search arrives;
According to the sequence of the correlation from big to small, carried out respectively using the local page content as search result items It shows.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of searching method characterized by comprising
In response to the collection operation of online webpage, the content of pages of the online webpage is saved to local;
In response to the keyword of input, the local page content of search and the Keywords matching;
The local page content searched is shown as search result.
2. the method according to claim 1, wherein the keyword in response to input, search and the pass The matched local page content of keyword, comprising:
In response to the keyword of input, mapping relations with the Keywords matching, pre-establishing are judged whether there is, it is described Mapping relations are used to indicate the corresponding relationship between keyword and local page content;
If there is with the Keywords matching, the mapping relations that pre-establish, then by the content of pages in the mapping relations, It is determined as the local page content with the Keywords matching.
3. according to the method described in claim 2, it is characterized in that, if there is no with the Keywords matching, in advance build Vertical mapping relations, further includes:
The substitution word of the keyword is searched, and judges whether there is and substitutes the mapping pass that word is matched, pre-establishes with described System;The substitution word includes: synonym or approximate word;
If there is with the substitution word is matched, the mapping relations that pre-establish, then by the content of pages in the mapping relations, It is determined as the local page content with the Keywords matching.
4. the method according to claim 1, wherein the content of pages in the online webpage is saved to local Afterwards, further includes:
Whether the content of pages for monitoring the online webpage generates update, if the content of pages of the online webpage generates more Newly, then updated content of pages is replaced into the local page content being saved, alternatively, by updated content of pages and this Content of pages correspondence in ground is saved.
5. the method according to claim 1, wherein further include:
Searched in real time by internet with the webpage of the Keywords matching, and search result is shown.
6. the method according to claim 1, wherein the local page content that will be searched is tied as search Fruit is shown, comprising:
Obtain the correlation for the local page content that described search arrives;
According to the sequence of the correlation from big to small, opened up respectively using the local page content as search result items Show.
7. a kind of searcher characterized by comprising
Storage unit saves the content of pages of the online webpage to local for the collection operation in response to online webpage;
Search unit, for the keyword in response to input, the local page content of search and the Keywords matching;
Display unit, for the local page content searched to be shown as search result.
8. device according to claim 7, which is characterized in that described search unit includes:
Judgment sub-unit, for the keyword in response to input, judge whether there is it is with the Keywords matching, pre-establish Mapping relations, the mapping relations are used to indicate corresponding relationship between keyword and local page content;
Determine subelement, for if there is with the Keywords matching, the mapping relations that pre-establish, then the mapping is closed Content of pages in system is determined as the local page content with the Keywords matching.
9. a kind of device for search, which is characterized in that it include memory and one or more than one program, Perhaps more than one program is stored in memory and is configured to be executed by one or more than one processor for one of them The one or more programs include the instruction for performing the following operation:
In response to the collection operation of online webpage, the content of pages of the online webpage is saved to local;
In response to the keyword of input, the local page content of search and the Keywords matching;
The local page content searched is shown as search result.
10. a kind of computer-readable medium is stored thereon with instruction, when executed by one or more processors, so that device Execute the searching method as described in one or more in claim 1 to 6.
CN201711071244.9A 2017-11-03 2017-11-03 Searching method, searching device and searching device Active CN110069667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711071244.9A CN110069667B (en) 2017-11-03 2017-11-03 Searching method, searching device and searching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711071244.9A CN110069667B (en) 2017-11-03 2017-11-03 Searching method, searching device and searching device

Publications (2)

Publication Number Publication Date
CN110069667A true CN110069667A (en) 2019-07-30
CN110069667B CN110069667B (en) 2022-07-19

Family

ID=67364520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711071244.9A Active CN110069667B (en) 2017-11-03 2017-11-03 Searching method, searching device and searching device

Country Status (1)

Country Link
CN (1) CN110069667B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040059632A1 (en) * 2002-09-23 2004-03-25 International Business Machines Corporation Method and system for providing an advertisement based on an URL and/or a search keyword entered by a user
CN1912869A (en) * 2005-08-11 2007-02-14 腾讯科技(深圳)有限公司 Implementing method of network profile
CN102831186A (en) * 2012-08-02 2012-12-19 深圳市同洲电子股份有限公司 Method and device for storing and searching webpage
CN102945259A (en) * 2012-10-18 2013-02-27 北京奇虎科技有限公司 Searching method and device based on favorites
US20130066906A1 (en) * 2010-05-28 2013-03-14 Rakuten, Inc. Information processing device, information processing method, information processing program, and recording medium
CN102982118A (en) * 2012-11-09 2013-03-20 北京奇虎科技有限公司 Searching method and device based on favorites
CN103246746A (en) * 2013-05-23 2013-08-14 百度在线网络技术(北京)有限公司 Method, device and system for searching information
CN103744853A (en) * 2013-11-08 2014-04-23 北京奇虎科技有限公司 Method and device for providing web cache information in search engine
CN104391978A (en) * 2014-12-05 2015-03-04 北京国双科技有限公司 Method and device for storing and processing web pages of browsers
CN106156193A (en) * 2015-04-22 2016-11-23 阿里巴巴集团控股有限公司 Search and the collection method of network address, browser, server and system
CN106844484A (en) * 2016-12-23 2017-06-13 北京奇虎科技有限公司 Information search method, device and mobile terminal
CN106886541A (en) * 2015-12-16 2017-06-23 北京搜狗科技发展有限公司 A kind of data search method, device and a kind of device for data search
CN106886540A (en) * 2015-12-16 2017-06-23 北京搜狗科技发展有限公司 A kind of data search method, device and the device for data search
CN107229705A (en) * 2017-05-25 2017-10-03 北京小米移动软件有限公司 Information resources lookup method, device and computer-readable recording medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040059632A1 (en) * 2002-09-23 2004-03-25 International Business Machines Corporation Method and system for providing an advertisement based on an URL and/or a search keyword entered by a user
CN1912869A (en) * 2005-08-11 2007-02-14 腾讯科技(深圳)有限公司 Implementing method of network profile
US20130066906A1 (en) * 2010-05-28 2013-03-14 Rakuten, Inc. Information processing device, information processing method, information processing program, and recording medium
CN102831186A (en) * 2012-08-02 2012-12-19 深圳市同洲电子股份有限公司 Method and device for storing and searching webpage
CN102945259A (en) * 2012-10-18 2013-02-27 北京奇虎科技有限公司 Searching method and device based on favorites
CN102982118A (en) * 2012-11-09 2013-03-20 北京奇虎科技有限公司 Searching method and device based on favorites
CN103246746A (en) * 2013-05-23 2013-08-14 百度在线网络技术(北京)有限公司 Method, device and system for searching information
CN103744853A (en) * 2013-11-08 2014-04-23 北京奇虎科技有限公司 Method and device for providing web cache information in search engine
CN104391978A (en) * 2014-12-05 2015-03-04 北京国双科技有限公司 Method and device for storing and processing web pages of browsers
CN106156193A (en) * 2015-04-22 2016-11-23 阿里巴巴集团控股有限公司 Search and the collection method of network address, browser, server and system
CN106886541A (en) * 2015-12-16 2017-06-23 北京搜狗科技发展有限公司 A kind of data search method, device and a kind of device for data search
CN106886540A (en) * 2015-12-16 2017-06-23 北京搜狗科技发展有限公司 A kind of data search method, device and the device for data search
CN106844484A (en) * 2016-12-23 2017-06-13 北京奇虎科技有限公司 Information search method, device and mobile terminal
CN107229705A (en) * 2017-05-25 2017-10-03 北京小米移动软件有限公司 Information resources lookup method, device and computer-readable recording medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HANXIONG CHEN ET AL: "Supporting Web Search with Near Keywords", 《FOURTH INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY (FSKD 2007)》 *
胡服骑射: "自由自在地收藏 在线收藏夹评测", 《电脑迷》 *

Also Published As

Publication number Publication date
CN110069667B (en) 2022-07-19

Similar Documents

Publication Publication Date Title
US10990623B2 (en) Information retrieval method, eletronic device and storage medium
CN106708282B (en) A kind of recommended method and device, a kind of device for recommendation
CN105787102B (en) Searching method, device and the device for search
CN109522419B (en) Session information completion method and device
CN107958042B (en) Target topic pushing method and mobile terminal
CN107330019A (en) Searching method and device
CN110399548A (en) A kind of search processing method, device, electronic equipment and storage medium
KR101626874B1 (en) Mobile terminal and method for transmitting contents thereof
CN108121736A (en) A kind of descriptor determines the method for building up, device and electronic equipment of model
CN108874939A (en) A kind of information search method and device
CN105893493A (en) Searching method and device
CN108874827A (en) A kind of searching method and relevant apparatus
CN110989847B (en) Information recommendation method, device, terminal equipment and storage medium
CN104683496B (en) address filtering method and device
CN110110204A (en) A kind of information recommendation method, device and the device for information recommendation
CN107045541A (en) data display method and device
CN110019885A (en) A kind of expression data recommended method and device
CN105302335B (en) Vocabulary recommends method and apparatus and computer readable storage medium
CN105630987B (en) The uniform resource locator prefix method for digging and device of adaptive user agency
CN109190076A (en) Page collecting method, device, storage medium and electronic equipment
CN107784037B (en) Information processing method and device, and device for information processing
CN109521888A (en) A kind of input method, device and medium
CN110032320B (en) Page rolling control method and device and terminal
CN110110046B (en) Method and device for recommending entities with same name
CN110020082B (en) Searching method and device

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