CN108363707A - Method and apparatus for generating webpage - Google Patents
Method and apparatus for generating webpage Download PDFInfo
- Publication number
- CN108363707A CN108363707A CN201710057348.8A CN201710057348A CN108363707A CN 108363707 A CN108363707 A CN 108363707A CN 201710057348 A CN201710057348 A CN 201710057348A CN 108363707 A CN108363707 A CN 108363707A
- Authority
- CN
- China
- Prior art keywords
- information
- pushed
- keyword
- predetermined
- predetermined keyword
- 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
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/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/972—Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
-
- 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/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Abstract
This application discloses the method and apparatus for generating webpage.One specific implementation mode of this method includes:Receive the searching request that client is sent, wherein searching request includes search key;Obtain information to be pushed set corresponding with search key;Determine the association type between search key and predetermined keyword set;Based on the association type between search key and predetermined keyword set, the push position of each information to be pushed in acquired information to be pushed set is determined;Each information to be pushed is arranged according to identified push position on webpage, to generate new web page.This embodiment improves the efficiency of information push.
Description
Technical field
This application involves field of computer technology, and in particular to Internet technical field more particularly, to generates webpage
Method and apparatus.
Background technology
Information pushes, and is by certain technical standard or agreement, on the internet by pushing away also known as " Web broadcast "
The information that user needs is sent to reduce a technology of information overload.Information advancing technique, can be with by pushing information to user
User is reduced the time spent in being searched on network.
However, existing information push platform is provided solely for the push mode for brand word, i.e., only when user searches for
When brand word, just can to user push with the relevant pushed information of brand word, and when user search for brand word periphery word when, no
It can accurately identify, cause information pushing efficiency relatively low.
Invention content
The purpose of the application is to propose a kind of improved method and apparatus for generating webpage, to solve background above
The technical issues of technology segment is mentioned.
In a first aspect, this application provides a kind of method for generating webpage, this method includes:Client is received to send
Searching request, wherein searching request includes search key;Obtain information to be pushed set corresponding with search key;
Determine the association type between search key and predetermined keyword set;Based on search key and predetermined keyword set it
Between association type, determine the push position of each information to be pushed in acquired information to be pushed set;Each item is waited for
Pushed information is arranged according to identified push position on webpage, to generate new web page.
In some embodiments, information to be pushed set corresponding with search key is obtained, including:It waits pushing from general
In information database and default information to be pushed database corresponding with predetermined keyword, obtain corresponding with search key
Information to be pushed set.
In some embodiments, predetermined keyword set includes predetermined keyword and corresponding predetermined keyword periphery word;
And the association type between determining search key and predetermined keyword set, including:Semanteme based on search key point
Analysis is as a result, determine the matching relationship between search key and predetermined keyword and predetermined keyword periphery word;Based on determining
The matching relationship gone out determines the association type between search key and predetermined keyword set.
In some embodiments, association type includes the first correlation type and the second correlation type;And based on determining
The matching relationship gone out determines the association type between search key and predetermined keyword set, including:Search key with
The matching degree of predetermined keyword is more than the first predetermined threshold value or the matching degree of search key and predetermined keyword periphery word is big
When the second predetermined threshold value, determine that the association type between search key and predetermined keyword set is the first correlation type;
In the matching degree of search key and predetermined keyword no more than the first predetermined threshold value and search key and predetermined keyword week
When the matching degree of side word is not more than the second predetermined threshold value, the association type between search key and predetermined keyword set is determined
For the second correlation type.
In some embodiments, association type includes the first correlation type and the second correlation type, predetermined keyword set
In predetermined keyword include multiple predetermined keywords;And based on the matching relationship determined, determine search key with
Association type between predetermined keyword set, including:It is pre- in search key and the only one in predetermined keyword set
If the matching degree of keyword is more than the first predetermined threshold value or the default key of search key and only one predetermined keyword
When the matching degree of word periphery word is more than the second predetermined threshold value, the association class between search key and predetermined keyword set is determined
Type is the first correlation type;The matching degree of at least two predetermined keywords in search key and predetermined keyword set is all
When more than the first predetermined threshold value, determine that the association type between search key and predetermined keyword set is the second associated class
Type;In the matching degree of search key and predetermined keyword all no more than the first predetermined threshold value and search key and default key
When the matching degree of word periphery word is not more than the second predetermined threshold value, being associated between search key and predetermined keyword set is determined
Type is the second correlation type;All it is not more than the first predetermined threshold value and search in the matching degree of search key and predetermined keyword
When the matching degree of keyword and the predetermined keyword periphery word of at least two predetermined keywords is both greater than the second predetermined threshold value, determine
Association type between search key and predetermined keyword set is the second correlation type.
In some embodiments, information to be pushed set includes that first obtained from general information to be pushed database is waited for
Pushed information set and the second information to be pushed set obtained from default information to be pushed database;And based on search
Association type between keyword and predetermined keyword set determines that each item in acquired information to be pushed set waits pushing
The push position of information, including:When association type is the first correlation type, by being needed in the second information to be pushed set
Before all information to be pushed of the pushed information sequence in the first information to be pushed set, and it is directed to the first information to be pushed
Each information to be pushed in set and the second information to be pushed set, based on each information to be pushed and search key
With degree, push sequence of each information to be pushed in the first information to be pushed set and the second information to be pushed set is determined;
When association type is the second correlation type, for each item in the first information to be pushed set and the second information to be pushed set
Information to be pushed determines that the push of each information to be pushed is suitable based on the matching degree of each information to be pushed and search key
Sequence;And each information to be pushed is arranged according to identified push position on webpage, to generate new web page, including:It will
Each information to be pushed is set in sequence according to identified push on the corresponding push position of webpage, to generate new web page.
In some embodiments, information to be pushed set includes that first obtained from general information to be pushed database is waited for
Pushed information set and the second information to be pushed set obtained from default information to be pushed database;And based on search
Association type between keyword and predetermined keyword set determines that each item in acquired information to be pushed set waits pushing
The push position of information, including:When association type is the first correlation type, by being needed in the second information to be pushed set
The push position of pushed information is set as the first predeterminated position of webpage, will need to be pushed in the first information to be pushed set
The push position of information is set as the position except the first predeterminated position of webpage, and for the first information to be pushed set and
Each information to be pushed in second information to be pushed set, based on the matching degree of each information to be pushed and search key,
Determine push sequence of each information to be pushed on the position except the first predeterminated position and the first predeterminated position;In association class
When type is the second correlation type, push letter is waited for for each item in the first information to be pushed set and the second information to be pushed set
Breath determines the push sequence of each information to be pushed based on the matching degree of each information to be pushed and search key;And it will
Each information to be pushed is arranged according to identified push position on webpage, to generate new web page, including:Each item is waited pushing
Information is set in sequence according to identified push on the corresponding push position of webpage, to generate new web page.
In some embodiments, it waits pushing from general information to be pushed database and preset corresponding with predetermined keyword
In information database, information to be pushed set corresponding with search key is obtained, including:From default information to be pushed database
In, obtain corresponding with search key all or the first predetermined number information to be pushed;From default information to be pushed number
When being equal to or more than the second predetermined number according to the information to be pushed number obtained in library, the second predetermined number is selected according to matching degree
Mesh information to be pushed;It is less than the second predetermined number in the information to be pushed number obtained from default information to be pushed database
When, obtain remaining information to be pushed from general information to be pushed database.
In some embodiments, it waits pushing from general information to be pushed database and preset corresponding with predetermined keyword
In information database, obtaining information to be pushed set corresponding with search key includes:From default information to be pushed database
In, it obtains and the number item that with first predeterminated position is adapted to or first predetermined number item corresponding with search key and waits for push letter
Breath;When the information to be pushed number obtained from default information to be pushed database is equal to or more than the second predetermined number, press
The second predetermined number information to be pushed is selected according to matching degree;It waits pushing what is obtained from default information to be pushed database
When information number is less than the second predetermined number, remaining information to be pushed is obtained from general information to be pushed database.
In some embodiments, predetermined keyword periphery word includes:Based on predetermined keyword and related to predetermined keyword
Reservation service generate predetermined keyword periphery word;And/or it is relevant predetermined based on predetermined keyword and with predetermined keyword
The predetermined keyword periphery word that product generates.
Second aspect, this application provides a kind of device for generating webpage, which includes:Receiving unit, configuration
Searching request for receiving client transmission, wherein searching request includes search key;Acquiring unit is configured to obtain
Take information to be pushed set corresponding with search key;Association type determination unit, be configured to determine search key with
Association type between predetermined keyword set;Position determination unit is pushed, is configured to close with default based on search key
Association type between keyword set determines the push position of each information to be pushed in acquired information to be pushed set
It sets;Auto-building html files unit is configured to each information to be pushed according to identified push position being arranged on webpage, with life
At new web page.
In some embodiments, acquiring unit is used for:From general information to be pushed database and with predetermined keyword pair
In the default information to be pushed database answered, information to be pushed set corresponding with search key is obtained.
In some embodiments, predetermined keyword set includes predetermined keyword and corresponding predetermined keyword periphery word;
And association type determination unit includes:Matching relationship determining module is configured to the semantic analysis knot based on search key
Fruit determines the matching relationship between search key and predetermined keyword and predetermined keyword periphery word;Association type determines mould
Block is configured to determine the association class between search key and predetermined keyword set based on the matching relationship determined
Type.
In some embodiments, association type includes the first correlation type and the second correlation type;And association type is true
Cover half block is used for:The matching degree of search key and predetermined keyword be more than the first predetermined threshold value or search key with it is pre-
If the matching degree of keyword periphery word is more than the second predetermined threshold value, determine between search key and predetermined keyword set
Association type is the first correlation type;It no more than the first predetermined threshold value and is searched in the matching degree of search key and predetermined keyword
When rope keyword and the matching degree of predetermined keyword periphery word are not more than the second predetermined threshold value, determine that search key is closed with default
Association type between keyword set is the second correlation type.
In some embodiments, association type includes the first correlation type and the second correlation type, predetermined keyword set
In predetermined keyword include multiple predetermined keywords;And association type determining module is used for:In search key and preset
The matching degree of only one predetermined keyword in keyword set is more than the first predetermined threshold value or search key and only
When the matching degree of the predetermined keyword periphery word of one predetermined keyword is more than the second predetermined threshold value, determine search key with it is pre-
If the association type between keyword set is the first correlation type;In search key and predetermined keyword set at least
When the matching degree of two predetermined keywords is both greater than the first predetermined threshold value, determine between search key and predetermined keyword set
Association type be the second correlation type;All it is not more than the first predetermined threshold value in the matching degree of search key and predetermined keyword
And the matching degree of search key and predetermined keyword periphery word is when being not more than the second predetermined threshold value, determine search key with it is pre-
If the association type between keyword set is the second correlation type;The matching degree of search key and predetermined keyword not
All more than the matching degree of the first predetermined threshold value and search key and the predetermined keyword periphery word of at least two predetermined keywords
When more than the second predetermined threshold value, determine that the association type between search key and predetermined keyword set is the second associated class
Type.
In some embodiments, information to be pushed set includes that first obtained from general information to be pushed database is waited for
Pushed information set and the second information to be pushed set obtained from default information to be pushed database;And push position
Determination unit is used for:When association type is the first correlation type, needing in the second information to be pushed set is pushed into letter
Before all information to be pushed of the breath sequence in the first information to be pushed set, and for the first information to be pushed set and
Each information to be pushed in second information to be pushed set, based on the matching degree of each information to be pushed and search key,
Determine push sequence of each information to be pushed in the first information to be pushed set and the second information to be pushed set;It is being associated with
When type is the second correlation type, wait pushing for each item in the first information to be pushed set and the second information to be pushed set
Information determines the push sequence of each information to be pushed based on the matching degree of each information to be pushed and search key;And
Auto-building html files unit is used for:Each information to be pushed is set in sequence in the corresponding push position of webpage according to identified push
On, to generate new web page.
In some embodiments, information to be pushed set includes that first obtained from general information to be pushed database is waited for
Pushed information set and the second information to be pushed set obtained from default information to be pushed database;And push position
Determination unit is used for:When association type is the first correlation type, needing in the second information to be pushed set is pushed into letter
The push position of breath is set as the first predeterminated position of webpage, by all information to be pushed in the first information to be pushed set
Push position is set as the position except the first predeterminated position of webpage, and is waited for for the first information to be pushed set and second
Each information to be pushed in pushed information set is determined each based on the matching degree of each information to be pushed and search key
The push sequence of information to be pushed on the position except the first predeterminated position and the first predeterminated position;It is in association type
When two correlation types, for each information to be pushed in the first information to be pushed set and the second information to be pushed set, base
In the matching degree of each information to be pushed and search key, the push sequence of each information to be pushed is determined;And webpage life
It is used at unit:Each information to be pushed is set in sequence according to identified push on the corresponding push position of webpage, with
Generate new web page.
In some embodiments, acquiring unit is used for:From default information to be pushed database, acquisition and search key
Corresponding all or the first predetermined number information to be pushed;Push letter is waited for what is obtained from default information to be pushed database
When ceasing number equal to or more than the second predetermined number, the second predetermined number information to be pushed is selected according to matching degree;From
When the information to be pushed number obtained in default information to be pushed database is less than the second predetermined number, from general information to be pushed
Remaining information to be pushed is obtained in database.
In some embodiments, acquiring unit is used for:From default information to be pushed database, acquisition and search key
Number item or the first predetermined number information to be pushed corresponding and be adapted to the first predeterminated position;From default information to be pushed
When the information to be pushed number obtained in database is equal to or more than the second predetermined number, it is predetermined to select second according to matching degree
Number information to be pushed;It is less than the second predetermined number in the information to be pushed number obtained from default information to be pushed database
When mesh, remaining information to be pushed is obtained from general information to be pushed database.
In some embodiments, predetermined keyword periphery word includes:Based on predetermined keyword and related to predetermined keyword
Reservation service generate predetermined keyword periphery word;And/or it is relevant predetermined based on predetermined keyword and with predetermined keyword
The predetermined keyword periphery word that product generates.
The third aspect, this application provides a kind of web page server, web page server includes such as the device in second aspect.
Fourth aspect, this application provides a kind of equipment, including:One or more processors;Memory, for storing one
A or multiple programs, when one or more programs are executed by one or more processors so that one or more processors are held
Method of the row for generating webpage.
Method and apparatus provided by the present application for generating webpage, first, based on the search key in searching request
Obtain information to be pushed set corresponding with the search key;Then, be based on search key and predetermined keyword set it
Between association type, determine the push position of each information to be pushed in acquired information to be pushed set;It finally, will be each
Information to be pushed is arranged according to identified push position on webpage, to generate new web page.It is searched in user to realize
It in the case of the word of rope brand word periphery, also can accurately identify, to improve the efficiency of information push.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, 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 generating webpage of the application;
Fig. 3 A are shown according to the application for determining that each item in acquired information to be pushed set waits for push letter
One exemplary flow chart of the push position of breath;
Fig. 3 B are shown according to the application for determining that each item in acquired information to be pushed set waits for push letter
Another exemplary flow chart of the push position of breath;
Fig. 4 is the schematic diagram according to an application scenarios of the method for generating webpage of the application;
Fig. 5 A show that one for obtaining information to be pushed set corresponding with search key is improved exemplary stream
Cheng Tu;
Fig. 5 B show the exemplary stream of another improvement for obtaining information to be pushed set corresponding with search key
Cheng Tu;
Fig. 6 shows one of the step of for determining the association type between search key and predetermined keyword set
Improve exemplary flow chart;
Fig. 7 is the structural schematic diagram according to one embodiment of the device for generating webpage of the application;
Fig. 8 shows the structural schematic diagram of the web page server according to the application;
Fig. 9 is adapted for the structural schematic diagram of the computer system for realizing the embodiment of the present application server.
Specific implementation mode
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, is illustrated only in attached drawing and invent relevant part with related.
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.
Fig. 1 shows the implementation of the method for generating webpage or the device for generating webpage that can apply the application
The exemplary system architecture 100 of example.
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 provide communication link medium.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted by network 104 with server 105 with using terminal equipment 101,102,103, to receive or send out
Send message etc..Various telecommunication customer end applications can be installed, such as web browser is answered on terminal device 101,102,103
With, shopping class application, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be the various electronic equipments with display screen and supported web page browsing, packet
Include but be not limited to smart mobile phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as to being shown on terminal device 101,102,103
Webpage provides the backstage web page server supported.Backstage web page server can divide the data such as the searching request that receives
The processing such as analysis, and handling result (such as webpage data) is fed back into terminal device.
It should be noted that the method for generating webpage that the embodiment of the present application is provided generally is held by server 105
Row, correspondingly, the device for generating webpage is generally positioned in server 105.
It should be understood that the number of the 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 flow of one embodiment of the method for generating webpage according to the application is shown
200.The method for being used to generate webpage, includes the following steps:
Step 201, the searching request that client is sent is received.
In the present embodiment, the method for generating webpage runs electronic equipment (such as service shown in FIG. 1 thereon
Device 105) by wired connection mode or radio connection from user the terminal reception of web page browsing can be carried out using it
Searching request, wherein searching request may include search key.
In the present embodiment, electronic equipment can carry out semantic analysis to the searching request received, and it is defeated to extract user
The search key entered.Wherein, search key can be complete search information input by user, can also be that user is defeated
The information that garbage in the search information entered obtains after rejecting, can also be and extracted from search information input by user
Key message.As an example, if user inputs " XX vehicle insurances calculator ", search key can be that " XX vehicle insurances calculate
Device ";If user input " the vehicle insurance calculator tool of XX ", electronic equipment can " " and " tool " rejecting, to obtain
Search key " XX vehicle insurances calculator ";If user's input " XX juvenile insure and YY family insurances ", search key can be with
It is " XX juvenile's insurance " and " YY family insurances ", wherein " XX " and " YY " can be the brand word of different insurances.
Step 202, information to be pushed set corresponding with search key is obtained.
In the present embodiment, based on the search key obtained in step 201, electronic equipment can be from information to be pushed number
According to searching out information to be pushed set corresponding with search key in library.Wherein, corresponding with search key to wait for push letter
Breath set may include at least one information to be pushed corresponding with search key.As an example, search key is " XX vehicles
Dangerous calculator ", then information to be pushed set corresponding with " XX vehicle insurances calculator " may include with " XX " it is relevant wait for push letter
Breath and/or at least one with " vehicle insurance calculator " relevant information to be pushed.
Preferably, information to be pushed database may include general information to be pushed database and corresponding with predetermined keyword
Default information to be pushed database.Here, general information to be pushed database is for storing no specified permission (such as brand
Prefecture permission) the information to be pushed that is provided of common information to be pushed provider, such as without purchase brand prefecture permission
Information to be pushed provider.Default information to be pushed database is used to store with specified permission (such as brand prefecture permission)
The default information to be pushed corresponding with predetermined keyword that specific information to be pushed provider is provided.In this case, electric
Sub- equipment can from general information to be pushed database and default information to be pushed database corresponding with predetermined keyword,
Obtain information to be pushed set corresponding with search key.Information to be pushed set may include by from general information to be pushed
First information to be pushed set of the information to be pushed composition obtained in database and by from default information to be pushed database
Second information to be pushed set of the information to be pushed composition of middle acquisition.
Step 203, the association type between search key and predetermined keyword set is determined.
In the present embodiment, based on the search key obtained in step 201, electronic equipment can to search key and
Predetermined keyword set is analyzed, and the association class between search key and predetermined keyword set is obtained according to analysis result
Type.Wherein, predetermined keyword set may include predetermined keyword, and predetermined keyword can be brand word.
In the present embodiment, if analysis result is different, the association type between search key and predetermined keyword also may be used
With difference.In the example of the application, association type may include strong correlation type (that is, first in the application is related
Type) and weak correlation type (that is, second correlation type in the application).As an example, if analysis result display search is crucial
Matching degree between word and predetermined keyword set is higher, it may be considered that between search key and predetermined keyword set
Association type be strong correlation type, conversely, it may be considered that association class between search key and predetermined keyword set
Type is weak correlation type.
In some optional realization methods of the present embodiment, predetermined keyword set may include predetermined keyword and pre-
If keyword periphery word.Predetermined keyword periphery word can be the keyword for having incidence relation with predetermined keyword, such as by
Set by information to be pushed provider with brand prefecture permission with the associated keyword of predetermined keyword.In the present embodiment
Some optional realization methods in, predetermined keyword periphery word may include:Key is preset based on predetermined keyword and with this
The predetermined keyword periphery word that the relevant reservation service of word generates;And/or based on predetermined keyword and with the predetermined keyword phase
The predetermined keyword periphery word that the predetermined prod of pass generates.As an example, predetermined keyword is " XX ", then predetermined keyword periphery
Word can be " XX vehicle insurances calculator ", wherein " vehicle insurance calculator " is and " XX " relevant product.
In this case, electronic equipment can be primarily based on the semantic analysis result of search key, determine that search is closed
Matching relationship between keyword and predetermined keyword and predetermined keyword periphery word;It is then based on determined matching relationship,
Determine the association type between search key and predetermined keyword set.As an example, electronic equipment can be first by search
Keyword is word for word matched with predetermined keyword and predetermined keyword periphery word, includes then default key in search key
Word, and in the case of predetermined keyword corresponding with one periphery word is identical, determine search key and predetermined keyword and
Matching degree between the word of predetermined keyword periphery is higher, i.e. association type between search key and predetermined keyword set
It is strong correlation type;Conversely, determining the matching degree between search key and predetermined keyword and predetermined keyword periphery word
Relatively low, i.e., the association type between search key and predetermined keyword set is weak correlation type.
Step 204, it based on the association type between search key and predetermined keyword set, determines and acquired waits pushing away
Send the push position of each information to be pushed in information aggregate.
In the present embodiment, based on obtaining information to be pushed set corresponding with search key and base in step 202
Association type between the search key obtained in step 203 and predetermined keyword set, electronic equipment can determine institute
The push position of each information to be pushed in the information to be pushed set of acquisition.
In the present embodiment, acquired if the association type between search key and predetermined keyword set is different
The push position of each information to be pushed in information to be pushed set can also be different.
As an example, as shown in Figure 3A, if the association type between search key and predetermined keyword set is
Strong correlation type then continues to execute step 311a and step 312a.As shown in step 311a, electronic equipment can will be waited for from default
All information to be pushed sequence in the second information to be pushed set obtained in pushed information database waits pushing from general
Before all information to be pushed in the first information to be pushed set obtained in information database;As shown in step 312a, electricity
Sub- equipment can be directed to each information to be pushed in the first information to be pushed set and the second information to be pushed set, based on each
The matching degree of information to be pushed and search key, determines each information to be pushed in the first information to be pushed set and second
Push sequence in information to be pushed set.If the association type between search key and predetermined keyword set is weak related
Type then continues to execute step 321a.As shown in step 321a, electronic equipment can be directed to the first information to be pushed set and the
Each information to be pushed in two information to be pushed set, based on the matching degree of each information to be pushed and search key, really
The push sequence of fixed each information to be pushed.
As another example, as shown in Figure 3B, if the association type between search key and predetermined keyword set is
Strong correlation type then continues to execute step 311b and step 312b.As shown in step 311b, electronic equipment can will be waited for from default
The push position of all information to be pushed in the second information to be pushed set obtained in pushed information database is set as net
First predeterminated position of page, will be needed from the first information to be pushed set obtained in general information to be pushed database
The push position of pushed information is set as the position except the first predeterminated position of webpage;As shown in step 312b, electronic equipment
Each information to be pushed that can be directed in the first information to be pushed set and the second information to be pushed set, waits pushing away based on each item
It delivers letters the matching degree of breath and search key, determines each information to be pushed except the first predeterminated position and the first predeterminated position
Position on push sequence.If the association type between search key and predetermined keyword set is weak correlation type,
Continue to execute step 321b.As shown in step 321b, electronic equipment can wait pushing away for the first information to be pushed set and second
Each information to be pushed in information aggregate is sent to determine each item based on the matching degree of each information to be pushed and search key
The push sequence of information to be pushed.Here, the first predeterminated position can be destination locations of more waking up on webpage, for example, webpage
The first position or the centre position of webpage, the specific location of the first predeterminated position of the present embodiment pair is without limiting.
Step 205, each information to be pushed is arranged according to identified push position on webpage, to generate new net
Page.
In the present embodiment, the push position based on each information to be pushed obtained in step 204, electronic equipment can be with
Each information to be pushed is correspondingly arranged on the corresponding position of webpage according to the push position of each information to be pushed, to generate
New web page.
The push position of each information to be pushed in acquired information to be pushed set is determined shown in Fig. 3 A
In the case of exemplary, each information to be pushed is arranged according to identified push position on webpage, it can to generate new web page
To be to be set in sequence in each information to be pushed on the corresponding push position of webpage according to identified push, to generate new net
Page.
The push position of each information to be pushed in acquired information to be pushed set is determined shown in Fig. 3 B
In the case of exemplary, each information to be pushed is arranged according to identified push position on webpage, it can to generate new web page
To be to be set in sequence in each information to be pushed on the corresponding push position of webpage according to identified push, to generate new net
Page.
It is a signal according to the application scenarios of the method for generating webpage of the present embodiment with continued reference to Fig. 4, Fig. 4
Figure.In the application scenarios of Fig. 4, user inputs " XX vehicle insurances calculator " in input frame first, and clicks search button to initiate
One searching request;Later, web page server can carry out semantic analysis to the searching request, obtain search key " XX vehicles
Dangerous calculator ";Then, web page server can obtain information to be pushed set corresponding with " XX vehicle insurances calculator ", wherein institute
The information to be pushed set of acquisition may include information to be pushed corresponding with " XX ", " YY " and " ZZ ", " XX ", " YY " and " ZZ "
Can be the brand word of different insurances, and the product of " YY " and " ZZ " include vehicle insurance calculator;Then, web page server can be with
Determine the association type of " XX vehicle insurances calculator " between predetermined keyword set;Finally, web page server is based on determining
Pushed information corresponding with " XX ", " YY " and " ZZ " is arranged on webpage the association type gone out from top to bottom successively, to generate
New web page.It, will be as shown in figure 4, display pushed information when user browses new web page.
The method that above-described embodiment of the application provides is obtained and is somebody's turn to do based on the search key in searching request first
The corresponding information to be pushed set of search key;Then, based on being associated between search key and predetermined keyword set
Type determines the push position of each information to be pushed in acquired information to be pushed set;Finally, each item is waited pushing
Information is arranged according to identified push position on webpage, to generate new web page.To realize brand word is searched in user
It in the case of the word of periphery, also can accurately identify, to improve the efficiency of information push.
It preferably, can also be in Fig. 2 in the other embodiments according to the method for generating webpage of the application
For the step of obtaining information to be pushed set corresponding with search key (that is, step 202) is improved.
Fig. 5 A show that one for obtaining information to be pushed set corresponding with search key is improved exemplary stream
Cheng Tu.As shown in Figure 5A, in step 511a, electronic equipment can obtain and search for from default information to be pushed database
Keyword is corresponding all or the first predetermined number information to be pushed.Then, in step 512a, judge to wait pushing from default
Whether the information to be pushed number obtained in information database is equal to or more than the second predetermined number.Then, in step 513a,
When the information to be pushed number obtained from default information to be pushed database is equal to or more than the second predetermined number, electronics is set
It is standby that the second predetermined number information to be pushed can be selected according to matching degree;In step 523a, push letter is being waited for from default
When the information to be pushed number obtained in breath database is less than the second predetermined number, electronic equipment can be from general information to be pushed
Remaining information to be pushed is obtained in database.Wherein, the second predetermined number can be can be accommodated on webpage need to be pushed away
It delivers letters the number of breath, to keep all information to be pushed in the information to be pushed set corresponding with search key of acquisition rigid
It is good to be all arranged on webpage so that user initiate a searching request can browse to it is enough with search key pair
The information to be pushed answered reduces the search time of user, improves search efficiency.
Fig. 5 B show the exemplary stream of another improvement for obtaining information to be pushed set corresponding with search key
Cheng Tu.As shown in Figure 5 B, in step 511b, electronic equipment can obtain and search for from default information to be pushed database
The number item or the first predetermined number information to be pushed keyword correspondence and be adapted to the first predeterminated position.Then, in step
In 512b, it is predetermined to judge whether the information to be pushed number obtained from default information to be pushed database is equal to or more than second
Number.Then, in step 513b, it is equal in the information to be pushed number obtained from default information to be pushed database or greatly
When the second predetermined number, electronic equipment can select the second predetermined number information to be pushed according to matching degree;In step
In 523b, when the information to be pushed number obtained from default information to be pushed database is less than the second predetermined number, electronics
Equipment can obtain remaining information to be pushed from general information to be pushed database.Wherein, the second predetermined number can be
The number for all information to be pushed that can be accommodated on webpage, to make the information to be pushed corresponding with search key of acquisition
All information to be pushed in set are just all arranged on webpage, so that user initiates a searching request and can browse
To enough information to be pushed corresponding with search key, reduces the search time of user, improve search efficiency.
In the example shown in Fig. 5 A and Fig. 5 B, electronic equipment only obtains and the predetermined number item of webpage fit to be pushed
Information to be pushed, rather than all information to be pushed corresponding with search key.Wherein, example shown in Fig. 5 A with it is above-mentioned
It pushes location determining method shown in Fig. 3 A to correspond to, example shown in Fig. 5 B and push position shown in above-mentioned Fig. 3 B are true
Determine method correspondence.
Moreover it is preferred that in the other embodiments according to the method for generating webpage of the application, it can also be to figure
In 2 for determining association type between search key and predetermined keyword set the step of (that is, step 203) carries out such as
Lower improvement.
Fig. 6 shows one of the step of for determining the association type between search key and predetermined keyword set
Improve exemplary flow chart.
As shown in fig. 6, first, in step 601, judging in predetermined keyword set whether to include multiple default keys
Word.When comprising multiple predetermined keywords, flow proceeds to step 602.When not comprising multiple predetermined keywords, flow carries out
To step 603.
In step 602, it is pre- to judge whether search key with the matching degrees of at least two predetermined keywords is both greater than first
If threshold value.When the matching degree of search key and at least two predetermined keywords is both greater than the first predetermined threshold value, flow carries out
To step 604.In step 604, it is related that the association type between search key and predetermined keyword set is determined as second
Type (that is, weak correlation type).
In step 603, judge whether the matching degree of search key and predetermined keyword is more than the first predetermined threshold value.
When the matching degree of search key and predetermined keyword is more than the first predetermined threshold value, flow proceeds to step 605.In step 605,
Association type between search key and predetermined keyword set is determined as the first correlation type (that is, strong correlation type).
When the matching degree of search key and predetermined keyword is not more than the first predetermined threshold value, flow proceeds to step
606.In step 606, judge whether search key and the matching degree of predetermined keyword periphery word are more than the second predetermined threshold value.
When the matching degree of search key and predetermined keyword periphery word is more than the second predetermined threshold value, flow proceeds to step 605.It is searching
When rope keyword and the matching degree of predetermined keyword periphery word are not more than the second predetermined threshold value, flow proceeds to step 604.
When the matching degree of search key and at least two predetermined keywords is not both greater than the first predetermined threshold value, flow
Proceed to step 607.In step 607, judge whether search key with the matching degree of one of predetermined keyword is more than the
One predetermined threshold value.When the matching degree of search key and one of predetermined keyword is more than the first predetermined threshold value, flow into
Row arrives step 605, no to 608.
When the matching degree of search key and all predetermined keywords is all not more than the first predetermined threshold value, flow proceeds to
Step 608.In step 608, judge search key whether with the predetermined keyword periphery word of only one predetermined keyword
Matching degree is more than the second predetermined threshold value.In of search key and the predetermined keyword periphery word of only one predetermined keyword
When being more than the second predetermined threshold value with degree, flow proceeds to step 605.In the pre- of search key and at least two predetermined keywords
If the matching degree of keyword periphery word is no more than the second predetermined threshold value or search key and at least two predetermined keywords
When the matching degree of predetermined keyword periphery word is both greater than the second predetermined threshold value, flow proceeds to step 604.
It should be noted that the first predetermined threshold value and the second predetermined threshold value in above-mentioned steps can be that system is given tacit consent in advance
It is arranged, to its concrete numerical value without limiting in the present embodiment.
Preferably, the application for determine the association type between search key and predetermined keyword set its
Can not also include above-mentioned steps 601,602,604,607 and 608 in its example.
With further reference to Fig. 7, as the realization to method shown in above-mentioned each figure, this application provides one kind for generating net
One embodiment of the device of page, the device embodiment is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer
For in various electronic equipments.
As shown in fig. 7, the device 700 for generating webpage in the present embodiment includes:Receiving unit 701, acquiring unit
702, association type determination unit 703, push position determination unit 704 and auto-building html files unit 705.Wherein, receiving unit
701, it is configured to receive the searching request that client is sent, wherein searching request includes search key;Acquiring unit 702,
It is configured to obtain information to be pushed set corresponding with search key;Association type determination unit 703 is configured to determine
Association type between search key and predetermined keyword set;Position determination unit 704 is pushed, is configured to based on search
Association type between keyword and predetermined keyword set determines that each item in acquired information to be pushed set waits pushing
The push position of information;Auto-building html files unit 705 is configured to set each information to be pushed according to identified push position
It sets on webpage, to generate new web page.
In the present embodiment, the receiving unit 701 of auto-building html files device 700 can be by wired connection mode or wireless
Connection type carries out the terminal of web page browsing using it from user and receives searching request, wherein searching request may include search
Keyword.
In the present embodiment, the search key obtained based on receiving unit 701, acquiring unit 702 can be from waiting pushing
Information to be pushed set corresponding with search key is searched out in information database.
Preferably, information to be pushed database may include general information to be pushed database and corresponding with predetermined keyword
Default information to be pushed database.Here, general information to be pushed database is for storing no specified permission (such as brand
Prefecture permission) the information to be pushed that is provided of common information to be pushed provider, such as without purchase brand prefecture permission
Information to be pushed provider.Default information to be pushed database is used to store with specified permission (such as brand prefecture permission)
The default information to be pushed corresponding with predetermined keyword that specific information to be pushed provider is provided.In this case, it obtains
Take unit 702 can be from general information to be pushed database and default information to be pushed database corresponding with predetermined keyword
In, obtain information to be pushed set corresponding with search key.Information to be pushed set may include by waiting pushing from general
First information to be pushed set of the information to be pushed composition obtained in information database and by from default information to be pushed number
According to the second information to be pushed set of the information to be pushed composition obtained in library.
In the present embodiment, the search key obtained based on receiving unit 701, association type determination unit 703 can be with
Search key and predetermined keyword set are analyzed, search key and predetermined keyword collection are obtained according to analysis result
Association type between conjunction.Wherein, association type may include strong correlation type (that is, first correlation type in the application) and
Weak correlation type (that is, second correlation type in the application).
In some optional realization methods of the present embodiment, predetermined keyword set may include predetermined keyword and pre-
If keyword periphery word.Predetermined keyword periphery word can be the keyword for having incidence relation with predetermined keyword, such as by
Set by information to be pushed provider with brand prefecture permission with the associated keyword of predetermined keyword.In the present embodiment
Some optional realization methods in, predetermined keyword periphery word may include:Key is preset based on predetermined keyword and with this
The predetermined keyword periphery word that the relevant reservation service of word generates;And/or based on predetermined keyword and with the predetermined keyword phase
The predetermined keyword periphery word that the predetermined prod of pass generates.
In this case, association type determination unit 703 may include matching relationship determining module (not shown)
With association type determining module (not shown), first, matching relationship determining module (not shown) can be based on search
The semantic analysis result of keyword determines that the matching between search key and predetermined keyword and predetermined keyword periphery word is closed
System;Then, association type determining module (not shown) can determine search key based on the matching relationship determined
With the association type between predetermined keyword set.
In the present embodiment, the information to be pushed set corresponding with search key that is obtained based on acquiring unit 702 and
Association type between the search key obtained based on association type determination unit 703 and predetermined keyword set pushes position
Set the push position for each information to be pushed that determination unit 704 can determine in acquired information to be pushed set.
In the present embodiment, if the association type between search key and predetermined keyword set is different, position is pushed
The push position of each information to be pushed in information to be pushed set acquired in determination unit 704 can also be different.
As an example, if the association type between search key and predetermined keyword set is strong correlation type,
Then pushing position determination unit 704 can will be from the second information to be pushed set obtained in default information to be pushed database
The sequence of all information to be pushed from the institute in the first information to be pushed set obtained in general information to be pushed database
Before having information to be pushed, and for each item in the first information to be pushed set and the second information to be pushed set wait pushing
Information determines that each information to be pushed waits for push letter first based on the matching degree of each information to be pushed and search key
Push sequence in breath set and the second information to be pushed set.If being associated between search key and predetermined keyword set
Type is weak correlation type, and push position determination unit 704 can be directed to the first information to be pushed set and second and wait for push letter
Each information to be pushed in breath set determines that each item waits pushing away based on the matching degree of each information to be pushed and search key
Deliver letters breath push sequence.
As another example, if the association type between search key and predetermined keyword set is strong correlation type,
Then pushing position determination unit 704 can will be from the second information to be pushed set obtained in default information to be pushed database
The push positions of all information to be pushed be set as the first predeterminated position of webpage, will be from general information to be pushed database
The push position of all information to be pushed in the first information to be pushed set obtained is set as the first predeterminated position of webpage
Except position, and for each information to be pushed in the first information to be pushed set and the second information to be pushed set,
Based on the matching degree of each information to be pushed and search key, determine each information to be pushed in the first predeterminated position and first
Push sequence on position except predeterminated position.If the association type between search key and predetermined keyword set is weak
Correlation type, then the first information to be pushed set and the second information to be pushed set can be directed to by pushing position determination unit 704
In each information to be pushed each information to be pushed is determined based on the matching degree of each information to be pushed and search key
Push sequence.In the present embodiment, the push position of each information to be pushed obtained based on push position determination unit 704
It sets, each information to be pushed can be correspondingly arranged at by auto-building html files unit 705 according to the push position of each information to be pushed
On the corresponding position of webpage, to generate new web page.
Each item in the exemplary push position determination unit 704 of said one determines acquired information to be pushed set
The push position of information to be pushed it is exemplary in the case of, auto-building html files unit 705 is by each information to be pushed according to determining
Push position be arranged on webpage, with generate new web page can be auto-building html files unit 705 by each information to be pushed according to
Identified push is set in sequence on the corresponding push position of webpage, to generate new web page.
It is each in another above-mentioned exemplary push position determination unit 704 determines acquired information to be pushed set
The push position of information to be pushed it is exemplary in the case of, auto-building html files unit 705 will each information to be pushed according to it is true
Fixed push position is arranged on webpage, with generate new web page can be auto-building html files unit 705 by each information to be pushed by
It is set in sequence on the corresponding push position of webpage according to identified push, to generate new web page.
It preferably, can also be in Fig. 7 in the other embodiments according to the device for generating webpage of the application
The function of acquiring unit 702 is (that is, step 202) is improved.
As an example, acquiring unit 702 can be from default information to be pushed database, acquisition and search key
Corresponding all or the first predetermined number information to be pushed;Push letter is waited for what is obtained from default information to be pushed database
When ceasing number equal to or more than the second predetermined number, the second predetermined number information to be pushed is selected according to matching degree;From
When the information to be pushed number obtained in default information to be pushed database is less than the second predetermined number, from general information to be pushed
Remaining information to be pushed is obtained in database.Wherein, the second predetermined number can be can be accommodated on webpage need to be pushed away
It delivers letters the number of breath, to keep all information to be pushed in the information to be pushed set corresponding with search key of acquisition rigid
It is good to be all arranged on webpage so that user initiate a searching request can browse to it is enough with search key pair
The information to be pushed answered reduces the search time of user, improves search efficiency.
As another example, acquiring unit 702 can obtain crucial with search from default information to be pushed database
The number item or the first predetermined number information to be pushed word correspondence and be adapted to the first predeterminated position;Push letter is being waited for from default
When the information to be pushed number obtained in breath database is equal to or more than the second predetermined number, it is pre- to select second according to matching degree
Fixed number mesh information to be pushed;It is predetermined to be less than second in the information to be pushed number obtained from default information to be pushed database
When number, electronic equipment can obtain remaining information to be pushed from general information to be pushed database.Wherein, second is predetermined
Number can be the number for all information to be pushed that can be accommodated on webpage, to make the corresponding with search key of acquisition
All information to be pushed in information to be pushed set are just all arranged on webpage, so that user initiates primary search and asks
Enough information to be pushed corresponding with search key can be browsed to by asking, and reduced the search time of user, improved
Search efficiency.
Moreover it is preferred that in the other embodiments according to the device for generating webpage of the application, it can also be to closing
The function of connection determination type module (not shown) is improved as follows.
As an example, it in the case of multiple predetermined keywords are not included in predetermined keyword set, is closed in search
The matching degree of keyword and predetermined keyword is more than of the first predetermined threshold value or search key and predetermined keyword periphery word
When being more than the second predetermined threshold value with degree, association type determining module (not shown) can determine that search key is closed with default
Association type between keyword set is the first correlation type;In the matching degree of search key and predetermined keyword no more than the
When one predetermined threshold value and search key and the matching degree of predetermined keyword periphery word are not more than the second predetermined threshold value, association type
Determining module (not shown) can determine that the association type between search key and predetermined keyword set is the second phase
Close type.
As another example, crucial in search in the case of in predetermined keyword set comprising multiple predetermined keywords
The matching degree of word and the only one predetermined keyword in predetermined keyword set is more than the first predetermined threshold value or search is crucial
When the matching degree of word and the predetermined keyword periphery word of only one predetermined keyword is more than the second predetermined threshold value, association type is true
Cover half block (not shown) can determine that the association type between search key and predetermined keyword set is first related
Type;It is default that the matching degree of at least two predetermined keywords in search key and predetermined keyword set is both greater than first
When threshold value, association type determining module (not shown) can determine the pass between search key and predetermined keyword set
Connection type is the second correlation type;All it is not more than the first predetermined threshold value in the matching degree of search key and predetermined keyword and searches
When rope keyword and the matching degree of predetermined keyword periphery word are not more than the second predetermined threshold value, association type determining module is (in figure
It is not shown) it can determine that the association type between search key and predetermined keyword set is the second correlation type.Alternatively,
The matching degree of search key and predetermined keyword is all not more than the first predetermined threshold value and search key and at least two is preset
When the matching degree of the predetermined keyword periphery word of keyword is both greater than the second predetermined threshold value, association type determining module is (in figure not
Show) it can determine that the association type between search key and predetermined keyword set is the second correlation type.
Present invention also provides a kind of one embodiment of web page server, as shown in Figure 8.In this embodiment, webpage
Server 800 may include the device for generating webpage described in Fig. 7 corresponding embodiments.
Below with reference to Fig. 9, it illustrates the computer systems 900 suitable for the server for realizing the embodiment of the present application
Structural schematic diagram.
As shown in figure 9, system structure 900 include one or more processors 901 (as an example, illustrate only in Fig. 9
One processor), it can be held according to one or more of memory 902 program and data are loaded into from outer nonresident portion 907
The various actions appropriate of row and processing.When said one or multiple programs are executed by said one or multiple processing so that on
Method described in embodiment as described above can be executed by stating one or more processors.Processor 901, memory 902 are by total
Line 903 is connected with each other.Input/output (I/O) interface 904 is also connected to bus 903.
It is connected to I/O interfaces 904 with lower component:Importation 905 including sensor etc.;It is aobvious including such as virtual reality
Show the output par, c 906 of device and loud speaker etc.;Outer nonresident portion 907 including hard disk etc.;And including such as wireless wifi network
The communications portion 908 of the network interface cards such as card.Communications portion 908 executes communication process via the network of such as internet.
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, above 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 by communications portion 908 from network, and/or from external memory
Part 907 is mounted.
Flow chart in attached drawing and block diagram, it is illustrated that 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 for a part for one module, program segment, or code of table, above-mentioned module, program segment, or code includes 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, this is depended on the functions 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 can also be arranged in the processor, for example, can be described as:A kind of processor packet
Include receiving unit, acquiring unit, association type determination unit, push position determination unit and auto-building html files unit.Wherein, these
The title of unit does not constitute the restriction to the unit itself under certain conditions, for example, receiving unit is also described as
" unit for receiving the searching request that client is sent ".
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 above-mentioned apparatus in above-described embodiment;Can also be
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 said one or multiple programs are executed by an equipment so that above equipment:It receives
The searching request that client is sent, wherein searching request includes search key;Acquisition is corresponding with search key to be waited pushing
Information aggregate;Determine the association type between search key and predetermined keyword set;It is closed with default based on search key
Association type between keyword set determines the push position of each information to be pushed in acquired information to be pushed set
It sets;Each information to be pushed is arranged according to identified push position on webpage, to generate new web page.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art
Member 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 foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Other technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (22)
1. a kind of method for generating webpage, which is characterized in that the method includes:
Receive the searching request that client is sent, wherein described search request includes search key;
Obtain information to be pushed set corresponding with described search keyword;
Determine the association type between described search keyword and predetermined keyword set;
Based on the association type between described search keyword and the predetermined keyword set, push letter is waited for acquired in determination
The push position of each information to be pushed in breath set;
Each information to be pushed is arranged according to identified push position on webpage, to generate new web page.
2. according to the method described in claim 1, it is characterized in that, described obtain corresponding with described search keyword waits pushing
Information aggregate, including:
From general information to be pushed database and default information to be pushed database corresponding with the predetermined keyword, obtain
Take information to be pushed set corresponding with described search keyword.
3. method according to claim 1 or 2, which is characterized in that the predetermined keyword set includes predetermined keyword
With corresponding predetermined keyword periphery word;And
Association type between the determining described search keyword and predetermined keyword set, including:
Based on the semantic analysis result of described search keyword, described search keyword and the predetermined keyword and described are determined
Matching relationship between the word of predetermined keyword periphery;
Based on the matching relationship determined, the association class between described search keyword and the predetermined keyword set is determined
Type.
4. according to the method described in claim 3, it is characterized in that, the association type includes the first correlation type and the second phase
Close type;And
It is described based on the matching relationship determined, determine the pass between described search keyword and the predetermined keyword set
Join type, including:
It is more than the first predetermined threshold value in the matching degree of described search keyword and the predetermined keyword or described search is crucial
When the matching degree of word and predetermined keyword periphery word is more than the second predetermined threshold value, determine described search keyword with it is described pre-
If the association type between keyword set is first correlation type;
It is not more than first predetermined threshold value and described search in the matching degree of described search keyword and the predetermined keyword
When the matching degree of keyword and predetermined keyword periphery word is not more than second predetermined threshold value, described search key is determined
Association type between word and the predetermined keyword set is second correlation type.
5. according to the method described in claim 3, it is characterized in that, the association type includes the first correlation type and the second phase
Type is closed, the predetermined keyword in the predetermined keyword set includes multiple predetermined keywords;And
It is described based on the matching relationship determined, determine the pass between described search keyword and the predetermined keyword set
Join type, including:
The matching degree of only one predetermined keyword in described search keyword and the predetermined keyword set is more than the
One predetermined threshold value or described search keyword and the matching degree of the predetermined keyword periphery word of only one predetermined keyword are big
When the second predetermined threshold value, determine that association type between described search keyword and the predetermined keyword set is described the
One correlation type;
It is both greater than in described search keyword and the matching degree of at least two predetermined keywords in the predetermined keyword set
When first predetermined threshold value, determine that the association type between described search keyword and the predetermined keyword set is described
Second correlation type;
All it is not more than first predetermined threshold value in the matching degree of described search keyword and the predetermined keyword and described searches
When rope keyword and the matching degree of predetermined keyword periphery word are not more than second predetermined threshold value, determine that described search is closed
Association type between keyword and the predetermined keyword set is second correlation type;
All it is not more than first predetermined threshold value in the matching degree of described search keyword and the predetermined keyword and described searches
It is default that the matching degree of rope keyword and the predetermined keyword periphery word of at least two predetermined keyword is both greater than described second
When threshold value, determine that the association type between described search keyword and the predetermined keyword set is second associated class
Type.
6. method according to claim 4 or 5, which is characterized in that the information to be pushed set includes waiting pushing away from general
Send the first information to be pushed set obtained in information database and obtained from default information to be pushed database second
Information to be pushed set;And
The association type based between described search keyword and the predetermined keyword set determines and acquired waits pushing away
The push position of each information to be pushed in information aggregate is sent, including:
When the association type is first correlation type, will need to be pushed in the second information to be pushed set
Before all information to be pushed of the information sorting in the first information to be pushed set, and for described first wait pushing
Each information to be pushed in information aggregate and the second information to be pushed set is searched based on each information to be pushed with described
The matching degree of rope keyword determines that each information to be pushed waits for push letter in the first information to be pushed set and described second
Push sequence in breath set;
When the association type is second correlation type, waited for for the first information to be pushed set and described second
Each information to be pushed in pushed information set, based on the matching degree of each information to be pushed and described search keyword, really
The push sequence of fixed each information to be pushed;And
It is described that each information to be pushed is arranged according to identified push position on webpage, to generate new web page, including:
Each information to be pushed is set in sequence according to identified push on the corresponding push position of webpage, to generate new net
Page.
7. method according to claim 4 or 5, which is characterized in that the information to be pushed set includes waiting pushing away from general
Send the first information to be pushed set obtained in information database and obtained from default information to be pushed database second
Information to be pushed set;And
The association type based between described search keyword and the predetermined keyword set determines and acquired waits pushing away
The push position of each information to be pushed in information aggregate is sent, including:
When the association type is first correlation type, will need to be pushed in the second information to be pushed set
The push position of information is set as the first predeterminated position of webpage, will need to be pushed in the first information to be pushed set
The push position of information is set as the position except first predeterminated position of the webpage, and waits pushing away for described first
Send each information to be pushed in information aggregate and the second information to be pushed set, based on each information to be pushed with it is described
The matching degree of search key determines each information to be pushed except first predeterminated position and first predeterminated position
Position on push sequence;
When the association type is second correlation type, waited for for the first information to be pushed set and described second
Each information to be pushed in pushed information set, based on the matching degree of each information to be pushed and described search keyword, really
The push sequence of fixed each information to be pushed;And
It is described that each information to be pushed is arranged according to identified push position on webpage, to generate new web page, including:
Each information to be pushed is set in sequence according to identified push on the corresponding push position of webpage, to generate new net
Page.
8. according to the method described in claim 6, it is characterized in that, it is described from general information to be pushed database and with it is described
In the corresponding default information to be pushed database of predetermined keyword, information to be pushed collection corresponding with described search keyword is obtained
It closes, including:
From the default information to be pushed database, corresponding with described search keyword all or the first predetermined number is obtained
Information to be pushed;
It is equal to or more than the second predetermined number in the information to be pushed number obtained from the default information to be pushed database
When, select the second predetermined number information to be pushed according to matching degree;
When the information to be pushed number obtained from the default information to be pushed database is less than second predetermined number,
Remaining information to be pushed is obtained from the general information to be pushed database.
9. the method according to the description of claim 7 is characterized in that it is described from general information to be pushed database and with it is described
In the corresponding default information to be pushed database of predetermined keyword, information to be pushed collection corresponding with described search keyword is obtained
It closes, including:
From the default information to be pushed database, obtains corresponding with described search keyword and be adapted to the first predeterminated position
Number item or the first predetermined number information to be pushed;
It is equal to or more than the second predetermined number in the information to be pushed number obtained from the default information to be pushed database
When, select the second predetermined number information to be pushed according to matching degree;
When the information to be pushed number obtained from the default information to be pushed database is less than second predetermined number,
Remaining information to be pushed is obtained from the general information to be pushed database.
10. according to the method described in claim 3, it is characterized in that, predetermined keyword periphery word includes:
The predetermined keyword periphery word generated based on the predetermined keyword and with the relevant reservation service of the predetermined keyword;
And/or
The predetermined keyword periphery word generated based on the predetermined keyword and with the relevant predetermined prod of the predetermined keyword.
11. a kind of for generating the device of webpage, which is characterized in that described device includes:
Receiving unit is configured to receive the searching request that client is sent, wherein described search request includes that search is crucial
Word;
Acquiring unit is configured to obtain information to be pushed set corresponding with described search keyword;
Association type determination unit is configured to determine the association class between described search keyword and predetermined keyword set
Type;
Position determination unit is pushed, is configured to based on being associated between described search keyword and the predetermined keyword set
Type determines the push position of each information to be pushed in acquired information to be pushed set;
Auto-building html files unit is configured to each information to be pushed according to identified push position being arranged on webpage, with
Generate new web page.
12. according to the devices described in claim 11, which is characterized in that the acquiring unit is used for:
From general information to be pushed database and default information to be pushed database corresponding with the predetermined keyword, obtain
Take information to be pushed set corresponding with described search keyword.
13. device according to claim 11 or 12, which is characterized in that the predetermined keyword set includes default key
Word and corresponding predetermined keyword periphery word;And
The association type determination unit includes:
Matching relationship determining module is configured to the semantic analysis result based on described search keyword, determines that described search is closed
Matching relationship between keyword and the predetermined keyword and predetermined keyword periphery word;
Association type determining module, is configured to based on the matching relationship determined, determine described search keyword with it is described
Association type between predetermined keyword set.
14. device according to claim 13, which is characterized in that the association type includes the first correlation type and second
Correlation type;And
The association type determining module is used for:
It is more than the first predetermined threshold value in the matching degree of described search keyword and the predetermined keyword or described search is crucial
When the matching degree of word and predetermined keyword periphery word is more than the second predetermined threshold value, determine described search keyword with it is described pre-
If the association type between keyword set is first correlation type;
It is not more than first predetermined threshold value and described search in the matching degree of described search keyword and the predetermined keyword
When the matching degree of keyword and predetermined keyword periphery word is not more than second predetermined threshold value, described search key is determined
Association type between word and the predetermined keyword set is second correlation type.
15. device according to claim 13, which is characterized in that the association type includes the first correlation type and second
Correlation type, the predetermined keyword in the predetermined keyword set includes multiple predetermined keywords;And
The association type determining module is used for:
The matching degree of only one predetermined keyword in described search keyword and the predetermined keyword set is more than the
One predetermined threshold value or described search keyword and the matching degree of the predetermined keyword periphery word of only one predetermined keyword are big
When the second predetermined threshold value, determine that association type between described search keyword and the predetermined keyword set is described the
One correlation type;
It is both greater than in described search keyword and the matching degree of at least two predetermined keywords in the predetermined keyword set
When first predetermined threshold value, determine that the association type between described search keyword and the predetermined keyword set is described
Second correlation type;
All it is not more than first predetermined threshold value in the matching degree of described search keyword and the predetermined keyword and described searches
When rope keyword and the matching degree of predetermined keyword periphery word are not more than second predetermined threshold value, determine that described search is closed
Association type between keyword and the predetermined keyword set is second correlation type;
All it is not more than first predetermined threshold value in the matching degree of described search keyword and the predetermined keyword and described searches
It is default that the matching degree of rope keyword and the predetermined keyword periphery word of at least two predetermined keyword is both greater than described second
When threshold value, determine that the association type between described search keyword and the predetermined keyword set is second associated class
Type.
16. the device according to claims 14 or 15, which is characterized in that the information to be pushed set includes being waited for from general
The the first information to be pushed set obtained in pushed information database and obtained from default information to be pushed database
Two information to be pushed set;And
The push position determination unit is used for:
When the association type is first correlation type, will need to be pushed in the second information to be pushed set
Before all information to be pushed of the information sorting in the first information to be pushed set, and for described first wait pushing
Each information to be pushed in information aggregate and the second information to be pushed set is searched based on each information to be pushed with described
The matching degree of rope keyword determines that each information to be pushed waits for push letter in the first information to be pushed set and described second
Push sequence in breath set;
When the association type is second correlation type, waited for for the first information to be pushed set and described second
Each information to be pushed in pushed information set, based on the matching degree of each information to be pushed and described search keyword, really
The push sequence of fixed each information to be pushed;And
The auto-building html files unit is used for:
Each information to be pushed is set in sequence according to identified push on the corresponding push position of webpage, to generate new net
Page.
17. the device according to claims 14 or 15, which is characterized in that the information to be pushed set includes being waited for from general
The the first information to be pushed set obtained in pushed information database and obtained from default information to be pushed database
Two information to be pushed set;And
The push position determination unit is used for:
When the association type is first correlation type, will need to be pushed in the second information to be pushed set
The push position of information is set as the first predeterminated position of webpage, will need to be pushed in the first information to be pushed set
The push position of information is set as the position except first predeterminated position of the webpage, and waits pushing away for described first
Send each information to be pushed in information aggregate and the second information to be pushed set, based on each information to be pushed with it is described
The matching degree of search key determines each information to be pushed except first predeterminated position and first predeterminated position
Position on push sequence;
When the association type is second correlation type, waited for for the first information to be pushed set and described second
Each information to be pushed in pushed information set, based on the matching degree of each information to be pushed and described search keyword, really
The push sequence of fixed each information to be pushed;And
The auto-building html files unit is used for:
Each information to be pushed is set in sequence according to identified push on the corresponding push position of webpage, to generate new net
Page.
18. device according to claim 16, which is characterized in that the acquiring unit is used for:
From the default information to be pushed database, corresponding with described search keyword all or the first predetermined number is obtained
Information to be pushed;
It is equal to or more than the second predetermined number in the information to be pushed number obtained from the default information to be pushed database
When, select the second predetermined number information to be pushed according to matching degree;
When the information to be pushed number obtained from the default information to be pushed database is less than second predetermined number,
Remaining information to be pushed is obtained from the general information to be pushed database.
19. device according to claim 17, which is characterized in that the acquiring unit is used for:
From the default information to be pushed database, obtains corresponding with described search keyword and be adapted to the first predeterminated position
Number item or the first predetermined number information to be pushed;
It is equal to or more than the second predetermined number in the information to be pushed number obtained from the default information to be pushed database
When, select the second predetermined number information to be pushed according to matching degree;
When the information to be pushed number obtained from the default information to be pushed database is less than second predetermined number,
Remaining information to be pushed is obtained from the general information to be pushed database.
20. device according to claim 13, which is characterized in that predetermined keyword periphery word includes:
The predetermined keyword periphery word generated based on the predetermined keyword and with the relevant reservation service of the predetermined keyword;
And/or
The predetermined keyword periphery word generated based on the predetermined keyword and with the relevant predetermined prod of the predetermined keyword.
21. a kind of web page server, which is characterized in that the web page server includes the dress described in one of claim 11-20
It sets.
22. a kind of equipment, including:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors
Execute the method as described in any claim in claim 1 to 10.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710057348.8A CN108363707B (en) | 2017-01-26 | 2017-01-26 | Method and device for generating webpage |
KR1020170125821A KR102023999B1 (en) | 2017-01-26 | 2017-09-28 | Method and apparatus for generating web pages |
JP2017194577A JP6449961B2 (en) | 2017-01-26 | 2017-10-04 | Method and apparatus for generating web pages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710057348.8A CN108363707B (en) | 2017-01-26 | 2017-01-26 | Method and device for generating webpage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108363707A true CN108363707A (en) | 2018-08-03 |
CN108363707B CN108363707B (en) | 2020-01-24 |
Family
ID=63011421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710057348.8A Active CN108363707B (en) | 2017-01-26 | 2017-01-26 | Method and device for generating webpage |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP6449961B2 (en) |
KR (1) | KR102023999B1 (en) |
CN (1) | CN108363707B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111371844B (en) * | 2020-02-20 | 2024-01-19 | 平安科技(深圳)有限公司 | Course pushing method and related device |
CN111586180A (en) * | 2020-05-10 | 2020-08-25 | 计雄昆 | Artificial intelligence information feedback system |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120259702A1 (en) * | 2010-09-30 | 2012-10-11 | Yahoo! Inc. | Determining placement of advertisements on web pages |
CN103838756A (en) * | 2012-11-23 | 2014-06-04 | 阿里巴巴集团控股有限公司 | Method and device for determining pushed information |
CN103942265A (en) * | 2014-03-26 | 2014-07-23 | 北京奇虎科技有限公司 | Method and device for pushing webpages containing news information |
CN104063454A (en) * | 2014-06-24 | 2014-09-24 | 北京奇虎科技有限公司 | Search push method and device for mining user demands |
JP2015005092A (en) * | 2013-06-20 | 2015-01-08 | ヤフー株式会社 | Advertisement allocation device and advertisement allocation program |
CN105069102A (en) * | 2015-08-03 | 2015-11-18 | 百度在线网络技术(北京)有限公司 | Information push method and apparatus |
CN105095394A (en) * | 2015-06-30 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | Method and device for web page generation |
CN105095427A (en) * | 2015-07-17 | 2015-11-25 | 小米科技有限责任公司 | Search recommendation method and device |
US20150356072A1 (en) * | 2014-06-05 | 2015-12-10 | Alibaba Group Holding Limited | Method and Apparatus of Matching Text Information and Pushing a Business Object |
CN105653673A (en) * | 2015-12-29 | 2016-06-08 | 小米科技有限责任公司 | Information searching method and apparatus |
CN105701155A (en) * | 2015-12-30 | 2016-06-22 | 百度在线网络技术(北京)有限公司 | Information push method and the device |
CN105760523A (en) * | 2016-02-29 | 2016-07-13 | 百度在线网络技术(北京)有限公司 | Information push method and information push device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040029525A1 (en) * | 2002-08-05 | 2004-02-12 | Sun Microsystems, Inc. | Tuning engine and user interface for internet broadcasts on mobile devices |
CN103297498A (en) * | 2013-04-19 | 2013-09-11 | 北京宽连十方数字技术有限公司 | Relevant content pushing method based on mobile phone client side |
-
2017
- 2017-01-26 CN CN201710057348.8A patent/CN108363707B/en active Active
- 2017-09-28 KR KR1020170125821A patent/KR102023999B1/en active IP Right Grant
- 2017-10-04 JP JP2017194577A patent/JP6449961B2/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120259702A1 (en) * | 2010-09-30 | 2012-10-11 | Yahoo! Inc. | Determining placement of advertisements on web pages |
CN103838756A (en) * | 2012-11-23 | 2014-06-04 | 阿里巴巴集团控股有限公司 | Method and device for determining pushed information |
JP2015005092A (en) * | 2013-06-20 | 2015-01-08 | ヤフー株式会社 | Advertisement allocation device and advertisement allocation program |
CN103942265A (en) * | 2014-03-26 | 2014-07-23 | 北京奇虎科技有限公司 | Method and device for pushing webpages containing news information |
US20150356072A1 (en) * | 2014-06-05 | 2015-12-10 | Alibaba Group Holding Limited | Method and Apparatus of Matching Text Information and Pushing a Business Object |
CN104063454A (en) * | 2014-06-24 | 2014-09-24 | 北京奇虎科技有限公司 | Search push method and device for mining user demands |
CN105095394A (en) * | 2015-06-30 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | Method and device for web page generation |
CN105095427A (en) * | 2015-07-17 | 2015-11-25 | 小米科技有限责任公司 | Search recommendation method and device |
CN105069102A (en) * | 2015-08-03 | 2015-11-18 | 百度在线网络技术(北京)有限公司 | Information push method and apparatus |
CN105653673A (en) * | 2015-12-29 | 2016-06-08 | 小米科技有限责任公司 | Information searching method and apparatus |
CN105701155A (en) * | 2015-12-30 | 2016-06-22 | 百度在线网络技术(北京)有限公司 | Information push method and the device |
CN105760523A (en) * | 2016-02-29 | 2016-07-13 | 百度在线网络技术(北京)有限公司 | Information push method and information push device |
Non-Patent Citations (1)
Title |
---|
杨琴: "《信息法律制度前沿问题研究》", 31 March 2006, 成都:西南交通大学出版社 * |
Also Published As
Publication number | Publication date |
---|---|
KR20180088260A (en) | 2018-08-03 |
CN108363707B (en) | 2020-01-24 |
JP6449961B2 (en) | 2019-01-09 |
KR102023999B1 (en) | 2019-09-23 |
JP2018120576A (en) | 2018-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107679211B (en) | Method and device for pushing information | |
CN105630876B (en) | Information acquisition method and device across application | |
CN108804450B (en) | Information pushing method and device | |
US10169459B2 (en) | Intelligent collecting and sharing method and mobile terminal | |
US10331688B2 (en) | Systems and methods for searching content from multiple sources | |
JP2020509449A (en) | Method and device for warning | |
CN105488205B (en) | Page generation method and device | |
CN109145280A (en) | The method and apparatus of information push | |
US20110136542A1 (en) | Method and apparatus for suggesting information resources based on context and preferences | |
CN105426508B (en) | Webpage generating method and device | |
CN106874467A (en) | Method and apparatus for providing Search Results | |
WO2017028588A1 (en) | Application service information association method, and application association platform server and client | |
CN110472941A (en) | Schedule creation method and device, terminal, storage medium based on notification message | |
CN109710088B (en) | Information searching method and device | |
CN107169077A (en) | Method and apparatus for pushed information | |
CN108804448A (en) | The method and apparatus for generating information to be pushed | |
CN103793495A (en) | Application message search method and system and application message acquisition method and system | |
CN111240558A (en) | Information searching method, device, terminal and storage medium | |
CN108363707A (en) | Method and apparatus for generating webpage | |
WO2012119339A1 (en) | Retrieval method and apparatus | |
CN105740453B (en) | Information-pushing method and device | |
US11115905B2 (en) | Method and apparatus for publishing information at wireless routing device end | |
US20130230248A1 (en) | Ensuring validity of the bookmark reference in a collaborative bookmarking system | |
CN104881308B (en) | A kind of processing method and processing device of application program | |
CN112084441A (en) | Information retrieval method and device and electronic equipment |
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 |