The method and device of the website interaction based on browser
Technical field
The present invention relates to Internet technical field, and in particular to a kind of interactive method in website based on browser and dress
Put.
Background technology
At present, instant messaging (Instant Messenger, IM) the software major part of main flow is with friend relation as core
Drive, can be with interaction between good friend.In addition, user can also be added with the group of the Attribute transpositions such as interest, region, occupation
Group, participates in the discussion for some specific topics.In addition, the IM softwares for also specially designing for special user's demand, with side
Just between user under specific interactive scene communication exchange.
However, currently there are no carrying out interaction, many websites based on web site contents, user wants that participating in interaction begs for
By, but each website is typically necessary the corresponding account of registration, and user can just be made comments after account number cipher login, be used
Family needs to remember multiple accounts and password, and this undoubtedly improves user and participates in interactive cost, reduces Consumer's Experience.
To solve the above problems, the present invention proposes a kind of scheme that interaction is carried out based on web site contents.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on
State the method and corresponding device of problem.
According to an aspect of the invention, there is provided a kind of interactive method in website based on browser, wherein described clear
Device of looking at combines instant message application, and the method includes:When user passes through the browser access website, send to server
Interaction content access request, to ask the server to be returned for the interaction content of the website, the interaction content is accessed
The parameter carried in request includes:The URL of the website;And the reception server according to it is described request return for the net
The interaction content stood.
Wherein, also include:When the user carries out interaction content checks operation, to be checked according to what the user selected
Interaction content type, show corresponding interaction content;Wherein, the interaction content type includes:For the complete of the website
Interaction content of the associated user of portion's interaction content and the user for the website.
Wherein, the parameter for carrying in the interaction content access request also includes:The account of the user.
Wherein, also include:The interaction content for current site of receiving user's input;And send interactive to server
Content storage request, with request server according to the request storage interaction content, in the interaction content storage request
The parameter of carrying includes:The URL of the website, the account of the user and the interaction content.
Wherein, also include:The interaction content for current site of the user input was included in the predetermined of browser
On display location.
According to another aspect of the present invention, there is provided a kind of Web Site Interactive method based on browser, wherein described clear
Device of looking at combines instant message application, and the method includes:Behaviour is accessed when user carries out the interaction content to browser current web page
When making, interaction content access request is sent according to described operation to server, phase is returned according to the request with request server
The interaction content answered, the parameter carried in the request include:The URL of current web page;The reception server is returned according to the request
The corresponding interaction content for returning, corresponding interaction content include the interaction for one or more elements on current web page
Content;And corresponding interaction content is shown in predetermined display positions.
Wherein, the parameter for carrying in the interaction content access request also includes:Interaction content type, wherein, it is described mutual
Dynamic content type is that the interaction content carried out according to the user accesses what operation determined, and the interaction content type includes:Pin
Whole interaction contents to current web page and for current web page and intended recipient user for the user interaction content.
Wherein, the parameter for carrying in the request also includes:The account of the user.
Wherein, also include:Monitor the mouse-over operation on current web page;And when in one or more of elements
When there is mouse-over operation on one element of meaning, the interaction content for the element is shown.
Wherein, also include:Monitor the click operation on current web page;And when display on a predetermined position
Or when there is click operation on any one labelling in multiple labellings, the corresponding interaction content of the labelling is shown, its
In, one or more of labellings are corresponding with the interaction content for one or more elements on current web page respectively.
Wherein, the parameter for carrying in the request also includes:The account of the good friend user of the user;It is corresponding mutual
Dynamic content includes the interaction content of the good friend user for one or more elements on current web page of the user.
Wherein, also include:The interaction content for any one element on current web page of receiving user's input;And root
According to the interaction mode that the user selects, interaction content storage request is sent to server, it is described mutually with request server storage
Dynamic content.
Wherein, also include:Show the interaction content for any one element on current web page of the user input.
Wherein, the parameter for carrying in the interaction content storage request includes:The URL of current web page, the element are being worked as
The account of the relative position of front webpage, the interaction content and the user.
Wherein, the parameter for carrying in the interaction content storage request also includes:The account of intended recipient user.
According to a further aspect of the invention, there is provided a kind of side for accessing the corresponding group in website based on browser
Method, wherein the browser combines instant message application, the method includes:When user by the browser access it is any one
During individual website, group information is sent to server and obtain request, to ask the server to return the net according to the request
Stand the information of corresponding one or more groups;And corresponding one or more groups in the website that the reception server is returned
Information, and show the information of corresponding one or more groups in the website.
Wherein, also include:Operate when user triggers the access to any one group in one or more of groups
When, the group access request for accessing the group is sent to server, wherein, the parameter bag carried in the group access request
Include:The domain name of the website, the title of the group and/or group's account;And the group of the reception server return
The account of one or more group users and the interaction content of the group.
Wherein, also include:When the user triggers adding for any one group in the one or more of groups of addition
When entering to operate, group is sent to server and add request, it is described to ask the server to be added to the account of the user
In group, wherein, the parameter that the group is carried in adding request includes:The domain name of the website, the title of the group and/
Or the account of group's account and the user.
Wherein, also include:Receive the message of any one group belonging to which of the user input;And to clothes
Business device sends message storage request, to ask message described in the server storage, wherein, carry in the message storage request
Parameter include:The domain name of the website, the title of the group and/or group's account, the account of the user and described
Message.
According to an aspect of the present invention, a kind of interactive device in website based on browser is additionally provided, wherein described
Browser combines instant message application, and the device includes:First request module, for passing through the browser access as user
During website, interaction content access request is sent to server, to ask the server to be returned in the interaction of the website
Hold, the parameter carried in the interaction content access request includes:The URL of the website;And first receiver module, for connecing
Receive the interaction content for the website that server is returned according to the request.
Wherein, also include:First display module, for when the user carries out interaction content and checks operation, according to institute
The interaction content type to be checked of user's selection is stated, corresponding interaction content is shown;Wherein, the interaction content type bag
Include:Interaction content of the associated user of whole interaction contents and the user for the website for the website.
Wherein, the parameter for carrying in the interaction content access request also includes:The account of the user.
Wherein, also include:Second receiver module, for the interaction content for current site of receiving user's input;With
And second request module, for sending interaction content storage request to server, with request server according to the request storage
The interaction content, the parameter carried in the interaction content storage request include:The URL of the website, the account of the user
Number and the interaction content.
Wherein, also include:Second display module, for the interaction content for current site of the user input is shown
Show in the predetermined display positions of browser.
According to another aspect of the present invention, a kind of Web Site Interactive device based on browser is additionally provided, wherein described
Browser combines instant message application, including:First request module, for carrying out the interaction content to current web page as user
When accessing operation, interaction content access request is sent according to described operation to server, with request server according to the request
Corresponding interaction content is returned, the parameter carried in the request includes:The URL of current web page;First receiver module, for connecing
The corresponding interaction content that server is returned according to the request is received, corresponding interaction content is included on current web page
One or more elements interaction content;And display module, for showing corresponding interaction in predetermined display positions
Content.
Wherein, the parameter for carrying in the interaction content access request also includes:Interaction content type, wherein, it is described mutual
Dynamic content type is that the interaction content carried out according to the user accesses what operation determined, and the interaction content type includes:Pin
Whole interaction contents to current web page and for current web page and intended recipient user for the user interaction content.
Wherein, the parameter for carrying in the request also includes:The account of the user.
Wherein, also include:First monitors module, for monitoring the operation of the mouse-over on current web page;The display mould
Block is further used for:When there is mouse-over operation on any one element in one or more of elements, display is directed to
The interaction content of the element.
Wherein, also include:Second monitors module, for monitoring the operation of the click on current web page;The display mould
Block is further used for:There is click on any one labelling in show one or more labellings on a predetermined position
During operation, show the corresponding interaction content of the labelling, wherein, one or more of labellings respectively with current web page
The interaction content correspondence of one or more elements.
Wherein, the parameter for carrying in the request also includes:The account of the good friend user of the user;The interaction content
The interaction content of one or more elements on current web page is directed to including the good friend user of the user.
Wherein, also include:Second receiver module, for receiving user's input for any one element on current web page
Interaction content;And second request module, for the interaction mode selected according to the user, send in interaction to server
Hold storage request, the interaction content is stored with request server.
Wherein, also include:Second display module, for show the user input on current web page any one
The interaction content of element.
Wherein, the parameter for carrying in the interaction content storage request includes:The URL of current web page, the element are being worked as
The account of the relative position of front webpage, the interaction content and the user.
Wherein, the parameter for carrying in the storage request also includes:The account of intended recipient user.
According to a further aspect of the invention, additionally provide a kind of dress for accessing the corresponding group in website based on browser
Put, wherein the browser combines instant message application, including:First request module, for being browsed by described as user
When device accesses any one website, group information is sent to server and obtain request, to ask the server to be asked according to described
Seek the information for returning corresponding one or more groups in the website;First receiver module, for the institute that the reception server is returned
State the information of corresponding one or more groups in website;And display module, for showing that the website is corresponding one or many
The information of individual group.
Wherein, also include:Second request module, for any one in triggering to one or more of groups as user
When the access of individual group is operated, the group access request for accessing the group is sent to server, wherein, the group access please
Ask the parameter of middle carrying include:The domain name of the website, the title of the group and/or group's account;And second connect
Receive module, for the reception server return the group one or more group users account and the group it is mutual
Dynamic content.
Wherein, also include:3rd request module, for adding in one or more of groups when user triggering
When the addition of any one group is operated, group is sent to server and add request, to ask the server by the user
Account be added in the group, wherein, the parameter that the group is carried in adding request includes:The domain name of the website,
The title of the group and/or the account of group's account and the user.
Wherein, also include:3rd receiver module, is input into for receiving any one group of the user belonging to which
Message;And the 4th request module, for sending message storage request to server, to ask described in the server storage
Message, wherein, the parameter carried in the message storage request includes:The domain name of the website, the title of the group and/or
Group's account, the account of the user and the message.
Technology according to the present invention scheme, can carry out web site contents based on browser or web page contents are interactive, and user is only
Need the content that any website or webpage can be just directed to using an account to carry out interaction with other users, reduce user and participate in
Interactive cost, lifts Consumer's Experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of description, and in order to allow the above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred implementation, various other advantages and benefit are common for this area
Technical staff will be clear from understanding.Accompanying drawing is only used for the purpose for illustrating preferred implementation, and is not considered as to the present invention
Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
The flow chart that Fig. 1 shows the interactive method in the website based on browser according to an embodiment of the invention;
Fig. 2 shows browser window in the interactive method in the website based on browser according to an embodiment of the invention
The screenshot capture example of mouth;
The flow chart that Fig. 3 shows the method for the Web Site Interactive based on browser according to an embodiment of the invention;
Fig. 4 shows browser window in the method based on the Web Site Interactive of browser according to an embodiment of the invention
The screenshot capture example of mouth;
Fig. 5 shows the method for accessing the corresponding group in website based on browser according to an embodiment of the invention
Flow chart;
During Fig. 6 shows the method for accessing the corresponding group in website based on browser according to an embodiment of the invention
The screenshot capture example of the user interface of the instant message application that browser is combined;
Fig. 7 shows the structured flowchart of the interactive device in the website based on browser according to an embodiment of the invention;
Fig. 8 shows the structured flowchart of the device of the Web Site Interactive based on browser according to an embodiment of the invention;
And
Fig. 9 shows the device for accessing the corresponding group in website based on browser according to an embodiment of the invention
Structured flowchart.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here
Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
In prior art, customer group or discussion group are typically based on a certain topic and discuss interaction.User is if it is desired to add
Group or group for a certain topic, it usually needs search for associated topic group, group, and addition is discussed, but in ordinary circumstance
Under, the content of homogeneity is a lot, and topic is not enough focused on, and user is difficult to find that most suitable group;Good friend is invited if adding,
Have to rely on friend relation.
The zone of discussion that existing website is set up generally require register the website account after, can just participate in all kinds of discussion,
The interactions such as exchange, cannot otherwise participate in interaction, and user needs the account and password for registering and remembeing multiple websites, registration cost,
Memory cost, register cost are higher.And function is not commented in some websites, it is impossible to participate in exchange and interdynamic.
Below with reference to the accompanying drawings, describe improved technical scheme of the invention in detail.
As shown in figure 1, Fig. 1 is the flow process of the interactive method in the website based on browser according to an embodiment of the invention
Figure, wherein, the browser combines instant message application.
At step S110, when user passes through the browser access website, interaction content is sent to server and accessed
Request, to ask the server to be returned for the interaction content of the website.
Specifically, the parameter for carrying in the interaction content access request can include the URL of the website.The service
Device can be the server of the instant message application that the browser is combined.When user passes through browser access website, Ke Yixiang
The server sends the interaction content access request for carrying the URL, after the server receives the request, can be asked according to this
Ask the URL of middle carrying to retrieve the interaction content for being directed to the website, and the interaction content for retrieving is returned to the browser, it is described mutual
Dynamic content can be access the website user for the website comment content, for example, for the website issue it is a certain
The interior content of perhaps leaving a message of the comment of information.
According to one embodiment of present invention, the parameter for carrying in the interaction content access request can also include:Institute
The account of user is stated, the account of the instant message application combined with the browser of the i.e. user's registration of the account.When user is led to
Cross account and log in the instant message application that the browser is combined, and during by any one website of the browser access, Ke Yixiang
Server sends the interaction content access request of the account of the URL and the user that carry the website.It is mutual that the server receives this
After dynamic content access request, can be retrieved for the net according to the URL of the website carried in the request and the account of user
The interaction content stood, and the interaction content for retrieving is returned to the browser.Now, in the interaction that server is returned to browser
Appearance can include two parts:A part can include the whole interaction contents for the website, due to for the complete of the website
Portion's interaction content might have a lot, therefore, server only can return the interaction content of predetermined quantity, example to the browser
Such as, sort by issuing time, return the content of the predetermined bar number issued recently, another part can include that the correlation of the user is used
Interaction content of the family for the website, the associated user of the user can be the good friend user of the user, or can be and this
User belongs to the user of same customer group or discussion group, described in server can be carried in interaction content access request
The account of user inquires about the associated user of the user, so as to retrieve the associated user of the user for the website interaction content simultaneously
Return to the browser.
At step S120, the interaction content for the website that the reception server is returned according to the request.That is, connect
Receive the interaction content for the website retrieved according to the interaction content access request that server is returned.
At step S130, the interaction content is shown.
As described above, when server receives the account of the URL and the user of the website for carrying user's current accessed
Number interaction content access request when, and can return to the browser according to request retrieval for the interaction content of the website
Return the interaction content for retrieving.Wherein, server can include two parts to the interaction content that browser is returned:A part can
To include the whole interaction contents for the website, another part can include the associated user of the user for the mutual of the website
Dynamic content, therefore, the interaction content type for displaying to the user that correspondingly can include:For whole interaction contents of the website
And the associated user of the user is for the interaction content of the website.And it is possible to will be different interaction content types corresponding
Interaction content be respectively displayed on respective precalculated position.
According to one embodiment of present invention, after the interaction content for receiving server return, when the user is carried out
When interaction content checks operation, according to the interaction content type to be checked that the user selects, corresponding interaction content is shown.
That is, when user wants to check the interaction content, checking that operation is shown further according to what the user was carried out.
Specifically, the interaction content that user is carried out checks that operation can be based on the operation button institute shown on browser
The operation for carrying out, can show operation button corresponding with interaction content type, on the ad-hoc location of browser when user's point
Hit or striking wherein any one operation button when, show the corresponding interaction content of the operation button.Fig. 2 is referred to, Fig. 2 is root
According to the screenshot capture example of browser window in the interactive method in the website based on browser of one embodiment of the present of invention.
In Fig. 2, the controlling interface shown by browser window sidebar is the browser according to one embodiment of the present of invention
With reference to instant message application user interface (user control interface), for example, for for all interactive of the website
Interaction content of the associated user of content and the user for the website, can correspondingly distinguish window on a web browser
Online friend's interactive button and good friend's message button are shown in the controlling interface of the instant message application of middle display, when user clicks on
During (or striking) online friend's interactive button, the whole interaction contents for the website, or all interactions of predetermined quantity can be shown
Content, when user clicks on (or striking) good friend message button, can show on the ad-hoc location of browser that the user's is good
Message content of the friendly user for the website.For example, one viewing area can be set in browser window bottom as shown in Figure 2
Domain, interaction content is included in the viewing area.
According to one embodiment of present invention, can be so that the quantity mark of interaction content be shown on the operation button for showing
Note, for example, can with as illustrated in fig. 2, it is assumed that active user good friend message have 3, then can good friend message button on show
Show that one represents that the user has the number tag of 3 good friend's messages.
According to one embodiment of present invention, the interactive method in website based on browser can also include step S140~
S150。
At step S140, the interaction content for current site of receiving user's input.The interaction content can be should
Comment content of the user to the website, or the user is sent to staying for associated user (for example, good friend user) for the website
Speech content, or the information interaction that user user associated therewith is carried out online in real time for the web site contents is (for example, online merely
My god, online interaction discussion) when the interaction content that is input into.Wherein, the interaction content can also be in the interaction for current web page
Hold.
When the user wants to deliver interaction content, can be input in the predetermined input position of browser and oneself want to deliver
Content, for example, an input frame can be shown on a web browser, user can be input in input frame in the interaction for wanting to deliver
Hold, specifically, an input frame can be shown in browser window bottom as shown in Figure 2, user is want to the good friend user of oneself
Message content is input in the input frame during message, the message content is input into by the user is received.
At step S150, interaction content storage request is sent to server, please be seek survival according to described with request server
Store up the interaction content.
Wherein, the parameter for carrying in the interaction content storage request can include:The URL of the website, the user
Account and the interaction content.
According to one embodiment of present invention, can show that a determination is issued with the predetermined input position in browser window
Operation button, the button be used for user input interaction content after, click on or the striking button with determine issue the interaction in
Hold, when user's click or the striking button, interaction content storage request is sent to server.For example can as shown in Figure 2,
Position beside the input frame of browser window bottom shows " message " button accordingly, when user wants to use to the good friend of oneself
When family is left a message, the input message content in the input frame, when clicking on " message " button after the completion of user input, is sent out to server
Send the interaction content storage request for storing the message.When server receives the interaction content storage request, can be according to this
Ask to store the interaction content of the user, specifically, server can be according to the website URL, use carried in the request
The account at family, the interaction content is stored according to predetermined storage format.For example, can by all of interaction content data with
URL is stored for differentiation and according to following structure:
<url1>
<Id1 interaction content issuing times>
<Id2 interaction content issuing times>
……
<url2>
<Id1 interaction content issuing times>
<Id2 interaction content issuing times>
……
Wherein, url is the URL of website, and accounts of the id for user, interaction content are that the user of the account is directed to the website
Interaction content, issuing time receive the time of the interaction content storage request for server.
According to one embodiment of present invention, based on browser the interactive method in website can also be included the user
Input the interaction content for current site be displayed in the step in the predetermined display positions of browser, for example, when user it is defeated
When having entered, and having clicked on the operation button made comments or leave a message, will can be somebody's turn to do
The content of user input is directly displayed in the predetermined display positions of browser.For example, can be with as shown in Fig. 2 in browser window
Mouth bottom pre-sets a viewing area, and the content of user input is included in the region, also, works as user's use associated therewith
When family carries out online real time information interaction (such as online chatting), each issue can be shown in the predetermined display positions in real time
Interaction content.
Using the technical scheme described by above-mentioned steps, by user need to only register an instant message application account and its
His user carries out interaction for the content of any website, wherein, the interaction carried out with other users by user, for example, for net
The comment of content of standing or message can be carried out online in real time.
Another aspect of the present invention additionally provides a kind of Web Site Interactive method based on browser.
As shown in figure 3, Fig. 3 is the flow process of the method for the Web Site Interactive based on browser according to an embodiment of the invention
Figure, wherein, the browser combines instant message application.
At step S310, when user carries out the interaction content to browser current web page accesses operation, according to described
Operate to server and send interaction content access request, corresponding interaction content is returned according to the request with request server.
Specifically, the parameter for carrying in the request can include the URL of current web page, and the server can be clear for this
The server of the instant message application that device of looking at is combined.When the interaction content that user carries out the webpage currently displaying to browser is accessed
During operation, the interaction content access request for carrying the URL can be sent to the server, with request server according to the request
Return corresponding interaction content.After server receives the request, can be according to the URL retrievals carried in the request for the net
The interaction content of page, and the interaction content for retrieving is returned to the browser.
According to one embodiment of present invention, the parameter for carrying in the interaction content access request can also include:Mutually
Dynamic content type, the interaction content type can access operation according to the interaction content that the user is carried out and determine, institute
Stating interaction content type can include:Whole interaction contents for current web page and it is directed to current web page and intended recipient is used
Family is the interaction content of the user, wherein, it is somebody's turn to do for current web page and intended recipient user is the interaction content of the user
The interaction content that can be sent to the user for current web page for the good friend user of the user, the intended recipient of the interaction content
User is arranged to the user.
The interaction content that user is carried out accesses operation and can be based on what the operation button shown on browser was carried out
Operation, can show the operation button corresponding with interaction content type on the ad-hoc location of browser, may be referred to Fig. 4,
Fig. 4 shows the screen of browser window in the method based on the Web Site Interactive of browser according to an embodiment of the invention
Example screenshot, as shown in figure 4, the user of instant message application combined by the browser that can be shown in browser window
Operation button is shown on interface, " good friend's message " button in such as Fig. 4 and " online friend interactive " button, when user click on or striking its
In any one operation button when, can send to server that carry should according to the corresponding interaction content type of the operation button
The interaction content access request of interaction content type, is retrieved and is returned in corresponding interaction according to the request with request server
Hold, server receives the request, can be according to the URL of the webpage carried in the request and interaction content type retrieval phase
The interaction content answered, and return.Wherein, if user click on or striking the corresponding interaction content type of operation button be for
The interaction content of current web page and intended recipient user for the user, the then parameter for carrying in the request can also include institute
State account (account of the instant message application combined with the browser of the i.e. user's registration of the account, user's need of user
The instant message application that the browser is combined is logged in by account), server can be according to the user carried in the request
Account inquiry intended recipient user be the interaction content for current web page of the user, and return what is retrieved to browser
Interaction content;If user clicks on or the corresponding interaction content type of operation button of striking is for all mutual of current web page
Dynamic content, then server can retrieve all interaction contents for current web page, and the interaction for retrieving is returned to browser
Content.Server can return the interaction content of predetermined quantity, for example, according to interaction content issuing time, return and issue recently
100 interaction contents, i.e. by issuing time sequence after, apart from 100 nearest interaction contents of current point in time.
At step S320, the corresponding interaction content that the reception server is returned according to the request.That is, the reception server
According to the corresponding interaction content that the interaction content access request is retrieved.
Corresponding interaction content can include the interaction content for one or more elements on current web page.Its
In, the element can include:Sentence, word, picture on webpage etc..Embodiments in accordance with the present invention, the interaction content
The parameter carried in access request can also include:The account of the good friend user of the user.Corresponding interaction content is also
The interaction content of the good friend user for one or more elements on current web page of the user can be included.That is,
When the account of the good friend user for carrying the user in the interaction content access request sent to browser, the service for receiving
The corresponding interaction content that device is returned, can be that the good friend user of the user is delivered for one or more elements on the webpage
Comment, or the good friend user of the user for one or more elements on the webpage to the user message.
At step S330, corresponding interaction content is shown in predetermined display positions.That is, in the predetermined aobvious of browser
Show the corresponding interaction content that position display server is returned according to the interaction content access request.Wherein, it is corresponding mutual
Dynamic content can include the interaction content for one or more elements on current web page.The predetermined display positioning is put can be with
For the display location for pre-setting on a web browser, or can also be distance one or more elements on current web page
At one preset distance arrange a display location, for example, with reference to Fig. 4, can in away from one or more elements each element
One suspended frame is set at the first preset distance, the interaction content of each element is respectively displayed on as hanging that each element is arranged
Floating inframe.
According to one embodiment of present invention, the mouse-over operation on current web page is may also listen for, when one
Or in multiple elements on any one element occur mouse-over operate when, show for the element interaction content.
Specifically, when the interaction content for one or more elements on current web page for receiving server return
When, one or more elements can be obtained at the relative position (XPath) in webpage of the element of one or more according to this,
And monitor the mouse-over on one or more elements operation (onMouseOver events), when mouse pointer hover over this one
When on any one element in individual or multiple elements, the corresponding interaction content of the element can be shown, i.e. show for this yuan
The interaction content of element.Specifically, the element corresponding interaction content can be included at second preset distance of element.And
And, the mouse that may also listen on the element removes operation (onMouseOut events), when mouse pointer is removed from the element,
Stop showing the interaction content for the element.For example, can be with as shown in figure 4, hovering over current net when mouse pointer is listened to
Page any one when having on the element of interaction content, the element corresponding interaction content is included away from the second pre- spacing of element
From the suspension inframe at place, when mouse pointer is removed from the element, stop showing the suspended frame.
According to one embodiment of present invention, the click operation on current web page is may also listen for, it is pre- when being displayed in
When there is click operation on any one labelling in one or more labellings that positioning is put, the labelling correspondence is shown
Interaction content.
Specifically, one or more of labellings are corresponding with the interaction content for one or more of elements respectively,
The pre-determined bit of the browser is displayed in for corresponding one or more labellings of interaction content of one or more of elements
Put.That is, for the corresponding labelling of interaction content of each element, having in interactive for the element with labelling
Hold, the labelling is may be displayed on the precalculated position of browser.For example, can be with as shown in figure 4, in browser display beneath window
A display location is pre-set, to show one or more labellings, in fig. 4 it is shown that in the " good friend of browser window bottom
It is interactive " two neighbouring interaction contents for corresponding to two elements on current web page with digital labellings respectively of mark, the interaction
Content is the interaction content (for example, for the comment content of the element) of the good friend for two elements of the user, and each is marked
Numeral in note is the identification number of the labelling, for identifying the corresponding element of the labelling and interaction content, when shown here is
During " online friend interactive " labelling, represent two labellings it is corresponding be all users in the interaction of the element on current web page
Hold.According to the present embodiment, when user carries out interaction content accesses operation, if what is clicked on is " good friend's message " button, can
To show that in browser window bottom the good friend of " good friend is interactive " mark and the user is directed to one or more of current web page
Corresponding one or more labellings of interaction content of element, if what is clicked on is " online friend is interactive " button, can show " online friend
Corresponding one or more marks of interaction content for one or more elements that interaction " mark and all users are directed to current web page
Note.
The click operation occurred on one or more labellings on current page is monitored, when on any one labelling
When raw click is operated, i.e. user carries out click to the labelling, shows the corresponding interaction content of the labelling, wherein, should
Interaction content may be displayed in the region of the corresponding element preset distance of the interaction content, for example, can be as shown in Figure 4
The interaction content is included into the suspension inframe near its corresponding element away from the element preset distance, wherein, with identification number
For the interaction content that the suspension inframe of the labelling of " 1 " shows for the identification number that browser display bottom of window shows it is accordingly
The corresponding interaction content of labelling of " 1 ".
Embodiments in accordance with the present invention, based on browser Web Site Interactive method can also include step S340~
S350。
At step S340, the interaction content for any one element on current web page of receiving user's input.
Specifically, user is if it is intended to deliver interaction content for an element on current web page, for example, comment,
Message etc., can choose the element, and the interaction content for wanting to deliver in the input of predetermined input position, and the predetermined input position can
Think the input frame shown on browser window, as shown in figure 4, one input frame can be set in browser window bottom,
Or the predetermined input position can also be to be displayed near the element, away from the suspension input frame of the element specific range.
At step S350, according to the interaction mode that the user selects, interaction content storage request is sent to server,
The interaction content is stored with request server.
Wherein, when the interaction mode that user selects can choose an element on the webpage for the user, according to what is shown
The interaction mode that interaction mode option is selected, for example, when user's left mouse button chooses an element on current web page or uses Mus
When mark right button clicks the element on current web page, a suspension Option Box can be shown near the element, user can be at this
Interaction mode is selected in suspension Option Box, and the interaction content of issue is wanted in input.When the interaction content for receiving user input
When, can according to user select interaction mode, to server send interaction content storage request, with request server according to be somebody's turn to do
Request stores the interaction content.Wherein, the interaction mode can include:Online friend is interactive and good friend is interactive, when user's selection
When interaction mode is that online friend is interactive, the parameter carried in the request can include the URL of current web page, the element current
The account of the relative position of webpage, the interaction content and the user, server are stored in the interaction according to above-mentioned parameter
Hold.When the interaction mode that the user selects is (that is, the user wants to send interaction content to the good friend of oneself) when good friend is interactive,
The parameter carried in the interaction content storage request can also include intended recipient user's in addition to including above-mentioned parameter
Account, server are stored to the interaction content.
According to one embodiment of present invention, can also include showing the use based on the method for the Web Site Interactive of browser
Family input on current web page the step of the interaction content of any one element.That is, current net is directed to when user input
The interaction content of any one element on page, and confirm to issue (for example, click on and issue button, the content of input is sent)
When, the interaction content is shown, wherein it is possible to the interaction content is included in the viewing area for pre-setting.Such as Fig. 4
It is shown, an input frame can be shown in browser window bottom, also, the button of confirmation transmission can also be shown accordingly
(in Fig. 4 be " transmission " button), when user is input into interaction content in input frame, and clicks on or when striking " sends " button, will
The interaction content of the user input is displayed in the viewing area above the input frame of browser window bottom.Wherein, when user with
When its associated user carries out online real time information interaction, it would however also be possible to employ the method for above-mentioned example shows user and its associated user
The interaction content for each sending.
Using the technical scheme described by above-mentioned steps, by user need to only register an instant message application account and its
His user carries out interaction for the content of any webpage, wherein, the interaction carried out with other users by user, for example, for net
On page, the comment of some element or message can be carried out online in real time.
Another aspect of the invention additionally provides a kind of method for accessing the corresponding group in website based on browser.
As shown in figure 5, Fig. 5 is the corresponding group in access website based on browser according to an embodiment of the invention
The flow chart of method, wherein, the browser combines instant message application.
At step S510, when user passes through any one website of the browser access, group is sent to server
Information acquisition request, to ask the server that the letter of corresponding one or more groups in the website is returned according to the request
Breath.
Specifically, the parameter that the group information is carried in obtaining request can include the domain name of the website, work as user
When accessing certain website, the group information acquisition request for carrying the website domain name is sent to server, server receives this please
When asking, the information of the website corresponding one or more groups is retrieved and is returned according to the domain name, wherein, the information of each group
Can include:The title and/or group's account of the group.
Wherein, the data form that the corresponding group in website preserves in the server, can be with as follows:
<Website domain name>
<Interest group 1, the id of group user:A, b, c, d ..., interaction content:<id:A, content:M1, time:t1>、<
id:B, content:M2, time:t2>……>
<Interest group 2, the id of group user:H, i, j, k ..., interaction content:<id:H, content:M1, time:t1>、<
id:I, content:M2, time:t2>……>
……
At step S520, the information of corresponding one or more groups in the website that the reception server is returned, and show
Show the information of corresponding one or more groups in the website.That is, the reception server is retrieved according to the group content access request
And the information of corresponding one or more groups in the website for returning, and the letter of one or more groups is shown to the user
Breath.For example, can be with as shown in fig. 6, Fig. 6 shows the access website pair based on browser according to an embodiment of the invention
The screenshot capture example of the user interface of in the method for the group the answered instant message application combined by browser, the wherein user
Interface display is in browser window.In figure 6, on a user interface the information for showing under " interest group at the station " is current
The information of corresponding one or more groups in website, wherein, the information of each group of display can include the title of the group
And/or group's account.
Embodiments in accordance with the present invention, can also include step based on the method for accessing the corresponding group in website of browser
S530~S540.
At step S530, operate when user triggers the access to any one group in one or more of groups
When, the group access request for accessing the group is sent to server.Wherein, the net is carried in the group access request
Domain name, the title of the group and/or the group's account stood.
Specifically, when in user one or more groups corresponding to the website, some group is interested, can touch
Send out the access to the group to operate, the access operation can for example be the operation of the title or group's account of clicking on the group, when
Detect the user trigger the group access operate when, to server send access the group group access request.Its
In, the parameter carried in the group access request can include:The domain name of the website, the title of the group and/or group
Group account.
At step S540, the reception server return the group one or more group users account and institute
State the interaction content of group.When server receives group access request, according to the parameter query user carried in the request
The account and the interaction content of the group of all group users of the group for desiring access to, wherein server return the group
Interaction content can be a part for all interaction contents of the group, for example, only return issuing time according to time sequence away from
100 nearest interaction contents of current point in time (content of for example, leaving a message).
According to one embodiment of present invention, can also be included based on the method for accessing the corresponding group in website of browser
When the addition that the user triggers any one group in the one or more of groups of addition is operated, send to server
Group adds request, to ask the server that the account of the user is added to the step in the group.
During any one group in user wants to add one or more of groups, for example, for a certain topic
Discussion group or the interest group for a certain specific matters, can trigger the addition operation for adding the group, touch when user is detected
When having sent out the addition operation of certain group, group is sent to server and add request, wherein, the group adds in asking and carries
Parameter can include:The account clothes of the domain name of the website, the title of the group and/or group's account and the user
When business device receives the request, the title and/or group's account and use of domain name, group according to the website carried in the request
The account at family, searches the information of the group for preserving, and the account of the user is added in the group.
According to one embodiment of present invention, can also be included based on the method for accessing the corresponding group in website of browser
Receive the message of any one group belonging to which of the user input and message storage request is sent to server,
The step of to ask message described in the server storage.
When message is sent in group's (for example, interest group) that user is want belonging to oneself, for example, carry out with same group user
During online group chat, the message that sends can be wanted in the input inframe input of the message of the predetermined interaction area of browser, when receiving
During the message of user input, message storage request can be sent to server, the message is stored with request server.Wherein,
The parameter carried in the message storage request can include:The domain name of the website, the title of the group and/or group's account
Number, the account of the user and the message.
Present invention also offers a kind of interactive device in website based on browser.As shown in fig. 7, Fig. 7 is according to this
The structured flowchart of the device 700 of the website interaction based on browser of bright one embodiment.
Device 700 can include:First request module 710 and the first receiver module 720.
Wherein, the first request module 710 can be used for when user passes through the browser access website, send out to server
Interaction content access request is sent, to ask the server to be returned for the interaction content of the website.The interaction content is visited
The parameter carried in asking request includes:The URL of the website.
First receiver module 720 can be used for the interaction for the website that the reception server is returned according to the request
Content.
According to one embodiment of present invention, device 700 can also include:First display module, the module can be used for
When the user carries out interaction content checks operation, according to the interaction content type to be checked that the user selects, show
Corresponding interaction content.Wherein, the interaction content type can include:Whole interaction contents and institute for the website
State the interaction content of the associated user for the website of user.
According to one embodiment of present invention, the parameter for carrying in the interaction content access request can also include:Institute
State the account of user.
According to one embodiment of present invention, device 700 can also include the second receiver module and the second request module.
Wherein, the second receiver module can be used for the interaction content for current site of receiving user's input.
Second request module can be used for sending interaction content storage request to server, with request server according to described
The request storage interaction content.The parameter carried in the interaction content storage request can include:The URL of the website,
The account of the user and the interaction content.
According to one embodiment of present invention, device 700 can also include the second display module, the module can be used for by
The interaction content for current site of the user input is displayed in the predetermined display positions of browser.
Another aspect of the present invention additionally provides a kind of device of the Web Site Interactive based on browser.As shown in figure 8, Fig. 8
It is the structured flowchart of the device 800 of the Web Site Interactive based on browser according to an embodiment of the invention.It is wherein described to browse
Device combines instant message application.
Device 800 can include the first request module 810, the first receiver module 820 and display module 830.
Wherein, the first request module 810 can be used for when user carries out the interaction content access operation to current web page,
Interaction content access request is sent according to described operation to server, is returned according to the request with request server corresponding mutual
Dynamic content.The parameter carried in the request can include:The URL of current web page.
First receiver module 820 can be used for the corresponding interaction content that the reception server is returned according to the request.Institute
Stating corresponding interaction content can include the interaction content for one or more elements on current web page.
Display module 830 can be used for showing corresponding interaction content in predetermined display positions.
According to one embodiment of present invention, the parameter for carrying in the interaction content access request can also include:Mutually
Dynamic content type, wherein, the interaction content type can be that the interaction content carried out according to the user accesses operation determination
, the interaction content type can include:Whole interaction contents for current web page and it is directed to current web page and target
Receive user is the interaction content of the user.
According to one embodiment of present invention, the parameter for carrying in the interaction content access request can also include:Institute
State the account of user.
According to one embodiment of present invention, device 800 can also include:First monitors module, the first monitoring module
Can be used for monitoring the mouse-over operation on current web page.
The display module can be further used for:When there are Mus on any one element in one or more of elements
During mark hovering operation, the interaction content for the element is shown.
According to one embodiment of present invention, device 800 can also include:Second monitors module, the second monitoring module
Can be used for monitoring the click operation on current web page.
The display module can be further used for:It is any in one or more labellings on a predetermined position are shown
When there is click operation on one labelling, the corresponding interaction content of the labelling is shown.Wherein, one or more of marks
Score not corresponding with the interaction content for one or more elements on current web page.
According to one embodiment of present invention, the parameter for carrying in the request can also include:The good friend of the user
The account of user;The interaction content can include the good friend user of the user for one or more units on current web page
The interaction content of element.
According to one embodiment of present invention, device 800 can also also include:Second receiver module and second asks modulus
Block.
Wherein, the second receiver module can be used for receiving user's input on current web page any one element it is mutual
Dynamic content.
Second request module can be used for the interaction mode selected according to the user, sends interaction content to server and deposits
Storage request, stores the interaction content with request server.
According to one embodiment of present invention, device 800 can also include the second display module, be displayed for described
The interaction content for any one element on current web page of user input.
According to one embodiment of present invention, the parameter for carrying in the interaction content storage request can include:Currently
The account of the URL of webpage, the element in the relative position (XPath), the interaction content and the user of current web page.
According to one embodiment of present invention, the parameter for carrying in the storage request can also include:Intended recipient is used
The account at family.
Another aspect of the invention additionally provides a kind of device for accessing the corresponding group in website based on browser.As schemed
Shown in 9, Fig. 9 is the knot of the device 900 for accessing the corresponding group in website based on browser according to an embodiment of the invention
Structure block diagram.Wherein, the browser combines instant message application.
Device 900 can include:First request module 910, the first receiver module 920 and display module 930.
Wherein, the first request module 910 can be used for when user passes through any one website of the browser access, to
Server sends group information and obtains request, corresponding one to ask the server to return to the website according to the request
Or the information of multiple groups.
First receiver module 920 can be used for corresponding one or more groups in the website of the reception server return
Information.
Display module 930 is displayed for the information of corresponding one or more groups in the website.
According to one embodiment of present invention, device 900 can also include:Second request module and the second receiver module.
Wherein, the second request module can be used for triggering to any one group in one or more of groups as user
When the access of group is operated, the group access request for accessing the group is sent to server.Wherein, in the group access request
The parameter of carrying can include:The domain name of the website, the title of the group and/or group's account.
Second receiver module can be used for the account of one or more group users of the group of the reception server return
Number and the group interaction content.
According to one embodiment of present invention, device 900 can also include:3rd request module, the module can be used for
When the addition that the user triggers any one group in the one or more of groups of addition is operated, send to server
Group adds request, to ask the server that the account of the user is added in the group.Wherein, the group adds
The parameter carried in entering request can include:The domain name of the website, the title of the group and/or group's account and described
The account of user.
According to one embodiment of present invention, device 900 can also include:3rd receiver module and the 4th request module.
Wherein, the 3rd receiver module can be used for receiving disappearing for any one group input of the user belonging to which
Breath.
4th request module can be used for sending message storage request to server, to ask described in the server storage
Message.Wherein, the parameter for carrying in the message storage request can include:The domain name of the website, the title of the group
And/or group's account, the account of the user and the message.
The interactive device in website based on browser described above, the device of Web Site Interactive and access website are corresponding
The device of group respectively with the method, the method for Web Site Interactive that the website that describes before is interactive and access the corresponding group in website
The process of method be corresponding, accordingly, with respect to more detailed ins and outs, may refer to the method for describing before.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system
Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use it is various
Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this
Bright preferred forms.
In description mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention
Example can be put into practice in the case where not having these details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist
Above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes
In example, figure or descriptions thereof.However, should the method for the disclosure be construed to reflect following intention:I.e. required guarantor
The more features of feature is expressly recited in each claim by the application claims ratio of shield.More precisely, such as following
Claims it is reflected as, inventive aspect is less than all features of single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more different from embodiment equipment.Can be the module or list in embodiment
Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any
Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (includes adjoint power
Profit is required, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or the alternative features of similar purpose carry out generation
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint
One of meaning can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) are realizing some or all portions in device according to embodiments of the present invention
The some or all functions of part.The present invention is also implemented as performing a part for method as described herein or complete
The equipment or program of device (for example, computer program and computer program) in portion.Such program for realizing the present invention
Can store on a computer-readable medium, or there can be the form of one or more signal.Such signal can be with
Download from internet website and obtain, or provide on carrier signal, or provided with any other form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference markss between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame
Claim.