CN106055591A - Weather pushing method and device - Google Patents

Weather pushing method and device Download PDF

Info

Publication number
CN106055591A
CN106055591A CN201610344235.1A CN201610344235A CN106055591A CN 106055591 A CN106055591 A CN 106055591A CN 201610344235 A CN201610344235 A CN 201610344235A CN 106055591 A CN106055591 A CN 106055591A
Authority
CN
China
Prior art keywords
webpage
weather
web page
class
currently
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610344235.1A
Other languages
Chinese (zh)
Other versions
CN106055591B (en
Inventor
罗璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Baoqu Technology Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610344235.1A priority Critical patent/CN106055591B/en
Publication of CN106055591A publication Critical patent/CN106055591A/en
Application granted granted Critical
Publication of CN106055591B publication Critical patent/CN106055591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Abstract

The invention provides a weather pushing method and a weather pushing device, which comprise the following steps: determining whether the current browsed webpage is a search webpage or a ticket type webpage; if the current browsed webpage is a search webpage or a ticket webpage, acquiring webpage keywords according to the search webpage or the ticket webpage; and acquiring weather push information according to the webpage keywords, and displaying the weather push information on the currently browsed webpage. By adopting the weather pushing method and the weather pushing device, weather related information matched with webpage keywords of the browsed webpage can be provided for a user, the user does not need to perform secondary search and inquire related weather information, and the user experience is greatly improved by adding a weather pushing function.

Description

A kind of weather method for pushing and device
Technical field
The present invention relates to computer and network technology field, particularly relate to Weather information method for pushing and device.
Background technology
In daily life, people's clothing, food, lodging and transportion--basic necessities of life are increasingly closer with contacting of weather conditions, and user inquires about the approach of weather More and more diversified, user is in addition to the direct feel to current weather temperature, to daily synoptic climate and attached weather Parameter also becomes more concerned with, and under varying environment, different scene, user is the most different to weather demand.
Prior art deficiency is:
There is obvious defect in the mode of existing propelling movement weather forecast: the weather conditions and the weather that push time 1) such as start are pre- Notify breath, function singleness, lack the weather information relevant to weather, weather information can be to need cooling to need to add medicated clothing, Or 3M mask etc. is carried in haze weather suggestion;2) when carrying out page browsing, it is impossible to automatic according to the content of pages that user accesses Push and content of pages related weather information, need user from line search related weather information, operation complexity.
Summary of the invention
The embodiment of the present invention proposes a kind of weather method for pushing and device, to solve existing weather pushing service function mistake In single technical problem.
In one aspect, embodiments provide a kind of weather method for pushing, comprise the steps:
Determine and currently browse whether webpage is searching class webpage or ticketing service class webpage;
If the described webpage that currently browses is searching class webpage or ticketing service class webpage, then according to described searching class webpage or ticketing service Class webpage obtains Web Page Key Words;
Obtain weather pushed information according to described Web Page Key Words, and be shown in and currently browse on webpage.Another side Face, embodiments provides a kind of weather pusher, including:
Determine module, be used for determining and currently browse whether webpage is searching class webpage or ticketing service class webpage;
Key word module, if being searching class webpage or ticketing service class webpage for the described webpage that currently browses, then according to described Searching class webpage or ticketing service class webpage obtain Web Page Key Words;
Pushing module, for obtaining weather pushed information according to described Web Page Key Words, and is shown in and currently browses webpage On.Have the beneficial effect that:
The weather method for pushing provided due to the embodiment of the present invention and device, use mobile terminal or computer user In application scenarios, determine and currently browse whether webpage is searching class webpage or ticketing service class webpage, if currently browsing webpage for search Class webpage or ticketing service class webpage, obtain the Web Page Key Words on searching class webpage or ticketing service class webpage, push away according to Web Page Key Words Send corresponding Weather information to user.Therefore, use the weather method for pushing that provided of the embodiment of the present application and device, latent when having When weather service demand, it is possible to provide the user letter relevant to the weather that the Web Page Key Words of its browsed webpage matches Breath, it is not necessary to user carries out binary search, inquires about related weather information, by setting up weather push function, greatly improves use Family is experienced.
Accompanying drawing explanation
The specific embodiment of the present invention is described below with reference to accompanying drawings, wherein:
Fig. 1 shows the Method And Principle figure that in the embodiment of the present invention one, weather pushes;
Fig. 2 shows the display interface schematic diagram that in the embodiment of the present invention two, weather pushes;
Fig. 3 shows the schematic flow sheet that in the embodiment of the present invention three, weather pushes;
Fig. 4 shows the schematic flow sheet that in the embodiment of the present invention four, weather pushes;
Fig. 5 shows the structure drawing of device that in the embodiment of the present invention five, weather pushes;
Detailed description of the invention
In order to make technical scheme and advantage clearer, below in conjunction with exemplary to the present invention of accompanying drawing Embodiment is described in more detail, it is clear that described embodiment be only the present invention a part of embodiment rather than All embodiments exhaustive.And in the case of not conflicting, the embodiment in this explanation and the feature in embodiment can be mutual Combine.
It is the most single that inventor note that during invention weather of the prior art pushes scene, is only capable of prompting and uses The on-site related weather information in family, it is impossible to know the routing of user according to user's current browse webpage, it is impossible to push away in time Send the related weather information of destination in routing, i.e. need user from line search related weather information, operation complexity, user Experience poor.
For the problems referred to above, present applicant proposes a kind of weather method for pushing and device, current according to the user got Web Page Key Words in the searching class webpage browsed or ticketing service class webpage, the corresponding Weather information that will match to Web Page Key Words It is pushed to user.By above-mentioned means, the application is without user's binary search related weather information, it becomes possible to know in time and net The page related weather information that matches of key word, simplify user operation, significant increase Consumer's Experience.
Below in conjunction with specific embodiment, the weather method for pushing in the application and device are illustrated.
Embodiment one,
Fig. 1 shows the Method And Principle figure that in the embodiment of the present invention one, weather pushes, as it is shown in figure 1, described weather pushes Method comprises the steps:
Step 101, determine and currently browse whether webpage is searching class webpage or ticketing service class webpage.
If the described webpage that currently browses of step 102 is searching class webpage or ticketing service class webpage, then according to described searching class net Page or ticketing service class webpage obtain Web Page Key Words.
Step 103, generate weather pushed information according to the Web Page Key Words that gets, and be shown in and currently browse webpage On.
The weather method for pushing that the embodiment of the present application is provided can be applicable in computer or mobile terminal, by resolving user Web Page Key Words in current browse webpage, pushes the related weather information matched with Web Page Key Words to user.Such as: when User's search column on ticketing service class webpage is keyed in Beijing-Shanghai, when purchasing the air ticket, pushes Beijing and two places, Shanghai to user Related weather information.
When being embodied as, when user uses client (e.g., poison despot's client), or the browser of integrated corresponding function Carry out page browsing, and identify user current browse webpage when being searching class webpage or ticketing service class webpage, resolve and currently search Rope class webpage or the Web Page Key Words of ticketing service class webpage, push related weather information to user according to Web Page Key Words.Wherein, search Rope class webpage can be Baidu's page, the page etc., the ticketing service class page must be answered can be 12306 pages, take the journey page etc..
The weather method for pushing provided due to the embodiment of the present application, uses the applied field of mobile terminal or computer user Web Page Key Words in Jing Zhong, the searching class webpage currently browsed according to the user got or ticketing service class webpage, will be with webpage The corresponding Weather information that key word matches is pushed to user.Therefore, the weather propelling movement side that the embodiment of the present application is provided is used Method, when there being potential weather service demand, by providing the user weather Push Service, it is ensured that user can be the most timely Know related weather information, greatly improve Consumer's Experience.
In enforcement, when this locality prestores and prestores corresponding relation accordingly, determine and currently browse whether webpage is searching class The step of webpage or ticketing service class webpage includes:
According to currently browsing the URL address of webpage, the URL address prestored and web page class other relation storehouse is utilized to determine described Currently browse the webpage classification of webpage;
Determine according to described webpage classification and described currently browse whether webpage is searching class webpage or ticketing service class webpage.
When being embodied as, according to the URL address grabbed, look into from URL address and the web page class other relation storehouse prestored Look for the webpage classification corresponding with URL address, determine according to the webpage classification found and currently browse whether webpage is searching class net Page or ticketing service class webpage.
When being embodied as, according to the demand of actual application scenarios, searching class webpage or ticketing service class webpage here can be Two categories of websites, it is also possible to merge into a categories of websites.Additionally, this locality can also prestore, URL address is other with web page class Relation storehouse, according to the URL address acquisition webpage classification grabbed, it is also possible to the website name that prestores and web page class other relation storehouse, i.e. By resolving URL address, obtaining the website name of URL address, recycling website name obtains website class with web page class other relation storehouse Not, it is used for judging currently to browse whether webpage is searching class webpage or ticketing service class webpage.
When being embodied as, those skilled in the art can prestore different corresponding relations, or its other party according to actual needs Formula, this is not restricted by the application.
In enforcement, when in view of saving local internal memory, do not prestore corresponding corresponding relation time, can be by will be the most right Should be related to and upload to cloud database, now, described the most settled before browse whether webpage is searching class webpage or ticketing service class net The step of page includes:
According to currently browsing the URL address of webpage, generate and comprise the described of URL address and currently browse whether webpage is search Class webpage or the inquiry request of ticketing service class webpage, and it is sent to cloud database;
Receive from cloud database determines described currently whether to browse webpage according to the URL address in described inquiry request For searching class webpage or the response message of ticketing service class webpage;
Determine according to described response message and described currently browse whether webpage is searching class webpage or ticketing service class webpage.
When being embodied as, after grabbing URL address, generate comprise URL address currently browse whether webpage is search Class webpage or the inquiry request of ticketing service class webpage, be uploaded to cloud database by this inquiry request, and cloud database resolves this and looks into Ask request, obtain URL address to be checked, other with web page class according to the URL address that URL address prestores from cloud database Relation storehouse is searched the webpage classification corresponding with URL address, so that it is determined that currently browse whether webpage is searching class webpage or ticket Business class webpage.Wherein, the crawl of URL address can be seized by force client, or the browser of integrated corresponding function by poison, or mobile Terminal realizes.
When being embodied as, according to the demand of actual application scenarios, searching class webpage or ticketing service class webpage here can be Two categories of websites, it is also possible to merge into a categories of websites.URL address and web page class additionally, cloud database can prestore Other relation storehouse, according to the URL address acquisition webpage classification grabbed, it is also possible to the website name that prestores and the other relation of web page class Storehouse, i.e. by resolving URL address, obtains the website name of URL address, and recycling website name obtains net with web page class other relation storehouse Stand classification, be used for judging currently to browse whether webpage is searching class webpage or ticketing service class webpage.
When being embodied as, those skilled in the art can prestore different corresponding relations, or its other party according to actual needs Formula, this is not restricted by the application.
In enforcement, determine that the step of Web Page Key Words includes according to searching class webpage or ticketing service class webpage:
According to described searching class webpage or the URL address of ticketing service class webpage, obtain the website name of described current browse webpage;
Website name according to described current browse webpage obtains the Web Page Key Words of described current browse webpage relevant position.
When being embodied as, the URL grabbed is resolved, obtain the domain name in URL, determine according to domain name and currently browse The website name of the page, according to the website name determined, obtains the word content that in this site search hurdle, user keys in, and by this word Content is as Web Page Key Words.Such as, the URL of Baidu is http://www.baidu.com/index.html, baidu.com For the domain name of Baidu, determine the entitled Baidu in website, it is also possible to directly replace website name, when determining that website is entitled with baidu.com After Baidu, determine the search column position of www.baidu.com, according to determined by the search column position of www.baidu.com, capture and currently browse The word content " Shanghai is to Beijing " that in the search column position of the page, user keys in, the or " Shanghai-north with sign flag Capital ", then, " Beijing, Shanghai " of being somebody's turn to do in " Shanghai is to Beijing " or " Shanghai-Beijing " is current browse webpage relevant position Web Page Key Words, or whole field will be positioned at the address information (e.g., Beijing) of field afterbody as Web Page Key Words.
When being embodied as, it is also possible to obtain the server name in URL and domain name by resolving URL, according to server name and Domain name determines the website name of current browse webpage, according to the website name determined, obtains user in the search column of current browse webpage The word content keyed in, and using this word content as Web Page Key Words.
In enforcement, obtain the Web Page Key Words of current browse webpage relevant position according to the website name of current browse webpage Step includes:
Utilizing the corresponding relation of website name and the website masterplate prestored, it is right with the website name of described current browse webpage to obtain The website masterplate answered;
According in the website masterplate obtained for obtaining the relevant position of described Web Page Key Words, resolve and described currently browse Relevant position in the page, obtains the Web Page Key Words of described current browse webpage.
When being embodied as, according to determined by website name, from the website name prestored and the corresponding table of website masterplate search The website masterplate that website name determined by with is corresponding, according to the particular location of search column in the masterplate of website, resolves current browse page Relevant position in face, obtains the word content that user keys in search column position, this word content i.e. Web Page Key Words.
When being embodied as, after user enters the browser page of integrated corresponding function, it is also possible to monitoring user is in real time No initiation inquiry request, i.e. comprises the inquiry request of the word content that user keys in search column position, if user initiates to look into Ask request, then by resolving the word content that this inquiry request acquisition user keys in search column position, i.e. obtain webpage and close Keyword;Otherwise, then monitoring next inquiry request of user is continued.
The embodiment of the present application is by directly capturing the word content of fixed position (e.g., search column position), it is to avoid by grabbing The whole word contents taking current browse webpage obtain the relatively low matching degree existing for Web Page Key Words and higher acquisition difficulty, I.e. by directly capturing the word content of fixed position (e.g., search column position), obtain the Web Page Key Words of higher matching degree, with Improve the reasonability that weather pushes.
In enforcement, the step generating weather pushed information according to the Web Page Key Words got includes:
According to described Web Page Key Words, generate the weather pushed information comprising Web Page Key Words and obtain request, and by described Acquisition request is sent to corresponding weather web site or data base;
Receive from described weather web site or database root according to the corresponding relation of Web Page Key Words Yu weather pushed information The weather pushed information obtained.
When being embodied as, when the weather comprising Web Page Key Words is pushed away by browser or poison despot's client of integrated corresponding function Send the step that information acquisition request is sent to weather web site specifically, generate the first acquisition request according to Web Page Key Words, concurrently Giving server, server obtains Web Page Key Words by resolving the first acquisition request, obtains correspondence according to Web Page Key Words Weather web site api interface, and the generate according to Web Page Key Words second acquisition request is sent to weather web site via API mouth, Weather forecast website obtains request according to second and generates the second response message comprising weather forecast relevant information, and is sent to clothes Business device.Weather forecast relevant information in second response message is screened by server, obtains matching with Web Page Key Words Weather forecast information, and the first response message comprising weather forecast information is sent to integrated corresponding function browser or Poison despot's client, in order to browser or poison despot's client of integrated corresponding function are prompted to user with the form of pop-up.
Web Page Key Words at least includes address information, such as " Shanghai is to Beijing ", " Shanghai-Beijing ".Web Page Key Words also may be used To include temporal information, such as " April 11 ", " 4-11 ", such as, according to temporal information to many days of the future in the first response message Weather forecast information screen, choose the weather forecast information matched with temporal information, and according to selected weather Forecast information generates the first response message, and is sent to browser or poison despot's client of integrated corresponding function.
When being embodied as, browser or poison despot's client of integrated corresponding function can also utilize the Web Page Key Words prestored With the corresponding relation of weather web site api interface, directly the request that obtains comprising Web Page Key Words is sent via corresponding API mouth To weather web site, receiving the response message that weather web site generates according to the request of acquisition, the weather forecast from response message is correlated with Information filters out the weather forecast information matched with Web Page Key Words, and is prompted to user with the form of pop-up.
When being embodied as, when the weather comprising Web Page Key Words is pushed away by browser or poison despot's client of integrated corresponding function Send the step that information acquisition request is sent to data base specifically, this data base can be cloud database, it is also possible to be to prestore Data base in server side.Wherein, weather forecast relevant information is real-time update.Such as, clear when integrated corresponding function Look at device or poison despot client by the weather pushed information comprising Web Page Key Words acquisition request be sent to cloud database time, integrated Browser or poison despot's client of corresponding function generate, according to Web Page Key Words, the request of acquisition, and are sent to cloud database.Cloud Client database obtains the first Web Page Key Words and the second Web Page Key Words by resolving acquisition request, utilizes the webpage prestored crucial Word and the corresponding relation of weather forecast relevant information, obtain weather forecast relevant information according to the first Web Page Key Words, further Ground, screens weather forecast relevant information according to the second Web Page Key Words, obtains the weather matched with Web Page Key Words Forecast information, and the response message comprising weather forecast information is sent to browser or the poison despot client of integrated corresponding function End, in order to the browser of integrated corresponding function or poison despot's client by the weather forecast information in response message with the form of pop-up It is prompted to user.
The embodiment of the present application, by resolving the first Web Page Key Words in the request of acquisition and the second key word, accurately acquires The Web Page Key Words of higher matching degree, to improve the reasonability that weather pushes.Such as, keyed in search column according to user One key word (e.g., Shanghai is to Beijing) obtains address information, and the weather matched according to address acquisition of information and address information Forecast relevant information (e.g., destination Beijing Weather information of following 7 days and corresponding weather index information);Searching according to user The second key word (e.g., April 11) keyed in rope hurdle obtains temporal information, and according to temporal information from the relevant letter of weather forecast Breath filters out the weather forecast information corresponding with temporal information and is prompted to user.
Fig. 2 shows the display interface schematic diagram that in the embodiment of the present application two, weather pushes, as in figure 2 it is shown, display interface The lower right corner at screen is shown with the form of pop-up.Without user's binary search related weather information, it becomes possible to know in time with Related weather information that Web Page Key Words matches, simplifies user operation, significant increase Consumer's Experience.
For the ease of the enforcement of the application, illustrate with example below.
As a example by the browser of integrated corresponding function, when user opens the browser of integrated corresponding function, trigger weather Push function.
Fig. 3 shows the schematic flow sheet that the weather in the embodiment of the present application three pushes, as it can be seen, the tool that weather pushes Body handling process may include steps of:
Whether step 301, monitoring user trigger browser.
Step 302, when monitoring after user triggers browser, capture the URL address currently browsing webpage.
Step 303, the local URL address prestored of utilization and the data base of categories of websites, true according to the URL address grabbed Browse before settled whether webpage is searching class webpage.If it is determined that be searching class webpage, then enter step 305.
Step 304, when determining that currently browsing webpage is not searching class webpage, continue to judge that whether currently browse webpage is Ticketing service class webpage.If it is determined that be ticketing service class webpage, then enter step 305, otherwise, then enter step 302, continue to capture under user The one URL address browsing webpage.
Step 305, basis currently browse webpage and obtain Web Page Key Words.URL address according to currently browsing webpage determines Currently browse the website name of webpage, utilize the corresponding relation of website name and website form, determine the website of correspondence according to website name Template, and currently browse relevant position in webpage according to website form inputs the search column position acquisition of key word for user Key word, i.e. Web Page Key Words.
Step 306, according to Web Page Key Words obtain weather forecast information.If Web Page Key Words only includes address information, then According to acquisition of information two places, address or the destination Weather information of following several days and weather index information (e.g., drcssing index, it is proposed that Dressing collocation etc.), and using Weather information and weather index information as weather pushed information;If Web Page Key Words includes address Information and temporal information, then provide two places or the destination weather forecast information of following several days and weather index according to address information Information, according to temporal information filter out from Weather information and weather index information the Weather information matched with temporal information and Weather index information, and using Weather information and weather index information as weather pushed information.
Step 307, weather push.Weather pushed information being shown in the form of pop-up currently browses on webpage.
Embodiment four,
Use the concrete application scenarios of weather push function by user as a example by, Fig. 4 shows sky in the embodiment of the present application four The schematic flow sheet that gas pushes, as shown in Figure 4, weather pushes flow process and may include steps of:
Step 401, log in browser.When user is to oneself formulating a set of trip planning, when taking booking tickets on net to go on a journey, when When logining Baidu's page, obtain the URL address of current browse webpage.
Step 402, obtain website name according to URL address, the entitled Baidu in website.
Baidu's template that step 403, basis prestore, obtains the key word that current browse webpage user keys at search column, Such as " Beijing, Shanghai ".
Step 404, it is that user pushes Beijing weather condition of following several days according to key word " Beijing, Shanghai ", and according to Pekinese's weather condition is pushed to user and goes on a journey suggestion, and i.e. according to temperature, humidity difference, all weathers difference reminds user to wear the clothes finger Count, whether get rain gear etc. ready.
The embodiment of the present application is applicable to, when user goes on business to Beijing at haze season, when user is in website ticket booking or predetermined During hotel, in suitable scene, remind the air quality index on user Beijing same day, and carry according to the air quality index on the same day Awake user takes the safeguard procedures of correspondence.Such as, as far as possible in indoor activity, band mask etc. of going out.I.e. by combining suitable field Scape, it is provided that to user's weather Push Service, automatically provide the user with the most appropriately according to weather conditions, the most comprehensive related advisory, While minimizing user searches for related weather information, more intuitively, understandablely express and show weather pushed information, promote user Experience.
Embodiment five,
Based on same inventive concept, the embodiment of the present application additionally provides a kind of weather pusher, due to these equipment The principle of solution problem is similar to a kind of weather method for pushing, and therefore the enforcement of these equipment may refer to the enforcement of method, weight Multiple part repeats no more.
Fig. 5 shows the structural representation of weather pusher in the embodiment of the present application five, as it can be seen, described weather pushes away Device is sent to may include that
Determine module 501, be used for determining and currently browse whether webpage is searching class webpage or ticketing service class webpage.
Key word module 502, if being searching class webpage or ticketing service class webpage for the described webpage that currently browses, then according to institute State searching class webpage or ticketing service class webpage obtains Web Page Key Words.
Pushing module 503, for obtaining weather pushed information according to described Web Page Key Words, and is shown in and currently browses net On page.
In enforcement, determine that module 501 farther includes:
Class location, currently browses the URL address of webpage for basis, utilizes the URL address prestored other with web page class Relation storehouse determines the described webpage classification currently browsing webpage;
First judging unit, described currently browses whether webpage is searching class webpage for determining according to described webpage classification Or ticketing service class webpage.
In enforcement, determine that module 501 farther includes:
Query unit, currently browses the URL address of webpage for basis, and generation comprises the described of URL address and currently browses Whether webpage is searching class webpage or the inquiry request of ticketing service class webpage, and be sent to cloud database;
Receive unit, determine described work as from cloud database according to the URL address in described inquiry request for receiving Before browse whether webpage is searching class webpage or the response message of ticketing service class webpage;
Second judging unit, described currently browses whether webpage is searching class webpage for determining according to described response message Or ticketing service class webpage.
In enforcement, key word module 502 farther includes:
Web site unit, for according to described searching class webpage or the URL address of ticketing service class webpage, obtains described currently browsing The website name of the page;
Acquiring unit, obtains described current browse webpage relevant position for the website name according to described current browse webpage Web Page Key Words.
In enforcement, acquiring unit farther includes:
Utilizing the corresponding relation of website name and the website masterplate prestored, it is right with the website name of described current browse webpage to obtain The website masterplate answered;
According in the website masterplate obtained for obtaining the positional information of described Web Page Key Words, resolve and described currently browse Relevant position in the page, obtains the Web Page Key Words of described current browse webpage.
In enforcement, pushing module 503 farther includes:
Request unit, for according to described Web Page Key Words, generates the weather pushed information comprising Web Page Key Words and obtains Request, and described acquisition request is sent to corresponding weather web site or data base;
Response unit, comprises sky from described weather web site or database root according to what Web Page Key Words generated for receiving The response message of gas pushed information.
In enforcement, Web Page Key Words at least includes address information.
In enforcement, Web Page Key Words includes address information and temporal information.
In enforcement, browsing and currently browsing the executive agent of webpage is poison despot's client, or integrated corresponding function is clear Look at device.For convenience of description, each several part of apparatus described above is divided into various module or unit to be respectively described with function.When So, the function of each module or unit can be realized in same or multiple softwares or hardware when implementing the present invention.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the reality in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware Execute the form of example.And, the present invention can use at one or more computers wherein including computer usable program code The upper computer program product implemented of usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) The form of product.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one The step of the function specified in individual square frame or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and amendment to these embodiments.So, claims are intended to be construed to include excellent Select embodiment and fall into all changes and the amendment of the scope of the invention.

Claims (10)

1. a weather method for pushing, it is characterised in that including:
Determine and currently browse whether webpage is searching class webpage or ticketing service class webpage;
If the described webpage that currently browses is searching class webpage or ticketing service class webpage, then according to described searching class webpage or ticketing service class net Page obtains Web Page Key Words;
Obtain weather pushed information according to described Web Page Key Words, and be shown in and currently browse on webpage.
2. the method for claim 1, it is characterised in that described the most settled before browse whether webpage is searching class webpage Or the step of ticketing service class webpage includes:
According to currently browsing the URL address of webpage, utilize the URL address prestored and web page class other relation storehouse determine described currently Browse the webpage classification of webpage;
Determine according to described webpage classification and described currently browse whether webpage is searching class webpage or ticketing service class webpage.
3. the method for claim 1, it is characterised in that described the most settled before browse whether webpage is searching class webpage Or the step of ticketing service class webpage includes:
According to currently browsing the URL address of webpage, generate and comprise the described of URL address and currently browse whether webpage is searching class net Page or the inquiry request of ticketing service class webpage, and it is sent to cloud database;
Receive and determine that whether the described webpage that currently browses is for searching from cloud database according to the URL address in described inquiry request Rope class webpage or the response message of ticketing service class webpage;
Determine according to described response message and described currently browse whether webpage is searching class webpage or ticketing service class webpage.
4. as claimed in claim 2 or claim 3 method, it is characterised in that described according to described searching class webpage or ticketing service class net Page determines that the step of Web Page Key Words includes:
According to described searching class webpage or the URL address of ticketing service class webpage, obtain the website name of described current browse webpage;
Website name according to described current browse webpage obtains the Web Page Key Words of described current browse webpage relevant position.
5. method as claimed in claim 4, it is characterised in that described obtains weather propelling movement letter according to described Web Page Key Words The step of breath includes:
According to described Web Page Key Words, generate the weather pushed information comprising Web Page Key Words and obtain request, and by described acquisition Request is sent to corresponding weather web site or data base;
Receive the response comprising weather pushed information generated from described weather web site or database root according to Web Page Key Words Information.
6. a weather pusher, it is characterised in that
Determine module, be used for determining and currently browse whether webpage is searching class webpage or ticketing service class webpage;
Key word module, if being searching class webpage or ticketing service class webpage for the described webpage that currently browses, then according to described search Class webpage or ticketing service class webpage obtain Web Page Key Words;
Pushing module, for obtaining weather pushed information according to described Web Page Key Words, and is shown in and currently browses on webpage.
7. device as claimed in claim 6, it is characterised in that described determine that module farther includes:
Class location, currently browses the URL address of webpage for basis, utilizes the URL address and the other relation of web page class prestored Storehouse determines the described webpage classification currently browsing webpage;
First judging unit, described currently browses whether webpage is searching class webpage or ticket for determining according to described webpage classification Business class webpage.
8. device as claimed in claim 6, it is characterised in that described determine that module farther includes:
Query unit, currently browses the URL address of webpage for basis, and generation comprises the described of URL address and currently browses webpage Whether it is searching class webpage or the inquiry request of ticketing service class webpage, and be sent to cloud database;
Receive unit, determine described the most clear from cloud database according to the URL address in described inquiry request for receiving Whether webpage of looking at is searching class webpage or the response message of ticketing service class webpage;
Second judging unit, described currently browses whether webpage is searching class webpage or ticket for determining according to described response message Business class webpage.
9. device as claimed in claim 7 or 8, it is characterised in that described key word module farther includes:
Web site unit, for according to described searching class webpage or the URL address of ticketing service class webpage, obtains described current browse webpage Website name;
Acquiring unit, obtains the net of described current browse webpage relevant position for the website name according to described current browse webpage Page key word.
10. device as claimed in claim 9, it is characterised in that described pushing module farther includes:
Request unit, for according to described Web Page Key Words, generates the weather pushed information comprising Web Page Key Words and obtains request, And described acquisition request is sent to corresponding weather web site or data base;
Response unit, pushes away for receiving the weather that comprises generated from described weather web site or database root according to Web Page Key Words Deliver letters the response message of breath.
CN201610344235.1A 2016-05-23 2016-05-23 Weather pushing method and device Active CN106055591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610344235.1A CN106055591B (en) 2016-05-23 2016-05-23 Weather pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610344235.1A CN106055591B (en) 2016-05-23 2016-05-23 Weather pushing method and device

Publications (2)

Publication Number Publication Date
CN106055591A true CN106055591A (en) 2016-10-26
CN106055591B CN106055591B (en) 2020-03-17

Family

ID=57176578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610344235.1A Active CN106055591B (en) 2016-05-23 2016-05-23 Weather pushing method and device

Country Status (1)

Country Link
CN (1) CN106055591B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108205545A (en) * 2016-12-16 2018-06-26 百度在线网络技术(北京)有限公司 A kind of method and apparatus for providing recommendation information to the user
CN109831472A (en) * 2017-11-23 2019-05-31 苏州跃盟信息科技有限公司 A kind of push of information, information display method and system
CN109981712A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 Method and apparatus for pushed information
CN112147920A (en) * 2019-06-27 2020-12-29 青岛海尔洗衣机有限公司 Control method for a laundry care appliance

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101432719A (en) * 2006-04-28 2009-05-13 雅虎公司 Contextual mobile local search based on social network vitality information
CN101802773A (en) * 2007-09-17 2010-08-11 雅虎公司 Customization of search results
CN102053792A (en) * 2010-12-28 2011-05-11 东莞宇龙通信科技有限公司 Display method of weather information and terminal
CN103051703A (en) * 2012-12-18 2013-04-17 北京奇虎科技有限公司 Geographical location information-based display method and geographical location information-based display device
CN103530339A (en) * 2013-10-08 2014-01-22 北京百度网讯科技有限公司 Mobile application information push method and device
CN104035935A (en) * 2013-03-06 2014-09-10 腾讯科技(深圳)有限公司 Webpage content push method and system for browser bookmark uniform resource locator (URL)
US20150227973A1 (en) * 2013-02-20 2015-08-13 Stremor Corporation Systems and methods for organizing search results and targeting advertisements

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101432719A (en) * 2006-04-28 2009-05-13 雅虎公司 Contextual mobile local search based on social network vitality information
CN101802773A (en) * 2007-09-17 2010-08-11 雅虎公司 Customization of search results
CN102053792A (en) * 2010-12-28 2011-05-11 东莞宇龙通信科技有限公司 Display method of weather information and terminal
CN103051703A (en) * 2012-12-18 2013-04-17 北京奇虎科技有限公司 Geographical location information-based display method and geographical location information-based display device
US20150227973A1 (en) * 2013-02-20 2015-08-13 Stremor Corporation Systems and methods for organizing search results and targeting advertisements
CN104035935A (en) * 2013-03-06 2014-09-10 腾讯科技(深圳)有限公司 Webpage content push method and system for browser bookmark uniform resource locator (URL)
CN103530339A (en) * 2013-10-08 2014-01-22 北京百度网讯科技有限公司 Mobile application information push method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
不来恩: "【Yahoo!奇摩行动搜寻】用手机上网找地址、查资料(下)", 《HTTPS://BRIIAN.COM/5266/》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108205545A (en) * 2016-12-16 2018-06-26 百度在线网络技术(北京)有限公司 A kind of method and apparatus for providing recommendation information to the user
CN108205545B (en) * 2016-12-16 2022-06-10 百度在线网络技术(北京)有限公司 Method and equipment for providing recommendation information for user
CN109831472A (en) * 2017-11-23 2019-05-31 苏州跃盟信息科技有限公司 A kind of push of information, information display method and system
CN109831472B (en) * 2017-11-23 2021-04-06 苏州跃盟信息科技有限公司 Information pushing and information displaying method and system
CN109981712A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 Method and apparatus for pushed information
CN109981712B (en) * 2017-12-28 2022-04-12 北京京东尚科信息技术有限公司 Method and device for pushing information
CN112147920A (en) * 2019-06-27 2020-12-29 青岛海尔洗衣机有限公司 Control method for a laundry care appliance

Also Published As

Publication number Publication date
CN106055591B (en) 2020-03-17

Similar Documents

Publication Publication Date Title
US8682881B1 (en) System and method for extracting structured data from classified websites
CN107145496A (en) The method for being matched image with content item based on keyword
CN101986306B (en) Method and equipment for acquiring yellow page information based on query sequence
CN102541853B (en) Method and device which are capable of obtaining application information by utilizing browser address bar
EP2557511B1 (en) Information processing device, information processing method, information processing programme, and recording medium
CN103457837A (en) Method and system for searching for instant messages through search engine
WO2015103938A1 (en) Method for loading website commenting information, and browser client
JP6363682B2 (en) Method for selecting an image that matches content based on the metadata of the image and content
CN103246678A (en) Method and device for previewing web page contents
CN106055591A (en) Weather pushing method and device
CN105718533A (en) Information pushing method and device
WO2017039869A1 (en) Context based instant search suggestions
CN103793495B (en) Application message search method and system and application message acquisition methods and system
CN107463592A (en) For by the method, equipment and data handling system of content item and images match
JP2007323394A (en) Meta retrieval system and meta retrieval method, user terminal to be used for the same, and program
JP2003006225A (en) Information providing method, information providing device, and terminal therefor
CN103475676A (en) Method, device, equipment and system used for providing page body information
KR101637016B1 (en) Method for providing user reaction web page
JP2010287048A (en) Device and program for retrieving information and mobile terminal device
KR101537555B1 (en) A direct search system for message on the instant messenger
CN103793499B (en) A kind of method and apparatus obtaining application message using browser address bar
JP5372981B2 (en) Information processing apparatus and method
KR102214990B1 (en) System for providing bookmark management and information searching service and method for providing bookmark management and information searching service using it
CN104182446A (en) Method for searching data and method for planning itinerary
JP2014078246A (en) Device and program for retrieving information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20181207

Address after: 519031 Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Applicant after: Zhuhai Leopard Technology Co.,Ltd.

Address before: 100085 East District, Second Floor, 33 Xiaoying West Road, Haidian District, Beijing

Applicant before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant