CN106161186A - Instant communication method and device - Google Patents

Instant communication method and device Download PDF

Info

Publication number
CN106161186A
CN106161186A CN201510148963.0A CN201510148963A CN106161186A CN 106161186 A CN106161186 A CN 106161186A CN 201510148963 A CN201510148963 A CN 201510148963A CN 106161186 A CN106161186 A CN 106161186A
Authority
CN
China
Prior art keywords
session
client
network environment
information
communication
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
CN201510148963.0A
Other languages
Chinese (zh)
Other versions
CN106161186B (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201510148963.0A priority Critical patent/CN106161186B/en
Publication of CN106161186A publication Critical patent/CN106161186A/en
Application granted granted Critical
Publication of CN106161186B publication Critical patent/CN106161186B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention is applicable to communication field, it is provided that a kind of instant communication method and device, the information of the position storage that analyzing web page is preset;The keyword message parsed and interest point information are sent to server, so that the session that described whois lookup mates with described keyword message and interest point information;Receive corresponding uniquely the identifying of the session found that described server sends;Unique mark corresponding to self network environment information and described session is sent to server;Receive the network environment information with other clients of uniquely identified corresponding to identical described session that described server sends;With described according to the network environment information with other clients of uniquely identified corresponding to identical described session received there are other clients of uniquely identified corresponding to identical described session set up communication connection, with set up the client that communication is connected and carry out instant messaging.The embodiment of the present invention can improve the convenience of communication.

Description

Instant communication method and device
Technical field
The embodiment of the present invention belongs to communication field, particularly relates to a kind of instant communication method and device.
Background technology
The today developed rapidly in the Internet, the demand carrying out instant messaging between men is more and more stronger. But due to current instant messaging mode, such as audio frequency and video phone, MSN, Internet chatroom, It is all with the incidence relation between user account and user account for setting up the antecedent basis of communication, therefore limits Communication freely between people;Additionally, existing method cannot be effectively having common interest, joint demand People quickly couple together, be such as difficult to will pay close attention to same news people or at selected web same class commodity People quickly couple together, so that the efficiency setting up communication is too low.
Summary of the invention
Embodiments provide a kind of instant communication method and device, it is intended to solve existing method Limit too much setting up instant messaging, so that the problem that the efficiency of setting up instant messaging is too low.
The embodiment of the present invention is achieved in that a kind of instant communication method, and described method includes:
The information of the position storage that analyzing web page is preset;
The keyword message parsed and interest point information are sent to server, so that described whois lookup The session mated with described keyword message and interest point information;
Receive corresponding uniquely the identifying of the session found that described server sends;
Unique mark corresponding to self network environment information and described session is sent to server;
Receive that described server sends has other clients of uniquely identified corresponding to identical described session Network environment information;
According to the network environment letter with other clients of uniquely identified corresponding to identical described session received Breath with described have other clients of uniquely identified corresponding to identical described session set up communication connection, with The client setting up communication connection carries out instant messaging.
The another object of the embodiment of the present invention is to provide a kind of instant communication method, and described method includes:
Receive the keyword message that obtains of position and interest point information that the analyzing web page that client sends is preset;
Search the session mated with described keyword message and interest point information;
When finding the session mated with described keyword message and interest point information, the session that will find Corresponding unique mark sends to client;
Receive and there is the network environment information that uniquely identified client corresponding to described session sends;
Be sent to the network environment information received to have uniquely identified corresponding to identical described session other Client so that described in have other clients of uniquely identified corresponding to identical described session according to receive Network environment information is set up communication and is connected with corresponding client, and carries out i.e. with setting up the client that communication is connected Time communication.
The another object of the embodiment of the present invention is to provide a kind of instant communication device, and described device includes:
Web analysis unit, the information stored for the position that analyzing web page is preset;
Analysis result transmitting element, for sending the keyword message parsed and interest point information to service Device, so that the session that described whois lookup mates with described keyword message and interest point information;
Session identification receives unit, for receiving corresponding unique of the session found that described server sends Mark;
First network environmental information transmitting element, for by self network environment information and described session pair The unique mark answered sends to server;
First network environmental information receive unit, for receive described server send there is identical described meeting The network environment information of other clients of uniquely identified that words are corresponding;
Communication connection establishment unit, for having, according to receive, the uniquely identified that identical described session is corresponding The network environment information of other clients has other visitors of uniquely identified corresponding to identical described session with described Family end is set up communication and is connected, with set up the client that communication is connected and carry out instant messaging.
The another object of the embodiment of the present invention is to provide a kind of instant communication device, and described device includes:
Analysis result receives unit, the pass that the position that the analyzing web page sent for receiving client is preset obtains Key word information and interest point information;
Unit is searched in session, for searching the session mated with described keyword message and interest point information;
Session identification transmitting element, for mating with described keyword message and interest point information finding During session, unique mark corresponding for the session found is sent to client;
First network environmental information receives unit, has, for receiving, the uniquely identified visitor that described session is corresponding The network environment information that family end sends;
Second network environment information transmitting element, for being sent to have phase by the network environment information received With other clients of uniquely identified that described session is corresponding so that described in have identical described session corresponding Other clients of uniquely identified are set up communication according to the network environment information received with corresponding client and are connected, And carry out instant messaging with setting up the client that communication is connected.
In embodiments of the present invention, owing to when the communication modes found between same concerns point client being P2P's, therefore, communication process is not controlled by any operator, Content of communciation without through server, And without registration, login, thus while improving convenience, effectively protect the privacy of user.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of instant communication method that first embodiment of the invention provides;
Fig. 2 is the structure chart of the another kind of instant communication method that second embodiment of the invention provides;
Fig. 3 is the structure chart of a kind of instant communication device that third embodiment of the invention provides;
Fig. 4 is the structure chart of the another kind of instant communication device that fourth embodiment of the invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein Only in order to explain the present invention, it is not intended to limit the present invention.
In the embodiment of the present invention, the location resolution preset from webpage is gone out keyword message and point of interest by client Information sends to server, so that the session that whois lookup mates with keyword message and interest point information, And unique mark of the session found is sent to client, client is again by the network environment information of self The unique mark corresponding by described session sends to server, and server receives the network environment of client After information, the network environment information of other clients relevant with unique mark of session is sent to client, It is connected so that client sets up communication with other clients.
In order to technical solutions according to the invention are described, illustrate below by specific embodiment.
Embodiment one:
Fig. 1 shows the flow chart of a kind of instant communication method that first embodiment of the invention provides, and it refers to The instant communication method realized in client, in embodiments of the present invention, the position that client will be preset from webpage Put and parse keyword message and interest point information and send to server, so that whois lookup is believed with keyword Breath and the session of interest point information coupling, and unique mark of the session found is sent to client, visitor Unique mark corresponding to self network environment information and described session is sent to server, clothes by family end again After business device receives the network environment information of client, by other clients relevant with unique mark of session Network environment information send to client, in order to the visitor that client is corresponding with the network environment information received Family end sets up communication, and details are as follows:
Step S11, the information of the position storage that analyzing web page is preset.
Wherein, the position that webpage is preset refers to the keyword message for memory page content and the interest preset The position of dot information, the keyword of content of pages and point of interest can add as display information or hiding information Content of pages itself, it is also possible to as additional information, be supplied to client (i.e. while issuing content of pages User), the additional information of every film is such as obtained when client obtains movie listings.
In this step, client application software passes through DLL and corresponding function interface, from interior the most additional Information is extracted the information of the position storage that webpage is preset: such as, (1) browser software provides DLL Obtain user's (i.e. client) and browse url address (Uniform Resoure Locator: the unified money of webpage Source location device), then in the page that this url address is corresponding, search embedded keyword message and interest point information, These information are saved in the element that the page specifies title or ID according to treaty rule, and browser is by searching about Set pattern page elements then obtains;(2) video player provides DLL from being currently played film Additional information in extract keyword message and interest point information;(3) for show commodity website time, if Mouse moves to certain commodity, then browser rule according to a preconcerted arrangement [sets at front-page keyword and point of interest in advance Put the content of correspondence] obtain keyword corresponding to these commodity and point of interest, such as extract webpage url and business The coding of product is as keyword.
Alternatively, before the information of the position storage that analyzing web page is preset, including: according to content of pages Type from local and/or obtain corresponding keyword and point of interest from server, and show acquisition keyword and Point of interest selects for user.Owing to user can select pass interested in the keyword of display and point of interest Key word and point of interest, therefore, can obtain more when client resolves keyword and the point of interest that user selects Keyword message and interest point information accurately.
Alternatively, before the information of the position storage that analyzing web page is preset, including: display keyword and emerging The defined interface of interest point.User is by the keyword of the self-defined content of pages of defined interface of display and emerging Interest point, so that the session that subsequent server is searched is more accurate, the requirement of the user that more fits.
Alternatively, before the defined interface of display keyword and point of interest, including: network with server After, unique mark of client is sent to service end storage, in order to server is according to described client only One mark identifies client.Further, client and can also have a mind to continue to participate in by once participating in Communication topic corresponding to session be sent to server, in order to client receives leading to these of server push The information of the session that news topic is relevant.
Step S12, sends the keyword message parsed and interest point information to server, so that described The session that whois lookup mates with described keyword message and interest point information.
Alternatively, when client parses keyword message and interest point information, show in full position and send out Play the button of instant messaging, and the button of described instant messaging is in upstate;When client does not resolve When going out keyword message and interest point information, the button of described instant messaging is in down state, certainly, Also the button of described instant messaging can not be shown.User, by triggering the button of described instant messaging, makes client Hold and the keyword message parsed and interest point information are sent to server.
Wherein, keyword is relevant with the type of content of pages with the setting of point of interest, the class of different content of pages Type arranges different keywords and point of interest, and then after client resolves, obtains different keyword messages And interest point information.Such as, for a piece of news, the keyword extracted can include headline, relate to And place, personage, news category etc., point of interest can include background information, news analysis, tracking report Road etc.;For hot broadcast TV play, the keyword extracted can include title, featured performer name, TV Station information etc.;For online commodity, the keyword extracted can include trade name, model, price etc. Information.
In this step, unique mark of content, keyword, point of interest represent, such as with the form of agreement Following form:
{
Content uniquely identifies: xxxxxxx
Distribution number: xxxxxx
Content type: xxxxx
Keyword: [" xxx ", " xxx " ...]
Point of interest: [" xxx ", " xxx " ...]
Media information:
{
Title: xxxxx
Leading man: xxxxx
Female acts the leading role: xxxxx
Director: xxxxx
……
}
……
}
Arrange when foregoing type and Content Unique Identifier can be content developments, such as, by content Unique identifier be set to video display, song etc. distribution time issue number;Additionally, content type and content are only One identifier can also be that the intrinsic information of client parsing content obtains, by arranging Content Unique Identifier And content type can increase further and accurately finds the client with same interest point.
Step S13, receives corresponding uniquely the identifying of the session found that described server sends.
When whois lookup to the session mated with described keyword message and interest point information, will find Unique mark corresponding to session send to client.
Alternatively, the described server of described reception send the session found corresponding when uniquely identifying, Also include:
Receiving the token that described server sends, described token and described server are the authority pair of session distribution Should;Now, described step S14, by the network environment information of self by corresponding uniquely the marking of described session Know and send to server particularly as follows: by the network environment information of self by corresponding uniquely the identifying of described session And token sends to server.Wherein, the token that session is corresponding and server are different user for this session The authority of distribution is corresponding, and e.g., the authority of token comprises the user of session ownership, the communication modes of this session is Word and/or audio frequency and/or video, the effect duration of this session, the maximum number of user etc. of permission.Having in session In the effect phase, session establishment communication between client, can be passed through.
Step S14, sends unique mark corresponding to self network environment information and described session to clothes Business device.
Wherein, the network environment information of client refers between client to set up end-to-end (P2P) Own IP address that connection must mutually provide and port information and client follow network address translation (Network Address Translation, NAT) agreement mapping IP on each level router and fire wall Address and port numbers, the parameter that client network transmission performance is relevant with Content of communciation process performance.
Step S15, receive described server send have uniquely identified corresponding to identical described session its The network environment information of his client.
After server receives the network environment information that client sends, store this network environment information, and According to unique mark of session, search the network environment information that the unique mark also according to this session sends, Again the network environment information found is sent to corresponding client.For example, it is assumed that unique mark of session For X, the network environment information of self is sent to server by X by the first client, and server is searched again By the network environment information of non-first client that X sends, and the net of non-first client that will find Network environmental information sends to the first client.
Step S16, has other clients of uniquely identified corresponding to identical described session according to receive Network environment information sets up communication with described other clients of uniquely identified having identical described session corresponding Connect, with set up the client that communication is connected and carry out instant messaging.
After client receives the network environment information of other clients, according to the network environment information received Carry out capability negotiation with corresponding client, such as, consult two clients by word and/or audio frequency and / or video carry out the parameter of communication, then by webpage real-time Communication for Power (Web Real-Time Communication, WebRTC) technology sets up the connection of P2P network, so, sets up between the client connected not by any fortune Battalion side controls, and exempts from registration, exempts to log in and can be realized as instant messaging, can be effective while improving convenience Protection privacy of user.Further, client preserves the session once participated in, and is being connected with server Time be sent to server, in order to the propelling movement of service end can be received during relevant conversation establishing.
Alternatively, described have, according to receive, other clients of uniquely identified that identical described session is corresponding Network environment information there is other clients of uniquely identified corresponding to identical described session set up logical with described News connect, with set up the client that communication is connected and carry out instant messaging, specifically include:
By communication connection establishment request by receive have uniquely identified corresponding to identical described session other The network environment information of client sends to described client, and communication institute is carried in the request of described communication connection establishment The parameter needed;The information that communication connects is set up in the agreement receiving described client feedback, and according to the letter received Breath with described have other clients of uniquely identified corresponding to identical described session set up communication connection.Wherein, Parameter needed for the communication that the request of communication connection establishment is carried includes: two clients are by word and/or sound Frequency and/or video carry out the parameter of communication.When the first client receives the network environment information of the second client Time, send communication connection establishment and ask to the second client, if the second client agrees to that setting up communication connects, Then feedback is agreed to set up the information that communication connects, in order to the first client is according to the information received and the second client End is set up communication and is connected, and otherwise, if the second client refusal is set up communication and connected, then feedback refusal is set up logical The information that news connect gives the first client, and now, the first client and the second client set up connection failure.
In the first embodiment of the invention, client by from webpage preset location resolution go out keyword message and Interest point information sends to server, so that what whois lookup mated with keyword message and interest point information Session, and unique mark of the session found is sent to client, client is again by the network rings of self Environment information is sent to server by unique mark that described session is corresponding, and server receives the net of client After network environmental information, the network environment information of other clients relevant with unique mark of session is sent extremely Client, in order to client is set up communication with other clients and is connected.Due to when finding same concerns point visitor Communication modes between the end of family is P2P, and therefore, communication process is not controlled by any operator, in communication Hold without through server, and without registration, log in, thus effectively protect while improving convenience Protect the privacy of user.
Embodiment two:
Fig. 2 shows the flow chart of the another kind of instant communication method that second embodiment of the invention provides, and it is Referring to the instant communication method realized on server, details are as follows:
Step S21, receives the keyword message that obtains of position that the analyzing web page that client sends presets and emerging Interest dot information.
Specifically, the keyword message of the client transmission that server analysis receives and interest point information, root The keyword message received according to analysis result specification and interest point information, to improve the hit rate of follow-up lookup. Such as, when the another name that the keyword message received is TV play, it is electricity by the alias name modifications of this TV play Depending on acute formal name.
Step S22, searches the session mated with described keyword message and interest point information.
In the life cycle of session, server is in advance by session and the keyword message of session set up, emerging Interest dot information correspondence storage.When server receives keyword message and interest point information, according to this key Word information searches corresponding session with interest point information.
Step S23, when finding the session mated with described keyword message and interest point information, will look into Corresponding uniquely the identifying of session found sends to client.
Wherein, when what session was corresponding is uniquely designated server establishment session, the mark of the session created is distributed to Know number, the session created for unique mark.
Alternatively, when not finding the session mated with described keyword message and interest point information, wound Build a session, and the session for creating distributes a unique mark.Further, notice client does not has Find session.And be hopeful to carry out communication with regard to this topic by unique identification notification corresponding for newly-built session Client so that client knows that session has built up.
Step S24, receives and has uniquely identified client corresponding to described session by described session correspondence The network environment information that sends of unique mark.
Wherein, network environment information refer between client in order to set up P2P network connect must mutually carry The own IP address of confession and port information and client follow NAT agreement at each level router and fire wall On mapping IP address and port numbers, ginseng that client network transmission performance is relevant with Content of communciation process performance Number.
Alternatively, described corresponding for the session found unique mark is sent to client time, also include:
Token corresponding for the authority distributed for session is sent to client.When server is that session distributes one During unique identification number, the authority of session is set according to the restrictive condition of the topic of session, such as runs Communication modes is word and/or audio frequency and/or video, the maximum number of user of permission, the effect duration etc. of session, this A little authorities are corresponding with the token of session.
Step S25, is sent to have corresponding unique of identical described session by the network environment information received Mark other clients so that described in there are other clients of uniquely identified that identical described session is corresponding Set up communication connection with corresponding client according to the network environment information received, and with set up the visitor that communication is connected Family end carries out instant messaging.
After server receives network environment information that client sends and unique mark corresponding to session, search with The network environment information that sample is sent by unique mark that this session is corresponding, and the network environment letter that will find Breath is sent to client.
Alternatively, when a new client application adds the session created, server is by this client Network environment information is sent to other clients participating in session, in order to this new client participates in meeting with other The client of words is set up communication and is connected.
In second embodiment of the invention, the position that the analyzing web page that server reception client sends is preset obtains The keyword message arrived and interest point information, then search and mate with described keyword message and interest point information Session, if finding, then sends unique mark corresponding for the session found to client, is receiving visitor After the network environment information that family end is sent by unique mark that described session is corresponding, described meeting will be obtained equally The network environment information of the uniquely identified client that words are corresponding sends to client, so that described client root Set up communication connection with corresponding client according to the network environment information received, and with set up the client that communication is connected End carries out instant messaging.Owing to the network environment information participating in the client of same session is sent to by server Corresponding client so that the communication modes of P2P can be set up between client, therefore, between client Communication process do not controlled by any operator, Content of communciation without through server, and without registration, Log in, thus while improving convenience, effectively protect the privacy of user.
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to perform suitable The priority of sequence, the execution sequence of each process should determine with its function and internal logic, and should be unreal to the present invention The implementation process executing example constitutes any restriction.
Embodiment three:
Fig. 3 shows the structure chart of a kind of instant communication device that third embodiment of the invention provides, this another Planting instant communication device and can apply in various terminal, these various terminals can include through wireless access network RAN and one or more core net carry out the subscriber equipment of communication, and this subscriber equipment can be mobile phone (or be referred to as " honeycomb " phone), there is the computer etc. of mobile device, such as, subscriber equipment is all right Being portable, pocket, hand-held, built-in computer or vehicle-mounted mobile device, they are with wireless Access network exchange voice and/or data.The most such as, this mobile device can include smart mobile phone, panel computer, Personal digital assistant PDA, point-of-sale terminal POS or vehicle-mounted computer etc..For convenience of description, illustrate only The part relevant to the embodiment of the present invention.
This one instant communication device includes: web analysis unit 31, analysis result transmitting element 32, session Mark receives unit 33, first network environmental information transmitting element 34, first network environmental information reception unit 35, communication connection establishment unit 36.Wherein:
Web analysis unit 31, the information stored for the position that analyzing web page is preset.
Wherein, the position that webpage is preset refers to the keyword message for memory page content and the interest preset The position of dot information, the keyword of content of pages and point of interest can add as display information or hiding information Content of pages itself, it is also possible to as additional information, be supplied to client while issuing content of pages.
Alternatively, this one instant communication device includes: crucial word selection unit, for according to content of pages Type from local and/or obtain corresponding keyword and point of interest from server, and show the keyword of acquisition Select for user with point of interest.Owing to user can select interested in the keyword of display and point of interest Keyword and point of interest, therefore, can obtain when client resolves keyword and the point of interest that user selects Keyword message and interest point information more accurately.
Alternatively, this one instant communication device includes: self-defined unit, is used for showing keyword and interest The defined interface of point.User passes through keyword and the interest of the self-defined content of pages of defined interface of display Point, so that the session that subsequent server is searched is more accurate, the requirement of the user that more fits.
Analysis result transmitting element 32, for sending the keyword message parsed and interest point information to clothes Business device, so that the session that described whois lookup mates with described keyword message and interest point information.
Alternatively, when client parses keyword message and interest point information, show in full position and send out Play the button of instant messaging, and the button of described instant messaging is in upstate;When client does not resolve When going out keyword message and interest point information, the button of described instant messaging is in down state, certainly, Also the button of described instant messaging can not be shown.User, by triggering the button of described instant messaging, makes client Hold and the keyword message parsed and interest point information are sent to server.
Wherein, keyword is relevant with the type of content of pages with the setting of point of interest, the class of different content of pages Type arranges different keywords and point of interest.
Session identification receives unit 33, corresponding only for receiving the session found of described server transmission One mark.
Alternatively, this one instant communication device includes:
Token receives unit, for receiving the token that described server sends, and described token and described server Authority for session distribution is corresponding.Wherein, the token that session is corresponding is different use from server for this session The authority of family distribution is corresponding, and e.g., the authority of token comprises the user of session ownership, the communication modes of this session It is word and/or audio frequency and/or video, the effect duration of this session, the maximum number of user etc. of permission.
Now, described network environment information transmitting element is: by the network environment information of self by described meeting Unique mark and token that words are corresponding send to server.
First network environmental information transmitting element 34, for by self network environment information and described session Corresponding unique mark sends to server.
Wherein, the network environment information of client refers to the hardware of client, software information.
First network environmental information receives unit 35, identical described for receiving having of described server transmission The network environment information of other clients of uniquely identified that session is corresponding.
After server receives the network environment information that client sends, store this network environment information, and According to unique mark of session, search the network environment information that the unique mark also according to this session sends, Again the network environment information found is sent to corresponding client.
Communication connection establishment unit 36, for having, according to receive, unique mark that identical described session is corresponding Other clients network environment information with described have uniquely identified corresponding to identical described session other Client is set up communication and is connected, with set up the client that communication is connected and carry out instant messaging.
After client receives the network environment information of other clients, according to the network environment information received Carry out capability negotiation with corresponding client, such as, consult two clients by word and/or audio frequency and / or video carry out the parameter of communication, then by webpage real-time Communication for Power (Web Real-Time Communication, WebRTC) technology sets up P2P connection, so, sets up between the client connected not by any operator Control, exempt from registration, exempt to log in and can be realized as instant messaging, can effectively protect while improving convenience Privacy of user.Further, client preserves the session once participated in, and sends out when being connected with server Give server, in order to the propelling movement of service end during relevant conversation establishing, can be received.
Alternatively, described communication connection establishment unit specifically includes:
Communication connection establishment request sending module, for having phase by the request of communication connection establishment by receive Send to described client with the network environment information of other clients of uniquely identified corresponding to described session, The parameter needed for communication is carried in the request of described communication connection establishment.
Wherein, the parameter needed for the communication that communication connection establishment request is carried includes: two clients are being passed through Word and/or audio frequency and/or video carry out the parameter of communication.
Feedback information receiver module, sets up, for receiving the agreement of described client feedback, the information that communication connects, And with described, there is other clients of uniquely identified foundation that identical described session is corresponding according to the information received Communication connects.
In third embodiment of the invention, owing to the communication modes between client is P2P, therefore, logical News process is not controlled by any operator, Content of communciation without through server, and without registration, log in, Thus while improving convenience, effectively protect the privacy of user.
Embodiment four:
Fig. 4 shows the structure chart of the another kind of instant communication device that fourth embodiment of the invention provides, and this is another A kind of instant communication device can apply in various terminal, and these various terminals can include through wireless access network RAN and one or more core net carry out the subscriber equipment of communication, and this subscriber equipment can be mobile phone (or be referred to as " honeycomb " phone), there is the computer etc. of mobile device, such as, subscriber equipment is all right Being portable, pocket, hand-held, built-in computer or vehicle-mounted mobile device, they are with wireless Access network exchange voice and/or data.The most such as, this mobile device can include smart mobile phone, panel computer, Personal digital assistant PDA, point-of-sale terminal POS or vehicle-mounted computer etc..For convenience of description, illustrate only The part relevant to the embodiment of the present invention.
This another kind instant communication device includes: analysis result receives unit 41, unit 42, meeting are searched in session Words mark transmitting element 43, first network environmental information receive unit the 44, second network environment information and send single Unit 45.Wherein:
Analysis result receives unit 41, and the position that the analyzing web page sent for receiving client is preset obtains Keyword message and interest point information.
Specifically, keyword message and interest point information that the client received sends are analyzed, according to analysis The keyword message of result specification reception and interest point information, to improve the hit rate of follow-up lookup.
Unit 42 is searched in session, for searching the session mated with described keyword message and interest point information.
Specifically, keyword message, the interest point information correspondence session participant talked about in advance store.
Session identification transmitting element 43, for mating with described keyword message and interest point information finding Session time, unique mark corresponding for the session that finds is sent to client.
Wherein, when session that what session was corresponding be uniquely designated is created, distribute to the identification number of the session created Code, the session created for unique mark.
Alternatively, described another kind of instant communication device includes:
Session creating unit, for mating with described keyword message and interest point information not finding During session, create a session, and the session for creating distributes a unique mark.
First network environmental information receives unit 44, has, for receiving, the uniquely identified that described session is corresponding The network environment information that client sends.
Wherein, network environment information refers to the hardware of client, software information.
Alternatively, described another kind of instant communication device includes:
Token transmitting element, for by token transmission corresponding for the authority that distribute for session to client.
Wherein, the token of session is corresponding with the authority of session, such as session run communication modes be word and/ Or audio frequency and/or video, the maximum number of user of permission, the effect duration etc. of session.
Second network environment information transmitting element 45, has for being sent to by the network environment information received Other clients of uniquely identified that identical described session is corresponding so that described in have identical described session corresponding Other clients of uniquely identified set up communication company with corresponding client according to the network environment information received Connect, and carry out instant messaging with setting up the client that communication is connected.
After receiving network environment information that client sends and unique mark corresponding to session, search again by The network environment information of unique mark transmission that this session is corresponding, and the network environment information transmission that will find To client.
Alternatively, when a new client application adds the session created, by the network rings of this client Environment information is sent to other clients participating in session, in order to this new client participates in the visitor of session with other Family end is set up communication and is connected.
In fourth embodiment of the invention, owing to the network environment information of the client by participating in same session sends To corresponding client so that can set up the communication modes of P2P between client, therefore, client it Between communication process do not controlled by any operator, Content of communciation without through server, and without registration, Log in, thus while improving convenience, effectively protect the privacy of user.
Those of ordinary skill in the art are it is to be appreciated that combine respectively showing of the embodiments described herein description The unit of example and algorithm steps, it is possible to come with the combination of electronic hardware or computer software and electronic hardware Realize.These functions perform with hardware or software mode actually, depend on the application-specific of technical scheme And design constraint.Each specifically should being used for can be used different methods to realize by professional and technical personnel Described function, but this realization is it is not considered that beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and foregoing description The specific works process of system, device and unit, be referred to the corresponding process in preceding method embodiment, Do not repeat them here.
In several embodiments provided herein, it should be understood that disclosed system, device and side Method, can realize by another way.Such as, device embodiment described above is only schematically , such as, the division of described unit, be only a kind of logic function and divide, actual can have when realizing another Outer dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or Some features can be ignored, or does not performs.Another point, shown or discussed coupling each other or straight Connect coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, Can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, as The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or Can also be distributed on multiple NE.Can select therein some or all of according to the actual needs Unit realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit In.
If described function realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, the skill of the present invention Part that prior art is contributed by art scheme the most in other words or the part of this technical scheme can be with The form of software product embodies, and this computer software product is stored in a storage medium, if including Dry instruction is with so that a computer equipment (can be personal computer, server, or the network equipment Deng) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium bag Include: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can store program generation The medium of code.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should Described it is as the criterion with scope of the claims.

Claims (10)

1. an instant communication method, it is characterised in that described method includes:
The information of the position storage that analyzing web page is preset;
The keyword message parsed and interest point information are sent to server, so that described whois lookup The session mated with described keyword message and interest point information;
Receive corresponding uniquely the identifying of the session found that described server sends;
Unique mark corresponding to self network environment information and described session is sent to server;
Receive that described server sends has other clients of uniquely identified corresponding to identical described session Network environment information;
According to the network environment letter with other clients of uniquely identified corresponding to identical described session received Breath with described have other clients of uniquely identified corresponding to identical described session set up communication connection, with The client setting up communication connection carries out instant messaging.
Method the most according to claim 1, it is characterised in that send at the described server of described reception The session found corresponding when uniquely identifying, also include:
Receiving the token that described server sends, described token and described server are the authority pair of session distribution Should;Now, described transmission by unique mark that described session is corresponding by the network environment information of self is extremely taken Business implement body is: by the network environment information of self by corresponding uniquely the identifying and token transmission of described session To server.
Method the most according to claim 1, it is characterised in that described have identical institute according to receive The network environment information stating other clients of uniquely identified corresponding to session has identical described session with described Corresponding other clients of uniquely identified are set up communication and are connected, with set up the client that communication is connected and carry out Instant messaging, specifically includes:
By communication connection establishment request by receive have uniquely identified corresponding to identical described session other The network environment information of client sends to described client, and communication institute is carried in the request of described communication connection establishment The parameter needed;
The information that communication connects is set up in the agreement receiving described client feedback, and according to the information received and institute State have other clients of uniquely identified corresponding to identical described session set up communication connect.
4. an instant communication method, it is characterised in that described method includes:
Receive the keyword message that obtains of position and interest point information that the analyzing web page that client sends is preset;
Search the session mated with described keyword message and interest point information;
When finding the session mated with described keyword message and interest point information, the session that will find Corresponding unique mark sends to client;
Receive and there is the network environment information that uniquely identified client corresponding to described session sends;
Be sent to the network environment information received to have uniquely identified corresponding to identical described session other Client so that described in have other clients of uniquely identified corresponding to identical described session according to receive Network environment information is set up communication and is connected with corresponding client, and carries out i.e. with setting up the client that communication is connected Time communication.
Method the most according to claim 4, it is characterised in that described that the session found is corresponding Unique mark when sending to client, also include:
Token corresponding for the authority distributed for session is sent to client.
Method the most according to claim 4, it is characterised in that do not finding and described keyword During the session that information and interest point information mate, create a session, and the session for creating distributes one only One mark.
7. an instant communication device, it is characterised in that described device includes:
Web analysis unit, the information stored for the position that analyzing web page is preset;
Analysis result transmitting element, for sending the keyword message parsed and interest point information to service Device, so that the session that described whois lookup mates with described keyword message and interest point information;
Session identification receives unit, for receiving corresponding unique of the session found that described server sends Mark;
First network environmental information transmitting element, for by self network environment information and described session pair The unique mark answered sends to server;
First network environmental information receive unit, for receive described server send there is identical described meeting The network environment information of other clients of uniquely identified that words are corresponding;
Communication connection establishment unit, for having, according to receive, the uniquely identified that identical described session is corresponding The network environment information of other clients has other visitors of uniquely identified corresponding to identical described session with described Family end is set up communication and is connected, with set up the client that communication is connected and carry out instant messaging.
Device the most according to claim 7, it is characterised in that described device includes:
Token receives unit, for receiving the token that described server sends, and described token and described server Authority for session distribution is corresponding;
Now, described network environment information transmitting element is: by the network environment information of self by described meeting Unique mark and token that words are corresponding send to server.
9. an instant communication device, it is characterised in that described device includes:
Analysis result receives unit, the pass that the position that the analyzing web page sent for receiving client is preset obtains Key word information and interest point information;
Unit is searched in session, for searching the session mated with described keyword message and interest point information;
Session identification transmitting element, for mating with described keyword message and interest point information finding During session, unique mark corresponding for the session found is sent to client;
First network environmental information receives unit, has, for receiving, the uniquely identified visitor that described session is corresponding The network environment information that family end sends;
Second network environment information transmitting element, for being sent to have phase by the network environment information received With other clients of uniquely identified that described session is corresponding so that described in have identical described session corresponding Other clients of uniquely identified are set up communication according to the network environment information received with corresponding client and are connected, And carry out instant messaging with setting up the client that communication is connected.
Device the most according to claim 9, it is characterised in that described device includes:
Session creating unit, for mating with described keyword message and interest point information not finding During session, create a session, and the session for creating distributes a unique mark.
CN201510148963.0A 2015-03-31 2015-03-31 Instant communication method and device Active CN106161186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510148963.0A CN106161186B (en) 2015-03-31 2015-03-31 Instant communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510148963.0A CN106161186B (en) 2015-03-31 2015-03-31 Instant communication method and device

Publications (2)

Publication Number Publication Date
CN106161186A true CN106161186A (en) 2016-11-23
CN106161186B CN106161186B (en) 2019-06-18

Family

ID=57337809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510148963.0A Active CN106161186B (en) 2015-03-31 2015-03-31 Instant communication method and device

Country Status (1)

Country Link
CN (1) CN106161186B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989181A (en) * 2018-05-31 2018-12-11 北京五八信息技术有限公司 Establish the method, apparatus, equipment and server of instant messaging
CN109120509A (en) * 2018-07-26 2019-01-01 阿里巴巴集团控股有限公司 A kind of method and device that information is collected
CN110365726A (en) * 2018-04-09 2019-10-22 阿里巴巴集团控股有限公司 Communication processing method, device, terminal and server
CN111565209A (en) * 2019-08-29 2020-08-21 杭州天宽科技有限公司 Client instant messaging method, device, equipment and medium
CN112714122A (en) * 2020-12-24 2021-04-27 汉海信息技术(上海)有限公司 Communication system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364976A (en) * 2007-08-07 2009-02-11 阿里巴巴集团控股有限公司 Method and apparatus for establishing communication channel
WO2013060012A1 (en) * 2011-10-27 2013-05-02 Nokia Corporation A method and apparatus for wireless peer-to-peer communication with multiple radio interfaces
CN103117863A (en) * 2011-11-16 2013-05-22 阿里巴巴集团控股有限公司 Method and relevant equipment of establishment and webpage display of group communication relationship
CN103516583A (en) * 2012-06-28 2014-01-15 北京奇虎科技有限公司 Method and device for exchanging messages in instant messaging

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364976A (en) * 2007-08-07 2009-02-11 阿里巴巴集团控股有限公司 Method and apparatus for establishing communication channel
WO2013060012A1 (en) * 2011-10-27 2013-05-02 Nokia Corporation A method and apparatus for wireless peer-to-peer communication with multiple radio interfaces
CN103117863A (en) * 2011-11-16 2013-05-22 阿里巴巴集团控股有限公司 Method and relevant equipment of establishment and webpage display of group communication relationship
CN103516583A (en) * 2012-06-28 2014-01-15 北京奇虎科技有限公司 Method and device for exchanging messages in instant messaging

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365726A (en) * 2018-04-09 2019-10-22 阿里巴巴集团控股有限公司 Communication processing method, device, terminal and server
CN108989181A (en) * 2018-05-31 2018-12-11 北京五八信息技术有限公司 Establish the method, apparatus, equipment and server of instant messaging
CN108989181B (en) * 2018-05-31 2021-06-01 北京五八信息技术有限公司 Method, device, equipment and server for establishing instant messaging
CN109120509A (en) * 2018-07-26 2019-01-01 阿里巴巴集团控股有限公司 A kind of method and device that information is collected
CN111565209A (en) * 2019-08-29 2020-08-21 杭州天宽科技有限公司 Client instant messaging method, device, equipment and medium
CN111565209B (en) * 2019-08-29 2023-04-18 杭州天宽科技有限公司 Client instant messaging method, device, equipment and medium
CN112714122A (en) * 2020-12-24 2021-04-27 汉海信息技术(上海)有限公司 Communication system and method
CN112714122B (en) * 2020-12-24 2022-11-15 汉海信息技术(上海)有限公司 Communication system and method

Also Published As

Publication number Publication date
CN106161186B (en) 2019-06-18

Similar Documents

Publication Publication Date Title
KR102029277B1 (en) Device Identifier-Dependent Operation Processing for Packet-Based Data Communications
CN104320377B (en) The anti-stealing link method and equipment of a kind of files in stream media
CN1251108C (en) Instant messaging system and method
CN101072103B (en) Method and system for multi-account log-in instant communication software
CN106161186A (en) Instant communication method and device
US20090181707A1 (en) Instant messaging system and method
CN102611637A (en) Group realization method and system
CN104836782B (en) Server, client and data access method and system
CN102082775A (en) Method, device and system for managing subscriber identity
CN104065561B (en) A kind of instant communication method, terminal and system
CN101242374A (en) System, method and instant communication terminal for user list matching in instant communication
CN103078788B (en) A kind of information interacting method based on application and system
US10757195B2 (en) Device interconnection and service discovery via a communication cloud
GB2445791A (en) Interconnection of Universal Plug and Play Networks using eXtensible Messaging and Presence Protocol Streams
CN103220297B (en) Method for carrying out multi-screen interaction through social network
CN103929349A (en) Method, device and system for adding instant message contacts
CN1996846A (en) A method and system for providing the differential service based on the attribute of the user group
CN102651713A (en) Method, device and system for managing user group members
CN101465750A (en) Method and system for providing EPG information, EPG client terminal and EPG server
CN105187295A (en) Method for realizing bubble display on client, client, server and system
CN104093081A (en) On-line instant chat system based on digital television and implementation method
CN105763424A (en) Method and device for processing text information
CN102647366A (en) Method for realizing propagation of microblog list, terminal and system
CN105429981A (en) Game voice transmission method, terminal, voice service module and game system
CN102790951B (en) A kind of data inputting method of mobile terminal, system and mobile terminal

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