CN105099858A - Network instant messaging session method and system - Google Patents

Network instant messaging session method and system Download PDF

Info

Publication number
CN105099858A
CN105099858A CN201410204355.2A CN201410204355A CN105099858A CN 105099858 A CN105099858 A CN 105099858A CN 201410204355 A CN201410204355 A CN 201410204355A CN 105099858 A CN105099858 A CN 105099858A
Authority
CN
China
Prior art keywords
instant communication
webpage
user
session
browser
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410204355.2A
Other languages
Chinese (zh)
Other versions
CN105099858B (en
Inventor
张凌
孙琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410204355.2A priority Critical patent/CN105099858B/en
Publication of CN105099858A publication Critical patent/CN105099858A/en
Application granted granted Critical
Publication of CN105099858B publication Critical patent/CN105099858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

A network instant messaging session method comprises the following steps of acquiring a session request, triggered via a webpage control, for communication with a target messaging account; acquiring communication content submitted by a dialog box, for communication with the target messaging account, of a local instant messaging client of a browser; acquiring a user identifier in local storage data of a current domain of the browser; searching a pre-stored webpage access record corresponding to the user identifier; and transmitting the communication content and the webpage access record to a target instant messaging client that is logined via the target messaging account. Apart from providing communication content to a messaging session party, the above method also provides a network access record of another party for the messaging session party, the another party does not need to know the webpage access record of the first party through the communication content, therefore, the messaging session time of both communication parties can be saved, and the messaging session efficiency is improved. In addition, the invention further provides a network instant messaging session system.

Description

Network instant communication session method and system
Technical field
The present invention relates to networking technology area, particularly relate to a kind of network instant communication session method and system.
Background technology
The distance that the development of network technology has furthered between people, can carry out communication session by network between two users being in strange land.JICQ is used namely to be a kind of approach carrying out communication session between the network user.
General, first user and the second user use JICQ to carry out communication session can to carry out according to following process: first user access of instant communicating client, second user is added as a friend, instant communication client is opened the dialog box carrying out with the second user conversing, dialog context is submitted in dialog box, the instant communication client that dialog context sends to the second user to log in by the instant communication client that first user logs in, the instant communication client that second user logs in shows dialog context, thus the communication session completed between first user and the second user.
Communication session mode between the above-mentioned network user, wherein a side can only get the dialog context that the opposing party sends, and cannot automatic acquisition to the relevant information of other network behavior of the opposing party.
Summary of the invention
Based on this, be necessary to provide a kind of network instant communication session method and system that the access to netwoks record of the opposing party can be provided to communication one side.
A kind of network instant communication session method, comprises the following steps:
Obtain triggered by webpage control carry out the session request of conversing with destinations traffic account;
Obtain the dialog context submitted to for the dialog box carrying out conversing with described destinations traffic account of the instant communication client of browser this locality;
Obtain the user ID in the local data on file of the current domain name of browser;
Search the web page access record prestored that described user ID is corresponding;
By the target instant communication client that described dialog context and described web page access record send to described destinations traffic account to log in.
A kind of network instant communication session method, comprises the following steps:
Visitor Logs device obtain triggered by webpage control carry out the session request of conversing with destinations traffic account;
Visitor Logs device obtains the user ID in the local data on file of the current domain name of browser, user ID and described destinations traffic account is sent to the instant communication client of browser this locality;
The instant communication client of browser this locality obtains the dialog context that the dialog box that is used for carrying out conversing with destinations traffic account is submitted to, and described dialog context and the local communication account of current login and the described destinations traffic account of reception and user ID are sent to instant communication server;
Instant communication server obtains described local communication account and session identification corresponding to destinations traffic account, sets up the mapping relations between described user ID and described session identification;
The target instant communication client that described dialog context sends to described destinations traffic account to log in by instant communication server;
The request pulling the web page access record of session opposite end that instant communication server receiving target instant communication client sends, request comprises session intercommunication account;
Instant communication server searches session identification corresponding to session intercommunication account, and searches corresponding user ID according to session identification, searches the corresponding web page access record prestored further according to user ID;
The target instant communication client that the web page access record found sends to destinations traffic account to log in by instant communication server.
A kind of network instant communication conversational system, comprising:
Session acquisition request module, for obtain triggered by webpage control carry out the session request of conversing with destinations traffic account;
Dialog context acquisition module, for obtaining the dialog context submitted to for the dialog box carrying out conversing with described destinations traffic account of the instant communication client of browser this locality;
User ID acquisition module, for obtaining the user ID in the local data on file of the current domain name of browser;
Visitor Logs searches module, for searching the web page access record prestored corresponding to described user ID;
Call and access sending module, for the target instant communication client sending to described destinations traffic account to log in described dialog context and described web page access record.
A kind of network instant communication conversational system, comprise Visitor Logs device, instant communication server and local instant communication client, described Visitor Logs device is embedded in browser, and described local instant communication client is the instant client of described browser this locality;
Described Visitor Logs device for obtain triggered by webpage control carry out the session request of conversing with destinations traffic account;
User ID and described destinations traffic account, also for obtaining the user ID in the local data on file of the current domain name of browser, are sent to described local instant communication client by described Visitor Logs device;
The dialog context that described local instant communication client is submitted to for the dialog box obtained for carrying out conversing with destinations traffic account, sends to instant communication server by described dialog context and the local communication account of current login and the described destinations traffic account of reception and user ID;
Described instant communication server, for obtaining described local communication account and session identification corresponding to destinations traffic account, sets up the mapping relations between described user ID and described session identification;
The target instant communication client of described instant communication server also for being sent to by described dialog context described destinations traffic account to log in;
Described instant communication server is also for the request pulling the web page access record of session opposite end that receiving target instant communication client sends, and request comprises session intercommunication account;
Described instant communication server is also for searching session identification corresponding to described session intercommunication account, and search corresponding user ID according to the session identification of described correspondence, search the corresponding web page access record prestored according to the user ID of described correspondence further;
Described instant communication server is also for sending to described target instant communication client by the web page access found record.
Above-mentioned network instant communication session method and system, after getting the session request carrying out with destinations traffic account communicating, the target instant communication client not only destinations traffic account being sent to log in the dialog context of destinations traffic account, also obtain the user ID in the local data on file of the current domain name of browser, and search the web page access record prestored corresponding to user ID, namely the web page access record of operating browser as the user of front opening webpage is obtained, by the target instant communication client that this web page access record sends to destinations traffic account to log in, said method and system are except providing dialog context to a side of communication session, the access to netwoks record of the opposing party also can be provided to a side of communication session, the opposing party does not need the web page access record being understood first party by dialog context, thus the communication session time of both call sides can be saved, improve communication session efficiency.
In addition, in said method and system, destinations traffic account is not needed to add as a friend, what only need to be triggered by webpage control carries out the session request of conversing with destinations traffic account, communication session can be carried out with destinations traffic account, thus simplify the operating procedure of carrying out communication session with destinations traffic account.
Accompanying drawing explanation
Figure 1A is the schematic flow sheet of the network instant communication session method in an embodiment;
Figure 1B is the schematic flow sheet of the network instant communication session method in an embodiment;
Fig. 2 sequential chart that is network instant communication session method in an embodiment under a concrete application scenarios;
Fig. 3 is the structural representation of the network instant communication conversational system in an embodiment;
Fig. 4 is the structural representation of the network instant communication conversational system in an embodiment;
Fig. 5 is the structural representation of the network instant communication conversational system in an embodiment;
Fig. 6 is the structural representation of the network instant communication conversational system in an embodiment;
Fig. 7 is the structural representation of the network instant communication conversational system in an embodiment;
Fig. 8 is the structural representation of the network instant communication conversational system in an embodiment;
Fig. 9 A is the structural representation of the network instant communication conversational system in an embodiment;
Fig. 9 B is the structural representation of the network instant communication conversational system in an embodiment;
Figure 10 is the structural representation of the Visitor Logs device in an embodiment;
Figure 11 is the structural representation of the Visitor Logs device in an embodiment;
Figure 12 is the structural representation of the network instant communication conversational system in an embodiment;
Figure 13 is the structural representation of the instant communication server 30 in an embodiment;
Figure 14 is the structural representation of the network instant communication conversational system in an embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1A, in one embodiment, a kind of network instant communication session method, comprises the following steps:
Step S102, obtain triggered by webpage control carry out the session request of conversing with destinations traffic account.
Above-mentioned webpage control carries out the session request of conversing for the destinations traffic account triggered and specify, when webpage control is clicked, and can triggering session request.This webpage control can be the icon etc. flown on webpage, and the image on icon is can click the image that this icon carries out conversing by indicating user.
Step S104, obtains the dialog context submitted to for the dialog box carrying out conversing with destinations traffic account of the instant communication client of browser this locality.
Before step S104, above-mentioned network instant communication session method also comprises step: detect whether opening for the dialog box carrying out conversing with destinations traffic account of the instant communication client of browser this locality, if not, then open for carrying out with destinations traffic account the dialog box conversed.
Before whether the above-mentioned dialog box of detection has been opened, whether the instant communication client that can detect browser this locality has started, and if not, then starts the instant communication client of browser this locality.Instant communication client in browser this locality obtains the login account of input and password and by after login authentication, can open for carrying out with destinations traffic account the dialog box conversed.
Step S106, obtains the user ID in the local data on file of the current domain name of browser.
Browser the current field is called the domain name of browser when the webpage of front opening.The viewed device such as the user profile of number of site is stored in this locality, and the data that these websites store in browser this locality is also called cookies.The local data on file of a certain domain name is that the viewed device of website corresponding to this domain name is stored in local cookies.
In one embodiment, before step S106, above-mentioned network instant communication session method also comprises step: when webpage opened by browser, detect in the local data on file of the current domain name of browser and whether there is user ID, if not, then apply for unique subscriber identification, the user ID of applying for is write in the local data on file of the current domain name of browser.
Step S108, searches the web page access record prestored that user ID in the local data on file of the current domain name of browser is corresponding.
Step S110, by the target instant communication client that the dialog context of acquisition and web page access record send to destinations traffic account to log in.
In one embodiment, above-mentioned network instant communication session method also comprises step: the target instant communication client logged in by destinations traffic account shows above-mentioned dialog context and web page access record.Target instant communication client is after receiving above-mentioned dialog context and web page access record, dialog box can be opened, dialog context is illustrated in the dialog context display area of dialog box, and by the web page access record display region of web page access record display at dialog box.
Before step S108, above-mentioned network instant communication session method also comprises the process obtaining also storage network access to web page record, and this process comprises the following steps:
When webpage opened by browser, obtain webpage relevant information, the webpage opening time of browser when front opening webpage; The webpage relevant information of acquisition and webpage opening time are saved as the web page access record that user ID in the local data on file of the current domain name of browser is corresponding.
Webpage relevant information can comprise web page address, redirect source-information and browser type etc.The redirect source-information of a certain webpage for describe this webpage institute redirect from the information of webpage, can comprise this webpage institute redirect from the web page address of webpage or website domain name etc.
In one embodiment, above-mentioned network instant communication session method also comprises step: calculate according to prefixed time interval the webpage stay time that webpage opened by browser, up-to-date webpage stay time added to and open accordingly in web page access record corresponding to webpage.
The a certain time difference of opening the opening time of webpage of current time and browser can be calculated, this time difference is opened the up-to-date webpage stay time of webpage as this, obtain this and open user ID in the local data on file of the domain name of webpage, the up-to-date webpage stay time this being opened webpage is added in web page access record corresponding to this user ID, if stored webpage stay time in web page access record, then up-to-date webpage stay time is covered original webpage stay time.
As shown in Figure 1B, in one embodiment, a kind of network instant communication session method comprises the following steps network instant communication session method:
Step S112, Visitor Logs device obtain triggered by webpage control carry out the session request of conversing with destinations traffic account.This Visitor Logs device is embedded in browser, is understandable that, the code of this Visitor Logs device is embedded in the code of browser.
Step S114, Visitor Logs device obtains the user ID in the local data on file of the current domain name of browser, user ID and destinations traffic account is sent to the instant communication client of browser this locality.
Before step S114, above-mentioned network instant communication session method also can comprise step: when webpage opened by browser, Visitor Logs device detects in the local data on file of the current domain name of browser whether there is user ID, if not, then to instant communication server application unique subscriber identification, the user ID of applying for is write in the local data on file of the current domain name of browser.
Before user ID and destinations traffic account are sent to the instant communication client of browser this locality, whether the instant communication client that Visitor Logs device can detect browser this locality starts, and if not, then starts the instant communication client of browser this locality.The login account of the instant communication client acquisition input in browser this locality and password are also by after login authentication, and user ID and destinations traffic account can be sent to the instant communication client of browser this locality by Visitor Logs device.
After the instant communication client of browser this locality receives destinations traffic account, above-mentioned network instant communication session method also comprises step: whether the instant communication client of browser this locality detects the dialog box being used for carrying out conversing with destinations traffic account and open, if not, then open for carrying out with destinations traffic account the dialog box conversed.
Step S116, the instant communication client of browser this locality obtains the dialog context that the dialog box that is used for carrying out conversing with destinations traffic account is submitted to, and dialog context and the local communication account of current login and the destinations traffic account of reception and user ID are sent to instant communication server.
Step S118, instant communication server obtains the local communication account and session identification corresponding to destinations traffic account that receive, sets up the mapping relations between user ID and corresponding session identification received.
In one embodiment, instant communication server can search the local communication account of reception and session identification corresponding to destinations traffic account, if find corresponding session identification, then sets up the mapping relations between the user ID of reception and the session identification found; If do not find corresponding session identification, then generate corresponding unique session identification, store the corresponding relation of the session identification of local communication account and destinations traffic account and the generation received, and set up the mapping relations between user ID and the session identification of generation received.
Step S120, the target instant communication client that the dialog context of reception sends to destinations traffic account to log in by instant communication server.
Step S122, the request pulling the web page access record of session opposite end that instant communication server receiving target instant communication client sends, request comprises session intercommunication account.
Step S124, instant communication server searches session identification corresponding to session intercommunication account, and searches corresponding user ID according to session identification, searches the corresponding web page access record prestored further according to user ID.
Step S126, the target instant communication client that the web page access record found sends to destinations traffic account to log in by instant communication server.
Before step S124, above-mentioned network instant communication session method is further comprising the steps of: when webpage opened by browser, Visitor Logs device obtains webpage relevant information, the webpage opening time of browser when front opening webpage, and the user ID obtained in the local data on file of the current domain name of browser, the webpage relevant information of acquisition, webpage opening time and user ID are sent to instant communication server; The webpage relevant information received, webpage opening time are saved as web page access record corresponding to the user ID that receives by instant communication server.
Above-mentioned network instant communication session method also can comprise step: Visitor Logs device according to prefixed time interval by the webpage relevant information opening webpage of browser with open user ID corresponding to webpage and current time correspondence sends to instant communication server; Instant communication server is according to the webpage relevant information opening webpage received and open user ID corresponding to webpage and current time and calculate the webpage stay time opening webpage accordingly, webpage stay time is added to and opens web page access record corresponding to webpage accordingly.
Above-mentioned network instant communication session method also can comprise step: target instant communication client shows the dialog context and web page access record that receive.Target instant communication client is after receiving dialog context, dialog box can be opened, dialog context is illustrated in the dialog context display area of dialog box, target instant communication client, can by the web page access record display region of web page access record display at dialog box after receiving web page access record web page access record.
Above-mentioned network instant communication session method also can comprise step: instant communication server backs up the user ID of each domain name in the local data on file of browser, adds up the total quantity of the user ID of each domain name; And according to the mapping relations between above-mentioned user ID and corresponding session identification, add up the quantity with the user ID of corresponding session identification of each domain name, be designated as number of sessions; Further, instant communication server calculates the session rate of each domain name is the number of sessions of the user ID of each domain name and the ratio of total quantity.
The total quantity of the user ID of a certain domain name reflects the number of users of the website of this domain name of access, the number of sessions of the user ID of this domain name then reflects the number of users of initiation session on the webpage of this domain name, the present embodiment can count the conversion ratio of user from the website of a certain domain name of access to initiation session, and namely the number of users of initiation session accounts for the ratio of the number of users of access websites.
Fig. 2 sequential chart that is network instant communication session method in an embodiment under a concrete application scenarios.As shown in Figure 2, the network instant communication session method in the present embodiment comprises the process catching also memory access record, and this process comprises the following steps:
(1.1) when webpage opened by browser, Visitor Logs device detects in the local data on file of the current domain name of browser whether there is user ID, if, enter step (1.2), if not, then to instant communication server application unique subscriber identification, the user ID of applying for is write in the local data on file of the current domain name of browser, and enters step (1.2).
This Visitor Logs device is embedded in browser, is understandable that, the code of this Visitor Logs device is embedded in the code of browser.
(1.2) Visitor Logs device obtains webpage relevant information, the webpage opening time of browser when front opening webpage, and obtains the user ID in the local data on file of the current domain name of browser.
(1.3) the webpage relevant information of acquisition, webpage opening time and user ID are sent to instant communication server by Visitor Logs device.
(1.4) the webpage relevant information received, webpage opening time are saved as web page access record corresponding to the user ID that receives by instant communication server.
(1.5) Visitor Logs device according to prefixed time interval by the webpage relevant information opening webpage of browser with open user ID corresponding to webpage and current time correspondence sends to instant communication server.Opening user ID corresponding to webpage is user ID in the local data on file of the domain name of webpage.
(1.6) instant communication server searches the webpage relevant information of reception and webpage opening time corresponding to user ID, calculate the time difference of the webpage relevant information that receives and current time corresponding to user ID and corresponding webpage opening time, using the time difference as the up-to-date webpage stay time opening webpage accordingly, this up-to-date webpage stay time is added to and opens web page access record corresponding to webpage accordingly, the web page access record that the user ID namely received is corresponding.
Network instant communication session method in the present embodiment also comprises startup communication session and sends the process of dialog context and web page access record, and this process comprises the following steps:
(2.1) Visitor Logs device obtain triggered by webpage control carry out the session request of conversing with destinations traffic account.
(2.2) Visitor Logs device obtains the user ID in the local data on file of the current domain name of browser.
(2.3) whether the instant communication client (referred to as local instant communication client) that Visitor Logs device can detect browser this locality starts, and if not, then starts local instant communication client.After local instant communication client obtains the login account of input and password also passes through login authentication, the user ID that destinations traffic account and (2.2) obtain can be sent to local instant communication client.If local instant communication client starts, then destinations traffic account and above-mentioned user ID directly can be sent to local instant communication client by Visitor Logs device.
(2.4) after receiving destinations traffic account, whether the dialog box that local instant communication client can detect for carrying out conversing with destinations traffic account is opened, and if not, then opens for carrying out with destinations traffic account the dialog box conversed.
(2.5) dialog context that the dialog box that local instant communication client acquisition is used for carrying out conversing with destinations traffic account is submitted to.
(2.6) this dialog context and the local communication account of current login and the destinations traffic account of reception and user ID are sent to instant communication server by local instant communication client.
(2.7) instant communication server receives dialog context, local communication account, destinations traffic account and the user ID that local instant communication client sends; Instant communication server searches the local communication account of reception and session identification corresponding to destinations traffic account, if find corresponding session identification, then set up the mapping relations between the user ID of reception and the session identification found, if do not find corresponding session identification, then generate corresponding unique session identification, store the corresponding relation of the session identification of local communication account and destinations traffic account and the generation received, and set up the mapping relations between user ID and the session identification of generation received.
(2.8) the instant communication server target instant communication client that sends to destinations traffic account to log in the dialog context of reception.
(2.9) request pulling the web page access record of session opposite end of instant communication server receiving target instant communication client transmission, this request comprises session intercommunication account, and (session intercommunication account comprises self communication account and session opposite end communications account that target instant communication client logs in, the destinations traffic account that self communication account is corresponding above-mentioned, the local communication account that session opposite end communications account is corresponding above-mentioned).
(2.10) instant communication server searches session identification corresponding to the session intercommunication account of reception, and searches corresponding user ID according to session identification, searches the corresponding web page access record prestored further according to user ID.
(2.11) the web page access record found is sent to destinations traffic account instant communication client by instant communication server.
(2.12) target instant communication client shows the dialog context and web page access record that receive.
As shown in Figure 3, in one embodiment, a kind of network instant communication conversational system, comprises session acquisition request module 302, dialog context acquisition module 304, user ID acquisition module 306, Visitor Logs searches module 308 and call and access sending module 310, wherein:
Session acquisition request module 302 for obtain triggered by webpage control carry out the session request of conversing with destinations traffic account.
Above-mentioned webpage control carries out the session request of conversing for the destinations traffic account triggered and specify, when webpage control is clicked, and can triggering session request.This webpage control can be the icon etc. flown on webpage, and the image on icon is can click the image that this icon carries out conversing by indicating user.
User ID acquisition module 304 is for obtaining the dialog context submitted to for the dialog box carrying out conversing with destinations traffic account of the instant communication client of browser this locality.
As shown in Figure 4, in one embodiment, above-mentioned network instant communication conversational system also comprises client terminal start-up detection module 402 and dialog box detection module 404, wherein: whether client terminal start-up detection module 402 starts for the instant communication client that can detect browser this locality, if not, then the instant communication client of browser this locality is started.Instant communication client in browser this locality obtains the login account of input and password and by after login authentication, and dialog box detection module 402 can be opened for carrying out with destinations traffic account the dialog box conversed.
Dialog box detection module 404, for detecting whether opening for the dialog box carrying out conversing with destinations traffic account of the instant communication client of browser this locality, if not, is then opened for carrying out with destinations traffic account the dialog box conversed.
User ID acquisition module 306 is for obtaining the user ID in the local data on file of the current domain name of browser.
Browser the current field is called the domain name of browser when the webpage of front opening.The viewed device such as the user profile of number of site is stored in this locality, and the data that these websites store in browser this locality is also called cookies.The local data on file of a certain domain name is that the viewed device of website corresponding to this domain name is stored in local cookies.
Visitor Logs searches module 308 for searching the web page access record prestored corresponding to user ID in the local data on file of the current domain name of browser.
Call and the target instant communication client of access sending module 310 for sending to destinations traffic account to log in the dialog context of acquisition and web page access record.
As shown in Figure 5, in one embodiment, the communication session system between the above-mentioned network user also comprises display module 502, is contained in target instant communication client, for showing above-mentioned dialog context and web page access record.Target instant communication client is after receiving above-mentioned dialog context and web page access record, dialog box can be opened, display module 502 can show dialog box, dialog context is illustrated in the dialog context display area of dialog box, and by the web page access record display region of web page access record display at dialog box.
As shown in Figure 6, in one embodiment, the communication session system between the above-mentioned network user also comprises Visitor Logs acquisition module 602 and Visitor Logs preserves module 604, wherein:
Visitor Logs acquisition module 602, for when webpage opened by browser, obtains webpage relevant information, the webpage opening time of browser when front opening webpage;
Visitor Logs preserves module 604 for the webpage relevant information of acquisition and webpage opening time being saved as web page access record corresponding to user ID in the local data on file of the current domain name of browser.
Webpage relevant information can comprise web page address, redirect source-information and browser type etc.The redirect source-information of a certain webpage for describe this webpage institute redirect from the information of webpage, can comprise this webpage institute redirect from the web page address of webpage or website domain name etc.
As shown in Figure 7, in one embodiment, above-mentioned network instant communication conversational system also comprises Visitor Logs refresh module 702, for calculating according to prefixed time interval the webpage stay time that webpage opened by browser, up-to-date webpage stay time being added to and opens accordingly in web page access record corresponding to webpage.
Visitor Logs refresh module 702 can calculate a certain time difference of opening the opening time of webpage of current time and browser, this time difference is opened the up-to-date webpage stay time of webpage as this, obtain this and open user ID in the local data on file of the domain name of webpage, the up-to-date webpage stay time this being opened webpage is added in web page access record corresponding to this user ID, if stored webpage stay time in web page access record, then up-to-date webpage stay time is covered original webpage stay time.
As shown in Figure 8, in one embodiment, above-mentioned network instant communication conversational system also comprises user ID detection module 802, for when webpage opened by browser, detect in the local data on file of the current domain name of browser and whether there is user ID, if not, then apply for unique subscriber identification, the user ID of applying for is write in the local data on file of the current domain name of browser.
As shown in Figure 9 A, in one embodiment, a kind of network instant communication conversational system, comprise Visitor Logs device 10, local instant communication client 20 and instant communication server 30, Visitor Logs device 10 is embedded in browser, local instant communication client 20 is the instant client of this browser this locality, wherein:
Visitor Logs device 10 for obtain triggered by webpage control carry out the session request of conversing with destinations traffic account.This Visitor Logs device is embedded in browser, is understandable that, the code of this Visitor Logs device is embedded in the code of browser.
User ID and destinations traffic account also for obtaining the user ID in the local data on file of the current domain name of browser, are sent to local instant communication client 20 by Visitor Logs device 10.
The dialog context that local instant communication client 20 is submitted to for the dialog box obtained for carrying out conversing with destinations traffic account, sends to instant communication server 30 by dialog context and the local communication account of current login and the destinations traffic account of reception and user ID.
Instant communication server 30, for obtaining local communication account and session identification corresponding to destinations traffic account, sets up the mapping relations between user ID and the session identification of acquisition received.
The target instant communication client of instant communication server 30 also for sending to destinations traffic account to log in the dialog context of reception.
Instant communication server 30 is also for the request pulling the web page access record of session opposite end that receiving target instant communication client sends, and request comprises session intercommunication account.
Instant communication server 30 also for searching session identification corresponding to session intercommunication account, and searches corresponding user ID according to the session identification of correspondence, searches the corresponding web page access record prestored further according to the user ID of correspondence.
Instant communication server 30 is also for sending to target instant communication client by the web page access found record.
As shown in Figure 9 B, in one embodiment, Visitor Logs device 10 comprises session acquisition request module 302, user ID acquisition module 306 and account and mark sending module 902; Local instant communication client 20 comprises dialog context acquisition module 304, call and account and mark sending module 904; Instant communication server 30 comprise session map set up module 906, call and access sending module 310, Visitor Logs request receiving module 908 and Visitor Logs search module 308, wherein:
Session acquisition request module 302 for obtain triggered by webpage control carry out the session request of conversing with destinations traffic account.
User ID acquisition module 306, for after getting session request, obtains the user ID in the local data on file of the current domain name of browser.
As shown in Figure 10, in one embodiment, Visitor Logs device 10 also comprises user ID detection module 802, for when webpage opened by browser, detect in the local data on file of the current domain name of browser and whether there is user ID, if not, then apply for unique subscriber identification to instant communication server 30, the user ID of applying for is write in the local data on file of the current domain name of browser.
Account and mark sending module 902 are for sending to local instant communication client 20 by user ID and destinations traffic account.
As shown in figure 11, in one embodiment, Visitor Logs device also comprises client terminal start-up detection module 402 and dialog box detection module 404, wherein:
Client terminal start-up detection module 402 is for before sending to local instant communication client 20 by user ID and destinations traffic account, whether the instant communication client detecting browser this locality starts, if not, then the instant communication client of browser this locality is started.The login account of the instant communication client acquisition input in browser this locality and password are also by after login authentication, and user ID and destinations traffic account can be sent to local instant communication client 20 by account and mark sending module 902.
Dialog box detection module 404 is for after receiving destinations traffic account at the instant communication client of browser this locality, detect the dialog box being used for carrying out conversing with destinations traffic account whether to open, if not, then open for carrying out with destinations traffic account the dialog box conversed.The dialog context that dialog context acquisition module 304 is submitted to for the dialog box obtained for carrying out conversing with destinations traffic account.
Call and account and identify sending module 904 for the local communication account of dialog context and current login and the destinations traffic account of reception and user ID are sent to instant communication server.
Session maps sets up module 906 for session identification corresponding to the local communication account and destinations traffic account that obtain reception, sets up the mapping relations between user ID and corresponding session identification received.
In one embodiment, session maps sets up module 906 and can search the local communication account of reception and session identification corresponding to destinations traffic account, if find corresponding session identification, then set up the mapping relations between the user ID of reception and the session identification found; If do not find corresponding session identification, then generate corresponding unique session identification, store the corresponding relation of the session identification of local communication account and destinations traffic account and the generation received, and set up the mapping relations between user ID and the session identification of generation received.
Call and the target instant communication client of access sending module 310 for sending to destinations traffic account to log in the dialog context of reception.
The request pulling the web page access record of session opposite end that Visitor Logs request receiving module 908 sends for receiving target instant communication client, request comprises session intercommunication account.
Visitor Logs searches module 308 for searching session identification corresponding to session intercommunication account, and searches corresponding user ID according to session identification, searches the corresponding web page access record prestored further according to user ID.
Call and the target instant communication client of access sending module 310 for sending to destinations traffic account to log in the web page access found record.
As shown in figure 12, in one embodiment, Visitor Logs device 10 also comprises Visitor Logs acquisition module 602 and access and identifies sending module 1202, and instant communication server 30 also comprises Visitor Logs and preserves module 604, in the present embodiment:
Visitor Logs acquisition module 602, for when webpage opened by browser, obtains webpage relevant information, the webpage opening time of browser when front opening webpage; User ID acquisition module 306 is also for obtaining the user ID in the local data on file of the current domain name of browser; Access and mark sending module 1202 are for sending to instant communication server 30 by the webpage relevant information of acquisition, webpage opening time and user ID; Visitor Logs preserves module 604 for the webpage received relevant information, webpage opening time being saved as web page access record corresponding to the user ID that receives.
In one embodiment, as shown in figure 13, instant communication server 30 also comprises Visitor Logs refresh module 702, in the present embodiment:
Access and mark sending module 1202 also for according to prefixed time interval by the webpage relevant information opening webpage of browser with open user ID corresponding to webpage and current time correspondence sends to instant communication server 30;
Webpage stay time, for according to the webpage relevant information opening webpage that receives with open user ID corresponding to webpage and current time calculates the webpage stay time opening webpage accordingly, is added to and is opened web page access record corresponding to webpage accordingly by Visitor Logs refresh module 702.
As shown in figure 14, in one embodiment, above-mentioned network instant communication conversational system also comprises target instant communication client 40, and target instant communication client 40 comprises display module 502, for showing the dialog context that target instant communication client 40 receives and web page access record.Target instant communication client 40 is after receiving dialog context, dialog box can be opened, dialog context can be illustrated in the dialog context display area of dialog box by display module 502, after target instant communication client 40 receives web page access record web page access record, display module 502 can by the web page access record display region of web page access record display at dialog box.
In one embodiment, instant communication server also comprises user ID backup module and session rate statistical module (not shown), and user ID backup module backs up the user ID of each domain name in the local data on file of browser; Session rate statistical module is for adding up the total quantity of the user ID of each domain name and according to the mapping relations between above-mentioned user ID and corresponding session identification, adding up the quantity with the user ID of corresponding session identification of each domain name, be designated as number of sessions; Further, the session rate that session rate statistical module calculates each domain name is the number of sessions of the user ID of each domain name and the ratio of total quantity.
The total quantity of the user ID of a certain domain name reflects the number of users of the website of this domain name of access, the number of sessions of the user ID of this domain name then reflects the number of users of initiation session on the webpage of this domain name, the present embodiment can count the conversion ratio of user from the website of a certain domain name of access to initiation session, and namely the number of users of initiation session accounts for the ratio of the number of users of access websites.
Above-mentioned network instant communication session method and system, after getting the session request carrying out with destinations traffic account communicating, the target instant communication client not only destinations traffic account being sent to log in the dialog context of destinations traffic account, also obtain the user ID in the local data on file of the current domain name of browser, and search the web page access record prestored corresponding to user ID, namely the web page access record of operating browser as the user of front opening webpage is obtained, by the target instant communication client that this web page access record sends to destinations traffic account to log in, said method and system are except providing dialog context to a side of communication session, the access to netwoks record of the opposing party also can be provided to a side of communication session, the opposing party does not need the web page access record being understood first party by dialog context, thus the communication session time of both call sides can be saved, improve communication session efficiency.
In addition, in said method and system, destinations traffic account is not needed to add as a friend, what only need to be triggered by webpage control carries out the session request of conversing with destinations traffic account, communication session can be carried out with destinations traffic account, thus simplify the operating procedure of carrying out communication session with destinations traffic account.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, as in the embodiment of the present invention, this program can be stored in the storage medium of computer system, and performed by least one processor in this computer system, to realize the flow process of the embodiment comprised as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (17)

1. a network instant communication session method, comprises the following steps:
Obtain triggered by webpage control carry out the session request of conversing with destinations traffic account;
Obtain the dialog context submitted to for the dialog box carrying out conversing with described destinations traffic account of the instant communication client of browser this locality;
Obtain the user ID in the local data on file of the current domain name of browser;
Search the web page access record prestored that described user ID is corresponding;
By the target instant communication client that described dialog context and described web page access record send to described destinations traffic account to log in.
2. network instant communication session method according to claim 1, is characterized in that, described method also comprises step:
When webpage opened by browser, obtain webpage relevant information, the webpage opening time of browser when front opening webpage;
Described webpage relevant information, webpage opening time are saved as the web page access record that user ID in the local data on file of the current domain name of browser is corresponding.
3. network instant communication session method according to claim 2, is characterized in that, described method also comprises step:
Calculate according to prefixed time interval the webpage stay time that webpage opened by browser, up-to-date webpage stay time is added to and opens accordingly in web page access record corresponding to webpage.
4. network instant communication session method according to claim 1, is characterized in that, described method also comprises:
Described dialog context and described web page access record is shown by described target instant communication client.
5. a network instant communication session method, comprises the following steps:
Visitor Logs device obtain triggered by webpage control carry out the session request of conversing with destinations traffic account;
Visitor Logs device obtains the user ID in the local data on file of the current domain name of browser, user ID and described destinations traffic account is sent to the instant communication client of browser this locality;
The instant communication client of browser this locality obtains the dialog context that the dialog box that is used for carrying out conversing with destinations traffic account is submitted to, and described dialog context and the local communication account of current login and the described destinations traffic account of reception and user ID are sent to instant communication server;
Instant communication server obtains described local communication account and session identification corresponding to destinations traffic account, sets up the mapping relations between described user ID and described session identification;
The target instant communication client that described dialog context sends to described destinations traffic account to log in by instant communication server;
The request pulling the web page access record of session opposite end that instant communication server receiving target instant communication client sends, request comprises session intercommunication account;
Instant communication server searches session identification corresponding to session intercommunication account, and searches corresponding user ID according to session identification, searches the corresponding web page access record prestored further according to user ID;
The target instant communication client that the web page access record found sends to destinations traffic account to log in by instant communication server.
6. network instant communication session method according to claim 5, is characterized in that, described method also comprises step:
When webpage opened by browser, Visitor Logs device obtains webpage relevant information, the webpage opening time of browser when front opening webpage, and the user ID obtained in the local data on file of the current domain name of browser, the webpage relevant information of acquisition, webpage opening time and user ID are sent to instant communication server;
The webpage relevant information received, webpage opening time are saved as web page access record corresponding to the user ID that receives by instant communication server.
7. network instant communication session method according to claim 6, is characterized in that, described method also comprises step:
Visitor Logs device according to prefixed time interval by the webpage relevant information opening webpage of browser with open user ID corresponding to webpage and current time correspondence sends to instant communication server;
Instant communication server is according to the webpage relevant information opening webpage received and open user ID corresponding to webpage and current time and calculate the webpage stay time opening webpage accordingly, described webpage stay time is added to and opens web page access record corresponding to webpage accordingly.
8. network instant communication session method according to claim 5, is characterized in that, described method also comprises:
Target instant communication client shows the dialog context and web page access record that receive.
9. a network instant communication conversational system, is characterized in that, comprising:
Session acquisition request module, for obtain triggered by webpage control carry out the session request of conversing with destinations traffic account;
Dialog context acquisition module, for obtaining the dialog context submitted to for the dialog box carrying out conversing with described destinations traffic account of the instant communication client of browser this locality;
User ID acquisition module, for obtaining the user ID in the local data on file of the current domain name of browser;
Visitor Logs searches module, for searching the web page access record prestored corresponding to described user ID;
Call and access sending module, for the target instant communication client sending to described destinations traffic account to log in described dialog context and described web page access record.
10. network instant communication conversational system according to claim 9, is characterized in that, described system also comprises:
Visitor Logs acquisition module, for when webpage opened by browser, obtains webpage relevant information, the webpage opening time of browser when front opening webpage;
Visitor Logs preserves module, for described webpage relevant information, webpage opening time being saved as web page access record corresponding to user ID in the local data on file of the current domain name of browser.
11. network instant communication conversational systems according to claim 10, it is characterized in that, described system also comprises:
Visitor Logs refresh module, for calculating according to prefixed time interval the webpage stay time that webpage opened by browser, adding to up-to-date webpage stay time and opening accordingly in web page access record corresponding to webpage.
12. network instant communication conversational systems according to claim 9, it is characterized in that, described system also comprises:
Display module, is contained in described target instant communication client, for showing described dialog context and described web page access record.
13. 1 kinds of network instant communication conversational systems, it is characterized in that, comprise Visitor Logs device, instant communication server and local instant communication client, described Visitor Logs device is embedded in browser, described local instant communication client is the instant client of described browser this locality, wherein:
Described Visitor Logs device for obtain triggered by webpage control carry out the session request of conversing with destinations traffic account;
User ID and described destinations traffic account, also for obtaining the user ID in the local data on file of the current domain name of browser, are sent to described local instant communication client by described Visitor Logs device;
The dialog context that described local instant communication client is submitted to for the dialog box obtained for carrying out conversing with destinations traffic account, sends to instant communication server by described dialog context and the local communication account of current login and the described destinations traffic account of reception and user ID;
Described instant communication server, for obtaining described local communication account and session identification corresponding to destinations traffic account, sets up the mapping relations between described user ID and described session identification;
The target instant communication client of described instant communication server also for being sent to by described dialog context described destinations traffic account to log in;
Described instant communication server is also for the request pulling the web page access record of session opposite end that receiving target instant communication client sends, and request comprises session intercommunication account;
Described instant communication server is also for searching session identification corresponding to described session intercommunication account, and search corresponding user ID according to the session identification of described correspondence, search the corresponding web page access record prestored according to the user ID of described correspondence further;
Described instant communication server is also for sending to described target instant communication client by the web page access found record.
14. network instant communication conversational systems according to claim 13, is characterized in that, described Visitor Logs device comprises session acquisition request module, user ID acquisition module and account and mark sending module;
Described local instant communication client comprises dialog context acquisition module and call and account and identifies sending module;
Described instant communication server comprise session map set up module, Visitor Logs request receiving module, Visitor Logs search module and call and access sending module;
Described session acquisition request module for obtain triggered by webpage control carry out the session request of conversing with destinations traffic account;
Described user ID acquisition module is used for after getting described session request, obtains the user ID in the local data on file of the current domain name of browser;
Described account and mark sending module are used for user ID and described destinations traffic account to send to described local instant communication client;
The dialog context that described dialog context acquisition module is submitted to for the dialog box obtained for carrying out conversing with destinations traffic account;
Described dialog context and the local communication account of current login and the described destinations traffic account of reception and user ID are sent to instant communication server by described call and account and mark sending module;
Described session maps sets up module for obtaining described local communication account and session identification corresponding to destinations traffic account, sets up the mapping relations between described user ID and described session identification;
Described call and access sending module are used for the target instant communication client sending to described destinations traffic account to log in described dialog context;
Described Visitor Logs request receiving module is used for the request pulling the web page access record of session opposite end that receiving target instant communication client sends, and request comprises session intercommunication account;
Described Visitor Logs searches module for searching session identification corresponding to described session intercommunication account, and search corresponding user ID according to the session identification of described correspondence, search the corresponding web page access record prestored according to the user ID of described correspondence further;
Described call and access sending module are also for sending to described target instant communication client by the web page access found record.
15. network instant communication conversational systems according to claim 14, is characterized in that, described Visitor Logs device also comprises Visitor Logs acquisition module and access and identifies sending module, and described instant communication server also comprises Visitor Logs and preserves module, wherein:
Visitor Logs acquisition module is used for when webpage opened by browser, obtains webpage relevant information, the webpage opening time of browser when front opening webpage;
Described user ID acquisition module, also for when webpage opened by browser, obtains the user ID in the local data on file of the current domain name of browser;
Access and mark sending module are used for the webpage relevant information of acquisition, webpage opening time and described user ID to send to instant communication server;
Visitor Logs is preserved module and is used for the webpage relevant information received, webpage opening time to save as web page access record corresponding to the user ID that receives.
16. network instant communication conversational systems according to claim 15, it is characterized in that, described access and mark sending module also for according to prefixed time interval by the webpage relevant information opening webpage of browser with open user ID corresponding to webpage and current time correspondence sends to instant communication server;
Described instant communication server also comprises:
Visitor Logs refresh module, for according to the webpage relevant information opening webpage that receives with open user ID corresponding to webpage and current time calculates the webpage stay time opening webpage accordingly, described webpage stay time is added to and opens web page access record corresponding to webpage accordingly.
17. network instant communication conversational systems according to claim 14, is characterized in that, described system also comprises described target instant communication client, and it comprises:
Display module, for showing the dialog context that target instant communication client receives and web page access record.
CN201410204355.2A 2014-05-14 2014-05-14 Network instant communication session method and system Active CN105099858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410204355.2A CN105099858B (en) 2014-05-14 2014-05-14 Network instant communication session method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410204355.2A CN105099858B (en) 2014-05-14 2014-05-14 Network instant communication session method and system

Publications (2)

Publication Number Publication Date
CN105099858A true CN105099858A (en) 2015-11-25
CN105099858B CN105099858B (en) 2019-03-26

Family

ID=54579462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410204355.2A Active CN105099858B (en) 2014-05-14 2014-05-14 Network instant communication session method and system

Country Status (1)

Country Link
CN (1) CN105099858B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106604063A (en) * 2016-12-28 2017-04-26 北京恒华伟业科技股份有限公司 Video retrieving method and apparatus
CN108063804A (en) * 2017-12-04 2018-05-22 北京小米移动软件有限公司 Communication means and device
CN110268400A (en) * 2017-06-13 2019-09-20 谷歌有限责任公司 Improve the interaction with electronics chat interface
CN110300046A (en) * 2018-03-22 2019-10-01 腾讯科技(深圳)有限公司 A kind of business consultation control method, terminal and server
CN110620672A (en) * 2018-06-19 2019-12-27 腾讯科技(深圳)有限公司 Multi-person session data processing method and device, computer equipment and storage medium
CN113095875A (en) * 2021-04-06 2021-07-09 杭州数跑科技有限公司 Message delivery effect statistical method and related device
US11928482B2 (en) 2017-06-13 2024-03-12 Google Llc Interaction with electronic chat interfaces

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719823A (en) * 2004-07-08 2006-01-11 腾讯科技(深圳)有限公司 Method for directly alternating information with instant communication system on web page
CN102420782A (en) * 2011-12-18 2012-04-18 上海量明科技发展有限公司 Method, client and system for sharing webpage by instant messaging
CN102904800A (en) * 2012-10-22 2013-01-30 上海量明科技发展有限公司 Method and system for sharing network transaction information with instant messaging contact person

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719823A (en) * 2004-07-08 2006-01-11 腾讯科技(深圳)有限公司 Method for directly alternating information with instant communication system on web page
CN102420782A (en) * 2011-12-18 2012-04-18 上海量明科技发展有限公司 Method, client and system for sharing webpage by instant messaging
CN102904800A (en) * 2012-10-22 2013-01-30 上海量明科技发展有限公司 Method and system for sharing network transaction information with instant messaging contact person

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106604063A (en) * 2016-12-28 2017-04-26 北京恒华伟业科技股份有限公司 Video retrieving method and apparatus
CN110268400A (en) * 2017-06-13 2019-09-20 谷歌有限责任公司 Improve the interaction with electronics chat interface
CN110268400B (en) * 2017-06-13 2023-08-15 谷歌有限责任公司 Improving interaction with an electronic chat interface
US11928482B2 (en) 2017-06-13 2024-03-12 Google Llc Interaction with electronic chat interfaces
CN108063804A (en) * 2017-12-04 2018-05-22 北京小米移动软件有限公司 Communication means and device
CN108063804B (en) * 2017-12-04 2021-03-09 北京小米移动软件有限公司 Communication method and device
CN110300046A (en) * 2018-03-22 2019-10-01 腾讯科技(深圳)有限公司 A kind of business consultation control method, terminal and server
CN110300046B (en) * 2018-03-22 2022-02-08 腾讯科技(深圳)有限公司 Business consultation control method, terminal and server
CN110620672A (en) * 2018-06-19 2019-12-27 腾讯科技(深圳)有限公司 Multi-person session data processing method and device, computer equipment and storage medium
CN110620672B (en) * 2018-06-19 2022-02-18 腾讯科技(深圳)有限公司 Multi-person session data processing method and device, computer equipment and storage medium
CN113095875A (en) * 2021-04-06 2021-07-09 杭州数跑科技有限公司 Message delivery effect statistical method and related device
CN113095875B (en) * 2021-04-06 2024-02-27 杭州数跑科技有限公司 Message delivery effect statistics method and related device

Also Published As

Publication number Publication date
CN105099858B (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN105099858A (en) Network instant messaging session method and system
EP3360311B1 (en) Device identifier dependent operation processing of packet based data communication
US10834031B2 (en) Information exchange method, client, and apparatus
CN102655481B (en) A kind of instant messaging chat content inspection method based on webpage and system
WO2014101521A1 (en) Geographical location-based communication method, mobile terminal, server, and system
CN104836719A (en) Method and system for synchronizing instant communication unread messages
CN113316926B (en) Domain name processing method, device, electronic equipment and storage medium
CN104378399B (en) A kind of data push method, Platform Server, client and system
US9973513B2 (en) Method and apparatus for communication number update
CN102843391A (en) Information transmitting method and gateway
WO2012088933A1 (en) Method, terminal and server for adding user association relationship
CN107182098B (en) Method and equipment for realizing switching of user equipment between wireless access points
CN103686591A (en) Method and system for acquiring position information
CN104253686A (en) Account number login method, equipment and system
CN105681385B (en) Information-pushing method and device
CN106453414A (en) Third party login authentication method and system, proxy server and client
RU2526288C2 (en) Use of text message by first mobile telephone user to activate process providing information to second mobile telephone user
CN105635073A (en) Access control method and device and network access equipment
WO2015014215A1 (en) Domain name resolution method, system and device
CN105557045B (en) A kind of access network node, core net node and paging method
CN103716230B (en) Message sending method, device and server
CN111106983B (en) Method and device for detecting network connectivity
CN108901035A (en) The recognition methods of internet-of-things terminal and device
CN112788518A (en) Location service processing method and related equipment
CN105490913A (en) Instant message processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant