WO2015172654A1 - 基于浏览器的网站、网页互动及访问群组的方法和装置 - Google Patents

基于浏览器的网站、网页互动及访问群组的方法和装置 Download PDF

Info

Publication number
WO2015172654A1
WO2015172654A1 PCT/CN2015/077655 CN2015077655W WO2015172654A1 WO 2015172654 A1 WO2015172654 A1 WO 2015172654A1 CN 2015077655 W CN2015077655 W CN 2015077655W WO 2015172654 A1 WO2015172654 A1 WO 2015172654A1
Authority
WO
WIPO (PCT)
Prior art keywords
interactive content
user
request
website
server
Prior art date
Application number
PCT/CN2015/077655
Other languages
English (en)
French (fr)
Inventor
罗吉喜
段培堃
赵刚
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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
Priority claimed from CN201410210332.2A external-priority patent/CN103986644B/zh
Priority claimed from CN201410209197.XA external-priority patent/CN103984727B/zh
Priority claimed from CN201410209219.2A external-priority patent/CN103986643B/zh
Application filed by 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2015172654A1 publication Critical patent/WO2015172654A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a browser-based method and device for interacting with a website, a method and device for interacting with a webpage based on a browser, and a method for accessing a group corresponding to a website based on a browser And equipment.
  • IM instant messaging
  • the present invention proposes a scheme for interacting based on website content.
  • the present invention has been made in order to provide a browser-based website interaction method and apparatus that overcomes the above problems or at least partially solves or alleviates the above problems, and a browser-based web page interaction method and apparatus And a browser-based method and apparatus for accessing a group corresponding to a website.
  • a browser-based method for website interaction comprising: transmitting an interaction to a server when a user accesses the website through the browser a content access request to request the server to return interactive content for the website, the parameters carried in the interactive content access request include: a URL of the website; and a receiving server returns the website according to the request Interactive content.
  • a browser-based webpage interaction method wherein the browser combines an instant messaging application, and the method includes: when a user performs an interactive content access operation on a current webpage of a browser, Sending an interactive content access request to the server according to the operation, to request the server to return the corresponding interactive content according to the request, the parameters carried in the request include: a URL of the current webpage; and a corresponding interaction returned by the receiving server according to the request Content, the corresponding interactive content includes interactive content for one or more elements on the current web page; and displaying the corresponding interactive content at a predetermined display location.
  • a browser-based method for accessing a group corresponding to a website comprising: when the user accesses any one through the browser Sending a group information acquisition request to the server to request the server to return information of one or more groups corresponding to the website according to the request; and receiving one or more corresponding to the website returned by the server The information of the group and the information of one or more groups corresponding to the website.
  • an apparatus for browser-based website interaction wherein the browser incorporates an instant messaging application, the apparatus comprising: a first request module for when a user passes the browser When accessing any website, sending an interactive content access request to the server to request the server to return interactive content for the website, the parameters carried in the interactive content access request include: a URL of the website; and a first receiving a module, configured to receive interactive content for the website returned by the server according to the request.
  • a browser-based webpage interaction apparatus wherein the browser combines an instant messaging application, and includes: a first requesting module, configured to: when the user performs interactive content on the current webpage When the operation is performed, the interactive content access request is sent to the server according to the operation, to request the server to return the corresponding interactive content according to the request, the parameters carried in the request include: a URL of the current webpage; and a first receiving module, configured to: Receiving server according to the request Returning corresponding interactive content, the corresponding interactive content includes interactive content for one or more elements on the current webpage; and a display module for displaying the corresponding interactive content at the predetermined display location.
  • a browser-based device for accessing a group corresponding to a website
  • the browser combines an instant messaging application, including: a first request module, configured to When the browser accesses any website, the server sends a group information acquisition request to the server to request the server to return information of one or more groups corresponding to the website according to the request; the first receiving module is configured to receive Information of one or more groups corresponding to the website returned by the server; and a display module, configured to display information of one or more groups corresponding to the website.
  • a computer program comprising computer readable code, when said computer readable code is run on a user terminal, causing said user terminal to perform a browser based operation according to any of the above A method of web site interaction, or a browser-based webpage interaction method according to any one of the above, or a method of performing a browser-based access to a group corresponding to the website according to any one of the above.
  • a computer readable medium storing a computer program as described above.
  • the website content or the webpage content interaction can be performed based on the browser, and the user only needs to interact with other users for the content of any website or webpage by using one account, thereby reducing the cost of the user participating in the interaction and improving the user experience. .
  • FIG. 1 shows a flow chart of a method of browser-based website interaction in accordance with one embodiment of the present invention
  • FIG. 2 illustrates an example of a screenshot of a browser window in a method of browser-based website interaction, in accordance with one embodiment of the present invention
  • FIG. 3 shows a flow chart of a method of browser-based web page interaction in accordance with one embodiment of the present invention
  • FIG. 4 illustrates an example of a screenshot of a browser window in a method of browser-based web page interaction, in accordance with one embodiment of the present invention
  • FIG. 5 is a flowchart showing a method of browser-based access to a group corresponding to a website according to an embodiment of the present invention
  • FIG. 6 illustrates a screen shot example of a user interface of a browser-incorporated instant messaging application in a browser-based method of accessing a group corresponding to a website, in accordance with one embodiment of the present invention
  • FIG. 7 is a structural block diagram of an apparatus for browser-based website interaction according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of an apparatus for browser-based web page interaction according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram of an apparatus for browser-based access to a group corresponding to a website according to an embodiment of the present invention.
  • Figure 10 is a schematic block diagram showing a user terminal for performing the method according to the present invention.
  • Fig. 11 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • a user group or a discussion group usually conducts discussion interaction based on a certain topic. If users want to join a group or group for a topic, they usually need to search for related topic groups and groups, and join for discussion. However, in general, there are many homogenized content, the topic is not focused enough, and users are difficult to find very suitable. Groups; if a friend invites to join, they must rely on their friends.
  • the discussion forum established by the existing website generally needs to register the account of the website before participating in various discussions, exchanges, etc., otherwise it is impossible to participate in the interaction.
  • the user needs to register and remember the account and password of multiple websites, the registration cost, Memory costs and login operation costs are high. And some websites don't have commenting functions and can't participate in interactions.
  • FIG. 1 is a flow diagram of a method of browser-based website interaction in accordance with one embodiment of the present invention, wherein the browser incorporates an instant messaging application.
  • step S110 when the user accesses the website through the browser, an interactive content access request is sent to the server to request the server to return interactive content for the website.
  • the parameter carried in the interactive content access request may include a URL of the website.
  • the server may be a server of an instant messaging application combined with the browser.
  • the server may send an interactive content access request carrying the URL, and after receiving the request, the server may retrieve the interactive content for the website according to the URL carried in the request, and The browser returns the retrieved interactive content, which may be the content of the review of the website by the user visiting the website, for example, the comment content or the message content of a certain information posted for the website.
  • the parameter carried in the interactive content access request may further include: an account of the user, where the account is an account of an instant messaging application registered by the user and combined with the browser.
  • the server may send an interactive content access request carrying the URL of the website and the account of the user.
  • the server may retrieve the interactive content for the website according to the URL of the website and the user's account carried in the request, and return the retrieved interactive content to the browser.
  • the interactive content returned by the server to the browser may include two parts: a part may include all interactive content for the website, and since there may be a lot of interactive content for the website, the server may only use the browser. Returning a predetermined amount of interactive content, for example, sorting by publishing time, returning the content of the recently published predetermined number, and another part may include interactive content of the related user of the user for the website, and the related user of the user may be the user's a friend user, or a user who belongs to the same user group or discussion group as the user, the server may query the related user of the user according to the account of the user carried in the interactive content access request, thereby retrieving the related user of the user.
  • the interactive content of the site is returned to the browser.
  • step S120 the interactive content for the website returned by the server according to the request is received. That is, the interactive content returned by the server according to the interactive content access request for the website is retrieved.
  • step S130 the interactive content is displayed.
  • the server when the server receives the interactive content access request carrying the URL of the website currently accessed by the user and the account of the user, the interactive content for the website may be retrieved according to the request, and the search is returned to the browser.
  • the interactive content returned by the server to the browser may include two parts: one part may include all interactive content for the website, and the other part may include interactive content of the related user of the user for the website, and therefore, the interaction displayed to the user
  • the content type may accordingly include: all interactive content for the website and interactive content for the website by the relevant user of the user.
  • the interactive content corresponding to different interactive content types can be displayed in their respective predetermined locations.
  • the corresponding interactive content is displayed according to the type of the interactive content selected by the user to be viewed. That is to say, when the user wants to view the interactive content, it is displayed according to the viewing operation performed by the user.
  • the interactive content viewing operation performed by the user may be based on an operation performed by an operation button displayed on the browser, and an operation button corresponding to the interactive content type may be displayed at a specific position of the browser, when the user clicks or strikes When any one of the buttons is operated, the corresponding interactive content of the action button is displayed.
  • FIG. 2 is a screenshot illustration of a browser window in a method of browser-based website interaction, in accordance with one embodiment of the present invention.
  • the control interface displayed near the sidebar of the browser window is a user interface (user control interface) of the instant messaging application combined with the browser according to one embodiment of the present invention, for example, for the website
  • the entire interactive content and the interactive content of the related user of the user for the website may respectively display the user interaction button and the friend message button on the control interface of the instant message application displayed in the browser window, when the user clicks (or tap) the user interaction button, you can display all the interactive content for the website, or a predetermined number of all interactive content, when the user clicks (or taps) the friend message button, can display in a specific position of the browser
  • the user's friend user's message content for the website For example, as shown in FIG. 2, a display area is set at the bottom of the browser window to display interactive content in the display area.
  • the quantity tag of the interactive content may also be displayed on the displayed operation button. For example, as shown in FIG. 2, if the current user's friend message has a total of three, the friend message button may be displayed on the friend message button. A quantity tag indicating that the user has 3 friends' messages.
  • the browser-based website interaction method may further include steps S140-S150.
  • the interactive content may be the user's comment content on the website, or the message content sent by the user to the related user (for example, a friend user), or the online interaction information of the user and the related user for the website content in real time.
  • Interactive content entered when for example, online chat, online interactive discussion).
  • the interactive content may also be an interactive content for the current webpage.
  • an input box can be displayed on the browser, and the user can input the interactive content to be published in the input box. Specifically, as shown in FIG. 2, an input box is displayed at the bottom of the browser window.
  • the message content is input in the input box, and the message content input by the user is received.
  • an interactive content storage request is sent to the server to request the server to store the interactive content according to the request.
  • the parameter carried in the interactive content storage request may include: a URL of the website, an account of the user, and the interactive content.
  • a determined release operation button may be displayed at a predetermined input position of the browser window, and the button is used for the user to click or tap the button to determine the release of the interactive content after inputting the interactive content.
  • an interactive content storage request is sent to the server.
  • the “message” button is displayed correspondingly at the position next to the input box at the bottom of the browser window.
  • the server When the server receives the interactive content storage request, the interactive content of the user may be stored according to the request. Specifically, the server may follow the predetermined storage format according to the website URL and the user's account carried in the request. Store. For example, all interactive content data can be distinguished by URL and stored as follows:
  • the url is the URL of the website
  • the id is the user's account
  • the interactive content is the interactive content of the user of the account for the website
  • the publishing time is the time when the server receives the interactive content storage request.
  • the method for browser-based website interaction may further include the step of displaying the interactive content input by the user for the current website on a predetermined display position of the browser, for example, when the user inputs
  • the content input by the user can be directly displayed on the predetermined display position of the browser.
  • a display area is preset in the lower part of the browser window, the content input by the user is displayed in the area, and when the user performs online real-time information interaction (such as online chat) with the related user,
  • the respective posted interactive content can be displayed in real time at the predetermined display position.
  • the user only needs to register an instant messaging application account to interact with other users' content for any website, wherein the user interacts with other users, for example, comments on the website content or Messages can be made online in real time.
  • Another aspect of the present invention also provides a browser-based web page interaction method.
  • FIG. 3 is a flowchart of a method for browser-based web page interaction in accordance with one embodiment of the present invention, wherein the browser incorporates an instant messaging application.
  • an interactive content access request is sent to the server according to the operation, to request the server to return the corresponding interactive content according to the request.
  • the parameter carried in the request may include a URL of a current webpage
  • the server may be a server of an instant messaging application combined with the browser.
  • an interactive content access request carrying the URL may be sent to the server to request the server to return the corresponding interactive content according to the request.
  • the server may retrieve the interactive content for the webpage according to the URL carried in the request, and return the retrieved interactive content to the browser.
  • the parameter carried in the interactive content access request may further include: an interactive content type, where the interactive content type may be determined according to an interactive content access operation performed by the user, the interactive content The type may include: all the interactive content for the current webpage and the interactive content for the current webpage and the target receiving user is the user, wherein the interactive content for the current webpage and the target receiving user is the user may be the friend of the user
  • the interactive content sent by the user to the user for the current webpage, and the target receiving user of the interactive content is set as the user.
  • the interactive content access operation performed by the user may be based on an operation button displayed on the browser, and an operation button corresponding to the interactive content type may be displayed at a specific position of the browser, which may be referred to FIG. 4 and FIG.
  • the operation button is displayed on the user interface, as shown in the “Friend Message” button and the “User Interaction” button in FIG.
  • the server sends an interactive content access request carrying the interactive content type, to request the server to retrieve and return the corresponding interactive content according to the request, and the server receives the request, and may retrieve the corresponding according to the URL of the webpage and the interactive content type carried in the request.
  • the parameter carried in the request may further include an account of the user if the type of the interactive content corresponding to the operation button that the user clicks or clicks is for the current webpage and the target receiving user is the interactive content of the user.
  • the account is the account of the instant messaging application registered with the browser, the user needs to log in to the instant messaging application combined with the browser, and the server can query the target receiving user according to the account of the user carried in the request.
  • the server may retrieve all The interactive content of the current webpage and return the retrieved interactive content to the browser.
  • the server can return a predetermined amount of interactive content, for example, based on the time of the interactive content release, returning to the most recently released 100 The interactive content, that is, the 100 interactive content that is the closest to the current time point after being sorted by the publishing time.
  • step S320 the corresponding interactive content returned by the server according to the request is received. That is, the corresponding interactive content retrieved by the receiving server according to the interactive content access request.
  • the respective interactive content may include interactive content for one or more elements on the current web page.
  • the element may include: a statement, a word, a picture, and the like on a webpage.
  • the parameter carried in the interactive content access request may further include: an account of the friend user of the user.
  • the corresponding interactive content may also include interactive content of the user's friend user for one or more elements on the current web page. That is, when the interactive content access request sent to the browser carries the account of the friend user of the user, the corresponding interactive content returned by the received server may be for the friend user of the user for one of the webpages of the user. Or a comment posted by multiple elements, or a message from the user's buddy user to the user for one or more elements on the page.
  • the corresponding interactive content is displayed at a predetermined display position. That is, the corresponding interactive content returned by the server according to the interactive content access request is displayed at the predetermined display position of the browser.
  • the corresponding interactive content may include interactive content for one or more elements on the current webpage.
  • the predetermined display position may be a display position preset on the browser, or may further set a display position at a first predetermined distance from the one or more elements on the current webpage. For example, referring to FIG. 4, A hovering box is placed at a first predetermined distance from each of the one or more elements, and the interactive content of each element is displayed in a hovering box set for each element.
  • the mouse hovering operation on the current webpage may also be monitored, and when a mouseover operation occurs on any one of the one or more elements, the interactive content for the element is displayed.
  • the one or more elements when receiving the interactive content returned by the server for one or more elements on the current webpage, the one or more elements may be obtained according to the relative position (XPath) of the one or more elements in the webpage. And listening for the mouseover operation (onMouseOver event) on the one or more elements, when the mouse pointer is hovered over any one of the one or more elements, the interactive content corresponding to the element may be displayed, ie , showing the interactive content for this element. Specifically, the interactive content corresponding to the element may be displayed at a second predetermined distance from the element. Also, you can listen for mouse over operations on the element (onMouseOut event) and stop displaying interactive content for that element when the mouse pointer moves out of the element. For example, as shown in FIG.
  • the mouse click operation on the current webpage may also be monitored, and when the mouse click operation occurs on any one of the one or more tags displayed on the predetermined location, the interaction corresponding to the mark is displayed. content.
  • the one or more tags respectively correspond to the interaction content for the one or more elements, and one or more tags corresponding to the interaction content of the one or more elements are displayed in the browser At the scheduled location. That is, a tag corresponding to the interactive content of each element, with the tag having interactive content for the element, the tag can be displayed at a predetermined location of the browser. For example, as shown in FIG. 4, a display position may be preset in the browser display window to display the one or more markers. In FIG. 4, two icons near the "friend interaction" logo at the bottom of the browser window are displayed.
  • the tags with numbers respectively correspond to the interactive content of the two elements on the current webpage, and the interactive content is the interactive content of the user's friends for the two elements (for example, the comment content for the element), on each mark
  • the number is the identification number of the tag, which is used to identify the element corresponding to the tag and the interactive content.
  • the "user interaction" tag is displayed here, it means that the two tags correspond to all the users for the elements on the current webpage.
  • Interactive content According to the embodiment, when the user performs an interactive content access operation, if the "Friends Message" button is clicked, the "Friend Interaction” logo may be displayed at the bottom of the browser window and one or more of the user's friends for the current webpage. One or more tags corresponding to the interactive content of the element. If the "User Interaction” button is clicked, the "Netizen Interaction” logo may be displayed, and one or more corresponding to the interactive content of one or more elements of the current webpage by all users. Marks.
  • the content may be displayed in an area of a predetermined distance from the element corresponding to the interactive content, for example, as shown in FIG. 4, the interactive content may be displayed in a hovering box of a predetermined distance from the element in the vicinity of the corresponding element, wherein The interactive content displayed in the hovering box of the tag whose identification number is "1" corresponds to the interactive content corresponding to the tag whose identification number is "1" displayed at the bottom of the browser display window.
  • the method of browser-based webpage interaction may further include steps S340-S350.
  • step S340 the interactive content input by the user for any one element on the current web page is received.
  • the element may be selected, and the interactive content to be published may be input at a predetermined input position, and the predetermined input position may be An input box displayed on the browser window, as shown in FIG. 4, an input box may be disposed at the bottom of the browser window, or the predetermined input position may also be displayed near the element at a specific distance from the element. Floating input box.
  • an interactive content storage request is sent to the server according to the interaction mode selected by the user to request the server to store the interactive content.
  • the user-selected interaction mode may be an interaction mode selected by the user according to the interactive mode option when the user selects an element on the webpage, for example, when the user left-clicks an element on the current webpage or right-clicks
  • a hover option box can be displayed near the element, and the user can select the interaction mode in the hover option box and enter the interactive content that he wants to post.
  • the interactive content storage request may be sent to the server according to the interaction mode selected by the user, to request the server to store the interactive content according to the request.
  • the interaction mode may include: a user interaction and a friend interaction.
  • the parameters carried in the request may include a URL of the current webpage, a relative position of the element in the current webpage,
  • the interactive content and the account of the user the server stores the interactive content according to the above parameters.
  • the interaction mode selected by the user is a friend interaction (that is, the user wants to send the interaction content to the friend)
  • the parameter carried in the interactive content storage request may include the target receiving user in addition to the above parameters.
  • Account the server stores the interactive content.
  • the method of browser-based webpage interaction may further comprise the step of displaying the interactive content input by the user for any one element on the current webpage. That is, when the user inputs the interactive content for any one element on the current webpage and confirms the posting (for example, clicking the publish button to send the input content), the interactive content is displayed, wherein the interactive content can be displayed. Displayed in the preset display area. As shown in FIG. 4, an input box can be displayed at the bottom of the browser window, and a confirmation confirmation button ("send" button in FIG.
  • the interactive content entered by the user is displayed in the display area above the input box at the bottom of the browser window.
  • the interactive content sent by the user and its related users may also be displayed by using the above example method.
  • the user only needs to register an instant messaging application account to interact with other users for the content of any webpage, wherein the user interacts with other users, for example, for an element on the webpage. Comments or comments can be made online in real time.
  • Still another aspect of the present invention also provides a browser-based method of accessing a group corresponding to a website.
  • FIG. 5 is a flowchart of a browser-based method for accessing a group corresponding to a website according to an embodiment of the present invention, wherein the browser incorporates an instant messaging application.
  • the group information acquisition request is sent to the server to request the server to return information of one or more groups corresponding to the website according to the request.
  • the parameter carried in the group information acquisition request may include a domain name of the website.
  • the group sends a group information acquisition request carrying the website domain name to the server, and the server receives the request. Retrieving and returning information of one or more groups corresponding to the website according to the domain name, where the information of each group may include: Name and / or group account.
  • the data format saved by the group corresponding to a website in the server can be as follows:
  • step S520 information of one or more groups corresponding to the website returned by the server is received, and information of one or more groups corresponding to the website is displayed. That is, the receiving server retrieves and returns information of one or more groups corresponding to the website according to the group content access request, and displays the information of the one or more groups to the user.
  • FIG. 6 illustrates a screen shot example of a user interface of an instant messaging application combined with a browser in a method of browser-based access to a group corresponding to a website according to an embodiment of the present invention. , where the user interface is displayed in a browser window.
  • the information displayed under the “interest group of the station” on the user interface is the information of one or more groups corresponding to the current website, wherein the information of each group displayed may include the group. Name and / or group account.
  • the browser-based method for accessing a group corresponding to a website may further include steps S530 to S540.
  • a group access request to access the group is sent to the server.
  • the group access request carries a domain name of the website, a name of the group, and/or a group account.
  • the access operation to the group may be triggered, and the access operation may be, for example, clicking on the name or group of the group.
  • the operation of the account when detecting that the user triggers the access operation of the group, sends a group access request to the server to access the group.
  • the parameter carried in the group access request may include: a domain name of the website, a name of the group, and/or a group account.
  • an account of one or more group users of the group returned by the server and interactive content of the group are received.
  • the server queries the account of all group users of the group that the user wants to access and the interactive content of the group according to the parameters carried in the request, wherein the server returns the interactive content of the group.
  • the server returns the interactive content of the group.
  • Part of all the interactive content for the group for example, only the 100 interactive content (eg, message content) that was sorted by time and closest to the current time point.
  • the browser-based method for accessing a group corresponding to a website may further include: when the user triggers a joining operation of joining any one of the one or more groups, to the server Sending a group join request to request the server to add the user's account to the group.
  • the joining operation of joining the group may be triggered when the user is triggered to join the group, the group join request is sent to the server, where the parameters carried in the group join request may include: a domain name of the website, a name of the group, and / or the group account and the user's account server receive the request, according to the domain name of the website carried in the request, the name of the group and / or the group account and the user's account, find the saved group Information and add the user's account to the group.
  • the browser-based method for accessing a group corresponding to a website may further include receiving a message input by the user for any one group to which the user belongs and sending a message storage request to the server to request the location The step of storing the message by the server.
  • the message to be sent may be input in the message input box of the predetermined interaction area of the browser.
  • the message storage request may be sent to the server to request the server to store the message.
  • the parameter carried in the message storage request may include: a domain name of the website, a name of the group and/or a group account, an account of the user, and the message.
  • FIG. 7 is a structural block diagram of an apparatus 700 for browser-based website interaction in accordance with one embodiment of the present invention.
  • the apparatus 700 can include a first requesting module 710 and a first receiving module 720.
  • the first request module 710 can be configured to send an interactive content access request to the server when the user accesses any website through the browser, to request the server to return the interactive content for the website.
  • the parameters carried in the interactive content access request include: a URL of the website.
  • the first receiving module 720 can be configured to receive interactive content for the website returned by the server according to the request.
  • the apparatus 700 may further include: a first display module, where the module may be configured to display, according to the type of the interactive content selected by the user to be viewed, when the user performs an interactive content viewing operation Interactive content.
  • the interactive content type may include: all interactive content for the website and interactive content of the related user of the user for the website.
  • the parameter carried in the interactive content access request may further include: an account of the user.
  • the apparatus 700 may further include a second receiving module and a second requesting module.
  • the second receiving module can be configured to receive the interactive content input by the user for the current website.
  • the second request module can be configured to send an interactive content storage request to the server to request the server to store the interactive content according to the request.
  • the parameters carried in the interactive content storage request may include: a URL of the website, an account of the user, and the interactive content.
  • the apparatus 700 may further include a second display module, and the module may be configured to display the interactive content input by the user for the current website on a predetermined display position of the browser.
  • FIG. 8 is a structural block diagram of an apparatus 800 for browser-based web page interaction, in accordance with one embodiment of the present invention.
  • the browser combines an instant messaging application.
  • Apparatus 800 can include a first request module 810, a first receiving module 820, and a display module 830.
  • the first requesting module 810 can be configured to send an interactive content access request to the server according to the operation when the user performs an interactive content access operation on the current webpage, to request the server to return the corresponding interactive content according to the request.
  • the parameter carried in the request may include: a URL of a current webpage.
  • the first receiving module 820 can be configured to receive corresponding interactive content returned by the server according to the request.
  • the respective interactive content may include interactive content for one or more elements on the current web page.
  • the display module 830 can be configured to display the corresponding interactive content at a predetermined display location.
  • the parameter carried in the interactive content access request may further include: an interactive content type, wherein the interactive content type may be determined according to an interactive content access operation performed by the user,
  • the interactive content type may include: all interactive content for the current web page and interactive content for the current web page and the target receiving user is the user.
  • the parameter carried in the interactive content access request may further include: an account of the user.
  • the apparatus 800 may further include: a first listening module, the first listening module may be configured to monitor a mouse hover operation on the current webpage.
  • the display module may be further configured to: display an interactive content for the element when a mouse hover operation occurs on any one of the one or more elements.
  • the apparatus 800 may further include: a second monitoring module, where the second monitoring module is configured to monitor a mouse click operation on the current webpage.
  • the display module may be further configured to display the interactive content corresponding to the mark when a mouse click operation occurs on any one of the one or more marks displayed on the predetermined position.
  • the one or more tags respectively correspond to interactive content for one or more elements on the current webpage.
  • the parameter carried in the request may further include: an account of the friend user of the user; the interactive content may include the friend user of the user for one or more elements on the current webpage. Interactive content.
  • the apparatus 800 may further include: a second receiving module and a second requesting module.
  • the second receiving module may be configured to receive the interactive content input by the user for any one element on the current webpage.
  • the second requesting module may be configured to send an interactive content storage request to the server according to the interaction mode selected by the user, to request the server to store the interactive content.
  • the apparatus 800 may further include a second display module, configured to display the interactive content input by the user for any one element on the current webpage.
  • the parameter carried in the interactive content storage request may include: a URL of a current webpage, a relative position of the element in a current webpage (XPath), the interactive content, and an account of the user.
  • the parameter carried in the storage request may further include: an account of the target receiving user.
  • FIG. 9 is a structural block diagram of a device 900 for accessing a group corresponding to a website according to a browser according to an embodiment of the present invention.
  • the browser combines an instant messaging application.
  • the apparatus 900 can include a first requesting module 910, a first receiving module 920, and a display module 930.
  • the first requesting module 910 may be configured to send a group information obtaining request to the server when the user accesses any website through the browser, to request the server to return one or more corresponding to the website according to the request. Group information.
  • the first receiving module 920 can be configured to receive information of one or more groups corresponding to the website returned by the server.
  • the display module 930 can be configured to display information of one or more groups corresponding to the website.
  • the apparatus 900 may further include: a second requesting module and a second receiving module.
  • the second requesting module may be configured to send a group access request for accessing the group to the server when the user triggers an access operation to any one of the one or more groups.
  • the parameter carried in the group access request may include: a domain name of the website, a name of the group, and/or a group account.
  • the second receiving module may be configured to receive an account of one or more group users of the group returned by the server and interactive content of the group.
  • the apparatus 900 may further include: a third requesting module, where the module may be used when the user triggers a joining operation of joining any one of the one or more groups,
  • the server sends a group join request to request the server to add the user's account to the group.
  • the parameter carried in the group join request may include: a domain name of the website, a name of the group, and/or a group account, and an account of the user.
  • the apparatus 900 may further include: a third receiving module and a fourth requesting module.
  • the third receiving module may be configured to receive a message that the user inputs for any one group to which the user belongs.
  • the fourth request module can be configured to send a message storage request to the server to request the server to store the message.
  • the parameter carried in the message storage request may include: a domain name of the website, a name of the group and/or a group account, an account of the user, and the message.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor can be used in practice to implement a browser-based website interaction device, a browser-based web page interaction device, and Browser-based access to some or all of the functionality of some or all of the components of the group corresponding to the website.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • FIG. 10 illustrates a user terminal that can implement the method in accordance with the present invention, such as the aforementioned method of browser-based website interaction, a browser-based method of web page interaction, or a browser-based access group corresponding to a website.
  • the user terminal conventionally includes a processor 1010 and a computer program product or computer readable medium in the form of a memory 1020.
  • the memory 1020 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • the memory 1020 has a memory space 1030 for executing program code 1031 of any of the above method steps.
  • the storage space 1030 for program code may include separate use
  • the respective program code 1031 that implements the various steps in the above method.
  • the program code can be read from or written to one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 1020 in the user terminal of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit comprises computer readable code 1031', ie code readable by a processor, such as 1010, which when executed by a user terminal causes the user terminal to perform each of the methods described above step.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

公开了基于浏览器的网站、网页互动以及访问群组的方法和装置。其中所述浏览器结合了即时消息应用,基于浏览器的网站互动方法包括:当用户通过所述浏览器访问网站时,向服务器发送互动内容访问请求,以请求所述服务器返回针对所述网站的互动内容,所述互动内容访问请求中携带的参数包括:所述网站的URL;以及接收服务器根据所述请求返回的针对所述网站的互动内容。能够基于浏览器进行网站内容或网页内容互动,用户只需要使用一个账号就可以针对任意网站或网页的内容与其他用户进行互动,减少用户参与互动的成本,提升用户体验。

Description

基于浏览器的网站、网页互动及访问群组的方法和装置 技术领域
本发明涉及互联网技术领域,具体涉及一种基于浏览器的网站互动的方法和装置,一种基于浏览器的网页互动的方法和装置,以及一种基于浏览器的访问网站对应的群组的方法和装置。
背景技术
目前,主流的即时通信(Instant Messenger,IM)软件大部分是以好友关系为核心驱动的,好友间可以互动。除此之外,用户还可以加入以兴趣、地域、职业等属性划分的群组,参与针对某些特定话题的讨论。另外,还有针对特殊用户需求专门设计的IM软件,以方便用户之间在特定的互动场景下沟通交流。
然而,现在还没有基于网站内容进行互动的,很多网站,用户都想去参与互动讨论,但是每个网站一般都需要注册相应的账号,用户通过账号密码登录后才能发表评论,用户需要记忆多个账号和密码,这无疑提高了用户参与互动的成本,降低了用户体验。
为解决上述问题,本发明提出了一种基于网站内容进行互动的方案。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决或者减缓上述问题的一种基于浏览器的网站互动的方法和装置,一种基于浏览器的网页互动的方法和装置,以及一种基于浏览器的访问网站对应的群组的方法和装置。
根据本发明的一个方面,提供了一种基于浏览器的网站互动的方法,其中所述浏览器结合了即时消息应用,该方法包括:当用户通过所述浏览器访问网站时,向服务器发送互动内容访问请求,以请求所述服务器返回针对所述网站的互动内容,所述互动内容访问请求中携带的参数包括:所述网站的URL;以及接收服务器根据所述请求返回的针对所述网站的互动内容。
根据本发明的另一个方面,提供了一种基于浏览器的网页互动方法,其中所述浏览器结合了即时消息应用,该方法包括:当用户进行对浏览器当前网页的互动内容访问操作时,根据所述操作向服务器发送互动内容访问请求,以请求服务器根据所述请求返回相应的互动内容,所述请求中携带的参数包括:当前网页的URL;接收服务器根据所述请求返回的相应的互动内容,所述相应的互动内容包括针对当前网页上的一个或多个元素的互动内容;以及在预定显示位置显示所述相应的互动内容。
根据本发明的再一个方面,提供了一种基于浏览器的访问网站对应的群组的方法,其中所述浏览器结合了即时消息应用,该方法包括:当用户通过所述浏览器访问任意一个网站时,向服务器发送群组信息获取请求,以请求所述服务器根据所述请求返回所述网站对应的一个或多个群组的信息;以及接收服务器返回的所述网站对应的一个或多个群组的信息,并显示所述网站对应的一个或多个群组的信息。
根据本发明的一个方面,还提供了一种基于浏览器的网站互动的装置,其中所述浏览器结合了即时消息应用,该装置包括:第一请求模块,用于当用户通过所述浏览器访问任意一个网站时,向服务器发送互动内容访问请求,以请求所述服务器返回针对所述网站的互动内容,所述互动内容访问请求中携带的参数包括:所述网站的URL;以及第一接收模块,用于接收服务器根据所述请求返回的针对所述网站的互动内容。
根据本发明的另一个方面,还提供了一种基于浏览器的网页互动装置,其中所述浏览器结合了即时消息应用,包括:第一请求模块,用于当用户进行对当前网页的互动内容访问操作时,根据所述操作向服务器发送互动内容访问请求,以请求服务器根据所述请求返回相应的互动内容,所述请求中携带的参数包括:当前网页的URL;第一接收模块,用于接收服务器根据所述请求 返回的相应的互动内容,所述相应的互动内容包括针对当前网页上的一个或多个元素的互动内容;以及显示模块,用于在预定显示位置显示所述相应的互动内容。
根据本发明的再一个方面,还提供了一种基于浏览器的访问网站对应的群组的装置,其中所述浏览器结合了即时消息应用,包括:第一请求模块,用于当用户通过所述浏览器访问任意一个网站时,向服务器发送群组信息获取请求,以请求所述服务器根据所述请求返回所述网站对应的一个或多个群组的信息;第一接收模块,用于接收服务器返回的所述网站对应的一个或多个群组的信息;以及显示模块,用于显示所述网站对应的一个或多个群组的信息。
根据本发明的一个方面还提供了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在用户终端上运行时,导致所述用户终端执行根据上述任一个所述的基于浏览器的网站互动的方法,或执行根据上述中的任一个所述的基于浏览器的网页互动方法,或者执行根据上述中任一个所述的基于浏览器的访问网站对应的群组的方法。
根据本发明的一个方面还提供了一种计算机可读介质,其中存储了如上所述的计算机程序。
根据本发明的技术方案,能够基于浏览器进行网站内容或网页内容互动,用户只需要使用一个账号就可以针对任意网站或网页的内容与其他用户进行互动,减少用户参与互动的成本,提升用户体验。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了根据本发明一个实施例的基于浏览器的网站互动的方法的流程图;
图2示出了根据本发明的一个实施例的基于浏览器的网站互动的方法中浏览器窗口的屏幕截图示例;
图3示出了根据本发明一个实施例的基于浏览器的网页互动的方法的流程图;
图4示出了根据本发明的一个实施例的基于浏览器的网页互动的方法中浏览器窗口的屏幕截图示例;
图5示出了根据本发明一个实施例的基于浏览器的访问网站对应的群组的方法的流程图;
图6示出了根据本发明一个实施例的基于浏览器的访问网站对应的群组的方法中浏览器结合的即时消息应用的用户界面的屏幕截图示例;
图7示出了根据本发明一个实施例的基于浏览器的网站互动的装置的结构框图;
图8示出了根据本发明一个实施例的基于浏览器的网页互动的装置的结构框图;
图9示出了根据本发明一个实施例的基于浏览器的访问网站对应的群组的装置的结构框图;
图10示意性地示出了用于执行根据本发明的方法的用户终端的框图;以及
图11示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
具体实施例
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的 技术人员。
现有技术中,用户群或讨论组通常基于某一话题进行讨论互动。用户如果想加入针对某一话题的群或组,通常需要搜索相关话题群、组,并加入进行讨论,然而在一般情况下,同质化的内容很多,话题不够聚焦,用户难以找到非常合适的群组;好友邀请加入的话,必须依赖好友关系。
现有的网站设立的讨论区一般需要注册该网站的账号后,才可以参与各类讨论、交流等互动,否则无法参与互动,用户需要注册并记住多个网站的账号和密码,注册成本,记忆成本、登录操作成本均较高。并且有些网站没有评论功能,不能参与交流互动。
下面将参考附图,详细描述本发明改进的技术方案。
如图1所示,图1是根据本发明一个实施例的基于浏览器的网站互动的方法的流程图,其中,所述浏览器结合了即时消息应用。
在步骤S110处,当用户通过所述浏览器访问网站时,向服务器发送互动内容访问请求,以请求所述服务器返回针对所述网站的互动内容。
具体地,所述互动内容访问请求中携带的参数可以包括所述网站的URL。所述服务器可以为该浏览器结合的即时消息应用的服务器。当用户通过浏览器访问网站时,可以向该服务器发送携带该URL的互动内容访问请求,所述服务器接收到该请求后,可以根据该请求中携带的URL检索针对该网站的互动内容,并向该浏览器返回检索到的互动内容,所述互动内容可以为访问该网站的用户针对该网站的评论内容,例如,针对该网站的发布的某一信息的评论内容或留言内容。
根据本发明的一个实施例,所述互动内容访问请求中携带的参数还可以包括:所述用户的账号,该账号即该用户注册的与该浏览器结合的即时消息应用的账号。当用户通过账号登录该浏览器结合的即时消息应用,并通过该浏览器访问任意一个网站时,可以向服务器发送携带该网站的URL和该用户的账号的互动内容访问请求。该服务器接收到该互动内容访问请求后,可以根据该请求中携带的该网站的URL以及用户的账号,检索针对该网站的互动内容,并向该浏览器返回检索到的互动内容。此时,服务器向浏览器返回的互动内容可以包括两个部分:一部分可以包括针对该网站的全部互动内容,由于针对该网站的全部互动内容可能会有很多,因此,服务器可以只向该浏览器返回预定数量的互动内容,例如,按发布时间排序,返回最近发布的预定条数的内容,另一部分可以包括该用户的相关用户针对该网站的互动内容,该用户的相关用户可以为该用户的好友用户,或者可以为与该用户属于同一个用户群或讨论组的用户,服务器可以根据互动内容访问请求中携带的所述用户的账号查询该用户的相关用户,从而检索该用户的相关用户针对该网站的互动内容并返回给该浏览器。
在步骤S120处,接收服务器根据所述请求返回的针对所述网站的互动内容。即,接收服务器返回的根据该互动内容访问请求检索到的针对该网站的互动内容。
在步骤S130处,显示所述互动内容。
如上所述,当服务器接收到携带有该用户当前访问的网站的URL以及该用户的账号的互动内容访问请求时,可以根据该请求检索针对该网站的互动内容,并向该浏览器返回检索到的互动内容。其中,服务器向浏览器返回的互动内容可以包括两个部分:一部分可以包括针对该网站的全部互动内容,另一部分可以包括该用户的相关用户针对该网站的互动内容,因此,向用户显示的互动内容类型可以相应地包括:针对所述网站的全部互动内容以及所述用户的相关用户针对所述网站的互动内容。并且,可以将不同互动内容类型相应的互动内容分别显示在各自的预定位置。
根据本发明的一个实施例,在接收到服务器返回的互动内容后,当所述用户进行互动内容查看操作时,根据所述用户选择的要查看的互动内容类型,显示相应的互动内容。也就是说,当用户想要查看该互动内容时,再根据该用户进行的查看操作进行显示。
具体地,用户进行的互动内容查看操作可以是基于在浏览器上显示的操作按钮所进行的操作,可以在浏览器的特定位置上显示与互动内容类型相应的操作按钮,当用户点击或触击其中任意一个操作按钮时,显示该操作按钮相应的互动内容。可参考图2,图2为根据本发明的一个实施例的基于浏览器的网站互动的方法中浏览器窗口的屏幕截图示例。在图2中,靠近浏览器窗口侧边栏处所显示的控制界面为根据本发明的一个实施例的浏览器所结合的即时消息应用的用户界面(用户控制界面),例如,对于针对所述网站的全部互动内容以及所述用户的相关用户针对所述网站的互动内容,可以相应地分别在浏览器上窗口中显示的即时消息应用的控制界面上显示网友互动按钮以及好友留言按钮,当用户点击(或触击)网友互动按钮时,可以显示针对该网站的全部互动内容,或预定数量的全部互动内容,当用户点击(或触击)好友留言按钮时,可以在浏览器的特定位置上显示该用户的好友用户针对该网站的留言内容。例如,可以如图2中所示,在浏览器窗口底部设置一显示区域,将互动内容显示在该显示区域中。
根据本发明的一个实施例,还可以在显示的操作按钮上显示互动内容的数量标记,例如,可以如图2所示,假设当前用户的好友留言共有3条,则可以在好友留言按钮上显示一个表示该用户有3条好友留言的数量标记。
根据本发明的一个实施例,基于浏览器的网站互动的方法还可以包括步骤S140~S150。
在步骤S140处,接收用户输入的针对当前网站的互动内容。该互动内容可以为该用户对该网站的评论内容,或者该用户针对该网站发送给相关用户(例如,好友用户)的留言内容,或者该用户与其相关用户针对该网站内容在线实时进行的信息互动(例如,在线聊天、在线互动讨论)时输入的互动内容。其中,该互动内容还可以为针对当前网页的互动内容。
当该用户想要发表互动内容时,可以在浏览器的预定输入位置输入自己想要发表的内容,例如,可以在浏览器上显示一输入框,用户可以在输入框中输入想发表的互动内容,具体地,可以如图2中所示,在浏览器窗口底部显示一输入框,用户想给自己的好友用户留言时在该输入框中输入留言内容,接收该用户所输入的留言内容。
在步骤S150处,向服务器发送互动内容存储请求,以请求服务器根据所述请求存储所述互动内容。
其中,所述互动内容存储请求中携带的参数可以包括:所述网站的URL、所述用户的账号以及所述互动内容。
根据本发明的一个实施例,还可以在浏览器窗口的预定输入位置显示一确定发布的操作按钮,该按钮用于用户在输入互动内容后,点击或触击该按钮以确定发布该互动内容,当用户点击或触击该按钮时,向服务器发送互动内容存储请求。例如可以如图2中所示,在浏览器窗口底部的输入框旁边的位置相应的显示“留言”按钮,当用户想给自己的好友用户留言时,在该输入框中输入留言内容,当用户输入完成后点击“留言”按钮时,向服务器发送存储该留言的互动内容存储请求。当服务器接收到该互动内容存储请求时,可以根据该请求对该用户的互动内容进行存储,具体地,服务器可以根据该请求中携带的网站URL、用户的账号,将该互动内容按照预定存储格式进行存储。例如,可以将所有的互动内容数据以URL为区分并按照如下结构进行存储:
<url1>
<id1互动内容发布时间>
<id2互动内容发布时间>
......
<url2>
<id1互动内容发布时间>
<id2互动内容发布时间>
......
其中,url即网站的URL,id为用户的账号,互动内容为该账号的用户针对该网站的互动内容,发布时间为服务器接收到该互动内容存储请求的时间。
根据本发明的一个实施例,基于浏览器的网站互动的方法还可以包括将所述用户输入的针对当前网站的互动内容显示在浏览器的预定显示位置上的步骤,例如,当用户输入了针对该网站的评论内容或留言内容,并点击发表评论或留言的操作按钮时,可以将该用户输入的内容直接显示在浏览器的预定显示位置上。例如,可以如图2所示,在浏览器窗口下部预先设置一显示区域,将用户输入的内容显示在该区域内,并且,当用户与其相关用户进行在线实时信息互动(例如在线聊天)时,可以在该预定显示位置上实时显示各自发布的互动内容。
采用上述步骤所描述的技术方案,用户只需注册一个即时消息应用账号即可与其他用户针对任意网站的内容进行互动,其中,用户与其他用户所进行的互动,例如,针对网站内容的评论或留言可以是在线实时进行的。
本发明另一方面还提供了一种基于浏览器的网页互动方法。
如图3所示,图3是根据本发明一个实施例的基于浏览器的网页互动的方法的流程图,其中,所述浏览器结合了即时消息应用。
在步骤S310处,当用户进行对浏览器当前网页的互动内容访问操作时,根据所述操作向服务器发送互动内容访问请求,以请求服务器根据所述请求返回相应的互动内容。
具体地,所述请求中携带的参数可以包括当前网页的URL,所述服务器可以为该浏览器结合的即时消息应用的服务器。当用户进行对浏览器当前显示的网页的互动内容访问操作时,可以向该服务器发送携带该URL的互动内容访问请求,以请求服务器根据所述请求返回相应的互动内容。服务器接收到该请求后,可以根据该请求中携带的URL检索针对该网页的互动内容,并向该浏览器返回检索到的互动内容。
根据本发明的一个实施例,所述互动内容访问请求中携带的参数还可以包括:互动内容类型,所述互动内容类型可以是根据所述用户进行的互动内容访问操作确定的,所述互动内容类型可以包括:针对当前网页的全部互动内容以及针对当前网页且目标接收用户为所述用户的互动内容,其中,该针对当前网页且目标接收用户为所述用户的互动内容可以为该用户的好友用户针对当前网页向该用户发送的互动内容,该互动内容的目标接收用户被设置为该用户。
用户进行的互动内容访问操作可以是基于在浏览器上显示的操作按钮所进行的操作,可以在浏览器的特定位置上显示与互动内容类型相对应的操作按钮,可以参考图4,图4示出了根据本发明的一个实施例的基于浏览器的网页互动的方法中浏览器窗口的屏幕截图示例,如图4所示,可以在浏览器窗口中显示的该浏览器所结合的即时消息应用的用户界面上显示操作按钮,如图4中的“好友留言”按钮和“网友互动”按钮,当用户点击或触击其中任意一个操作按钮时,可以根据该操作按钮对应的互动内容类型,向服务器发送携带该互动内容类型的互动内容访问请求,以请求服务器根据该请求检索并返回相应的互动内容,服务器接收到该请求,可以根据该请求中携带的该网页的URL以及互动内容类型检索相应的互动内容,并返回。其中,如果用户点击或触击的操作按钮对应的互动内容类型为针对当前网页且目标接收用户为所述用户的互动内容,则所述请求中携带的参数还可以包括所述用户的账号(该账号即该用户注册的与该浏览器结合的即时消息应用的账号,该用户需要通过账号登录该浏览器结合的即时消息应用),服务器可以根据该请求中携带的该用户的账号查询目标接收用户为该用户的针对当前网页的互动内容,并向浏览器返回检索到的互动内容;如果用户点击或触击的操作按钮对应的互动内容类型为针对当前网页的全部互动内容,则服务器可以检索所有针对当前网页的互动内容,并向浏览器返回检索到的互动内容。服务器可以返回预定数量的互动内容,例如,根据互动内容发布时间,返回最近发布的100 条互动内容,即,按发布时间排序后,距离当前时间点最近的100条互动内容。
在步骤S320处,接收服务器根据所述请求返回的相应的互动内容。即,接收服务器根据该互动内容访问请求检索到的相应的互动内容。
所述相应的互动内容可以包括针对当前网页上的一个或多个元素的互动内容。其中,所述元素可以包括:网页上的语句、词语、图片等。根据本发明的实施例,所述互动内容访问请求中携带的参数还可以包括:所述用户的好友用户的账号。所述相应的互动内容还可以包括所述用户的好友用户针对当前网页上的一个或多个元素的互动内容。也就是说,当向浏览器发送的互动内容访问请求中携带有该用户的好友用户的账号时,接收到的服务器返回的相应的互动内容,可以为该用户的好友用户针对该网页上的一个或多个元素发表的评论,或该用户的好友用户针对该网页上的一个或多个元素给该用户的留言。
在步骤S330处,在预定显示位置显示所述相应的互动内容。即,在浏览器的预定显示位置显示服务器根据该互动内容访问请求返回的相应的互动内容。其中,所述相应的互动内容可以包括针对当前网页上的一个或多个元素的互动内容。所述预定显示定位置可以为在浏览器上预先设置的显示位置,或者还可以为在当前网页上距离该一个或多个元素第一预定距离处设置一个显示位置,例如,参考图4,可以在距该一个或多个元素中每个元素第一预定距离处设置一个悬浮框,将每个元素的互动内容分别显示在为每个元素设置的悬浮框内。
根据本发明的一个实施例,还可以监听当前网页上的鼠标悬停操作,当所述一个或多个元素中任意一个元素上发生鼠标悬停操作时,显示针对所述元素的互动内容。
具体而言,当接收到服务器返回的针对当前网页上一个或多个元素的互动内容时,可以根据该一个或多个的元素的在网页中的相对位置(XPath)获取该一个或多个元素,并监听该一个或多个元素上的鼠标悬停操作(onMouseOver事件),当鼠标指针悬停在该一个或多个元素中的任意一个元素上时,可以显示该元素对应的互动内容,即,显示针对该元素的互动内容。具体地,可以将该元素对应的互动内容显示在距该元素第二预定距离处。并且,还可以监听该元素上的鼠标移出操作(onMouseOut事件),当鼠标指针从该元素移出时,停止显示针对该元素的互动内容。例如,可以如图4所示,当监听到鼠标指针悬停在当前网页任意一个有互动内容的元素上时,将该元素对应的互动内容显示在距该元素第二预定距离处的悬浮框内,当鼠标指针从该元素移出时,停止显示该悬浮框。
根据本发明的一个实施例,还可以监听当前网页上的鼠标点击操作,当显示在预定位置上的一个或多个标记中的任意一个标记上发生鼠标点击操作时,显示所述标记对应的互动内容。
具体地,所述一个或多个标记分别与针对所述一个或多个元素的互动内容对应,针对所述一个或多个元素的互动内容对应的一个或多个标记显示在所述浏览器的预定位置上。也就是说,针对每个元素的互动内容对应的一个标记,以标记针对该元素具有互动内容,该标记可以显示在浏览器的预定位置上。例如,可以如图4所示,在浏览器显示窗口下方预先设置一显示位置,以显示该一个或多个标记,在图4中,显示在浏览器窗口底部的“好友互动”标识附近的两个带有数字的标记分别对应当前网页上两个元素的互动内容,该互动内容为该用户的好友针对该两个元素的互动内容(例如,针对该元素的评论内容),每个标记上的数字为该标记的标识号,用来标识该标记对应的元素和互动内容,当此处显示的为“网友互动”标记时,表示该两个标记对应的是所有用户针对当前网页上的元素的互动内容。根据本实施例,当用户进行互动内容访问操作时,如果点击的是“好友留言”按钮,则可以在浏览器窗口底部显示“好友互动”标识以及该用户的好友针对当前网页的一个或多个元素的互动内容对应的一个或多个标记,如果点击的是“网友互动”按钮,则可以显示“网友互动”标识以及所有用户针对当前网页的一个或多个元素的互动内容对应的一个或多个标记。
监听当前页面上该一个或多个标记上发生的鼠标点击操作,当任意一个标记上发生鼠标点击操作时,即,用户对该标记进行鼠标点击,显示该标记对应的互动内容,其中,该互动内容可以显示在距离该互动内容对应的元素预定距离的区域内,例如,可以如图4所示将该互动内容显示在其对应的元素附近距该元素预定距离的悬浮框内,其中,带有标识号为“1”的标记的悬浮框内显示的互动内容对应地为浏览器显示窗口底部显示的标识号为“1”的标记对应的互动内容。
根据本发明的实施例,基于浏览器的网页互动的方法还可以包括步骤S340~S350。
在步骤S340处,接收用户输入的针对当前网页上任意一个元素的互动内容。
具体而言,用户如果想要针对当前网页上的一个元素发表互动内容,例如,评论、留言等,可以选中该元素,并在预定输入位置输入想要发表的互动内容,该预定输入位置可以为在浏览器窗口上显示的一输入框,如图4所示,可以在浏览器窗口底部设置一输入框,或者该预定输入位置还可以为显示在所述元素附近、距所述元素特定距离的悬浮输入框。
在步骤S350处,根据所述用户选择的互动方式,向服务器发送互动内容存储请求,以请求服务器存储所述互动内容。
其中,用户选择的互动方式可以为该用户选中该网页上一个元素时,根据显示的互动方式选项选择的互动方式,例如,当用户鼠标左键选中当前网页上的一个元素或用鼠标右键单击当前网页上的元素时,可以在该元素附近显示一个悬浮选项框,用户可以在该悬浮选项框中选择互动方式,并输入想要发布的互动内容。当接收到用户输入的互动内容时,可以根据用户选择的互动方式,向服务器发送互动内容存储请求,以请求服务器根据该请求存储该互动内容。其中,所述互动方式可以包括:网友互动和好友互动,当用户选择的互动方式为网友互动时,所述请求中携带的参数可以包括当前网页的URL、所述元素在当前网页的相对位置、所述互动内容以及所述用户的账号,服务器根据上述参数存储该互动内容。当该用户选择的互动方式为好友互动时(即,该用户想要向自己的好友发送互动内容),所述互动内容存储请求中携带的参数除了包括上述参数之外还可以包括目标接收用户的账号,服务器对该互动内容进行存储。
根据本发明的一个实施例,基于浏览器的网页互动的方法还可以包括显示所述用户输入的针对当前网页上任意一个元素的互动内容的步骤。即,当用户输入了针对当前网页上任意一个元素的互动内容,并确认发布(例如,点击发布按钮,将输入的内容发送出去)时,将该互动内容显示出来,其中,可以将该互动内容显示在预先设置的显示区域内。如图4所示,可以在浏览器窗口底部显示一输入框,并且,还可以相应的显示一确认发送的按钮(图4中为“发送”按钮),当用户在输入框中输入互动内容,并点击或触击“发送”按钮时,将该用户输入的互动内容显示在浏览器窗口底部的输入框上方的显示区域。其中,当用户与其相关用户进行在线实时信息互动时,也可以采用上述示例的方法显示用户及其相关用户各自发送的互动内容。
采用上述步骤所描述的技术方案,用户只需注册一个即时消息应用账号即可与其他用户针对任意网页的内容进行互动,其中,用户与其他用户所进行的互动,例如,针对网页上某一个元素的评论或留言可以是在线实时进行的。
本发明的再一方面还提供了一种基于浏览器的访问网站对应的群组的方法。
如图5所示,图5是根据本发明一个实施例的基于浏览器的访问网站对应的群组的方法的流程图,其中,所述浏览器结合了即时消息应用。
在步骤S510处,当用户通过所述浏览器访问任意一个网站时,向服务器发送群组信息获取请求,以请求所述服务器根据所述请求返回所述网站对应的一个或多个群组的信息。
具体而言,该群组信息获取请求中携带的参数可以包括所述网站的域名,当用户访问某网站时,向服务器发送携带有该网站域名的群组信息获取请求,服务器接收到该请求时,根据该域名检索并返回该网站对应的一个或多个群组的信息,其中,每个群组的信息可以包括:所述群组的 名称和/或群组账号。
其中,一个网站对应的群组在服务器中保存的数据格式,可以如下所示:
<网站域名>
<兴趣组1,群组用户的id:a、b、c、d......,互动内容:<id:a,内容:m1,时间:t1>、<id:b,内容:m2,时间:t2>......>
<兴趣组2,群组用户的id:h、i、j、k.......互动内容:<id:h,内容:m1,时间:t1>、<id:i,内容:m2,时间:t2>......>
......
在步骤S520处,接收服务器返回的所述网站对应的一个或多个群组的信息,并显示所述网站对应的一个或多个群组的信息。即,接收服务器根据该群组内容访问请求检索并返回的该网站对应的一个或多个群组的信息,并向该用户显示该一个或多个群组的信息。例如,可以如图6所示,图6示出了根据本发明的一个实施例的基于浏览器的访问网站对应的群组的方法中浏览器所结合的即时消息应用的用户界面的屏幕截图示例,其中该用户界面显示在浏览器窗口中。在图6中,在用户界面上“该站的兴趣组”下显示的信息即为当前网站对应的一个或多个群组的信息,其中,显示的每个群组的信息可以包括该群组的名称和/或群组账号。
根据本发明的实施例,基于浏览器的访问网站对应的群组的方法还可以包括步骤S530~S540。
在步骤S530处,当用户触发对所述一个或多个群组中的任意一个群组的访问操作时,向服务器发送访问所述群组的群组访问请求。其中,所述群组访问请求中携带有所述网站的域名、所述群组的名称和/或群组账号。
具体地,当用户对该网站对应的一个或多个群组中某一个群组感兴趣时,可以触发对该群组的访问操作,该访问操作例如可以为点击该群组的名称或群组账号的操作,当检测到该用户触发了该群组的访问操作时,向服务器发送访问该群组的群组访问请求。其中,所述群组访问请求中携带的参数可以包括:所述网站的域名、所述群组的名称和/或群组账号。
在步骤S540处,接收服务器返回的所述群组的一个或多个群组用户的账号以及所述群组的互动内容。服务器接收到该群组访问请求时,根据该请求中携带的参数查询用户想要访问的群组的所有群组用户的账号以及该群组的互动内容,其中服务器返回该群组的互动内容可以为该群组的所有互动内容的一部分,例如,只返回按时间排序的发布时间距当前时间点最近的100条互动内容(例如,留言内容)。
根据本发明的一个实施例,基于浏览器的访问网站对应的群组的方法还可以包括当所述用户触发加入所述一个或多个群组中的任意一个群组的加入操作时,向服务器发送群组加入请求,以请求所述服务器将所述用户的账号添加到所述群组中的步骤。
当用户想加入所述一个或多个群组中的任意一个群组时,例如,针对某一话题的讨论组或针对某一特定事物的兴趣组,可以触发加入该群组的加入操作,当检测到用户触发了某个群组的加入操作时,向服务器发送群组加入请求,其中,所述群组加入请求中携带的参数可以包括:所述网站的域名、所述群组的名称和/或群组账号以及所述用户的账号服务器接收到该请求时,根据该请求中携带的网站的域名、群组的名称和/或群组账号以及用户的账号,查找保存的该群组的信息,并将该用户的账号添加到该群组中。
根据本发明的一个实施例,基于浏览器的访问网站对应的群组的方法还可以包括接收所述用户输入的针对其所属的任意一个群组的消息以及向服务器发送消息存储请求,以请求所述服务器存储所述消息的步骤。
当用户想在自己所属的群组(例如,兴趣组)中发送消息时,例如,与同组用户进行在线群 聊时,可以在浏览器的预定互动区域的消息输入框内输入想发送的消息,当接收到用户输入的消息时,可以向服务器发送消息存储请求,以请求服务器存储该条消息。其中,所述消息存储请求中携带的参数可以包括:所述网站的域名、所述群组的名称和/或群组账号、所述用户的账号以及所述消息。
本发明还提供了一种基于浏览器的网站互动的装置。如图7所示,图7是根据本发明一个实施例的基于浏览器的网站互动的装置700的结构框图。
装置700可以包括:第一请求模块710以及第一接收模块720。
其中,第一请求模块710可以用于当用户通过所述浏览器访问任意一个网站时,向服务器发送互动内容访问请求,以请求所述服务器返回针对所述网站的互动内容。所述互动内容访问请求中携带的参数包括:所述网站的URL。
第一接收模块720可以用于接收服务器根据所述请求返回的针对所述网站的互动内容。
根据本发明的一个实施例,装置700还可以包括:第一显示模块,该模块可以用于当所述用户进行互动内容查看操作时,根据所述用户选择的要查看的互动内容类型,显示相应的互动内容。其中,所述互动内容类型可以包括:针对所述网站的全部互动内容以及所述用户的相关用户针对所述网站的互动内容。
根据本发明的一个实施例,所述互动内容访问请求中携带的参数还可以包括:所述用户的账号。
根据本发明的一个实施例,装置700还可以包括第二接收模块和第二请求模块。
其中,第二接收模块可以用于接收用户输入的针对当前网站的互动内容。
第二请求模块可以用于向服务器发送互动内容存储请求,以请求服务器根据所述请求存储所述互动内容。所述互动内容存储请求中携带的参数可以包括:所述网站的URL、所述用户的账号以及所述互动内容。
根据本发明的一个实施例,装置700还可以包括第二显示模块,该模块可以用于将所述用户输入的针对当前网站的互动内容显示在浏览器的预定显示位置上。
本发明的另一方面还提供了一种基于浏览器的网页互动的装置。如图8所示,图8是根据本发明一个实施例的基于浏览器的网页互动的装置800的结构框图。其中所述浏览器结合了即时消息应用。
装置800可以包括第一请求模块810、第一接收模块820和显示模块830。
其中,第一请求模块810可以用于当用户进行对当前网页的互动内容访问操作时,根据所述操作向服务器发送互动内容访问请求,以请求服务器根据所述请求返回相应的互动内容。所述请求中携带的参数可以包括:当前网页的URL。
第一接收模块820可以用于接收服务器根据所述请求返回的相应的互动内容。所述相应的互动内容可以包括针对当前网页上的一个或多个元素的互动内容。
显示模块830可以用于在预定显示位置显示所述相应的互动内容。
根据本发明的一个实施例,所述互动内容访问请求中携带的参数还可以包括:互动内容类型,其中,所述互动内容类型可以是根据所述用户进行的互动内容访问操作确定的,所述互动内容类型可以包括:针对当前网页的全部互动内容以及针对当前网页且目标接收用户为所述用户的互动内容。
根据本发明的一个实施例,所述互动内容访问请求中携带的参数还可以包括:所述用户的账号。
根据本发明的一个实施例,装置800还可以包括:第一监听模块,该第一监听模块可以用于监听当前网页上的鼠标悬停操作。
所述显示模块可以进一步用于:当所述一个或多个元素中任意一个元素上发生鼠标悬停操作时,显示针对所述元素的互动内容。
根据本发明的一个实施例,装置800还可以包括:第二监听模块,该第二监听模块可以用于监听当前网页上的鼠标点击操作。
所述显示模块可以进一步用于:当显示在预定位置上的一个或多个标记中的任意一个标记上发生鼠标点击操作时,显示所述标记对应的互动内容。其中,所述一个或多个标记分别与针对当前网页上一个或多个元素的互动内容对应。
根据本发明的一个实施例,所述请求中携带的参数还可以包括:所述用户的好友用户的账号;所述互动内容可以包括所述用户的好友用户针对当前网页上的一个或多个元素的互动内容。
根据本发明的一个实施例,装置800还可以还包括:第二接收模块和第二请求模块。
其中,第二接收模块可以用于接收用户输入的针对当前网页上任意一个元素的互动内容。
第二请求模块可以用于根据所述用户选择的互动方式,向服务器发送互动内容存储请求,以请求服务器存储所述互动内容。
根据本发明的一个实施例,装置800还可以包括第二显示模块,可以用于显示所述用户输入的针对当前网页上任意一个元素的互动内容。
根据本发明的一个实施例,所述互动内容存储请求中携带的参数可以包括:当前网页的URL、所述元素在当前网页的相对位置(XPath)、所述互动内容以及所述用户的账号。
根据本发明的一个实施例,所述存储请求中携带的参数还可以包括:目标接收用户的账号。
本发明的再一方面还提供了一种基于浏览器的访问网站对应的群组的装置。如图9所示,图9是根据本发明一个实施例的基于浏览器的访问网站对应的群组的装置900的结构框图。其中,所述浏览器结合了即时消息应用。
装置900可以包括:第一请求模块910、第一接收模块920和显示模块930。
其中,第一请求模块910可以用于当用户通过所述浏览器访问任意一个网站时,向服务器发送群组信息获取请求,以请求所述服务器根据所述请求返回所述网站对应的一个或多个群组的信息。
第一接收模块920可以用于接收服务器返回的所述网站对应的一个或多个群组的信息。
显示模块930可以用于显示所述网站对应的一个或多个群组的信息。
根据本发明的一个实施例,装置900还可以包括:第二请求模块和第二接收模块。
其中,第二请求模块可以用于当用户触发对所述一个或多个群组中的任意一个群组的访问操作时,向服务器发送访问所述群组的群组访问请求。其中,所述群组访问请求中携带的参数可以包括:所述网站的域名、所述群组的名称和/或群组账号。
第二接收模块可以用于接收服务器返回的所述群组的一个或多个群组用户的账号以及所述群组的互动内容。
根据本发明的一个实施例,装置900还可以包括:第三请求模块,该模块可以用于当所述用户触发加入所述一个或多个群组中的任意一个群组的加入操作时,向服务器发送群组加入请求,以请求所述服务器将所述用户的账号添加到所述群组中。其中,所述群组加入请求中携带的参数可以包括:所述网站的域名、所述群组的名称和/或群组账号以及所述用户的账号。
根据本发明的一个实施例,装置900还可以包括:第三接收模块和第四请求模块。
其中,第三接收模块可以用于接收所述用户针对其所属的任意一个群组输入的消息。
第四请求模块可以用于向服务器发送消息存储请求,以请求所述服务器存储所述消息。其中,所述消息存储请求中携带的参数可以包括:所述网站的域名、所述群组的名称和/或群组账号、所述用户的账号以及所述消息。
以上描述的基于浏览器的网站互动的装置、网页互动的装置以及访问网站对应的群组的装置分别与之前描述的网站互动的方法、网页互动的方法以及访问网站对应的群组的方法的处理是对应的,因此,关于更详细的技术细节,可以参见之前描述的方法。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的基于浏览器的网站互动的装置、基于浏览器的网页互动的装置以及基于浏览器的访问网站对应的群组的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图10示出了可以实现根据本发明的方法的用户终端,例如前述的基于浏览器的网站互动的方法、基于浏览器的网页互动的方法或基于浏览器的访问网站对应的群组的方法。该用户终端传统上包括处理器1010和以存储器1020形式的计算机程序产品或者计算机可读介质。存储器1020可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1020具有用于执行上述方法中的任何方法步骤的程序代码1031的存储空间1030。例如,用于程序代码的存储空间1030可以包括分别用 于实现上面的方法中的各种步骤的各个程序代码1031。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图11所述的便携式或者固定存储单元。该存储单元可以具有与图10的用户终端中的存储器1020类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码1031’,即可以由例如诸如1010之类的处理器读取的代码,这些代码当由用户终端运行时,导致该用户终端执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (40)

  1. 一种基于浏览器的网站互动的方法,其中所述浏览器结合了即时消息应用,其中,包括:
    当用户通过所述浏览器访问网站时,向服务器发送互动内容访问请求,以请求所述服务器返回针对所述网站的互动内容,所述互动内容访问请求中携带的参数包括:所述网站的URL;以及
    接收服务器根据所述请求返回的针对所述网站的互动内容。
  2. 根据权利要求1所述的方法,其中,还包括:
    当所述用户进行互动内容查看操作时,根据所述用户选择的要查看的互动内容类型,显示相应的互动内容;其中,所述互动内容类型包括:针对所述网站的全部互动内容以及所述用户的相关用户针对所述网站的互动内容。
  3. 根据权利要求1或2所述的方法,其中,所述互动内容访问请求中携带的参数还包括:所述用户的账号。
  4. 根据权利要求1所述的方法,其中,还包括:
    接收用户输入的针对当前网站的互动内容;以及
    向服务器发送互动内容存储请求,以请求服务器根据所述请求存储所述互动内容,所述互动内容存储请求中携带的参数包括:所述网站的URL、所述用户的账号以及所述互动内容。
  5. 根据权利要求4所述的方法,其中,还包括:
    将所述用户输入的针对当前网站的互动内容显示在浏览器的预定显示位置上。
  6. 一种基于浏览器的网页互动方法,其中所述浏览器结合了即时消息应用,其中,包括:
    当用户进行对浏览器当前网页的互动内容访问操作时,根据所述操作向服务器发送互动内容访问请求,以请求服务器根据所述请求返回相应的互动内容,所述请求中携带的参数包括:当前网页的URL;
    接收服务器根据所述请求返回的相应的互动内容,所述相应的互动内容包括针对当前网页上的一个或多个元素的互动内容;以及
    在预定显示位置显示所述相应的互动内容。
  7. 根据权利要求6所述的方法,其中,所述互动内容访问请求中携带的参数还包括:互动内容类型,其中,所述互动内容类型是根据所述用户进行的互动内容访问操作确定的,所述互动内容类型包括:针对当前网页的全部互动内容以及针对当前网页且目标接收用户为所述用户的互动内容。
  8. 根据权利要求6或7所述的方法,其中,所述请求中携带的参数还包括:所述用户的账号。
  9. 根据权利要求6所述的方法,其中,还包括:
    监听当前网页上的鼠标悬停操作;以及
    当所述一个或多个元素中任意一个元素上发生鼠标悬停操作时,显示针对所述元素的互动内容。
  10. 根据权利要求6所述的方法,其中,还包括:
    监听当前网页上的鼠标点击操作;以及
    当显示在预定位置上的一个或多个标记中的任意一个标记上发生鼠标点击操作时,显示所述标记对应的互动内容,其中,所述一个或多个标记分别与针对当前网页上一个或多个元素的互动内容对应。
  11. 根据权利要求6所述的方法,其中,所述请求中携带的参数还包括:所述用户的好友用 户的账号;所述相应的互动内容包括所述用户的好友用户针对当前网页上的一个或多个元素的互动内容。
  12. 根据权利要求6所述的方法,其中,还包括:
    接收用户输入的针对当前网页上任意一个元素的互动内容;以及
    根据所述用户选择的互动方式,向服务器发送互动内容存储请求,以请求服务器存储所述互动内容。
  13. 根据权利要求12所述的方法,其中,还包括:显示所述用户输入的针对当前网页上任意一个元素的互动内容。
  14. 根据权利要求12所述的方法,其中,所述互动内容存储请求中携带的参数包括:当前网页的URL、所述元素在当前网页的相对位置、所述互动内容以及所述用户的账号。
  15. 根据权利要求12或14所述的方法,其中,所述互动内容存储请求中携带的参数还包括:目标接收用户的账号。
  16. 一种基于浏览器的访问网站对应的群组的方法,其中所述浏览器结合了即时消息应用,其中,包括:
    当用户通过所述浏览器访问任意一个网站时,向服务器发送群组信息获取请求,以请求所述服务器根据所述请求返回所述网站对应的一个或多个群组的信息;以及
    接收服务器返回的所述网站对应的一个或多个群组的信息,并显示所述网站对应的一个或多个群组的信息;
  17. 根据权利要求16所述的方法,其中,还包括:
    当用户触发对所述一个或多个群组中的任意一个群组的访问操作时,向服务器发送访问所述群组的群组访问请求,其中,所述群组访问请求中携带的参数包括:所述网站的域名、所述群组的名称和/或群组账号;以及
    接收服务器返回的所述群组的一个或多个群组用户的账号以及所述群组的互动内容。
  18. 根据权利要求16所述的方法,其中,还包括:
    当所述用户触发加入所述一个或多个群组中的任意一个群组的加入操作时,向服务器发送群组加入请求,以请求所述服务器将所述用户的账号添加到所述群组中,其中,所述群组加入请求中携带的参数包括:所述网站的域名、所述群组的名称和/或群组账号以及所述用户的账号。
  19. 根据权利要求16所述的方法,其中,还包括:
    接收所述用户输入的针对其所属的任意一个群组的消息;以及
    向服务器发送消息存储请求,以请求所述服务器存储所述消息,其中,所述消息存储请求中携带的参数包括:所述网站的域名、所述群组的名称和/或群组账号、所述用户的账号以及所述消息。
  20. 一种基于浏览器的网站互动的装置,其中所述浏览器结合了即时消息应用,其中,包括:
    第一请求模块,用于当用户通过所述浏览器访问任意一个网站时,向服务器发送互动内容访问请求,以请求所述服务器返回针对所述网站的互动内容,所述互动内容访问请求中携带的参数包括:所述网站的URL;以及
    第一接收模块,用于接收服务器根据所述请求返回的针对所述网站的互动内容。
  21. 根据权利要求20所述的装置,其中,还包括:
    第一显示模块,用于当所述用户进行互动内容查看操作时,根据所述用户选择的要查看的互动内容类型,显示相应的互动内容;其中,所述互动内容类型包括:针对所述网站的全部互动内容以及所述用户的相关用户针对所述网站的互动内容。
  22. 根据权利要求20或21所述的装置,其中,所述互动内容访问请求中携带的参数还包括: 所述用户的账号。
  23. 根据权利要求20所述的装置,其中,还包括:
    第二接收模块,用于接收用户输入的针对当前网站的互动内容;以及
    第二请求模块,用于向服务器发送互动内容存储请求,以请求服务器根据所述请求存储所述互动内容,所述互动内容存储请求中携带的参数包括:所述网站的URL、所述用户的账号以及所述互动内容。
  24. 根据权利要求23所述的装置,其中,还包括:
    第二显示模块,用于将所述用户输入的针对当前网站的互动内容显示在浏览器的预定显示位置上。
  25. 一种基于浏览器的网页互动装置,其中所述浏览器结合了即时消息应用,包括:
    第一请求模块,用于当用户进行对当前网页的互动内容访问操作时,根据所述操作向服务器发送互动内容访问请求,以请求服务器根据所述请求返回相应的互动内容,所述请求中携带的参数包括:当前网页的URL;
    第一接收模块,用于接收服务器根据所述请求返回的相应的互动内容,所述相应的互动内容包括针对当前网页上的一个或多个元素的互动内容;以及
    显示模块,用于在预定显示位置显示所述相应的互动内容。
  26. 根据权利要求25所述的装置,其中,所述互动内容访问请求中携带的参数还包括:互动内容类型,其中,所述互动内容类型是根据所述用户进行的互动内容访问操作确定的,所述互动内容类型包括:针对当前网页的全部互动内容以及针对当前网页且目标接收用户为所述用户的互动内容。
  27. 根据权利要求25或26所述的装置,其中,所述请求中携带的参数还包括:所述用户的账号。
  28. 根据权利要求25所述的装置,其中,还包括:
    第一监听模块,用于监听当前网页上的鼠标悬停操作;
    所述显示模块进一步用于:当所述一个或多个元素中任意一个元素上发生鼠标悬停操作时,显示针对所述元素的互动内容。
  29. 根据权利要求25所述的装置,其中,还包括:
    第二监听模块,用于监听当前网页上的鼠标点击操作;
    所述显示模块进一步用于:当显示在预定位置上的一个或多个标记中的任意一个标记上发生鼠标点击操作时,显示所述标记对应的互动内容,其中,所述一个或多个标记分别与针对当前网页上一个或多个元素的互动内容对应。
  30. 根据权利要求25所述的装置,其中,所述请求中携带的参数还包括:所述用户的好友用户的账号;所述互动内容包括所述用户的好友用户针对当前网页上的一个或多个元素的互动内容。
  31. 根据权利要求25所述的装置,其中,还包括:第二接收模块,用于接收用户输入的针对当前网页上任意一个元素的互动内容;以及第二请求模块,用于根据所述用户选择的互动方式,向服务器发送互动内容存储请求,以请求服务器存储所述互动内容。
  32. 根据权利要求31所述的装置,其中,还包括:第二显示模块,用于显示所述用户输入的针对当前网页上任意一个元素的互动内容。
  33. 根据权利要求31所述的装置,其中,所述互动内容存储请求中携带的参数包括:当前网页的URL、所述元素在当前网页的相对位置、所述互动内容以及所述用户的账号。
  34. 根据权利要求31或33所述的装置,其中,所述存储请求中携带的参数还包括:目标接 收用户的账号。
  35. 一种基于浏览器的访问网站对应的群组的装置,其中所述浏览器结合了即时消息应用,其中,包括:
    第一请求模块,用于当用户通过所述浏览器访问任意一个网站时,向服务器发送群组信息获取请求,以请求所述服务器根据所述请求返回所述网站对应的一个或多个群组的信息;
    第一接收模块,用于接收服务器返回的所述网站对应的一个或多个群组的信息;以及
    显示模块,用于显示所述网站对应的一个或多个群组的信息。
  36. 根据权利要求35所述的装置,其中,还包括:
    第二请求模块,用于当用户触发对所述一个或多个群组中的任意一个群组的访问操作时,向服务器发送访问所述群组的群组访问请求,其中,所述群组访问请求中携带的参数可以包括:所述网站的域名、所述群组的名称和/或群组账号;以及
    第二接收模块,用于接收服务器返回的所述群组的一个或多个群组用户的账号以及所述群组的互动内容。
  37. 根据权利要求35所述的装置,其中,还包括:
    第三请求模块,用于当所述用户触发加入所述一个或多个群组中的任意一个群组的加入操作时,向服务器发送群组加入请求,以请求所述服务器将所述用户的账号添加到所述群组中,其中,所述群组加入请求中携带的参数包括:所述网站的域名、所述群组的名称和/或群组账号以及所述用户的账号。
  38. 根据权利要求35所述的装置,其中,还包括:
    第三接收模块,用于接收所述用户针对其所属的任意一个群组输入的消息;以及
    第四请求模块,用于向服务器发送消息存储请求,以请求所述服务器存储所述消息,其中,所述消息存储请求中携带的参数包括:所述网站的域名、所述群组的名称和/或群组账号、所述用户的账号以及所述消息。
  39. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在用户终端上运行时,导致所述用户终端执行根据权利要求1-5中的任一个所述的基于浏览器的网站互动的方法,或执行根据权利要求6-15中的任一个所述的基于浏览器的网页互动方法,或者执行根据权利要求16-19中任一个所述的基于浏览器的访问网站对应的群组的方法。
  40. 一种计算机可读介质,其中存储了如权利要求39所述的计算机程序。
PCT/CN2015/077655 2014-05-16 2015-04-28 基于浏览器的网站、网页互动及访问群组的方法和装置 WO2015172654A1 (zh)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201410210332.2A CN103986644B (zh) 2014-05-16 2014-05-16 基于浏览器的网站互动的方法及装置
CN201410209219.2 2014-05-16
CN201410210332.2 2014-05-16
CN201410209197.XA CN103984727B (zh) 2014-05-16 2014-05-16 基于浏览器的网页互动的方法及装置
CN201410209219.2A CN103986643B (zh) 2014-05-16 2014-05-16 基于浏览器的访问网站对应的群组的方法及装置
CN201410209197.X 2014-05-16

Publications (1)

Publication Number Publication Date
WO2015172654A1 true WO2015172654A1 (zh) 2015-11-19

Family

ID=54479310

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/077655 WO2015172654A1 (zh) 2014-05-16 2015-04-28 基于浏览器的网站、网页互动及访问群组的方法和装置

Country Status (1)

Country Link
WO (1) WO2015172654A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110048933A (zh) * 2019-04-04 2019-07-23 厦门小圈网络科技有限公司 一种聊天工具中的动静及其使用方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136019A (zh) * 2006-09-01 2008-03-05 腾讯科技(深圳)有限公司 一种浏览器及浏览同一网页的用户之间进行通信的方法
CN102968487A (zh) * 2012-11-26 2013-03-13 北京奇虎科技有限公司 一种实现网页内容评论的浏览器、服务器和方法
CN103984727A (zh) * 2014-05-16 2014-08-13 北京奇虎科技有限公司 基于浏览器的网页互动的方法及装置
CN103986644A (zh) * 2014-05-16 2014-08-13 北京奇虎科技有限公司 基于浏览器的网站互动的方法及装置
CN103986643A (zh) * 2014-05-16 2014-08-13 北京奇虎科技有限公司 基于浏览器的访问网站对应的群组的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136019A (zh) * 2006-09-01 2008-03-05 腾讯科技(深圳)有限公司 一种浏览器及浏览同一网页的用户之间进行通信的方法
CN102968487A (zh) * 2012-11-26 2013-03-13 北京奇虎科技有限公司 一种实现网页内容评论的浏览器、服务器和方法
CN103984727A (zh) * 2014-05-16 2014-08-13 北京奇虎科技有限公司 基于浏览器的网页互动的方法及装置
CN103986644A (zh) * 2014-05-16 2014-08-13 北京奇虎科技有限公司 基于浏览器的网站互动的方法及装置
CN103986643A (zh) * 2014-05-16 2014-08-13 北京奇虎科技有限公司 基于浏览器的访问网站对应的群组的方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110048933A (zh) * 2019-04-04 2019-07-23 厦门小圈网络科技有限公司 一种聊天工具中的动静及其使用方法

Similar Documents

Publication Publication Date Title
US10585550B2 (en) Sponsored story creation user interface
US9928752B2 (en) Social choice engine
US8510379B2 (en) Display of content interaction data in a browser
US8996625B1 (en) Aggregate display of messages
US9172762B2 (en) Methods and systems for recommending a context based on content interaction
US9547697B2 (en) Aggregating interactions for content items
US9167014B2 (en) Presenting question and answer data in a social networking system
TWI477976B (zh) 經由社群訊號建議內容之方法
AU2011215996B2 (en) Identification of message recipients
US8522152B2 (en) Presenting question and answer data in a social networking system
CN103984727B (zh) 基于浏览器的网页互动的方法及装置
US8589807B2 (en) Presenting question and answer data in a social networking system
US20150278180A1 (en) System and method for annotating webpages
US9251260B2 (en) Social network interaction facilitation from search results interface
US11483266B2 (en) Method and system for electronic collaboration
CN103986643B (zh) 基于浏览器的访问网站对应的群组的方法及装置
JP2008310654A (ja) 投稿データ管理サーバ装置、投稿データ管理方法、および投稿データ管理サーバプログラム
CN103986644B (zh) 基于浏览器的网站互动的方法及装置
US20140324543A1 (en) Systems and methods for providing an online voting system
WO2015172654A1 (zh) 基于浏览器的网站、网页互动及访问群组的方法和装置
US9628429B2 (en) Display of common user interests on subscription to a user&#39;s social feed
US20120284327A1 (en) Apparatus and methods for providing real time advice online
US20150106177A1 (en) System and method for enabling a referral of a product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15792024

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15792024

Country of ref document: EP

Kind code of ref document: A1