CN103646105A - Method for pushing message in browser and browser device - Google Patents

Method for pushing message in browser and browser device Download PDF

Info

Publication number
CN103646105A
CN103646105A CN201310718797.4A CN201310718797A CN103646105A CN 103646105 A CN103646105 A CN 103646105A CN 201310718797 A CN201310718797 A CN 201310718797A CN 103646105 A CN103646105 A CN 103646105A
Authority
CN
China
Prior art keywords
message
push message
browser
push
plug
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.)
Pending
Application number
CN201310718797.4A
Other languages
Chinese (zh)
Inventor
吴华铠
贾正强
任寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310718797.4A priority Critical patent/CN103646105A/en
Publication of CN103646105A publication Critical patent/CN103646105A/en
Pending legal-status Critical Current

Links

Images

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for pushing a message in a browser and a browser device. The method comprises the following steps: connecting the status bar and the sidebar plug-in of the browser; taking the status bar as a message pushing inlet of the sidebar plug-in, and showing the pushed message in the status bar; receiving the indicating information of the pushed message, and executing the corresponding operation according to the indicating information. Under the condition of not influencing the page display, the pushed message in the status bar of the browser can be displayed intuitively, without the clicking operation, so as to facilitate providing the push information for a user, which increases the message handling speed while reducing the operation of the user.

Description

