Summary of the invention
The invention provides the client software implementation method of a kind of web application that can overcome the above problems, by the application integrating on WEB webpage in client software.
In first aspect, the invention provides a kind of client software implementation method.First web page address corresponding to network service is embedded in described client software by the method, and then is shown by this client software by the corresponding contents in webpage corresponding to this network service.Wherein, the icon of this client software is present on desktop with keyboard shortcut, and/or this icon is present in desktop taskbar, and/or is illustrated in the pallet of system with Resident Process or service.
In second aspect, the invention provides a kind of client software.This client software carries out information interaction by internet and Web server, and this client software comprises webpage acquisition and processing module, monitoring and client process module.The acquisition of this webpage and processing module for obtaining the info web from this Web server, and display it.Whether this monitoring and client process module have new situation to occur for the webpage of monitoring shown by the acquisition of this webpage and processing module, and are displayed when there being new situation to occur.
Further, the present invention also comprises Gains resources in the corresponding WEB webpage of the described webserver, and then carries out processing process to this resource.
The present invention is with respect to browser access WEB network application, simple to operate, consuming time few, and can accomplish that new situation occurs real-time reminding user, has real-time.In addition, the present invention can be widely used in, in the multiple WEB network applications such as microblogging, gmail, 163 mailboxes, Baidu's music box, having use value widely.
Embodiment
Fig. 1 is the client software realization flow figure of the web application of one embodiment of the invention.
In step 110, network service is embedded in client software.Wherein, this network service is the application on any one WEB webpage, as WEBQQ, Gmail, Sina's microblogging, Baidu's music box etc.; The icon of this client software can be present on desktop with keyboard shortcut, also may reside in desktop taskbar, and can also by this icon hiding in pallet when closing this client software window.
Particularly, described being embedded in client software by network service is, is embedded in this client software by the web page address corresponding to this network service.Citing as, Gmail home address is embedded in this client software.
In one embodiment of the invention, in this client, by realizing in the following ways this network service being embedded in this client software: if user opens this client software, if or computing machine enters operating system, then this client software will network address corresponding to this network service of automatic access.
In a preferred embodiment of the present invention, this client software to the content embedded wherein, can make and revise adaptively.
Such as, by CSS pattern (CascadingStyleSheet, cascading style list) method or by amendment script method, this page presentation mode in this client software is revised, as the page revised in this client software presents color etc.
And for example, amendment default setting, as certain WEB webpage default setting for there being a new information time, pointed out by sound, then, in client software, can be modified as without prompt tone.
Also as, increase specific function, if certain WEB webpage is without interpretative function, then in client software, add interpretative function.
Preferably, the advertisement in WEB webpage is rejected, then corresponding contents in the WEB webpage after rejecting advertisement is shown by this client software.Or the content needed in extraction webpage and/or element, redefine and represent form accordingly, then by this client software, it is shown.
In step 120, by this client software to Gains resources in WEB webpage, then again processing process is carried out to this resource got.
In an example, whether this client software quantitative check WEB webpage there is new situation, occurs if any new situation, then obtain this information corresponding to new situation, namely obtain corresponding WEB web page resources.Citing as, whether have new mail in this client software quantitative check Gmail webpage, if any new mail, then obtain the relevant information corresponding to this new mail.
In another example, this client software judges have new situation to occur in this WEB webpage after receiving browser event notice.Namely when web page title change, webpage start the situation such as accessed, webpage has loaded, webpage has been played up occur time, this browser will send event notice, and this client software, based on this event notice, is learnt in this WEB webpage and had new situation to occur.
In another example, this client software, based on the triggering of user behavior, judges whether have new situation to occur in this WEB webpage.Also in an example, check whether WEB webpage new situation occurs by hook mode, as adopted the technology such as script hook, COMhook, APIhook.In addition, by the mode analyzing network service, this client software can also check in this WEB webpage whether new situation occurs.
Described to resource carry out process process a kind of mode be add flag on this icon shortcut, have new situation to occur to point out user.Described to resource carry out process process another kind of mode be have new situation to occur by sound to point out user.Described another mode of carrying out processing process to resource, by this client software icon on taskbar being done special color mark (as stamped blueness on icon), occurs to point out the meaningful or state updating of user.Or data pick-up will be upgraded out from page resource, obtain the concrete number of update content after processing, then revise client software icon or tray icon and upgrade (as added the number of update content on icon) to point out meaningful or state.Described to resource carry out process process also a kind of mode be glimmer to point out user to have new situation to occur by pallet.
It should be noted that, describedly processing process is carried out to resource be not limited to the above mode.
In step 130, by this client software by the content revealing in its corresponding WEB webpage out.
Fig. 2 is the client software block diagram of the web application of an invention embodiment, and this client software 200 comprises filtration and information extraction module 210, webpage obtains and processing module 220, monitoring and client process module 230; Wherein, the acquisition of this webpage and processing module 220 carry out information interaction by internet and WEB server 240.
In Fig. 2, the acquisition of this webpage and processing module 220 are for asking to this Web server 240 and obtain info web.This Web server 240 is servers that any one can provide network information and browses, citing as, WEBQQ server, Gmail server, Sina's micro blog server etc.
Particularly, the acquisition of this webpage and processing module 220 send request order to this Web server 240, request access corresponding web page; Such as, this Web server is Sina's micro blog server, then the request command that now webpage obtains and processing module 220 sends to this Web server is, this Sina's microblog page of request access.After this Web server 240 receives this request command, respond, namely to the Webpage information that this webpage obtains and processing module 220 provides it to ask.Then webpage obtains and processing module 220 downloads this Webpage information from Web server 240, then this Webpage information is obtained by webpage and processing module 220 shows.
This filtration and information extraction module 210 are for modifying to the web page display contents accessed by the acquisition of this webpage and processing module 220.Citing as, amendment Webpage appearance form, amendment page setup, increase page New function, to reject in the page advertisement etc.
Particularly, this filtration and information extraction module 210 obtain and processing module 220 query webpage state to this webpage, namely inquire about this webpage and to obtain and whether processing module 220 has completed page-downloading and Presentation Function; If this webpage obtains and processing module 220 has completed page Presentation Function, then this filtration and information extraction module 210 obtain and processing module 220 injection script to this webpage, to revise the web page display contents accessed by the acquisition of this webpage and processing module 220.
This monitoring and client process module 230 obtain for this webpage of Real-Time Monitoring and whether webpage shown by processing module 220 has new situation that (as Gmail mailbox has new mail etc.) occurs, if there is new situation to occur, then displayed by this monitoring and client process module 230.
And this monitoring and client process module 230 comprise shortcut processing module 231 and resident disk program module 232.This shortcut processing module 231 makes the icon of this client software 200 be present on desktop with keyboard shortcut, and when Webpage has new situation to occur, displayed by this client software icon, as added flag on the shortcut of this client software icon.This resident disk program module 232 makes this client software 200 icon be illustrated in system tray with Resident Process or method of service.。
Obviously, under the prerequisite not departing from true spirit of the present invention and scope, the present invention described here can have many changes.Therefore, all changes that it will be apparent to those skilled in the art that, all should be included within scope that these claims contain.The present invention's scope required for protection is only limited by described claims.