CN105099858B - Network instant communication session method and system - Google Patents

Network instant communication session method and system Download PDF

Info

Publication number
CN105099858B
CN105099858B CN201410204355.2A CN201410204355A CN105099858B CN 105099858 B CN105099858 B CN 105099858B CN 201410204355 A CN201410204355 A CN 201410204355A CN 105099858 B CN105099858 B CN 105099858B
Authority
CN
China
Prior art keywords
webpage
instant communication
session
account
user identifier
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.)
Active
Application number
CN201410204355.2A
Other languages
Chinese (zh)
Other versions
CN105099858A (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

Abstract

A kind of network instant communication session method, comprising the following steps: obtain the session request conversed with destinations traffic account triggered by webpage control;Obtain the dialog context that the dialog box for conversing with the destinations traffic account of the instant communication client of browser local is submitted;Obtain the user identifier of the current domain name of browser being locally stored in data;Search the corresponding pre-stored web page access record of the user identifier;The dialog context and web page access record are sent to the target instant communication client that the destinations traffic account logs in.The above method is other than providing dialog context to a side of communication session, the network access record of another party can be also provided to a side of communication session, another party does not need the web page access record that first party is understood by dialog context, so as to save the communication session time of both call sides, communication session efficiency is improved.In addition, also providing a kind of network instant communication conversational system.

Description

Network instant communication session method and system
Technical field
The present invention relates to network technique fields, more particularly to a kind of network instant communication session method and system.
Background technique
The development of network technology has furthered the distance between people, can pass through network between two users in strange land Carry out communication session.It is a kind of approach of progress communication session between the network user using instant messaging tools.
In general, the first user and second user using instant messaging tools carry out communication session can as follows into Row: first user's access of instant communicating client adds as a friend second user, opens and second on instant communication client The dialog box that user converses submits dialog context, the instant communication client that the first user logs in dialog box Dialog context is sent to the instant communication client of second user login, the instant communication client that second user logs in is shown Dialog context, to complete the communication session between the first user and second user.
Communication session mode between the above-mentioned network user a, wherein side can only get in the call of another party's transmission Hold, and the relevant information of other network behaviors of another party can not be got automatically.
Summary of the invention
Based on this, it is necessary to provide a kind of network Instant Messenger of network access record that can provide another party to one side of communication Believe session method and system.
A kind of network instant communication session method, comprising the following steps:
Obtain the session request conversed with destinations traffic account triggered by webpage control;
Obtain the dialogue for conversing with the destinations traffic account of the instant communication client of browser local The dialog context that window is submitted;
Obtain the user identifier of the current domain name of browser being locally stored in data;
Search the corresponding pre-stored web page access record of the user identifier;
It is instant that the dialog context and web page access record are sent to the target that the destinations traffic account logs in Communication customer end.
A kind of network instant communication session method, comprising the following steps:
Access logger obtains the session request conversed with destinations traffic account triggered by webpage control;
The user identifier being locally stored in data that logger obtains the current domain name of browser is accessed, by user identifier and institute State the instant communication client that destinations traffic account is sent to browser local;
The dialog box that the instant communication client of browser local obtains for conversing with destinations traffic account mentions The dialog context of friendship, the local communication account and the received destinations traffic account by the dialog context and currently logged in Instant communication server is sent to user identifier;
Instant communication server obtains the local communication account and the corresponding session identification of destinations traffic account, establishes institute State the mapping relations between user identifier and the session identification;
The dialog context is sent to the target instant messaging that the destinations traffic account logs in by instant communication server Client;
Instant communication server receives the web page access record for pulling session opposite end that target instant communication client is sent Request, include session intercommunication account in request;
Instant communication server searches the corresponding session identification of session intercommunication account, and according to session identification lookup pair The user identifier answered further is searched corresponding pre-stored web page access according to user identifier and is recorded;
The target that the web page access found record is sent to the login of destinations traffic account by instant communication server is instant Communication customer end.
A kind of network instant communication conversational system, comprising:
Session request obtains module, for obtaining the meeting conversed with destinations traffic account triggered by webpage control Words request;
Dialog context obtain module, for obtain browser local instant communication client for the target lead to The dialog context that the dialog box that letter account is conversed is submitted;
User identifier obtains module, for obtaining the user identifier of the current domain name of browser being locally stored in data;
Record search module is accessed, for searching the corresponding pre-stored web page access record of the user identifier;
Call and access sending module, for the dialog context and web page access record to be sent to the target The target instant communication client that communications account logs in.
A kind of network instant communication conversational system, including access logger, instant communication server and local instant messaging Client, in browser, the local instant communication client is the access logger for the browser local When client;
The access logger is for obtaining the session conversed with destinations traffic account triggered by webpage control Request;
The access logger is also used to obtain the user identifier of the current domain name of browser being locally stored in data, will use Family mark and the destinations traffic account are sent to the local instant communication client;
The dialog box that the local instant communication client is used to obtain for conversing with destinations traffic account mentions The dialog context of friendship, the local communication account and the received destinations traffic account by the dialog context and currently logged in Instant communication server is sent to user identifier;
The instant communication server is for obtaining the local communication account and the corresponding session mark of destinations traffic account Know, establishes the mapping relations between the user identifier and the session identification;
The instant communication server is also used to for the dialog context being sent to the mesh that the destinations traffic account logs in Mark instant communication client;
The instant communication server is also used to receive the net for pulling session opposite end of target instant communication client transmission The request of access to web page record includes session intercommunication account in request;
The instant communication server is also used to search the corresponding session identification of the session intercommunication account, and according to The corresponding session identification searches corresponding user identifier, is further searched according to the corresponding user identifier corresponding pre- The web page access record first stored;
The instant communication server, which is also used to record the web page access found, is sent to the target instant messaging Client.
Above-mentioned network instant communication session method and system are asked getting the session communicated with destinations traffic account After asking, the target instant messaging client of destinations traffic account login will be not only sent to the dialog context of destinations traffic account End, also obtains the user identifier of the current domain name of browser being locally stored in data, and searches that user identifier is corresponding to deposit in advance The web page access record of storage, when the web page access record of the user of front opening webpage, which is visited to get to operation browser Ask that record is sent to the target instant communication client of destinations traffic account login, the above method and system are in addition to communication session A side provide outside dialog context, the network access record of another party can be also provided to a side of communication session, another party is not required to The web page access that first party is understood by dialog context records, and so as to save the communication session time of both call sides, improves Communication session efficiency.
In addition, not needing to add as a friend destinations traffic account, it is only necessary to pass through webpage control in the above method and system The session request of triggering conversed with destinations traffic account can carry out communication session with destinations traffic account, thus simple The operating procedure that communication session is carried out with destinations traffic account is changed.
Detailed description of the invention
Figure 1A is the flow diagram of the network instant communication session method in one embodiment;
Figure 1B is the flow diagram of the network instant communication session method in one embodiment;
Fig. 2 timing diagram under a specific application scenarios for the network instant communication session method in one embodiment;
Fig. 3 is the structural schematic diagram of the network instant communication conversational system in one embodiment;
Fig. 4 is the structural schematic diagram of the network instant communication conversational system in one embodiment;
Fig. 5 is the structural schematic diagram of the network instant communication conversational system in one embodiment;
Fig. 6 is the structural schematic diagram of the network instant communication conversational system in one embodiment;
Fig. 7 is the structural schematic diagram of the network instant communication conversational system in one embodiment;
Fig. 8 is the structural schematic diagram of the network instant communication conversational system in one embodiment;
Fig. 9 A is the structural schematic diagram of the network instant communication conversational system in one embodiment;
Fig. 9 B is the structural schematic diagram of the network instant communication conversational system in one embodiment;
Figure 10 is the structural schematic diagram of the access logger in one embodiment;
Figure 11 is the structural schematic diagram of the access logger in one embodiment;
Figure 12 is the structural schematic diagram of the network instant communication conversational system in one embodiment;
Figure 13 is the structural schematic diagram of the instant communication server 30 in one embodiment;
Figure 14 is the structural schematic diagram of the network instant communication conversational system in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
As shown in Figure 1A, in one embodiment, a kind of network instant communication session method, comprising the following steps:
Step S102 obtains the session request conversed with destinations traffic account triggered by webpage control.
The session request that the destinations traffic account that above-mentioned webpage control is used to trigger and specify is conversed, when webpage control When being clicked, session request can trigger.The webpage control can be the icon etc. flown on webpage, and the image on icon is can Instruction user clicks the image that the icon is conversed.
Step S104 obtains the instant communication client of browser local and is used to conversing with destinations traffic account The dialog context that dialog box is submitted.
Before step S104, above-mentioned network instant communication session method further comprise the steps of: detection browser it is local i.e. When communication customer end the dialog box for conversing with destinations traffic account whether have already turned on, if it is not, then opening use In the dialog box conversed with destinations traffic account.
Whether before detecting above-mentioned dialog box and having already turned on, the instant communication client of detectable browser local is It is no to have been started up, if it is not, then starting the instant communication client of browser local.Instant communication client in browser local After obtaining the login account inputted and password and passing through login authentication, openable pair for conversing with destinations traffic account Talk about window.
Step S106 obtains the user identifier of the current domain name of browser being locally stored in data.
Domain name of the entitled browser of browser the current field when the webpage of front opening.User information of number of site etc. is browsed Device is stored in local, these websites are also known as cookies in the data that browser is locally stored.Money is locally stored in a certain domain name Material is stored in local cookies by browser for the corresponding website of the domain name.
In one embodiment, before step S106, above-mentioned network instant communication session method is further comprised the steps of: when clear When device of looking at opens webpage, the detection current domain name of browser is locally stored in data with the presence or absence of user identifier, if it is not, then applying Unique subscriber identification, by being locally stored in data for the user identifier the applied write-in current domain name of browser.
Step S108, the user identifier being locally stored in data for searching the current domain name of browser are corresponding pre-stored Web page access record.
Step S110, the dialog context that will acquire and web page access record are sent to the target of destinations traffic account login i.e. When communication customer end.
In one embodiment, above-mentioned network instant communication session method is further comprised the steps of: is stepped on by destinations traffic account The target instant communication client of record shows above-mentioned dialog context and web page access record.Target instant communication client is receiving To after above-mentioned dialog context and web page access record, dialog context is shown the call in dialog box by openable dialog box Content display area, and by web page access record display in the web page access record display region of dialog box.
Before step S108, above-mentioned network instant communication session method further includes obtaining and storing what web page access recorded Process, the process the following steps are included:
When browser opens webpage, obtains browser and work as the webpage relevant information of front opening webpage, webpage opening time; The webpage relevant information and webpage opening time that will acquire save as the user of the current domain name of browser being locally stored in data Identify corresponding web page access record.
Webpage relevant information may include web page address, jump source-information and browser type etc..A certain webpage jumps Source-information is used to describe the information that the webpage jumps webpage certainly, it may include the webpage is with jumping the webpage of webpage certainly Location or website domain name etc..
In one embodiment, above-mentioned network instant communication session method is further comprised the steps of: according to prefixed time interval meter The webpage stay time that browser opens webpage is calculated, it is corresponding that newest webpage stay time is added to corresponding opening webpage In web page access record.
The time difference that the opening time of a certain opening webpage of current time and browser can be calculated, using the time difference as The newest webpage stay time of the opening webpage, obtains the user identifier of the domain name of the opening webpage being locally stored in data, The newest webpage stay time of the opening webpage is added in the corresponding web page access record of the user identifier, if web page access Newest webpage stay time is then covered original webpage stay time by stored webpage stay time in record.
Network instant communication session method is as shown in Figure 1B, in one embodiment, a kind of network instant communication session side Method the following steps are included:
Step S112, access logger obtain the session conversed with destinations traffic account triggered by webpage control Request.The access logger is in browser, it is to be understood that the code of the access logger is embedded in the code of browser In.
Step S114, access logger obtain the user identifier of the current domain name of browser being locally stored in data, will use Family mark and destinations traffic account are sent to the instant communication client of browser local.
Before step S114, above-mentioned network instant communication session method may further comprise the step of: when browser opens webpage When, the access logger detection current domain name of browser is locally stored in data with the presence or absence of user identifier, if it is not, then to instant Data is locally stored in the user identifier the applied write-in current domain name of browser by communication server application unique subscriber identification In.
Before user identifier and destinations traffic account are sent to the instant communication client of browser local, access note Whether the instant communication client that record device can detect browser local has been started up, if it is not, then starting the instant of browser local Communication customer end.Instant communication client in browser local obtains the login account inputted and password and passes through login authentication Afterwards, user identifier and destinations traffic account can be sent to the instant communication client of browser local by access logger.
After the instant communication client of browser local receives destinations traffic account, above-mentioned network instant communication meeting The instant communication client that words method further comprises the steps of: browser local detects pair for conversing with destinations traffic account Whether words window has already turned on, if it is not, then opening the dialog box for conversing with destinations traffic account.
Step S116, the instant communication client of browser local obtain pair for conversing with destinations traffic account Talk about the dialog context that window is submitted, the local communication account and received destinations traffic account by dialog context and currently logged in Instant communication server is sent to user identifier.
Step S118, instant communication server obtain received local communication account and the corresponding session of destinations traffic account Mark, establishes the mapping relations between received user identifier and corresponding session identification.
In one embodiment, instant communication server can search received local communication account and destinations traffic account pair The session identification answered, if finding corresponding session identification, establish received user identifier and the session identification that finds it Between mapping relations;If not finding corresponding session identification, corresponding unique session identification is generated, received local is stored The corresponding relationship of communications account and destinations traffic account and the session identification of generation, and establish received user identifier and generation Mapping relations between session identification.
Received dialog context is sent to the target of destinations traffic account login i.e. by step S120, instant communication server When communication customer end.
Step S122, instant communication server receive the webpage for pulling session opposite end that target instant communication client is sent The request of record is accessed, includes session intercommunication account in request.
Step S124, instant communication server search the corresponding session identification of session intercommunication account, and according to session The corresponding user identifier of identifier lookup is further searched corresponding pre-stored web page access according to user identifier and is recorded.
The web page access found record is sent to the login of destinations traffic account by step S126, instant communication server Target instant communication client.
Before step S124, above-mentioned network instant communication session method is further comprising the steps of: when browser opens net When page, access logger obtains browser and works as the webpage relevant information of front opening webpage, webpage opening time, and obtains browser The user identifier of current domain name being locally stored in data, the webpage relevant information that will acquire, webpage opening time and user's mark Knowledge is sent to instant communication server;Instant communication server saves the webpage relevant information received, webpage opening time For the corresponding web page access record of user identifier received.
Above-mentioned network instant communication session method may further comprise the step of: access logger will browse according to prefixed time interval The webpage relevant information of the opening webpage of device with open the corresponding user identifier of webpage and current time it is corresponding be sent to it is instant The communication server;Instant communication server is according to the webpage relevant information of the opening webpage received use corresponding with webpage is opened Family mark and current time calculate the corresponding webpage stay time for opening webpage, and webpage stay time is added to accordingly Open the corresponding web page access record of webpage.
Above-mentioned network instant communication session method may further comprise the step of: target instant communication client and show received call Content and web page access record.After receiving dialog context, openable dialog box will be conversed target instant communication client Content shows the dialog context display area in dialog box, and target instant communication client is receiving web page access record net It, can be by web page access record display in the web page access record display region of dialog box after access to web page record.
Above-mentioned network instant communication session method may further comprise the step of: instant communication server and back up each domain name in browser The user identifier in data is locally stored, counts the total quantity of the user identifier of each domain name;And according to above-mentioned user identifier with it is right The mapping relations between session identification answered count the quantity of the user identifier with corresponding session identification of each domain name, note For number of sessions;Further, instant communication server calculates the session for the user identifier that the session rate of each domain name is each domain name The ratio of quantity and total quantity.
The total quantity of the user identifier of a certain domain name reflects the number of users for accessing the website of the domain name, and the domain name The number of sessions of user identifier then reflects the number of users that session is initiated on the webpage of the domain name, and the present embodiment is statistics available out For user from the website for accessing a certain domain name to the conversion ratio for initiating session, that is, the number of users for initiating session accounts for the use of access website The ratio of amount amount.
Fig. 2 timing diagram under a specific application scenarios for the network instant communication session method in one embodiment. As shown in Fig. 2, the network instant communication session method in the present embodiment includes the process for capturing and storing access record, the process The following steps are included:
(1.1) when browser opens webpage, the access logger detection current domain name of browser is locally stored in data With the presence or absence of user identifier, if so, enter step (1.2), if it is not, then to instant communication server application unique subscriber identification, By being locally stored in data for the user identifier the applied write-in current domain name of browser, and enter step (1.2).
The access logger is in browser, it is to be understood that the code of the access logger is embedded in browser In code.
(1.2) access logger acquisition browser works as the webpage relevant information of front opening webpage, webpage opening time, and obtains Take the user identifier of the current domain name of browser being locally stored in data.
(1.3) webpage relevant information, webpage opening time and the user identifier that access logger will acquire are sent to immediately The communication server.
(1.4) instant communication server, which saves as the webpage relevant information received, webpage opening time, receives The corresponding web page access record of user identifier.
(1.5) access logger according to prefixed time interval by browser opening webpage webpage relevant information and opening The corresponding user identifier of webpage and current time correspondence are sent to instant communication server.Open the corresponding user identifier of webpage For the user identifier of the domain name of webpage being locally stored in data.
(1.6) when the received webpage relevant information of instant communication server lookup and the corresponding webpage of user identifier are opened Between, calculate the time of received webpage relevant information and the corresponding current time of user identifier and corresponding webpage opening time The newest webpage stay time is added to phase using the time difference as the corresponding newest webpage stay time for opening webpage by difference The opening webpage answered corresponding web page access record, i.e., the corresponding web page access record of received user identifier.
Network instant communication session method in the present embodiment further includes starting communication session and sends dialog context and net Access to web page record process, the process the following steps are included:
(2.1) access logger obtains the session conversed with destinations traffic account triggered by webpage control and asks It asks.
(2.2) access logger obtains the user identifier of the current domain name of browser being locally stored in data.
(2.3) access logger can detect instant communication client (the referred to as local instant messaging visitor of browser local Family end) whether have been started up, if it is not, then starting local instant communication client.It obtains and inputs in local instant communication client Login account and password and by that can be sent to the user identifier that destinations traffic account and (2.2) obtain after login authentication Local instant communication client.If local instant communication client has been started up, accessing logger can be directly by destinations traffic Account and above-mentioned user identifier are sent to local instant communication client.
(2.4) after receiving destinations traffic account, local instant communication client, which can detect, to be used for and destinations traffic Whether the dialog box that account is conversed has already turned on, if it is not, then opening pair for conversing with destinations traffic account Talk about window.
(2.5) local instant communication client obtains what the dialog box for conversing with destinations traffic account was submitted Dialog context.
(2.6) local instant communication client is logged in by the dialog context and currently local communication account and received Destinations traffic account and user identifier are sent to instant communication server.
(2.7) instant communication server receive the dialog context that local instant communication client sends, local communication account, Destinations traffic account and user identifier;Instant communication server searches received local communication account and destinations traffic account is corresponding Session identification established between received user identifier and the session identification found if finding corresponding session identification Mapping relations generate corresponding unique session identification if not finding corresponding session identification, it is logical to store received local Believe the corresponding relationship of account and destinations traffic account and the session identification of generation, and establishes the meeting of received user identifier and generation Mapping relations between words mark.
(2.8) received dialog context is sent to the target Instant Messenger of destinations traffic account login by instant communication server Believe client.
(2.9) instant communication server receives the web page access for pulling session opposite end that target instant communication client is sent The request of record includes that (session intercommunication account includes target instant messaging client to session intercommunication account in the request The self communication account and session opposite end communications account logged on end, self communication account correspond to above-mentioned destinations traffic account, Session opposite end communications account corresponds to above-mentioned local communication account).
(2.10) instant communication server searches the corresponding session identification of received session intercommunication account, and according to meeting The corresponding user identifier of identifier lookup is talked about, corresponding pre-stored web page access is further searched according to user identifier and is recorded.
(2.11) web page access found record is sent to destinations traffic account instant messaging by instant communication server Client.
(2.12) target instant communication client shows received dialog context and web page access record.
As shown in figure 3, in one embodiment, a kind of network instant communication conversational system, including session request obtain mould Block 302, dialog context obtain module 304, user identifier obtains module 306, access record search module 308 and converse and access Sending module 310, in which:
Session request obtains module 302 and is used to obtain conversing with destinations traffic account of triggering by webpage control Session request.
The session request that the destinations traffic account that above-mentioned webpage control is used to trigger and specify is conversed, when webpage control When being clicked, session request can trigger.The webpage control can be the icon etc. flown on webpage, and the image on icon is can Instruction user clicks the image that the icon is conversed.
User identifier obtain module 304 be used for obtain browser local instant communication client be used for and destinations traffic The dialog context that the dialog box that account is conversed is submitted.
As shown in figure 4, in one embodiment, above-mentioned network instant communication conversational system further includes client terminal start-up detection Module 402 and dialog box detection module 404, in which: client terminal start-up detection module 402 is used to can detect browser local Whether instant communication client has been started up, if it is not, then starting the instant communication client of browser local.In browser local Instant communication client obtain the login account and password and by after login authentication of input, dialog box detection module 402 The openable dialog box for conversing with destinations traffic account.
Dialog box detection module 404 be used for detect browser local instant communication client be used for and destinations traffic Whether the dialog box that account is conversed has already turned on, if it is not, then opening pair for conversing with destinations traffic account Talk about window.
User identifier obtains the user identifier being locally stored in data that module 306 is used to obtain the current domain name of browser.
Domain name of the entitled browser of browser the current field when the webpage of front opening.User information of number of site etc. is browsed Device is stored in local, these websites are also known as cookies in the data that browser is locally stored.Money is locally stored in a certain domain name Material is stored in local cookies by browser for the corresponding website of the domain name.
Access record search module 308 is used to search the user identifier pair of the current domain name of browser being locally stored in data The pre-stored web page access record answered.
The dialog context and web page access record that call and access sending module 310 are used to will acquire are sent to destinations traffic The target instant communication client that account logs in.
As shown in figure 5, in one embodiment, the communication session system between the above-mentioned network user further includes display module 502, it is contained in target instant communication client, for showing above-mentioned dialog context and web page access record.Target instant messaging After receiving above-mentioned dialog context and web page access record, openable dialog box, display module 502 can be shown pair client Window is talked about, dialog context is shown into the dialog context display area in dialog box, and web page access record display is being talked with The web page access record display region of window.
As shown in fig. 6, in one embodiment, the communication session system between the above-mentioned network user further includes that access record obtains Modulus block 602 and access record preserving module 604, in which:
Access record obtains module 602 and is used to obtain the net that browser works as front opening webpage when browser opens webpage Page relevant information, webpage opening time;
The webpage relevant information and webpage opening time that access record preserving module 604 is used to will acquire save as browser The corresponding web page access record of the user identifier of current domain name being locally stored in data.
Webpage relevant information may include web page address, jump source-information and browser type etc..A certain webpage jumps Source-information is used to describe the information that the webpage jumps webpage certainly, it may include the webpage is with jumping the webpage of webpage certainly Location or website domain name etc..
As shown in fig. 7, in one embodiment, above-mentioned network instant communication conversational system further includes that access record refreshes mould Block 702, for calculating the webpage stay time that browser opens webpage according to prefixed time interval, when newest webpage is stopped It is long to be added to corresponding open in the corresponding web page access record of webpage.
Access record refresh module 702 can calculate current time and browser a certain opening webpage opening time when Between it is poor, using the time difference as the newest webpage stay time of the opening webpage, the local for obtaining the domain name of the opening webpage is deposited The newest webpage stay time of the opening webpage is added to the corresponding webpage of the user identifier and visited by the user identifier in storage data It asks in record, if stored webpage stay time in web page access record, newest webpage stay time is covered original Webpage stay time.
As shown in figure 8, in one embodiment, above-mentioned network instant communication conversational system further includes user identifier detection mould Block 802, for when browser opens webpage, being locally stored in data for the detection current domain name of browser to be marked with the presence or absence of user Know, if it is not, then applying for unique subscriber identification, data is locally stored in the user identifier the applied write-in current domain name of browser In.
As shown in Figure 9 A, in one embodiment, a kind of network instant communication conversational system, including access logger 10, Local instant communication client 20 and instant communication server 30, access logger 10 is in browser, local instant messaging Client 20 is the instant client of browser local, in which:
Access logger 10 is asked for obtaining the session conversed with destinations traffic account triggered by webpage control It asks.The access logger is in browser, it is to be understood that the code of the access logger is embedded in the code of browser In.
Access logger 10 is also used to obtain the user identifier of the current domain name of browser being locally stored in data, by user Mark and destinations traffic account are sent to local instant communication client 20.
The dialog box that local instant communication client 20 is used to obtain for conversing with destinations traffic account is submitted Dialog context, the local communication account and received destinations traffic account and user identifier by dialog context and currently logged in It is sent to instant communication server 30.
Instant communication server 30 is established for obtaining local communication account and the corresponding session identification of destinations traffic account Mapping relations between received user identifier and the session identification of acquisition.
Instant communication server 30 is also used to for received dialog context being sent to the target of destinations traffic account login i.e. When communication customer end.
Instant communication server 30 is also used to receive the webpage for pulling session opposite end of target instant communication client transmission The request of record is accessed, includes session intercommunication account in request.
Instant communication server 30 is also used to search the corresponding session identification of session intercommunication account, and according to corresponding Session identification searches corresponding user identifier, further searches corresponding pre-stored webpage according to corresponding user identifier and visits Ask record.
Instant communication server 30, which is also used to record the web page access found, is sent to target instant communication client.
As shown in Figure 9 B, in one embodiment, access logger 10 includes that session request obtains module 302, Yong Hubiao Know and obtains module 306 and account and mark sending module 902;Local instant communication client 20 includes that dialog context obtains module 304, call and account and mark sending module 904;Instant communication server 30 includes that module 906, call are established in session mapping And access sending module 310, access record request receiving module 908 and access record search module 308, in which:
Session request obtains module 302 and is used to obtain conversing with destinations traffic account of triggering by webpage control Session request.
User identifier obtains module 306 and is used for after getting session request, and the local for obtaining the current domain name of browser is deposited User identifier in storage data.
As shown in Figure 10, in one embodiment, access logger 10 further includes user identifier detection module 802, is used for When browser opens webpage, the detection current domain name of browser is locally stored in data with the presence or absence of user identifier, if it is not, then Apply for unique subscriber identification to instant communication server 30, by the local of the user identifier the applied write-in current domain name of browser In data on file.
Account and mark sending module 902 are used to for user identifier and destinations traffic account being sent to local instant messaging visitor Family end 20.
As shown in figure 11, in one embodiment, access logger further includes client terminal start-up detection module 402 and dialogue Window detection module 404, in which:
Client terminal start-up detection module 402 is for being sent to local instant messaging for user identifier and destinations traffic account Before client 20, whether the instant communication client of detection browser local is had been started up, if it is not, then starting browser local Instant communication client.Instant communication client in browser local obtains the login account inputted and password and by stepping on After record verifying, user identifier and destinations traffic account can be sent to local instant messaging visitor by account and mark sending module 902 Family end 20.
Instant communication client of the dialog box detection module 404 in browser local receives destinations traffic account Later, whether dialog box of the detection for conversing with destinations traffic account has already turned on, and is used for and mesh if it is not, then opening The dialog box that mark communications account is conversed.Dialog context obtain module 304 for obtain for destinations traffic account into The dialog context that the dialog box of row call is submitted.
Local communication account for by dialog context and currently logging in of call and account and mark sending module 904 and Received destinations traffic account and user identifier are sent to instant communication server.
Session mapping establishes module 906 for obtaining received local communication account and the corresponding session of destinations traffic account Mark, establishes the mapping relations between received user identifier and corresponding session identification.
In one embodiment, module 906 is established in session mapping can search received local communication account and destinations traffic The corresponding session identification of account establishes received user identifier and the session that finds if finding corresponding session identification Mapping relations between mark;If not finding corresponding session identification, corresponding unique session identification is generated, storage receives Local communication account and destinations traffic account and the session identification of generation corresponding relationship, and establish received user identifier with Mapping relations between the session identification of generation.
Call and access sending module 310 are used to for received dialog context being sent to the target of destinations traffic account login Instant communication client.
What access record request receiving module 908 was used to receive the transmission of target instant communication client pulls session opposite end The request of web page access record includes session intercommunication account in request.
Access record search module 308 is used to search the corresponding session identification of session intercommunication account, and according to session The corresponding user identifier of identifier lookup is further searched corresponding pre-stored web page access according to user identifier and is recorded.
The web page access record that call and access sending module 310 are used to find is sent to destinations traffic account and logs in Target instant communication client.
As shown in figure 12, in one embodiment, access logger 10 further includes that access record obtains module 602 and access And mark sending module 1202, instant communication server 30 further includes accessing record preserving module 604, in the present embodiment:
Access record obtains module 602 and is used to obtain the net that browser works as front opening webpage when browser opens webpage Page relevant information, webpage opening time;User identifier obtains module 306 and is also used to obtain being locally stored for the current domain name of browser User identifier in data;Access and identify webpage relevant information, the webpage opening time that sending module 1202 is used to will acquire Instant communication server 30 is sent to user identifier;Access record preserving module 604 is used to believe the webpage correlation received Breath, webpage opening time save as the corresponding web page access record of the user identifier received.
In one embodiment, as shown in figure 13, instant communication server 30 further includes access record refresh module 702, In the present embodiment:
Access and mark sending module 1202 are also used to the webpage for opening webpage according to prefixed time interval by browser Relevant information with open the corresponding user identifier of webpage and current time is corresponding is sent to instant communication server 30;
Access record refresh module 702 is used for the webpage relevant information according to the opening webpage received and opens webpage pair The user identifier and current time answered calculate the corresponding webpage stay time for opening webpage, and webpage stay time is added to It is corresponding to open the corresponding web page access record of webpage.
As shown in figure 14, in one embodiment, above-mentioned network instant communication conversational system further includes target instant messaging Client 40, target instant communication client 40 include display module 502, for showing that target instant communication client 40 receives Dialog context and web page access record.Target instant communication client 40 is after receiving dialog context, openable dialog Mouthful, dialog context can be shown the dialog context display area in dialog box by display module 502, in target instant messaging client After end 40 receives web page access record web page access record, display module 502 can be by web page access record display in dialog The web page access record display region of mouth.
In one embodiment, instant communication server further includes user identifier backup module and session rate statistical module (not shown), user identifier backup module back up the user identifier that each domain name is locally stored in data in browser;Session Rate statistical module is used to count the total quantity of the user identifier of each domain name and according to above-mentioned user identifier and corresponding session identification Between mapping relations, count the quantity of the user identifier with corresponding session identification of each domain name, be denoted as number of sessions;Into One step, session rate statistical module calculate each domain name session rate be each domain name user identifier number of sessions and total quantity Ratio.
The total quantity of the user identifier of a certain domain name reflects the number of users for accessing the website of the domain name, and the domain name The number of sessions of user identifier then reflects the number of users that session is initiated on the webpage of the domain name, and the present embodiment is statistics available out For user from the website for accessing a certain domain name to the conversion ratio for initiating session, that is, the number of users for initiating session accounts for the use of access website The ratio of amount amount.
Above-mentioned network instant communication session method and system are asked getting the session communicated with destinations traffic account After asking, the target instant messaging client of destinations traffic account login will be not only sent to the dialog context of destinations traffic account End, also obtains the user identifier of the current domain name of browser being locally stored in data, and searches that user identifier is corresponding to deposit in advance The web page access record of storage, when the web page access record of the user of front opening webpage, which is visited to get to operation browser Ask that record is sent to the target instant communication client of destinations traffic account login, the above method and system are in addition to communication session A side provide outside dialog context, the network access record of another party can be also provided to a side of communication session, another party is not required to The web page access that first party is understood by dialog context records, and so as to save the communication session time of both call sides, improves Communication session efficiency.
In addition, not needing to add as a friend destinations traffic account, it is only necessary to pass through webpage control in the above method and system The session request of triggering conversed with destinations traffic account can carry out communication session with destinations traffic account, thus simple The operating procedure that communication session is carried out with destinations traffic account is changed.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, described program can be stored in a computer-readable storage medium In, in the embodiment of the present invention, which be can be stored in the storage medium of computer system, and by the computer system At least one processor executes, and includes the process such as the embodiment of above-mentioned each method with realization.Wherein, the storage medium can be Magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (17)

1. a kind of network instant communication session method, comprising the following steps:
Obtain the session request conversed with destinations traffic account triggered by webpage control;
Obtain the dialog box for conversing with the destinations traffic account of the instant communication client of browser local The dialog context of submission;
Obtain the user identifier of the current domain name of browser being locally stored in data;
Search the corresponding pre-stored web page access record of the user identifier;
The dialog context is sent to the target instant communication client that the destinations traffic account logs in;
The request for the web page access record for pulling session opposite end that the target instant communication client is sent is received, is wrapped in request Include session intercommunication account;
According to user identifier corresponding to the corresponding session identification of the session intercommunication account, pre-stored webpage is searched Access record;
The web page access found record is sent to the target instant communication client of destinations traffic account login.
2. network instant communication session method according to claim 1, which is characterized in that the method also includes steps:
When browser opens webpage, obtains browser and work as the webpage relevant information of front opening webpage, webpage opening time;
The webpage relevant information, webpage opening time are saved as to the user of the current domain name of browser being locally stored in data Identify corresponding web page access record.
3. network instant communication session method according to claim 2, which is characterized in that the method also includes steps:
The webpage stay time that browser opens webpage is calculated according to prefixed time interval, newest webpage stay time is added It is opened in the corresponding web page access record of webpage to corresponding.
4. network instant communication session method according to claim 1, which is characterized in that the method also includes:
The dialog context and web page access record are shown by the target instant communication client.
5. a kind of network instant communication session method, comprising the following steps:
Access logger obtains the session request conversed with destinations traffic account triggered by webpage control;
The user identifier being locally stored in data that logger obtains the current domain name of browser is accessed, by user identifier and the mesh Mark communications account is sent to the instant communication client of browser local;
The instant communication client of browser local obtains what the dialog box for conversing with destinations traffic account was submitted Dialog context, the local communication account and the received destinations traffic account and use by the dialog context and currently logged in Family mark is sent to instant communication server;
Instant communication server obtains the local communication account and the corresponding session identification of destinations traffic account, establishes the use Mapping relations between family mark and the session identification;
The dialog context is sent to the target instant messaging client that the destinations traffic account logs in by instant communication server End;
Instant communication server receives asking for the web page access record for pulling session opposite end that target instant communication client is sent It asks, includes session intercommunication account in request;
Instant communication server searches the corresponding session identification of session intercommunication account, and corresponding according to session identification lookup User identifier is further searched corresponding pre-stored web page access according to user identifier and is recorded;
The web page access found record is sent to the target instant messaging of destinations traffic account login by instant communication server Client.
6. network instant communication session method according to claim 5, which is characterized in that the method also includes steps:
When browser opens webpage, access logger obtains browser when the webpage relevant information of front opening webpage, webpage are beaten ETAD expected time of arrival and departure, and obtain the user identifier of the current domain name of browser being locally stored in data, the webpage relevant information that will acquire, net Page opening time and user identifier are sent to instant communication server;
The webpage relevant information received, webpage opening time are saved as the user identifier pair received by instant communication server The web page access record answered.
7. network instant communication session method according to claim 6, which is characterized in that the method also includes steps:
It is according to prefixed time interval that the webpage relevant information of the opening webpage of browser is corresponding with webpage is opened to access logger User identifier and current time correspondence be sent to instant communication server;
Instant communication server is according to the webpage relevant information of the opening webpage received user identifier corresponding with webpage is opened And current time calculates the corresponding webpage stay time for opening webpage, and the webpage stay time is added to and is beaten accordingly Open the corresponding web page access record of webpage.
8. network instant communication session method according to claim 5, which is characterized in that the method also includes:
Target instant communication client shows received dialog context and web page access record.
9. a kind of network instant communication conversational system characterized by comprising
Session request obtains module, asks for obtaining the session conversed with destinations traffic account triggered by webpage control It asks;
Dialog context obtain module, for obtain browser local instant communication client be used for and the destinations traffic account The dialog context that number dialog box conversed is submitted;
User identifier obtains module, for obtaining the user identifier of the current domain name of browser being locally stored in data;
Record search module is accessed, for searching the corresponding pre-stored web page access record of the user identifier;
Call and access sending module, it is instant for the dialog context to be sent to the target that the destinations traffic account logs in Communication customer end;The request for the web page access record for pulling session opposite end that the target instant communication client is sent is received, It include session intercommunication account in request;According to user corresponding to the corresponding session identification of the session intercommunication account Mark searches pre-stored web page access record;The web page access found record is sent to destinations traffic account to log in Target instant communication client.
10. network instant communication conversational system according to claim 9, which is characterized in that the system also includes:
Access record obtains module, for when browser opens webpage, obtaining browser when the webpage of front opening webpage is related Information, webpage opening time;
Access record preserving module, for the webpage relevant information, webpage opening time to be saved as the current domain name of browser The user identifier being locally stored in data corresponding web page access record.
11. network instant communication conversational system according to claim 10, which is characterized in that the system also includes:
Access record refresh module will for calculating the webpage stay time that browser opens webpage according to prefixed time interval Newest webpage stay time is added to corresponding open in the corresponding web page access record of webpage.
12. network instant communication conversational system according to claim 9, which is characterized in that the system also includes:
Display module is contained in the target instant communication client, for showing the dialog context and the web page access Record.
13. a kind of network instant communication conversational system, which is characterized in that including access logger, instant communication server and sheet Ground instant communication client, for the access logger in browser, the local instant communication client is the browsing The instant client of device local, in which:
The access logger is for obtaining the session request conversed with destinations traffic account triggered by webpage control;
The access logger is also used to obtain the user identifier of the current domain name of browser being locally stored in data, and user is marked Know and the destinations traffic account is sent to the local instant communication client;
The local instant communication client is used to obtain what the dialog box for conversing with destinations traffic account was submitted Dialog context, the local communication account and the received destinations traffic account and use by the dialog context and currently logged in Family mark is sent to instant communication server;
The instant communication server is built for obtaining the local communication account and the corresponding session identification of destinations traffic account Found the mapping relations between the user identifier and the session identification;
The instant communication server is also used to for the dialog context being sent to the target of the destinations traffic account login i.e. When communication customer end;
The webpage for pulling session opposite end that the instant communication server is also used to receive the transmission of target instant communication client is visited It asks the request of record, includes session intercommunication account in request;
The instant communication server is also used to search the corresponding session identification of the session intercommunication account, and according to described Corresponding session identification searches corresponding user identifier, further deposits in advance according to the corresponding user identifier lookup is corresponding The web page access of storage records;
The instant communication server, which is also used to record the web page access found, is sent to the target instant messaging client End.
14. network instant communication conversational system according to claim 13, which is characterized in that the access logger includes Session request obtains module, user identifier obtains module and account and mark sending module;
The local instant communication client includes that dialog context obtains module and call and account and mark sending module;
The instant communication server includes that module, access record request receiving module, access record search are established in session mapping Module and call and access sending module;
The session request obtains module for obtaining the meeting conversed with destinations traffic account triggered by webpage control Words request;
The user identifier obtains module and is used for after getting the session request, and the local for obtaining the current domain name of browser is deposited User identifier in storage data;
The account and mark sending module are used to user identifier and the destinations traffic account being sent to the local instant Communication customer end;
The dialog context obtains module for obtaining the logical of the dialog box submission for conversing with destinations traffic account Talk about content;
The local communication account and connect that the call and account and mark sending module are logged in by the dialog context and currently The destinations traffic account and user identifier received are sent to instant communication server;
The session mapping establishes module and is used to obtain the local communication account and the corresponding session identification of destinations traffic account, Establish the mapping relations between the user identifier and the session identification;
The call and access sending module are used to for the dialog context being sent to the target that the destinations traffic account logs in Instant communication client;
The access record request receiving module is used to receive the net for pulling session opposite end of target instant communication client transmission The request of access to web page record includes session intercommunication account in request;
The access record search module is used to search the corresponding session identification of the session intercommunication account, and according to described Corresponding session identification searches corresponding user identifier, further deposits in advance according to the corresponding user identifier lookup is corresponding The web page access of storage records;
The call and access sending module, which are also used to record the web page access found, is sent to the target instant messaging Client.
15. network instant communication conversational system according to claim 14, which is characterized in that the access logger also wraps It includes access record and obtains module and access and mark sending module, the instant communication server further includes that access record saves mould Block, in which:
Access record obtains module and is used to obtain browser when browser opens webpage when the webpage correlation of front opening webpage is believed Breath, webpage opening time;
The user identifier obtains module and is also used to obtain being locally stored for the current domain name of browser when browser opens webpage User identifier in data;
Webpage relevant information, webpage opening time and the user identifier that access and mark sending module are used to will acquire are sent To instant communication server;
Access record preserving module is used to the webpage relevant information received, webpage opening time saving as the user received Identify corresponding web page access record.
16. network instant communication conversational system according to claim 15, which is characterized in that the access and mark are sent Module is also used to the webpage relevant information use corresponding with opening webpage according to prefixed time interval by the opening webpage of browser Family mark and current time correspondence are sent to instant communication server;
The instant communication server further include:
Access record refresh module, for according to the webpage relevant information of the opening webpage received use corresponding with webpage is opened Family mark and current time calculate the corresponding webpage stay time for opening webpage, and the webpage stay time is added to phase The corresponding web page access record of the opening webpage answered.
17. network instant communication conversational system according to claim 14, which is characterized in that the system also includes described Target instant communication client comprising:
Display module, for showing the received dialog context of target instant communication client 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 CN105099858A (en) 2015-11-25
CN105099858B true 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)

Families Citing this family (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
US11928482B2 (en) 2017-06-13 2024-03-12 Google Llc Interaction with electronic chat interfaces
EP3559825A1 (en) * 2017-06-13 2019-10-30 Google LLC Improving interaction with electronic chat interfaces
CN108063804B (en) * 2017-12-04 2021-03-09 北京小米移动软件有限公司 Communication method and device
CN110300046B (en) * 2018-03-22 2022-02-08 腾讯科技(深圳)有限公司 Business consultation control method, terminal and server
CN110620672B (en) * 2018-06-19 2022-02-18 腾讯科技(深圳)有限公司 Multi-person session data processing method and device, computer equipment and storage medium
CN113095875B (en) * 2021-04-06 2024-02-27 杭州数跑科技有限公司 Message delivery effect statistics method and related device

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

Also Published As

Publication number Publication date
CN105099858A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN105099858B (en) Network instant communication session method and system
US10797976B2 (en) System and methods for facilitating object assignments
US10755279B2 (en) Methods, systems and products for authentication
CN104767775B (en) Web application information push method and system
CN104601641B (en) Application link sharing method, apparatus and system
CN103401884B (en) Public wireless environment online authentication method and system based on wechat
CN107704497B (en) Webpage data crawling method and device, webpage data crawling platform and storage medium
US8861692B1 (en) Web call access and egress to private network
WO2019102457A1 (en) Device, system, and method of detecting vishing attacks
US8995967B1 (en) Systems and methods for device emulation on mobile channel
CN104636392B (en) Carry out method, system, server and browser that recommendation information issues
EP3335130A1 (en) Systems and methods for allocating communication resources via information technology infrastructure
CN107169025B (en) Sharing intelligent tracking method, device and system
CN111447133B (en) Message transmission method and device, storage medium and electronic device
CN104852919B (en) Realize the method and device of door Portal certifications
CN102055813A (en) Access controlling method for network application and device thereof
CN103269479A (en) Call ticket processing method, device and system
CN101582856A (en) Session setup method of Portal server and BAS (broadband access server) device and system thereof
US20170171286A1 (en) Methods and devices for validating a video connection or other types of communication sessions over a computer network
CN105635073A (en) Access control method and device and network access equipment
WO2015158150A1 (en) Method and apparatus enabling user to establish communication with third party
CN111106983B (en) Method and device for detecting network connectivity
CN105656979B (en) A kind of method, client, server and the platform of unstructured message processing
CN106161406A (en) The method and apparatus obtaining user account
CN106789413A (en) A kind of method and apparatus for detecting proxy surfing

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