Information push method in browser and browser device
Technical field
The present invention relates to computer technology, be specifically related to the information push method in a kind of browser, and a kind of browser device.
Background technology
In browser, conventionally a lot of expansion plugins can be installed, plug-in unit by expansion can carry out various operations easily in browser, as can being installed in browser, music player plug-in unit listens to music, and for example the local plug-in unit of social networks can be installed in browser, browse the information of social networks etc.
The plug-in unit of expansion conventionally adopts icon etc. to show in browser, thereby reduces the taking of space in browser interface, but this has also just caused the display position of plug-in unit less.If there are some message will be pushed to user in plug-in unit, as the hot issue of social networks, or the content such as user's message, cannot show, conventionally only adopt distinctive mark to identify.User can click plug-in unit and check after finding this distinctive mark, if interesting, can further click and browse.
But the above-mentioned plug-in unit message of carrying out is like this when show, user must click plug-in unit just can see message, and then selects interesting browsing, and message is checked very inconvenient.
Summary of the invention
In view of the above problems, the present invention has been proposed so as a kind of browser device that overcomes the problems referred to above or address the above problem to be at least in part provided and corresponding browser in information push method.
According to one aspect of the present invention, the information push method in a kind of browser is provided, comprising: the status bar of browser is associated with the sidebar plug-in unit of described browser; Message push entrance using described status bar as described sidebar plug-in unit, and show PUSH message in described status bar; The indication information of reception to described PUSH message, and carry out corresponding operation according to described indication information.
In optional embodiment of the present invention, the described message push entrance using described status bar as described sidebar plug-in unit, and show PUSH message in described status bar, comprise: the notification message of described sidebar plug-in unit is transformed according to initialize format, and the corresponding related information that pushes of configuration generates PUSH message; In described status bar, show described PUSH message.
In optional embodiment of the present invention, the described indication information of described foundation is carried out corresponding operation, comprises following at least one: in described browser, open the page corresponding to chained address in described PUSH message; Start impression window corresponding to described sidebar plug-in unit, in described impression window, show the content recommendation that described PUSH message is corresponding; Start the application process associated with described PUSH message.
In optional embodiment of the present invention, in described status bar, show PUSH message, comprising: from message queue, obtain at the most the PUSH message of amount threshold, according to pushing, successively each PUSH message is carried out to carousel interval time.
In optional embodiment of the present invention,, after described generation PUSH message, also comprise: whether the recommendation message detecting in described message queue reaches amount threshold; If the PUSH message in described message queue does not reach amount threshold, the PUSH message of generation is put into message queue; If the PUSH message in described message queue has reached amount threshold, determine in described message queue and put into the longest PUSH message of time, adopt the PUSH message generating to put into the longest PUSH message of time described in replacing.
In optional embodiment of the present invention, also comprise: when described browser loses focus in operating system, suspend the displaying to described PUSH message, until described browser recovers focus.
In optional embodiment of the present invention, also comprise: in the time of on the chained address that mouse detected and rest on the page, hide described PUSH message and also at described status bar, show described chained address.
In optional embodiment of the present invention, also comprise: at browser, open in the process of webpage, hide described PUSH message and at described status bar, show the opening of described webpage.
In optional embodiment of the present invention, described that the status bar of browser is associated with the sidebar plug-in unit of described browser, comprise: according to the registration request of sidebar plug-in unit, in described browser, register the propelling movement event of described sidebar plug-in unit, and described propelling movement event is associated with described status bar; Before showing PUSH message in described status bar, also comprise: the notification message of the registered described propelling movement event that described browser reception server sends; To described sidebar plug-in unit, send the return message of described propelling movement event.
In optional embodiment of the present invention, also comprise: the sidebar plug-in unit of described browser to browser mutually independently program registration prompting message event and operation-interface; When described and browser are when independently program receives the reminder message of the registered described prompting message event that server sends mutually, described sidebar plug-in unit receives described and the browser return message of the described prompting message event of program transmission independently mutually; Described status bar receives the notification message that described sidebar plug-in unit sends according to described return message.
According to another aspect of the present invention, provide a kind of browser device, having comprised: relating module, for the status bar of browser is associated with the sidebar plug-in unit of described browser; Display module for the message push entrance using described status bar as described sidebar plug-in unit, and is shown PUSH message in described status bar; Indication execution module, for receiving the indication information to described PUSH message, and carries out corresponding operation according to described indication information.
In optional embodiment of the present invention, described display module, comprising: generate submodule, for the notification message of described sidebar plug-in unit is transformed according to initialize format, and the corresponding related information that pushes of configuration generates PUSH message; Show submodule, for showing described PUSH message at described status bar.
In optional embodiment of the present invention, described indication execution module, carries out corresponding operation for the described indication information of described foundation, comprises following at least one: in described browser, open the page corresponding to chained address in described PUSH message; Start impression window corresponding to described sidebar plug-in unit, in described impression window, show the content recommendation that described PUSH message is corresponding; Start the application process associated with described PUSH message.
In optional embodiment of the present invention, described displaying submodule, for obtain at the most the PUSH message of amount threshold from message queue, carries out carousel to each PUSH message successively according to pushing interval time.
In optional embodiment of the present invention, described display module, also comprises: whether the submodule of joining the team, reach amount threshold for detection of the PUSH message in described message queue; When the PUSH message in described message queue does not reach amount threshold, the PUSH message of generation is put into message queue; When the PUSH message in described message queue has reached amount threshold, determine and in described message queue, put into the longest PUSH message of time, adopt the PUSH message generating to put into the longest PUSH message of time described in replacing.
In optional embodiment of the present invention, described display module, also, for when described browser is when operating system loses focus, suspends the displaying to described PUSH message, until described browser recovers focus.
In optional embodiment of the present invention, described display module, also on the chained address when mouse being detected and rest on the page time, hides described PUSH message and also at described status bar, shows described chained address.
In optional embodiment of the present invention, described display module, also for open the process of webpage at browser, hides described PUSH message and at described status bar, shows the opening of described webpage.
In optional embodiment of the present invention, described relating module for the registration request according to sidebar plug-in unit, is registered the propelling movement event of described sidebar plug-in unit in described browser, and described propelling movement event is associated with described status bar; Described device also comprises: notification module, the notification message of the registered described propelling movement event sending for reception server; To described sidebar plug-in unit, send the return message of described propelling movement event.
In optional embodiment of the present invention, also comprise: Registering modules, for described sidebar plug-in unit to browser mutually independently program registration prompting message event and operation-interface; When described and browser are when independently program receives the reminder message of the registered described prompting message event that server sends mutually, described sidebar plug-in unit receives described and the browser return message of the described prompting message event of program transmission independently mutually; Notification module, receives for status bar the notification message that described sidebar plug-in unit sends according to described return message.
The present invention can be associated with the sidebar plug-in unit of described browser by the status bar of browser, thereby the message push entrance using described status bar as described sidebar plug-in unit, and show PUSH message in described status bar, and after receiving the indication information of described PUSH message, according to described indication information, carry out corresponding operation, thereby can be in the situation that not affecting page demonstration, the status bar of browser shows PUSH message intuitively, being convenient to provides PUSH message for user, make to show again message by clicking, thereby in the operation that reduces user, improve the processing speed to message.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Information push method process flow diagram in the browser providing according to the embodiment of the present invention one is provided Fig. 1;
Information push method process flow diagram in the browser providing according to the embodiment of the present invention two is provided Fig. 2;
Fig. 3 shows in the browser providing according to the embodiment of the present invention status bar for the demonstration schematic diagram of recommendation message;
Fig. 4 the sidebar plug-in unit providing according to the embodiment of the present invention three is provided and obtains joke and obtain schematic diagram for the message of notification message
The message push schematic diagram providing according to the embodiment of the present invention three is provided Fig. 5;
The browser device structural drawing providing according to the embodiment of the present invention four is provided Fig. 6 A;
The optional structural drawing of the browser device providing according to the embodiment of the present invention five is provided Fig. 6 B.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
The embodiment of the present invention provides the information push method in a kind of browser, can the status bar of browser is associated with the sidebar plug-in unit of described browser, thereby the message push entrance using described status bar as described sidebar plug-in unit, and show PUSH message in described status bar, and after receiving the indication information of described PUSH message, according to described indication information, carry out corresponding operation, thereby can be in the situation that not affecting page demonstration, the status bar of browser shows PUSH message intuitively, being convenient to provides PUSH message for user, make to show again message by clicking, thereby in the operation that reduces user, improve the processing speed to message.
Embodiment mono-
With reference to Fig. 1, show the information push method process flow diagram in the browser providing according to the embodiment of the present invention one.
Step 101, the status bar of browser is associated with the sidebar plug-in unit of described browser.
In the embodiment of the present invention, plug-in unit refers to the application program that plays certain supplementary functions in certain master routine that is arranged on terminal device, and it includes but not limited to: the various plug-in units of browser, chat software client plug-in, virtual machine desktop plug-in unit, mail reminder plug-in unit and other have the plug-in unit of prompting message function.Client refers to the program that local service is provided for client in being arranged on terminal device.Terminal device can comprise: robot calculator, panel computer, mobile phone and other equipment that can network.
Because the plug-in unit of expansion conventionally adopts icon etc. in browser, show, to reduce the taking of space in browser interface, relatively also just caused the display position of plug-in unit less, conventionally only adopt distinctive mark to identify.User can click plug-in unit and check after finding this distinctive mark, if user is interested, can clicks and browse again.It is more loaded down with trivial details that this causes user to operate, and affect the displaying efficiency of message.
Therefore, the present embodiment is got through the expansion of browser sidebar and status bar, be about to the status bar of browser and the sidebar plug-in unit of described browser associated, thereby status bar can become message push entrance, become message hurdle, the recommendation message of sidebar plug-in unit and browser pushes and can push by this entrance.
Step 102, the message push entrance using described status bar as described sidebar plug-in unit, and show PUSH message in described status bar.
After associated, status bar can be used as the message push entrance of described sidebar plug-in unit, obtains the notification message of sidebar plug-in unit transmission etc., can also obtain other notification messages in browser, then notification message is formed to recommendation message and shows in status bar.
For example, after the master routine that contains message informing browser in certain plug-in unit of sidebar, the master routine of browser can form recommendation message by this message and be shown on status bar.
Step 103, receives the indication information to described PUSH message, and carries out corresponding operation according to described indication information.
After recommendation message is illustrated in status bar, user can check own interested message, the process to browser master routine or status bar sends the indication information to a certain PUSH message, after receiving this indication information, can carry out corresponding operation according to indication information, as started plug-in unit, opening webpage etc.
For example, user clicks interested recommendation message in status bar, thereby sends the indication information to this recommendation message, can start sidebar plug-in unit corresponding to recommendation message based on this indication information, thereby adopts plug-in unit to carry out the associative operation of recommendation message.
Message is directly presented in status bar and makes the demonstration of message more directly perceived, reduce user and clicked the operation of checking message, and reduced the probability that message is seen by leakage, thereby user more easily obtains interested content for message is very clear, improved user's experience effect, and the displaying of message, treatment effeciency.
In sum, can the status bar of browser is associated with the sidebar plug-in unit of described browser, thereby the message push entrance using described status bar as described sidebar plug-in unit, and show PUSH message in described status bar, and after receiving the indication information of described PUSH message, according to described indication information, carry out corresponding operation, thereby can be in the situation that not affecting page demonstration, the status bar of browser shows PUSH message intuitively, being convenient to provides PUSH message for user, make to show again message by clicking, thereby in the operation that reduces user, improve the processing speed to message.
Embodiment bis-
On the basis of above-described embodiment, the present embodiment is further discussed the information push method in browser.
With reference to Fig. 2, show the information push method process flow diagram in the browser providing according to the embodiment of the present invention two.
Step 201, the status bar of browser is associated with the sidebar plug-in unit of described browser.
In optional embodiment of the present invention, described that the status bar of browser is associated with the sidebar plug-in unit of described browser, comprise: according to the registration request of sidebar plug-in unit, in described browser, register the propelling movement event of described sidebar plug-in unit, and described propelling movement event is associated with described status bar; Before showing PUSH message in described status bar, also comprise: the notification message of the registered described propelling movement event that described browser reception server sends; To described plug-in unit, send the return message of described prompting message event.
Sidebar plug-in unit can send registration request to browser, the host process of browser is carried out the registration of the propelling movement event of this sidebar plug-in unit, because sidebar plug-in unit may comprise multiple, therefore browser can be registered for the sidebar plug-in unit that sends registration request, thereby the propelling movement event of this sidebar and status bar are carried out associated, can starting state hurdle after receiving the propelling movement time carry out the displaying of recommendation message.
Thereby can browser can be directly corresponding with sidebar plug-in unit server communicate, after the notification message of registered described propelling movement event that receives server transmission, to this notification message being formed before recommendation message shows, can also send to described plug-in unit the return message of described propelling movement event, to notify sidebar plug-in unit this announcement information.
Step 202, receiving notice message.
Step 203, transforms the notification message of each sidebar plug-in unit according to initialize format, and the corresponding related information that pushes of configuration generates PUSH message.
The process of browser or the thread of status bar can receive the notification message of browser and each sidebar plug-in unit, then this notification message is transformed according to initialize format, and the corresponding related information that pushes of configuration generate PUSH message.
For example, initialize format comprises Extended ID, message content, order parameter etc., for the word length of message content, take the width of 40 Chinese words is benchmark, the word surpassing finally shows " ... ", push related information for also showing the icon (Icon) with respective side sidebar, thus the source of definite recommendation message etc.
In optional embodiment of the present invention, the sidebar plug-in unit of described browser to browser mutually independently program registration prompting message event and operation-interface; When described and browser are when independently program receives the reminder message of the registered described prompting message event that server sends mutually, described sidebar plug-in unit receives described and the browser return message of the described prompting message event of program transmission independently mutually; Described status bar receives the notification message that described sidebar plug-in unit sends according to described return message.
At server side, when prompting message event is triggered, for example, when web application or web data change, server sends a notification message and is triggered with notification message reminder events to terminal device; When installing terminal equipment mutually independently program receives notification message with browser time, with browser mutually independently program according to registered prompting message event, judge whether it is the notification message of registered prompting message event; If so, illustrate that registered prompting message event is triggered, with browser mutually independently program the return message that comes from this prompting message event of server is sent to the sidebar plug-in unit of this prompting message event of registration; The notification message status bar that plug-in unit sends according to return message carries out representing of recommendation message.
Step 204, whether the recommendation message in detect-message queue reaches amount threshold.
In the present embodiment, also configure by message queue for recommendation message is stored, thereby the quantity of the recommendation message of storing in message queue is certain, is the amount threshold that message queue has configured its recommendation message that can store, as 20.
After generating recommendations message, whether the recommendation message of storing in first detect-message queue has reached amount threshold.
If so, be that PUSH message in message queue has reached amount threshold, perform step 206; If not, the PUSH message in message queue does not reach amount threshold, performs step 205.
Step 205, deposits PUSH message in message queue.
If the PUSH message in message queue does not reach amount threshold, the recommendation message of generation directly can be deposited in message queue.
Step 206, determines and in described message queue, puts into the longest PUSH message of time, adopts the PUSH message generating to put into the longest PUSH message of time described in replacing.
If the PUSH message in message queue has reached amount threshold, now recommendation message has been filled with in message queue, can carry out the replacement of recommendation message, adopts newly-generated recommendation message to replace the old recommendation message in message queue.
Can detect definite the longest PUSH message of time of wherein putting into message queue, then described in the PUSH message replacement of employing generation, put into the longest PUSH message of time.And, queue is a kind of linear list of first in first out, therefore the recommendation message being stored at first in queue is that the time is the longest, therefore this message queue is that the front end (front) of linear list carries out deletion action again, and in the rear end of linear list (rear), carry out update, delete the recommendation message of message queue front end, and the recommendation message of generation is inserted into the rear end of queue.
Step 207 is obtained at the most the PUSH message of amount threshold from message queue, according to pushing, successively each PUSH message is carried out to carousel interval time.
Because browser can be shown respectively the PUSH message of amount threshold at most, therefore configured the propelling movement interval time that message is shown, as 10 seconds, from message queue, to obtain successively after recommendation message, the number of the recommendation message that can obtain is at the most amount threshold.Then according to pushing, successively each PUSH message is carried out to carousel interval time, as initial 10 seconds displaying article one recommendation message, within 10 seconds, show second recommendation message for second, show successively, know and shown after all recommendation message, again for article one recommendation message, show, carry out according to this circularly exhibiting of recommendation message.
In the present embodiment, also configure the displaying threshold value that recommendation message is shown, as 5 times,, when reaching displaying threshold value when certain recommendation message carousel number of times, no longer repeated to show this recommendation message.
And, while only having a recommendation message in message queue, can add again a blank, be about to this unique recommendation message and blank message and carry out carousel.
Wherein, in browser, status bar is for the demonstration of recommendation message as shown in Figure 3.
Step 208, receives the indication information to described PUSH message.
User sees after recommendation message, for interested recommendation message, can send indication information.Can carry out at least one in following step 209,210 and 211 according to indication information:
Step 209 is opened the page corresponding to chained address in described PUSH message in described browser.
Have in some recommendation message and directly show and have chained address, as URL(uniform resource locator) (Uniform Resource Locator, URL), obtain this recommendation message and be associated with chained address, indication information can be indicated and be opened the page corresponding to this chained address, can in browser, start a new Shipping Options Page and open the page that this URL is corresponding.
For example recommendation message is that collection of drama is reminded, and indication information can be indicated and be play this collection of drama, in new label, opens after this collection TV play page, directly starts to play.
Step 210, starts impression window corresponding to described sidebar plug-in unit, shows the content recommendation that described PUSH message is corresponding in described impression window.
There are some message associated with sidebar plug-in unit, as mail, social networks etc., indication information can be indicated and be shown content recommendation corresponding to PUSH message, can start impression window corresponding to described sidebar plug-in unit, in described impression window, show the content recommendation that described PUSH message is corresponding.
For example, according to indication information, open the suspended frame of respective side edge hurdle plug-in unit, and navigate to this recommendation message, if sidebar plug-in unit is for joke expansion plugin, can opens joke suspended frame, and navigate to this joke, the notification message that and for example sidebar plug-in unit is a certain social networks, as Twitter message, can open suspended frame and show this Twitter message, user can directly carry out the operations such as comment, forwarding to this Twitter message.
Step 211, starts the application process associated with described PUSH message.
Recommendation message can also with the application of other application programs in system carry out associated, thereby just information can be indicated and started the application process associated with described PUSH message.As recommended a certain game in status bar, can start this corresponding application of playing according to indication information and carry out, and start game.
In optional embodiment of the present invention, when described browser loses focus in operating system, suspend the displaying to described PUSH message, until described browser recovers focus.
Application program refers to as the focus of operating system the application program that current operation system is chosen, as moved this application program and operating this application program, as by peripheral hardwares such as mouses to this application program executable operations, and for example the cursor of mouse is in this application program.Although for example browser is opened, for adopting Video Applications to watch video, the focus of current operation system is Video Applications.And during the focus that browser is operating system, normally in operating system, browser is selected.
Therefore, when browser loses focus, suspend recommendation information in the carousel of status bar, and continue carousel after again obtaining focus.
In optional embodiment of the present invention, in the time of on the chained address that mouse detected and rest on the page, hide described PUSH message and also at described status bar, show described chained address.
In the page of user browser, conventionally store some chained addresses, therefore when mouse rests on the chained address of the page, suspend recommendation information in the carousel of status bar, and hide this recommendation message, and in status bar, show this chained address, as URL, the descriptor of the corresponding webpage of this URL can also further be shown, as title, key word.
In optional embodiment of the present invention, at browser, open in the process of webpage, hide described PUSH message and at described status bar, show the opening of described webpage.
At browser, open in the process of webpage, suspend recommendation information in the carousel of status bar, and hide this recommendation message, and in status bar the opening of display web page, as information such as unlatching progresses.
While there is no other message in browser, the original state on the hurdle that can return to form, and status bar can be effective to the expansion to white list.
Embodiment tri-
On the basis of above-described embodiment, the present embodiment is usingd joke as one of recommendation message, and the information push method in browser is described in detail in detail.
Wherein, the sidebar plug-in unit of joke obtains joke and obtains schematic diagram as shown in Figure 4 for the message of notification message, corresponding message push schematic diagram as shown in Figure 5,
In the present embodiment, suppose that from up-to-date joke, sequentially extract three plain texts jokes sends to the master routine of browser at every turn as notification message, this notification message is containing data such as Extended ID, joke ID, contents of joke.
From service end, fetch 50 jokes and be stored in this locality, sequentially get three plain text jokes every day and push, after 5 minutes that article one joke starts at browser, start to push, it is 5 minutes that every joke pushes interval time.
If after the civil engineering message of certain joke on click status bar, content recommendation corresponding to this recommendation message returned to joke expansion, joke expanded, deployed suspended window, to the up-to-date joke data of service end request, and that content of joke by the data replacement of article one joke wherein for pushing, this recommendation message is removed local 50 jokes simultaneously, at second day, again get 50 up-to-date jokes, again push.
If without click, got new 3 again from these 50 after second day and pushed the same day, until the plain text in 50 is laughed at inadequate 3 of quantity, now again get 50 up-to-date jokes, repeat again said process, until the same day, plain text was laughed at while being less than 3, no longer push.
While showing recommendation message in corresponding browser, the host process of browser can receive the notification message that each sidebar plug-in unit sends, and wherein i is positive integer.Then notification message is formed to recommendation message, and in detect-message team, whether recommendation message reaches amount threshold.
If reach amount threshold, adopt newly-generated recommendation message to replace the oldest recommendation message in message queue; If do not reach amount threshold, newly-generated recommendation message is put into message queue.
Then the recommendation message in message team is carried out to carousel, detect the indication information that whether obtains recommendation message.If obtain indication information, according to indication information, carry out corresponding operation; If do not carry out information, continue carousel recommendation message, and whether the displaying number of times that detects each recommendation message reach displaying threshold value, if reach, show that threshold value destroys this message, if do not reach displaying threshold value, continue recommendation message to carry out carousel.
Thereby the status bar of browser is shown the recommendation message of this sidebar plug-in unit again, facilitate user to check and select interesting message, and reducing user's unnecessary operation.
Embodiment tetra-
On the basis of above-described embodiment, the present embodiment also provides a kind of browser device.
With reference to Fig. 6 A, show the browser device structural drawing providing according to the embodiment of the present invention four.
This browser device comprises: relating module 601, display module 602 and indication execution module 603.
Wherein, relating module 601, for associated with the sidebar plug-in unit of described browser by the status bar of browser; Display module 602 for the message push entrance using described status bar as described sidebar plug-in unit, and is shown PUSH message in described status bar; Indication execution module 603, for receiving the indication information to described PUSH message, and carries out corresponding operation according to described indication information.
In sum, can the status bar of browser is associated with the sidebar plug-in unit of described browser, thereby the message push entrance using described status bar as described sidebar plug-in unit, and show PUSH message in described status bar, and after receiving the indication information of described PUSH message, according to described indication information, carry out corresponding operation, thereby can be in the situation that not affecting page demonstration, the status bar of browser shows PUSH message intuitively, being convenient to provides PUSH message for user, make to show again message by clicking, thereby in the operation that reduces user, improve the processing speed to message.
Embodiment five
With reference to Fig. 6 B, show the optional structural drawing of the browser device providing according to the embodiment of the present invention five.
This browser device also comprises: notification module 604 and Registering modules 605.
Wherein, Registering modules 605, for described sidebar plug-in unit to browser mutually independently program registration prompting message event and operation-interface; When described and browser are when independently program receives the reminder message of the registered described prompting message event that server sends mutually, described sidebar plug-in unit receives described and the browser return message of the described prompting message event of program transmission independently mutually; Notification module 604, receives for status bar the notification message that described sidebar plug-in unit sends according to described return message.
In optional embodiment of the present invention, relating module 601 for the registration request according to sidebar plug-in unit, is registered the propelling movement event of described sidebar plug-in unit in described browser, and described propelling movement event is associated with described status bar; Notification module 604, the notification message of the registered described propelling movement event sending for reception server; To described sidebar plug-in unit, send the return message of described propelling movement event.
In optional embodiment of the present invention, display module 602 comprises: generate submodule 6021, for the notification message of described sidebar plug-in unit is transformed according to initialize format, and the corresponding related information that pushes of configuration generates PUSH message; Show submodule 6022, for showing described PUSH message at described status bar.
In optional embodiment of the present invention, indication execution module 603, carries out corresponding operation for the described indication information of described foundation, comprises following at least one: in described browser, open the page corresponding to chained address in described PUSH message; Start impression window corresponding to described sidebar plug-in unit, in described impression window, show the content recommendation that described PUSH message is corresponding; Start the application process associated with described PUSH message.
In optional embodiment of the present invention, show submodule 6022, for obtain at the most the PUSH message of amount threshold from message queue, according to pushing, successively each PUSH message is carried out to carousel interval time.
In optional embodiment of the present invention, display module 602 also comprises: whether the submodule 6023 of joining the team, reach amount threshold for detection of the PUSH message in described message queue; When the PUSH message in described message queue does not reach amount threshold, the PUSH message of generation is put into message queue; When the PUSH message in described message queue has reached amount threshold, determine and in described message queue, put into the longest PUSH message of time, adopt the PUSH message generating to put into the longest PUSH message of time described in replacing.
In optional embodiment of the present invention, display module 602 also, for when described browser is when operating system loses focus, suspends the displaying to described PUSH message, until described browser recovers focus.
In optional embodiment of the present invention, display module 602 also on the chained address when mouse being detected and rest on the page time, is hidden described PUSH message and also at described status bar, is shown described chained address.
In optional embodiment of the present invention, display module 602 is also for opening the process of webpage at browser, hides described PUSH message and at described status bar, shows the opening of described webpage.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the browser device equipment of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The invention discloses the information push method in A1, a kind of browser, comprising:
The status bar of browser is associated with the sidebar plug-in unit of described browser;
Message push entrance using described status bar as described sidebar plug-in unit, and show PUSH message in described status bar;
The indication information of reception to described PUSH message, and carry out corresponding operation according to described indication information.
A2, the method as described in A1, the described message push entrance using described status bar as described sidebar plug-in unit, and show PUSH message in described status bar, comprise: the notification message of described sidebar plug-in unit is transformed according to initialize format, and the corresponding related information that pushes of configuration generates PUSH message; In described status bar, show described PUSH message.
A3, the method as described in A1, the described indication information of described foundation is carried out corresponding operation, comprises following at least one: in described browser, open the page corresponding to chained address in described PUSH message; Start impression window corresponding to described sidebar plug-in unit, in described impression window, show the content recommendation that described PUSH message is corresponding; Start the application process associated with described PUSH message.
A4, the method as described in A2 are shown PUSH message in described status bar, comprising: from message queue, obtain at the most the PUSH message of amount threshold, according to pushing, successively each PUSH message is carried out to carousel interval time.
A5, the method as described in A4, after described generation PUSH message, also comprise: whether the recommendation message detecting in described message queue reaches amount threshold; If the PUSH message in described message queue does not reach amount threshold, the PUSH message of generation is put into message queue; If the PUSH message in described message queue has reached amount threshold, determine in described message queue and put into the longest PUSH message of time, adopt the PUSH message generating to put into the longest PUSH message of time described in replacing.
A6, the method as described in A1, also comprise: when described browser loses focus in operating system, suspend the displaying to described PUSH message, until described browser recovers focus.
A7, the method as described in A1, also comprise: in the time of on the chained address that mouse detected and rest on the page, hide described PUSH message and also at described status bar, show described chained address.
A8, the method as described in A1, also comprise: at browser, open in the process of webpage, hide described PUSH message and at described status bar, show the opening of described webpage.
A9, the method as described in A1, described that the status bar of browser is associated with the sidebar plug-in unit of described browser, comprise: according to the registration request of sidebar plug-in unit, in described browser, register the propelling movement event of described sidebar plug-in unit, and described propelling movement event is associated with described status bar; Before showing PUSH message in described status bar, also comprise: the notification message of the registered described propelling movement event that described browser reception server sends; To described sidebar plug-in unit, send the return message of described propelling movement event.
A10, the method as described in A1, also comprise: the sidebar plug-in unit of described browser to browser mutually independently program registration prompting message event and operation-interface; When described and browser are when independently program receives the reminder message of the registered described prompting message event that server sends mutually, described sidebar plug-in unit receives described and the browser return message of the described prompting message event of program transmission independently mutually; Described status bar receives the notification message that described sidebar plug-in unit sends according to described return message.
The invention also discloses B11, a kind of browser device, comprising:
Relating module, for associated with the sidebar plug-in unit of described browser by the status bar of browser;
Display module for the message push entrance using described status bar as described sidebar plug-in unit, and is shown PUSH message in described status bar;
Indication execution module, for receiving the indication information to described PUSH message, and carries out corresponding operation according to described indication information.
B12, the device as described in B11, described display module, comprising: generate submodule, for the notification message of described sidebar plug-in unit is transformed according to initialize format, and the corresponding related information that pushes of configuration generates PUSH message; Show submodule, for showing described PUSH message at described status bar.
B13, the device as described in B11: as described in indication execution module, for the described indication information of described foundation, carry out corresponding operation, comprise following at least one: in described browser, open the page corresponding to chained address in described PUSH message; Start impression window corresponding to described sidebar plug-in unit, in described impression window, show the content recommendation that described PUSH message is corresponding; Start the application process associated with described PUSH message.
B14, the device as described in B12: as described in displaying submodule, for obtain at the most the PUSH message of amount threshold from message queue, according to pushing interval time, successively each PUSH message is carried out to carousel.
B15, the device as described in B14, described display module, also comprises: whether the submodule of joining the team, reach amount threshold for detection of the PUSH message in described message queue; When the PUSH message in described message queue does not reach amount threshold, the PUSH message of generation is put into message queue; When the PUSH message in described message queue has reached amount threshold, determine and in described message queue, put into the longest PUSH message of time, adopt the PUSH message generating to put into the longest PUSH message of time described in replacing.
B16, the device as described in B11: as described in display module, also for when described browser is when operating system loses focus, suspend the displaying to described PUSH message, until described browser recovers focus.
B17, the device as described in B11: as described in display module, also on the chained address when mouse being detected and rest on the page time, hide described PUSH message and also at described status bar, show described chained address.
B18, the device as described in B11: as described in display module, also for open the process of webpage at browser, hide described PUSH message and at described status bar, show the opening of described webpage.
B19, the device as described in B11: as described in relating module, for the registration request according to sidebar plug-in unit, in described browser, register the propelling movement event of described sidebar plug-in unit, and described propelling movement event is associated with described status bar; Described device also comprises: notification module, the notification message of the registered described propelling movement event sending for reception server; To described sidebar plug-in unit, send the return message of described propelling movement event.
B20, the device as described in B11, also comprise: Registering modules, for described sidebar plug-in unit to browser mutually independently program registration prompting message event and operation-interface; When described and browser are when independently program receives the reminder message of the registered described prompting message event that server sends mutually, described sidebar plug-in unit receives described and the browser return message of the described prompting message event of program transmission independently mutually;
Notification module, receives for status bar the notification message that described sidebar plug-in unit sends according to described return message.

Claims (10)

1. the information push method in browser, comprising:
The status bar of browser is associated with the sidebar plug-in unit of described browser;
Message push entrance using described status bar as described sidebar plug-in unit, and show PUSH message in described status bar;
The indication information of reception to described PUSH message, and carry out corresponding operation according to described indication information.
2. the method for claim 1, the described message push entrance using described status bar as described sidebar plug-in unit, and show PUSH message in described status bar, comprising:
The notification message of described sidebar plug-in unit is transformed according to initialize format, and the corresponding related information that pushes of configuration generates PUSH message;
In described status bar, show described PUSH message.
3. the method for claim 1, the described indication information of described foundation is carried out corresponding operation, comprises following at least one:
In described browser, open the page corresponding to chained address in described PUSH message;
Start impression window corresponding to described sidebar plug-in unit, in described impression window, show the content recommendation that described PUSH message is corresponding;
Start the application process associated with described PUSH message.
4. method as claimed in claim 2 is shown PUSH message in described status bar, comprising:
From message queue, obtain at the most the PUSH message of amount threshold, according to pushing, successively each PUSH message is carried out to carousel interval time.
5. method as claimed in claim 4, after described generation PUSH message, also comprises:
Whether the recommendation message detecting in described message queue reaches amount threshold;
If the PUSH message in described message queue does not reach amount threshold, the PUSH message of generation is put into message queue;
If the PUSH message in described message queue has reached amount threshold, determine in described message queue and put into the longest PUSH message of time, adopt the PUSH message generating to put into the longest PUSH message of time described in replacing.
6. a browser device, comprising:
Relating module, for associated with the sidebar plug-in unit of described browser by the status bar of browser;
Display module for the message push entrance using described status bar as described sidebar plug-in unit, and is shown PUSH message in described status bar;
Indication execution module, for receiving the indication information to described PUSH message, and carries out corresponding operation according to described indication information.
7. device as claimed in claim 6, described display module, comprising:
Generate submodule, for the notification message of described sidebar plug-in unit is transformed according to initialize format, and the corresponding related information that pushes of configuration generates PUSH message;
Show submodule, for showing described PUSH message at described status bar.
8. device as claimed in claim 6:
Described indication execution module, carries out corresponding operation for the described indication information of described foundation, comprises following at least one: in described browser, open the page corresponding to chained address in described PUSH message; Start impression window corresponding to described sidebar plug-in unit, in described impression window, show the content recommendation that described PUSH message is corresponding; Start the application process associated with described PUSH message.
9. device as claimed in claim 7:
Described displaying submodule, for obtain at the most the PUSH message of amount threshold from message queue, carries out carousel to each PUSH message successively according to pushing interval time.
10. device as claimed in claim 9, described display module, also comprises:
Whether the submodule of joining the team, reach amount threshold for detection of the PUSH message in described message queue; When the PUSH message in described message queue does not reach amount threshold, the PUSH message of generation is put into message queue; When the PUSH message in described message queue has reached amount threshold, determine and in described message queue, put into the longest PUSH message of time, adopt the PUSH message generating to put into the longest PUSH message of time described in replacing.
CN201310718797.4A 2013-12-23 2013-12-23 Method for pushing message in browser and browser device Pending CN103646105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310718797.4A CN103646105A (en) 2013-12-23 2013-12-23 Method for pushing message in browser and browser device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310718797.4A CN103646105A (en) 2013-12-23 2013-12-23 Method for pushing message in browser and browser device

Publications (1)

Publication Number Publication Date
CN103646105A true CN103646105A (en) 2014-03-19

Family

ID=50251318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310718797.4A Pending CN103646105A (en) 2013-12-23 2013-12-23 Method for pushing message in browser and browser device

Country Status (1)

Country Link
CN (1) CN103646105A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893558A (en) * 2016-04-01 2016-08-24 腾讯科技(深圳)有限公司 Recommended data display method and system
CN107239278A (en) * 2017-05-26 2017-10-10 北京小米移动软件有限公司 The method and device of presentation of information
CN108512917A (en) * 2018-03-23 2018-09-07 杭州迪普科技股份有限公司 A kind of data push method and system based on Websocket
CN116719587A (en) * 2022-09-30 2023-09-08 荣耀终端有限公司 Screen display method, electronic device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070157113A1 (en) * 2006-01-04 2007-07-05 Marc Bishop Sidebar email
CN101075174A (en) * 2007-06-15 2007-11-21 魏新成 Method for operating functions by extended task column on left edge of computer screen
CN103002019A (en) * 2012-11-14 2013-03-27 北京奇虎科技有限公司 Browser and method for sending webpage game message for browser

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070157113A1 (en) * 2006-01-04 2007-07-05 Marc Bishop Sidebar email
CN101075174A (en) * 2007-06-15 2007-11-21 魏新成 Method for operating functions by extended task column on left edge of computer screen
CN103002019A (en) * 2012-11-14 2013-03-27 北京奇虎科技有限公司 Browser and method for sending webpage game message for browser

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893558A (en) * 2016-04-01 2016-08-24 腾讯科技(深圳)有限公司 Recommended data display method and system
CN105893558B (en) * 2016-04-01 2020-04-21 腾讯科技(深圳)有限公司 Recommended data display method and system
CN107239278A (en) * 2017-05-26 2017-10-10 北京小米移动软件有限公司 The method and device of presentation of information
CN108512917A (en) * 2018-03-23 2018-09-07 杭州迪普科技股份有限公司 A kind of data push method and system based on Websocket
CN108512917B (en) * 2018-03-23 2021-02-26 杭州迪普科技股份有限公司 Data pushing method and system based on Websocket
CN116719587A (en) * 2022-09-30 2023-09-08 荣耀终端有限公司 Screen display method, electronic device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN103488785A (en) Method, system and server for providing search service
CN103036769A (en) Method and breathing light for message prompt
CN103678566A (en) Method, server and system for providing mobile terminal fault problem solution
CN103678494A (en) Method and device for client side and server side data synchronization
CN104036011A (en) Webpage element display method and browser device.
CN103164654A (en) Method of carrying out information cue on popup window and user interface display device
CN104077388A (en) Summary information extraction method and device based on search engine and search engine
CN103500211A (en) Method and system for providing search services and client side
CN102932445A (en) Method and device for acquiring statuses of network contents
CN108366096A (en) A kind of information subscribing method, terminal and computer readable storage medium
CN103067255A (en) Breathing lamp for reminding message and message reminding method
CN102982174A (en) Method and device for performing web search in browser
CN104135692A (en) Method and device of loading and displaying video information
CN103678487A (en) Method and device for generating web page snapshot
CN103020239A (en) Web searching method and device
CN105094868A (en) Software upgrading method, server and terminal
CN103036770A (en) System and method used for information forwarding
CN103686809A (en) Method and system for providing mobile terminal fault problem solution and mobile terminal
CN103514282A (en) Method and device for displaying search results of videos
CN103646105A (en) Method for pushing message in browser and browser device
CN103034541A (en) Distributing type information system and equipment and method thereof
CN102902784A (en) Web page classification storage system and method
CN102999380A (en) Wallpaper control method and device
CN105574174A (en) Search method and device based on search prompt
CN103678706A (en) Picture recognition method, system, equipment and device based on screenshot information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140319

RJ01 Rejection of invention patent application after publication