CN105677927B - For providing the method and apparatus of search result - Google Patents
For providing the method and apparatus of search result Download PDFInfo
- Publication number
- CN105677927B CN105677927B CN201610200781.8A CN201610200781A CN105677927B CN 105677927 B CN105677927 B CN 105677927B CN 201610200781 A CN201610200781 A CN 201610200781A CN 105677927 B CN105677927 B CN 105677927B
- Authority
- CN
- China
- Prior art keywords
- information
- demand
- keyword
- presented
- webpage
- 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
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/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses for providing the method and apparatus of search result.One specific embodiment of the method includes: the searching keyword for obtaining user's input and the characteristic information of user;The demand information of the user is determined according to the searching keyword and the characteristic information;It is scanned for based on the searching keyword and the demand information, obtains at least one webpage to be presented;And according at least one described auto-building html files dialog interaction to be presented.The embodiment can provide the personalized search results comprising key content for user, reduce the redundancy in search result, shorten the time that user obtains information.
Description
Technical field
This application involves field of computer technology, and in particular to field of terminal technology more particularly, to provides search knot
The method and apparatus of fruit.
Background technique
With the development of internet technology, internet data is growing, and user is available to include in search and webpage
The search result of bulk information.Generally, the search operation of user has personalized information requirement, though a large amount of search result
It is so capable of providing information abundant, but user can not therefrom be quickly found out all interested contents.On the other hand, search at present
As a result presentation mode is relatively simple, and browser can only directly searched the title of the webpage searched or network address with list mode
In rope result interface, user clicks the full content of displayed web page after corresponding network address, not according to user demand to search result
In web page contents carry out personalized processing.
Summary of the invention
In view of this, it is desired to be able to provide it is a kind of can provide accurate, customized information search processing method, further
Ground, also it is desirable to be capable of providing a kind of search processing method of personalization.In order to solve the problems, such as said one or multiple, the application is mentioned
It has supplied for providing the method and apparatus of search result.
In a first aspect, this application provides a kind of for providing the method for search result, comprising: obtain looking into for user's input
Ask keyword and the characteristic information of user;The demand of the user is determined according to the searching keyword and the characteristic information
Information;It is scanned for based on the searching keyword and the demand information, obtains at least one webpage to be presented;According to described
Auto-building html files dialog interaction to be presented.
In some optional implementations, the method also includes: show the dialog interaction.
It is described that the use is determined based on the searching keyword and the characteristic information in some optional implementations
The demand information at family, comprising: the searching keyword and the characteristic information are inputted into the identification of demand information model trained,
Demand information to identify at least one demand keyword, as the user.
It is described that the use is determined based on the searching keyword and the characteristic information in some optional implementations
The demand information at family, further includes: the match grade of the demand keyword is identified based on the identification of demand information model;It will
The demand information of the demand keyword and corresponding match grade as the user.
It is described to be scanned for according to the searching keyword and the demand information in some optional implementations,
Obtain at least one webpage to be presented, comprising: according to the searching keyword and the demand keyword, search using search engine
Rope goes out multiple matched webpages;Extract the key content information of the matched webpage;According to the key content information from institute
It states and determines at least one described webpage to be presented in matched webpage.
It is described to be determined from the matched webpage according to the key content information in some optional implementations
At least one described webpage to be presented out, comprising: the matched webpage is ranked up according to the key content information;Root
At least one webpage to be presented is determined according to the sequence of the matched webpage;Wherein, the key content information includes following
At least one of: theme, text amount, the searching keyword and the number of demand keyword appearance, matched inquiry are crucial
The quantity of word and demand keyword, the frequency of occurrence of the similar key of the searching keyword, the phase of the demand keyword
Like the frequency of occurrence of keyword.
In some optional implementations, described at least one auto-building html files dialog interaction to be presented according to,
It include: based on the dialog template trained, according at least one described auto-building html files dialog interaction to be presented.
It is described based on the dialog template trained in some optional implementations, according to it is described at least one wait opening up
Show auto-building html files dialog interaction, comprising: true from the dialog template library trained according at least one described webpage to be presented
Make target dialogue template;Information to be presented is extracted from least one described webpage to be presented;Based on the letter to be presented
Breath and the dialog template generate the dialog interaction.
In some optional implementations, the characteristic information includes at least one of the following: age, gender, work
Type, focus information, location information, historical search record.
Second aspect, this application provides a kind of for providing the device of search result, comprising: acquiring unit, for obtaining
Take the searching keyword of family input and the characteristic information of user;Determination unit, for according to the searching keyword and institute
State the demand information that characteristic information determines the user;Search unit, for being believed based on the searching keyword and the demand
Breath scans for, and obtains at least one webpage to be presented;And generation unit, for according to the auto-building html files interaction to be presented
Formula dialogue.
In some optional implementations, described device further include: display unit, for showing that the interactive mode is right
Words.
In some optional implementations, the determination unit is used to determine the demand letter of the user as follows
Breath: the searching keyword and the characteristic information are inputted into the identification of demand information model trained, to identify at least one
A demand keyword, the demand information as the user.
In some optional implementations, the determination unit is further used for determining the user's as follows
Demand information: the match grade of the demand keyword is identified based on the identification of demand information model;The demand is closed
The demand information of keyword and corresponding match grade as the user.
In some optional implementations, described search unit is for being carried out as follows search: according to described
Searching keyword and the demand keyword search out multiple matched webpages using search engine;Extract the matched net
The key content information of page;It is determined from the matched webpage according to the key content information described at least one wait open up
Show webpage.
In some optional implementations, described search unit is further used for as follows from described matched
At least one described webpage to be presented is determined in webpage: the matched webpage being arranged according to the key content information
Sequence;At least one webpage to be presented is determined according to the sequence of the matched webpage;Wherein, the key content information includes
At least one of below: number, the matched inquiry of theme, text amount, the searching keyword and demand keyword appearance
The quantity of keyword and demand keyword, the frequency of occurrence of the similar key of the searching keyword, the demand keyword
Similar key frequency of occurrence.
In some optional implementations, the generation unit is further used for: based on the dialog template trained, root
According at least one described auto-building html files dialog interaction to be presented.
In some optional implementations, the generation unit for generating dialog interaction as follows: root
Target dialogue template is determined from the dialog template library trained according at least one described webpage to be presented;From described at least one
Information to be presented is extracted in a webpage to be presented;The interactive mode is generated based on the information to be presented and the dialog template
Dialogue.
In some optional implementations, the characteristic information includes at least one of the following: age, gender, work
Type, focus information, location information, historical search record.
The searching keyword provided by the present application for providing the method and apparatus of search result, inputted by obtaining user
And the characteristic information of user;The demand information of user is then determined based on searching keyword and characteristic information;Then basis is looked into
It askes keyword and the demand information scans for, at least one webpage to be presented is obtained, finally according to auto-building html files to be presented
Dialog interaction can be implemented as user and provide the personalized search results comprising key content, reduces in search result
Redundancy shortens the time that user obtains information.
Detailed description of the invention
Non-limiting embodiment is described in detail referring to made by the following drawings by reading, other features,
Objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the method for providing search result of the application;
Fig. 3 is the schematic diagram of the dialog template of the application;
Fig. 4 is to be used to provide the effect diagram of an application scenarios of the method for search result according to the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the device for providing search result of the application;
Fig. 6 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present application
Figure.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User 110 can be used terminal device 101,102,103 and be interacted with server 105 by network 104, with reception or
Send message etc..Browser and/or various search application can be installed on terminal device 101,102,103.
Terminal device 101,102,103 can be with display screen and support the various electronic equipments of function of search, packet
Include but be not limited to smart phone, tablet computer, smartwatch, E-book reader, MP3 player (Moving Picture
Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving
Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, knee
Mo(u)ld top half portable computer and desktop computer etc..
Server 105 can be to provide the server of various services, such as to the search on terminal device 101,102,103
Using the search server of offer back-office support.Backstage search server can carry out webpage based on the searching request received and grab
It takes, and crawl result is fed back into terminal device.
It should be noted that for providing the method for search result generally by terminal device provided by the embodiment of the present application
101, it 102,103 executes, correspondingly, the device for providing search result is generally positioned in terminal device 101,102,103.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the stream of one embodiment of the method for providing search result according to the application is shown
Journey 200.Described is used to provide the method flow 200 of search result, comprising the following steps:
Step 201, the searching keyword of user's input and the characteristic information of user are obtained.
In the present embodiment, for providing electronic equipment (such as the end shown in FIG. 1 of search result method operation thereon
End equipment 101,102,103) can receive the inquiry request of user, obtain the searching keyword in inquiry request.Meanwhile it is above-mentioned
Electronic equipment can also obtain the characteristic information for issuing the user of inquiry request.Wherein, the characteristic information of user can be characterization
The information of user's build-in attribute may include the static information of user, such as user identifier (ID), age, gender, job category
Etc. information, also may include the dynamic behaviour information of user, such as location information, historical search record.The characteristic information of user
It can also include other attribute informations deduced according to above-mentioned static information and dynamic behaviour information, such as focus information.
In general, user when scanning for operation to obtain information, input inquiry keyword can carry out in search box
Inquiry, at this moment, the keyword of the above-mentioned available user's input of electronic equipment finds out corresponding User ID from memory
(Identity, identity), and according to the characteristic information of User ID acquisition user.These characteristic informations can be stored in advance in
It in the memory of above-mentioned electronic equipment, also can store in network server, such as in cloud disk.
In the present embodiment, the searching keyword of user's input is not limited to the keyword that user is keyed in by input application,
It can also include that draw word of the user in webpage or application operates chosen keyword, and the language inputted by voice module
Sound keyword.In some alternative embodiments, the keyword that above-mentioned electronic equipment can input user pre-processes, example
It such as extracts user and draws notional word in word operation in selected word, in another example carrying out speech analysis to voice keyword obtains text
Word keyword.
Step 202, the demand information of user is determined according to searching keyword and characteristic information.
The method operation electronic equipment thereon that user provides search result can searching keyword to acquisition and spy
Reference breath is analyzed, to obtain the demand information of user.The demand information of user can be the search intention information of user,
The information obtained it is expected for characterizing user.For example, work as the keyword that user inputs for " Hangzhou ", " May Day ", meanwhile, user's
Include the information of other tourist cities in historical search record, then may infer that user may go to Hangzhou to travel in vacation on May Day,
The search intention information of user may include: the traffic information in the round-trip Hangzhou in city where current geographic position, Hangzhou hotel
Information, travel information of Hangzhou surrounding cities etc., then the demand information of user may include the corresponding key of above-mentioned search intention
Word.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can be pre-configured with demand information library.
It include a plurality of types of demand informations in demand information library, each demand information can be believed with one or more features of user
Breath and searching keyword are associated.It, can then after obtaining the characteristic information of searching keyword and user of user's input
To inquire associated demand information in demand information library.
In other optional implementations of the present embodiment, above-mentioned electronic equipment can be using the method for machine learning
Identify the demand information of user.Specifically, can determine the demand information of user in the following way: by searching keyword and
Characteristic information inputs the identification of demand information model trained, the need to identify at least one demand keyword, as user
Seek information.
Further, the input of identification of demand information model can be at least one searching keyword and characteristic information, it is defeated
It out can be demand keyword.It can be based on marked data or historic demand data training identification of demand information model.?
It may include the corresponding pass between marked searching keyword, user's characteristic information and demand keyword in the data of label
System.Historic demand data may include the searching keyword obtained according to other identification of demand information methods, user's characteristic information
With the corresponding relationship between demand keyword.Further, test data set can also be established, according to the test of test data set
As a result the parameter in identification of demand information model is modified.
In further implementation, the output of identification of demand information model can also include the matching of demand keyword
Grade is then also based on the match grade that identification of demand information model identifies demand keyword, by demand keyword and right
Demand information of the match grade answered as user.The match grade of demand keyword can characterize the relatively strong and weak journey of demand
Degree.When identification of demand information model identifies multiple demand keywords, multiple demand keywords can also be ranked up, and
Different degree is determined according to sorting.Different degree height indicates that the demand of demand keyword is stronger, and match grade is higher.Citing and
Speech, after user inputs " Hangzhou ", " May Day ", if the demand keyword identified includes " Beijing to Hangzhou air ticket ", " Hangzhou
Hotel ", " Suzhou Tourist information " and " National Day Hangzhou travel information ".Identification of demand information model can determine that " Beijing is arrived
Hangzhou air ticket ", the match grade in " Hangzhou hotel " are higher, and " Suzhou Tourist information " and " National Day Hangzhou travel information "
Match grade is relatively low.
It, can be according to match grade from high to low to need after identifying demand keyword and its corresponding match grade
It asks keyword to be ranked up, obtains demand lists of keywords, as the demand information determined.
Step 203, it is scanned for based on searching keyword and demand information, obtains at least one webpage to be presented.
In the present embodiment, retrieval type can be generated based on searching keyword and demand information, is carried out using search engine
It searches for, the webpage in search result is webpage to be presented.Search engine can grab in web database according to retrieval type
Relevant one or more webpage, as webpage to be presented.Multiple webpages that search engine collecting goes out are carried out according to the degree of correlation
Result after sequence.
Webpage to be presented may include a plurality of types of webpages, for example, the webpage comprising forum's note, the webpage comprising article,
Webpage, the Online e-business webpage etc. that audio or video plays.In some embodiments, displayed web page can also be treated to be sieved
The webpage that webpage, Online e-business webpage etc. that audio or video plays quickly cannot provide search result for user is rejected in choosing.
In some embodiments, it can search in the following way and obtain at least one webpage to be presented: be looked into according to described
Keyword and the demand keyword are ask, multiple matched webpages are searched out using search engine, extract the pass of matched webpage
Key content information determines at least one webpage to be presented according to key content information from matched webpage.Wherein, in key
Holding information can include but is not limited to: the number of number, the appearance of demand keyword that text amount, theme, searching keyword occur,
The quantity of the quantity of matched searching keyword, matched demand keyword.Multiple matched nets are being obtained using search engine
After page, above-mentioned key content information can be counted, and using key content information meet the matched webpage of preset condition as
Webpage to be presented.Such as can webpage using text amount greater than 300 as webpage to be presented, number that searching keyword is occurred
Greater than 10 and webpage of the topic correlativity greater than 0.8 is as webpage to be presented.Optionally, dictionary can also be inquired, obtains and looks into
The similar key for asking keyword and/or demand keyword goes out the similar key of searching keyword in matched webpage
Occurrence number, demand keyword similar key frequency of occurrence as key content information, judge matched webpage whether be
Webpage to be presented.
Step 204, according at least one auto-building html files dialog interaction to be presented.
Webpage to be presented can be converted to dialog interaction using natural language processing method by above-mentioned electronic equipment.Specifically
Ground can treat displayed web page and carry out semantic analysis, generate subproblem in dialog interaction according to the result of semantic analysis
Answer, and be the problem of the answer configuration correspondence generated.In some optional implementations, it can believe according to the demand of user
Generation problem is ceased, and searches the answer gone wrong from webpage to be presented, multiple problems and corresponding answer combination producing are more
Take turns dialog interaction.
Above-mentioned electronic equipment can also treat displayed web page using a variety of Natural Language Processing Models and be handled, such as hidden
Markov model, maximum entropy model, support vector machines etc., to generate dialog interaction.
In some embodiments, dialog interaction can be generated according to the content and dialog template of webpage to be presented.
In a further embodiment, dialog template can be is obtained using the method training of machine learning.Above-mentioned electricity
Sub- equipment can be based on the dialog template trained, according at least one auto-building html files dialog interaction to be presented.Specifically,
Target dialogue template can be determined from the dialog template library trained according at least one webpage to be presented, from least one
Information to be presented is extracted in webpage to be presented, and dialog interaction is generated based on information to be presented and dialog template.Further
Ground, the dialog template trained can multiple dialog texts generations according to.Specifically, dialog template can use as follows
Mode training: the text based on question and answer type establishes training sample set and test set, obtains just using training sample set training
After beginning dialog template, test using test set and labeled test is as a result, carry out initial dialog template according to test result
Amendment, the dialog template trained.
Dialog template can be stored in the common template in the memory of above-mentioned electronic equipment, the subject content with webpage
It is associated.Further, the associated subject content of dialog template or type of theme can be preconfigured and and dialog template
It is associatedly stored in dialog template library.In the present embodiment, above-mentioned electronic equipment can be in the theme according to webpage to be presented
Perhaps type of theme finds out associated target dialogue template from dialog template library.
In some embodiments, dialog template can be the template of manual creation, can also be the net according to question and answer type
The template that question and answer content in page generates.Above-mentioned electronic equipment can extract the Versatile content in the webpage of question and answer type
Come, generate template, such as can from " going to Hong Kong to travel, how this plays? " in extract " going * * to travel, how this plays? " further
Ground, can mark the type information for the content not being written in dialog template, for example, label problem " going * * to travel, how this plays? " in
" * * " can mark be can mark this problem answer be tour arrangement.
After finding out dialog template, the content that can be treated in displayed web page is analyzed, and extracts dialog template
The information of middle needs, the i.e. information to be presented, the information to be presented and the dialog template that extract are combined, and are generated and are handed over
Mutual formula dialogue.For example, information of place names can be extracted from the content of webpage to be presented, be added to template " go * * travel this why
Play? " in, if extracting multiple information of place names, it can further analyze being associated between information of place names and user demand information
The number that degree or statistics information of place names occur, is added to template for the most information of place names of degree of association highest or frequency of occurrence
" going * * to travel, how this plays? " one problem of middle generation.Correspondingly, travelling peace can be extracted from the content of webpage to be presented
The relevant information of row generates the answer of this problem.
In the present embodiment, the form of dialog interaction can be the form of word dialog, may include more wheel dialogues, often
A part of content in the one corresponding webpage to be presented of wheel dialogue.In this way, in the case where user's only input inquiry keyword, it can also
To obtain the search result of question and answer mode.
With further reference to Fig. 3, it illustrates a schematic diagrames of dialog template.As shown in figure 3, dialog template 300 includes
Four-wheel dialogue, wherein answer dialog box 321,322,323,324 corresponds respectively to problem dialogue box 311,312,313,314.Figure
3 show an illustrative dialog template of illness inquiry, wherein dialog box 311,312,313,314,321,322,323,
Horizontal line part in 324 indicates content to be inserted.Dialog template 300 can mark to be inserted interior in these horizontal line parts in advance
The characteristic information of appearance, such as horizontal line part in dialog box 311,312 can be marked to be inserted for illness title, dialog box in advance
The horizontal line part symptom to be inserted for illness in 321, horizontal line part is to be inserted for diagnostic method, dialogue in dialog box 322
Horizontal line part is to be inserted for treatment method in frame 323, the horizontal line part hospital to be inserted for recommendation, doctor in dialog box 324
Raw relevant information etc..
In some implementations, after generating dialog interaction, the method flow 200 for providing search result can be with
It include: displaying dialog interaction.Specifically, dialog interaction can be shown according to configured dialogue exhibition method.Some
In optional implementation, dialog interaction can directly be shown in search result, it can also be by dialog interaction with floating
The form of dynamic window is shown in the displaying interface of search result.
With continued reference to Fig. 4, it illustrates an application scenarios for being used to provide the method for search result according to the application
Effect diagram.When user inputs " gastric ulcer " in search box 411, above-mentioned electronic equipment can be searched for according to user's history
Record show that the demand information of user includes: " symptom " " inspection " " therapeutic modality ", according to the keyword " gastric ulcer " of input with
And demand information searches out webpage " clinical diagnosis and treatment of gastric ulcer ", and provides the URL of the webpage.The webpage includes stomach
The illness of ulcer and the article for the treatment of method introduction.Above-mentioned electronic equipment can be based on dialog template shown in Fig. 3, from the webpage
In extract related content, generate dialog interaction, and show in the interface of search result in a manner of pop-up 412.In this way,
User can quickly and easily obtain key message, without reading over the full content in webpage.
The above embodiments of the present application are used to provide the method for search result, by analysis user demand and generate interactive mode
The search result of dialogue can quickly provide the search result comprising key content, reduce the redundancy in search result,
The time for shortening user's acquisition information further also enriches the exhibition method of search result.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind to search for providing
One embodiment of the device of hitch fruit, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically may be used
To be applied in various electronic equipments.
As shown in figure 5, the device 500 described in the present embodiment for providing search result includes: acquiring unit 501, really
Order member 502, search unit 503 and generation unit 504.Wherein, the inquiry that acquiring unit 501 is used to obtain user's input is closed
Keyword and the characteristic information of user;Determination unit 502 is used to determine the user's according to searching keyword and characteristic information
Demand information;Search unit 503 is used to scan for based on searching keyword and demand information, obtains at least one net to be presented
Page;Generation unit 504 is used for according to auto-building html files dialog interaction to be presented.
In the present embodiment, acquiring unit 501 can receive the inquiry request of user, and the inquiry obtained in inquiry request is closed
The characteristic information of the user of keyword and sending inquiry request.Wherein, the characteristic information of user may include the static letter of user
The attribute informations such as breath, dynamic behaviour information and focus.In some embodiments, acquiring unit 501 can be according to User ID
Find out the characteristic information of user.
The searching keyword and characteristic information that determination unit 502 can obtain acquiring unit 501 are analyzed, thus
The demand information of user out.Specifically, it is determined that unit 502 can go out acquiring unit according to preconfigured demand information library lookup
501 searching keywords and the corresponding demand keyword of characteristic information obtained, the method that machine learning can also be used, based on obtaining
The searching keyword and characteristic information for taking unit 501 to obtain identify demand keyword and corresponding match grade.
The demand that search unit 503 can will acquire the searching keyword of the acquisition of unit 501 and determination unit 502 is determined
Keyword is scanned for as search key, obtains multiple matched webpages using search engine, later can be to matched
The key content information (such as number etc. of text amount, theme, search key appearance) of webpage is analyzed, by key content
Information meets the webpage of preset condition as webpage to be presented.
Generation unit 504 can use natural language processing method that the Content Transformation of webpage to be presented is right for interactive mode
Words.Specifically, generation unit 504 can extract the information and and dialog template that dialog template need to be inserted from webpage to be presented
It is combined, generates dialog interaction.Wherein, dialog interaction can be more wheel word dialogs.
In some alternative embodiments, the device 500 for providing search result can also include display unit 505
(not shown).Display unit 505 is used to show the dialog interaction that generation unit 504 generates.
In some optional implementations of the present embodiment, determination unit 502 for determining the use as follows
The demand information at family: searching keyword and characteristic information are inputted into the identification of demand information model trained, to identify at least
One demand keyword, the demand information as user.
In further implementation, determination unit 503 can identify that demand is closed based on identification of demand information model
The match grade of keyword, and using demand keyword and corresponding match grade as the demand information of user.
In some optional implementations, search unit 503 is further used for as follows from matched webpage
In determine webpage to be presented: the matched webpage is ranked up according to key content information;According to matched webpage
At least one webpage to be presented is determined in sequence;Wherein, key content information includes at least one of the following: theme, text amount, looks into
Ask number, the quantity of matched searching keyword and demand keyword, inquiry pass that keyword and the demand keyword occur
Frequency of occurrence, the frequency of occurrence of the similar key of demand keyword of the similar key of keyword.
In some optional implementations, generation unit 504 can be based on the dialog template trained, according at least one
A auto-building html files dialog interaction to be presented.Further, generation unit 504 can be used for generating interactive mode as follows
Dialogue: target dialogue template is determined from the dialog template library trained according at least one webpage to be presented;From at least one
Information to be presented is extracted in a webpage to be presented;The dialog interaction is generated based on information to be presented and dialog template.
In some optional implementations, the characteristic information of user may include at least one of following: the age, gender,
Job category, focus information, location information, historical search record.
It further includes some other known for being set forth on it will be understood by those skilled in the art that and providing the device 500 of search result
Structure, such as processor, memory etc., in order to unnecessarily obscure embodiment of the disclosure, these well known structures are in Fig. 5
It is not shown.
It should be appreciated that all units recorded in device 500 are corresponding with each step in the method with reference to Fig. 2 description.
Device 500 is equally applicable to above with respect to the operation and feature of the method description for providing search result as a result, and is wherein wrapped
The unit contained, details are not described herein.Corresponding units in device 500 can be with the unit phase in terminal device and/or server
Mutually cooperate the scheme to realize the embodiment of the present application.
It is provided by the present application to be used to provide the device of search result, it can be implemented as user and comprising key content be provided
Property search result, reduce the redundancy in search result, shorten user obtain information time.
Below with reference to Fig. 6, it illustrates the calculating of the terminal device or server that are suitable for being used to realize the embodiment of the present application
The structural schematic diagram of machine system 600.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be tangibly embodied in machine readable
Computer program on medium, the computer program include the program code for method shown in execution flow chart.At this
In the embodiment of sample, which can be downloaded and installed from network by communications portion 609, and/or from removable
Medium 611 is unloaded to be mounted.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yiyong
The dedicated hardware based system of defined functions or operations is executed to realize, or can be referred to specialized hardware and computer
The combination of order is realized.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include acquiring unit, determination unit, search unit and generation unit.Wherein, the title of these units not structure under certain conditions
The restriction of the pairs of unit itself, for example, acquiring unit be also described as " obtain user's input searching keyword and
The unit of the characteristic information of user ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating
Machine storage medium can be nonvolatile computer storage media included in device described in above-described embodiment;It is also possible to
Individualism, without the nonvolatile computer storage media in supplying terminal.Above-mentioned nonvolatile computer storage media is deposited
One or more program is contained, when one or more of programs are executed by an equipment, so that the equipment: obtaining
The searching keyword of user's input and the characteristic information of user;Institute is determined according to the searching keyword and the characteristic information
State the demand information of user;It is scanned for based on the searching keyword and the demand information, show that at least one is to be presented
Webpage;And according at least one described auto-building html files dialog interaction to be presented.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (18)
1. a kind of for providing the method for search result characterized by comprising
Obtain the searching keyword of user's input and the characteristic information of user;
The demand information of the user is determined according to the searching keyword and the characteristic information;
It is scanned for based on the searching keyword and the demand information, obtains at least one webpage to be presented;And
According at least one described auto-building html files dialog interaction to be presented;
Wherein, described at least one auto-building html files dialog interaction to be presented according to includes: information according to the demand of user
Generation problem, and the answer gone wrong is searched from webpage to be presented, multiple problems and corresponding answer combination producing are taken turns more
Dialog interaction.
2. the method according to claim 1, wherein the method also includes:
Show the dialog interaction.
3. the method according to claim 1, wherein described be based on the searching keyword and the characteristic information
Determine the demand information of the user, comprising:
The searching keyword and the characteristic information are inputted into the identification of demand information model trained, to identify at least one
A demand keyword, the demand information as the user.
4. according to the method described in claim 3, it is characterized in that, described be based on the searching keyword and the characteristic information
Determine the demand information of the user, further includes:
The match grade of the demand keyword is identified based on the identification of demand information model;
Using the demand keyword and corresponding match grade as the demand information of the user.
5. according to the method described in claim 3, it is characterized in that, described according to the searching keyword and the demand information
It scans for, obtains at least one webpage to be presented, comprising:
According to the searching keyword and the demand keyword, multiple matched webpages are searched out using search engine;
Extract the key content information of the matched webpage;
At least one described webpage to be presented is determined from the matched webpage according to the key content information.
6. according to the method described in claim 5, it is characterized in that, it is described according to the key content information from described matched
At least one described webpage to be presented is determined in webpage, comprising:
The matched webpage is ranked up according to the key content information;
At least one webpage to be presented is determined according to the sequence of the matched webpage;
Wherein, the key content information includes at least one of the following: theme, text amount, the searching keyword and the need
Ask the similar pass of the number of keyword appearance, the quantity of matched searching keyword and demand keyword, the searching keyword
The frequency of occurrence of keyword, the demand keyword similar key frequency of occurrence.
7. the method according to claim 1, wherein described at least one auto-building html files to be presented according to are handed over
Mutual formula dialogue, comprising:
Based on the dialog template trained, according at least one described auto-building html files dialog interaction to be presented.
8. the method according to the description of claim 7 is characterized in that described based on the dialog template trained, according to it is described extremely
A few auto-building html files dialog interaction to be presented, comprising:
Target dialogue template is determined from the dialog template library trained according at least one described webpage to be presented;
Information to be presented is extracted from least one described webpage to be presented;
The dialog interaction is generated based on the information to be presented and the dialog template.
9. method according to claim 1-8, which is characterized in that the characteristic information includes following at least one
: age, gender, job category, focus information, location information, historical search record.
10. a kind of for providing the device of search result characterized by comprising
Acquiring unit, for obtaining the searching keyword of user's input and the characteristic information of user;
Determination unit, for determining the demand information of the user according to the searching keyword and the characteristic information;
Search unit show that at least one is to be presented for scanning for based on the searching keyword and the demand information
Webpage;And
Generation unit, for according at least one described auto-building html files dialog interaction to be presented;
Wherein, the generation unit for generating dialog interaction as follows: information generation according to the demand of user is asked
Topic, and the answer gone wrong is searched from webpage to be presented, multiple problems and corresponding answer combination producing are taken turns into interactive mode more
Dialogue.
11. device according to claim 10, which is characterized in that described device further include:
Display unit, for showing the dialog interaction.
12. device according to claim 10, which is characterized in that described in the determination unit is used to determine as follows
The demand information of user:
The searching keyword and the characteristic information are inputted into the identification of demand information model trained, to identify at least one
A demand keyword, the demand information as the user.
13. device according to claim 12, which is characterized in that the determination unit is further used for as follows really
The demand information of the fixed user:
The match grade of the demand keyword is identified based on the identification of demand information model;
Using the demand keyword and corresponding match grade as the demand information of the user.
14. device according to claim 12, which is characterized in that described search unit is searched for being carried out as follows
Rope:
According to the searching keyword and the demand keyword, multiple matched webpages are searched out using search engine;
Extract the key content information of the matched webpage;
At least one described webpage to be presented is determined from the matched webpage according to the key content information.
15. device according to claim 14, which is characterized in that described search unit is further used for as follows
At least one described webpage to be presented is determined from the matched webpage:
The matched webpage is ranked up according to the key content information;
At least one webpage to be presented is determined according to the sequence of the matched webpage;
Wherein, the key content information includes at least one of the following: theme, text amount, the searching keyword and the need
Ask the similar pass of the number of keyword appearance, the quantity of matched searching keyword and demand keyword, the searching keyword
The frequency of occurrence of keyword, the demand keyword similar key frequency of occurrence.
16. device according to claim 10, which is characterized in that the generation unit is further used for:
Based on the dialog template trained, according at least one described auto-building html files dialog interaction to be presented.
17. device according to claim 16, which is characterized in that the generation unit is handed over for generating as follows
Mutual formula dialogue:
Target dialogue template is determined from the dialog template library trained according at least one described webpage to be presented;
Information to be presented is extracted from least one described webpage to be presented;
The dialog interaction is generated based on the information to be presented and the dialog template.
18. the described in any item devices of 0-17 according to claim 1, which is characterized in that the characteristic information include with down toward
One item missing: age, gender, job category, focus information, location information, historical search record.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610200781.8A CN105677927B (en) | 2016-03-31 | 2016-03-31 | For providing the method and apparatus of search result |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610200781.8A CN105677927B (en) | 2016-03-31 | 2016-03-31 | For providing the method and apparatus of search result |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105677927A CN105677927A (en) | 2016-06-15 |
CN105677927B true CN105677927B (en) | 2019-04-12 |
Family
ID=56225733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610200781.8A Active CN105677927B (en) | 2016-03-31 | 2016-03-31 | For providing the method and apparatus of search result |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105677927B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106469205B (en) * | 2016-08-31 | 2020-06-05 | 百度在线网络技术(北京)有限公司 | Method and device for determining geographical location information of user |
CN106874507B (en) * | 2017-02-28 | 2020-12-25 | 百度在线网络技术(北京)有限公司 | Method and device for pushing information and server |
CN107357875B (en) * | 2017-07-04 | 2021-09-10 | 北京奇艺世纪科技有限公司 | Voice search method and device and electronic equipment |
CN107515951A (en) * | 2017-09-20 | 2017-12-26 | 广东中标数据科技股份有限公司 | A kind of searching method based on graphic data base, system and device |
CN110147485A (en) * | 2017-09-22 | 2019-08-20 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus for the attribute identifying search term |
CN108763264B (en) * | 2018-03-30 | 2022-06-17 | 斑马网络技术有限公司 | Intelligent search system based on vehicle and search method thereof |
CN110245289A (en) * | 2019-05-20 | 2019-09-17 | 中国平安财产保险股份有限公司 | A kind of information search method and relevant device |
CN111291086A (en) * | 2020-01-15 | 2020-06-16 | 北京爱论答科技有限公司 | Course content searching method, system, equipment and storage medium |
CN113449050B (en) * | 2020-03-24 | 2024-04-16 | 北京四维图新科技股份有限公司 | Position searching method, device and storage medium |
CN114492972A (en) * | 2022-01-17 | 2022-05-13 | 上海季丰电子股份有限公司 | Method for providing mass production test platform model selection |
CN117493511B (en) * | 2023-11-02 | 2024-06-07 | 国农(重庆)生猪大数据产业发展有限公司 | Automatic question-answering system and method in live pig field based on large language model |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101685454A (en) * | 2008-09-28 | 2010-03-31 | 华为技术有限公司 | Human-computer interactive method and system |
CN102982025A (en) * | 2011-09-02 | 2013-03-20 | 北京百度网讯科技有限公司 | Identification method and device for searching requirement |
CN104317920A (en) * | 2014-10-29 | 2015-01-28 | 中英融贯资讯(武汉)有限公司 | Information pushing method and information pushing system based on intelligent user demand matching |
CN105045889A (en) * | 2015-07-29 | 2015-11-11 | 百度在线网络技术(北京)有限公司 | Information pushing method and apparatus |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102385585A (en) * | 2010-08-27 | 2012-03-21 | 阿里巴巴集团控股有限公司 | Establishing method of webpage database, webpage searching method and relative device |
CN102325152A (en) * | 2011-07-11 | 2012-01-18 | 吴丽嫦 | Chat room loading method and system based on webpage content |
US20150302103A1 (en) * | 2012-05-17 | 2015-10-22 | Leo Jeremias | Computer system and methods for chat enabled online search |
US20140067816A1 (en) * | 2012-08-29 | 2014-03-06 | Microsoft Corporation | Surfacing entity attributes with search results |
CN104133908B (en) * | 2014-08-07 | 2018-09-04 | 北京奇虎科技有限公司 | Method, server, client and the system that frame is discussed are shown or generated in the page |
-
2016
- 2016-03-31 CN CN201610200781.8A patent/CN105677927B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101685454A (en) * | 2008-09-28 | 2010-03-31 | 华为技术有限公司 | Human-computer interactive method and system |
CN102982025A (en) * | 2011-09-02 | 2013-03-20 | 北京百度网讯科技有限公司 | Identification method and device for searching requirement |
CN104317920A (en) * | 2014-10-29 | 2015-01-28 | 中英融贯资讯(武汉)有限公司 | Information pushing method and information pushing system based on intelligent user demand matching |
CN105045889A (en) * | 2015-07-29 | 2015-11-11 | 百度在线网络技术(北京)有限公司 | Information pushing method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN105677927A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105677927B (en) | For providing the method and apparatus of search result | |
CN105630876B (en) | Information acquisition method and device across application | |
US11669579B2 (en) | Method and apparatus for providing search results | |
US20210042662A1 (en) | Interactive Information Capture and Retrieval with User-Defined and/or Machine Intelligence Augmented Prompts and Prompt Processing | |
CN106383875B (en) | Man-machine interaction method and device based on artificial intelligence | |
US10733197B2 (en) | Method and apparatus for providing information based on artificial intelligence | |
US11172040B2 (en) | Method and apparatus for pushing information | |
CN103098051B (en) | Search engine optmization assistant | |
US9336290B1 (en) | Attribute extraction | |
JP6381775B2 (en) | Information processing system and information processing method | |
CN105940399B (en) | Voice search device, speech search method and display device | |
CN109145204A (en) | The generation of portrait label and application method and system | |
CN104462575B (en) | The implementation method and device of music synthesis search | |
US20110307482A1 (en) | Search result driven query intent identification | |
CN106993030A (en) | Information-pushing method and device based on artificial intelligence | |
CN105786969A (en) | Information display method and apparatus | |
CN110597962A (en) | Search result display method, device, medium and electronic equipment | |
WO2015097702A1 (en) | System and methods for vocal commenting on selected web pages | |
DE102012022733A1 (en) | Advertising system combined with a search engine service and method for carrying it out | |
CN108280081A (en) | The method and apparatus for generating webpage | |
CN110209692A (en) | Providing method, data processing method, device and the equipment of data label | |
US20070136233A1 (en) | Method for analyzing, deconstructing, reconstructing, and repurposing rhetorical content | |
CN108573053A (en) | Information-pushing method, device and system | |
CN108509442A (en) | Searching method and device, server and computer readable storage medium | |
CN108205532A (en) | The method and apparatus for generating webpage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |