CN105704686B - A kind of instant communication method based on short message, apparatus and system - Google Patents
A kind of instant communication method based on short message, apparatus and system Download PDFInfo
- Publication number
- CN105704686B CN105704686B CN201410705320.7A CN201410705320A CN105704686B CN 105704686 B CN105704686 B CN 105704686B CN 201410705320 A CN201410705320 A CN 201410705320A CN 105704686 B CN105704686 B CN 105704686B
- Authority
- CN
- China
- Prior art keywords
- user
- short message
- session
- terminal
- good friend
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of instant communication methods based on short message, apparatus and system, comprising: network side receives the short message of the transmission of first terminal belonging to registered first user;Judge session id code whether is carried in short message;If carrying session id code in short message, identified according to the corresponding second user of session id code, short message is sent to second terminal belonging to second user, session id code characterizes unique session identification between the first user identifier and second user mark;If not carrying session id code in the short message, according to the session content in short message, the name information of the second user of first terminal queued session is determined;The session id code of the first user and second user is generated, and the session id code of generation is fed back into first terminal, sends short message to second terminal using session id code for first terminal.Using scheme provided in an embodiment of the present invention, the real-time of instant communication information transmission is improved.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of instant communication methods based on short message, apparatus and system.
Background technique
Instant messaging is one of Internet application with fastest developing speed in recent years, such as: wechat, MSN, QQ, Fetion.It is this kind of
Instant messaging application operate normally need to satisfy two conditions:: first is that have data communication network, second is that needing in terminal device
Upper installation instant message applications.
In above-mentioned existing this instant messaging mode, due to being limited by network bandwidth is different, receiving signal can be generated
Delay, reduces the real-time of instant communication information transmission, and communication quality can be influenced by data network.Using instant messaging function
Need to switch to corresponding instant messaging application when energy, switching time depends on terminal device processor performance and instant messaging
The design level of software, switching is time-consuming, the same real-time for reducing instant message transmission.And the peace of above-mentioned instant message applications
Dress is limited by terminal device, and certain terminal devices may not support the installation of this kind of instant message applications.
Summary of the invention
The embodiment of the present invention provides a kind of instant communication method based on short message, apparatus and system, to solve existing skill
When present in art using data communication network transmission instant communication information, due to being limited by network bandwidth difference so that signal prolongs
When caused by instant communication information transmit real-time difference problem.
The embodiment of the present invention provides a kind of instant communication method based on short message, comprising:
Network side receives the short message of the transmission of first terminal belonging to registered first user;
Judge session id code whether is carried in the short message;
If carrying session id code in the short message, identified according to the corresponding second user of session id code, it will
The short message is sent to second terminal belonging to second user;The session id code characterizes the first user identifier and second and uses
Unique session identification between the mark of family;
If not carrying session id code in the short message, according to the session content in the short message, institute is determined
State the name information of the second user of first terminal queued session;
According to the first user identifier for being carried in the short message and corresponding with the name information of determining second user
Second user mark, generates the session id code of first user and the second user, and by the session id code of generation
First terminal is fed back to, sends short message to the second terminal using the session id code for the first terminal.
Using the above method provided in an embodiment of the present invention, due to being transmitted i.e. using the instant messaging mode based on short message
When message, do not limited by network bandwidth, will not occur signal delay, improve instant communication information transmission real-time.
Further, according to the session content in the short message, determine that the second of the first terminal queued session is used
The name information at family, specifically includes:
The keyword for indicating user's name is extracted in the session content;
The keyword extracted is matched with good friend's name list of first user, first user's is good
Friendly name list be found from the user's good friend's name list prestored with the first user identifier pair in the short message
The good friend's name list answered;
The good friend's title obtained with the Keywords matching extracted is determined as the second of the first terminal queued session
The name information of user.
Further, the good friend's title obtained with the Keywords matching extracted is determined as the first terminal and requests meeting
The name information of the second user of words, specifically includes:
When the good friend's title and the keyword that matching obtains are exact matchings, by what is exactly matched with the keyword
Good friend's title is determined as the name information of the second user of the first terminal queued session.
Further, the good friend's title obtained with the Keywords matching extracted is determined as the first terminal and requests meeting
The name information of the second user of words, specifically includes:
It, will be matched with described the Keywords section when good friend's title that matching obtains is that part matches with the keyword
Good friend's title is sent to the first terminal;
Receive good friend's title selection information that the first terminal returns;
It selects good friend's title in information to be determined as the second of the first terminal queued session good friend's title to use
The name information at family.
Further, it is identified according to the corresponding second user of session id code, the short message is sent to second user
Affiliated second terminal, specifically includes:
According to the corresponding second user mark of session id code, the current state information of the second user is obtained;
When the current state of the second user is online, saves and send first terminal belonging to first user
It is sent to the short message of second terminal belonging to second user;
When the current state of the second user is offline, it is to be sent to save first terminal described in first user
To the short message of second terminal belonging to second user;When the current state for determining the second user is offline, to described
Offline message prompting message is checked in second terminal transmission;Offline message solicited message is checked what the reception second terminal returned
Afterwards, the short message of preservation is sent to the second terminal.
Further, the first user is registered, is specifically included:
The registration request of the transmission of first terminal belonging to the first user is received, described first is carried in the registration request and is used
The user information at family;
Save the user information of first user;
Create user identifier corresponding with the user information of first user.
Further, the above method, further includes:
The modification to good friend's name list for receiving the transmission of first terminal belonging to first user is requested;
According to the modification type in the modification request, good friend's name list of first user is repaired accordingly
Change;
Modified good friend's name list is sent to the first terminal.
The embodiment of the invention also provides a kind of instant communication methods based on short message, comprising:
Session id code whether is carried in the short message that natural language processing device judgement receives;The short message is
What first terminal belonging to the first user of registration was sent;The session id code characterizes the first user identifier and second user mark
Unique session identification between knowledge;
If carrying session id code in the short message, institute is obtained according to the corresponding second user mark of session id code
The current state information of second user is stated, and sends the short message for carrying the current state information of the second user;
If not carrying session id code in the short message, according to the session content in the short message, institute is determined
State the name information of second user;And it sends and carries second user mark corresponding with the name information of the second user and obtain
The short message of the current state information of the second user taken.
Using the above method provided in an embodiment of the present invention, due to being transmitted i.e. using the instant messaging mode based on short message
When message, do not limited by network bandwidth, will not occur signal delay, improve instant communication information transmission real-time.
Further, according to the session content in the short message, the name information of the second user is determined, it is specific to wrap
It includes:
The keyword for indicating user's name is extracted in the session content;
The keyword extracted is matched with good friend's name list of first user, first user's is good
Friendly name list be found from the user's good friend's name list prestored with the first user identifier pair in the short message
The good friend's name list answered;
The good friend's title obtained with the Keywords matching extracted is determined as the second of the first terminal queued session
The name information of user.
Further, the good friend's title obtained with the Keywords matching extracted is determined as the first terminal and requests meeting
The name information of the second user of words, specifically includes:
When the good friend's title and the keyword that matching obtains are exact matchings, by what is exactly matched with the keyword
Good friend's title is determined as the name information of the second user of the first terminal queued session.
Further, the good friend's title obtained with the Keywords matching extracted is determined as the first terminal and requests meeting
The name information of the second user of words, specifically includes:
It, will be matched with described the Keywords section when good friend's title that matching obtains is that part matches with the keyword
Good friend's title is sent to the first terminal;
Receive good friend's title selection information that the first terminal returns;
It selects good friend's title in information to be determined as the second of the first terminal queued session good friend's title to use
The name information at family.
The embodiment of the invention also provides a kind of instant communication methods based on short message, comprising:
Session control device determines in the short message received whether carry session id code;The short message is registered
The first user belonging to first terminal send;The session id code characterizes the first user identifier and second user identifies it
Between unique session identification;
When carrying the session id code in the determining short message received, according to being carried in the short message
The current state information of second user sends the short message;
When determine do not carry the session id code in the short message that receives when, according to the carried in the short message
One user identifier and second user mark generate the session id code of first user and the second user, and will generate
Session id code feed back to the first terminal.
Using the above method provided in an embodiment of the present invention, due to being transmitted i.e. using the instant messaging mode based on short message
When message, do not limited by network bandwidth, will not occur signal delay, improve instant communication information transmission real-time.
Further, it according to the current state information of the second user carried in the short message, sends described short
Message specifically includes:
When the current state of the second user is offline, saves and send the short message;
When the current state for determining the second user is offline, the short message is saved, and receiving described the
After what two terminals were sent checks offline message solicited message, the short message of preservation is sent to the second terminal.
The embodiment of the invention provides a kind of instant communication devices based on short message, comprising:
First receiving unit, for receiving the short message of the transmission of first terminal belonging to registered first user;
Judging unit, for judging whether carry session id code in the short message;
First transmission unit, if for carrying session id code in the short message, it is corresponding according to session id code
Second user mark, the short message is sent to second terminal belonging to second user;Session id code characterization the
Unique session identification between one user identifier and second user mark;
Determination unit, if for not carrying session id code in the short message, according to the meeting in the short message
Content is talked about, determines the name information of the second user of the first terminal queued session;
Generation unit, for according to the first user identifier carried in the short message and the name with determining second user
Claim information corresponding second user mark, generates the session id code of first user and the second user, and will generate
Session id code feed back to first terminal, sent out to the second terminal for the first terminal using the session id code
Send short message.
Using above-mentioned apparatus provided in an embodiment of the present invention, due to being transmitted i.e. using the instant messaging mode based on short message
When message, do not limited by network bandwidth, will not occur signal delay, improve instant communication information transmission real-time.
Further, the determination unit indicates the key of user's name specifically for extracting in the session content
Word;The keyword extracted is matched with good friend's name list of first user, good friend's name of first user
List be referred to as found from the user's good friend's name list prestored it is corresponding with the first user identifier in the short message
Good friend's name list;The good friend's title obtained with the Keywords matching extracted is determined as the first terminal queued session
The name information of second user.
Further, the determination unit is complete specifically for the good friend's title and the keyword obtained when matching
When matching, the good friend's title exactly matched with the keyword is determined as the second user of the first terminal queued session
Information.
Further, the determination unit is part specifically for the good friend's title and the keyword obtained when matching
When matching, the first terminal will be sent to the matched good friend's title of described the Keywords section;The first terminal is received to return
The good friend's title returned selects information;Good friend's title in information is selected to be determined as the first terminal request good friend's title
The information of the second user of session.
Further, first transmission unit is specifically used for being identified according to the corresponding second user of session id code, obtain
Take the current state information of the second user;When the current state of the second user is online, saves and send described
First terminal belonging to first user is sent to the short message of second terminal belonging to second user;When the second user
When current state is offline, saves first terminal described in first user and be sent to second terminal belonging to second user
Short message;When the current state for determining the second user is changed to online, checked to second terminal transmission offline
Prompting message information;After checking offline message solicited message receive that the second terminal returns, the short message of preservation is sent out
Give the second terminal.
Further, first receiving unit, the note sent specifically for receiving first terminal belonging to the first user
Volume is requested, and the user information of first user is carried in the registration request;Save the user information of first user;Wound
Build user identifier corresponding with the user information of first user.
Further, above-mentioned apparatus, further includes:
Second receiving unit, for receive first terminal belonging to first user transmission to good friend's name list
Modification request;
Unit is modified, for the modification type in requesting according to the modification, to good friend's name column of first user
Table is modified accordingly;
Second transmission unit, for modified good friend's name list to be sent to the first terminal.
The embodiment of the invention also provides a kind of instant communication devices based on short message, comprising:
Judging unit, for judging whether carry session id code in the short message received;The short message is to have infused
What first terminal belonging to the first user of volume was sent;The session id code characterizes the first user identifier and second user mark
Between unique session identification;
First transmission unit, if for carrying session id code in the short message, it is corresponding according to session id code
Second user mark obtains the current state information of the second user, and sends the current state letter for carrying the second user
The short message of breath;
Second transmission unit, if for not carrying session id code in the short message, according in the short message
Session content, determine the name information of the second user;And it is corresponding with the name information of the second user to send carrying
Second user mark and obtain the second user current state information short message.
Using above-mentioned apparatus provided in an embodiment of the present invention, due to being transmitted i.e. using the instant messaging mode based on short message
When message, do not limited by network bandwidth, will not occur signal delay, improve instant communication information transmission real-time.
Further, second transmission unit indicates user's name specifically for extracting in the session content
Keyword;The keyword extracted is matched with good friend's name list of first user, first user's is good
Friendly name list be found from the user's good friend's name list prestored with the first user identifier pair in the short message
The good friend's name list answered;The good friend's title obtained with the Keywords matching extracted is determined as the first terminal request meeting
The name information of the second user of words.
Further, second transmission unit, specifically for being with the keyword when the obtained good friend's title of matching
When exact matching, second that the good friend's title exactly matched with the keyword is determined as the first terminal queued session is used
The name information at family.
Further, second transmission unit, specifically for being with the keyword when the obtained good friend's title of matching
When part matches, the first terminal will be sent to the matched good friend's title of described the Keywords section;Receive described first eventually
Good friend's title that end returns selects information;Good friend's title in information is selected to be determined as the first terminal good friend's title
The name information of the second user of queued session.
The embodiment of the invention also provides a kind of instant communication devices based on short message, comprising:
Determination unit, for determining in the short message received whether carry session id code;The short message is to have infused
What first terminal belonging to the first user of volume was sent;The session id code characterizes the first user identifier and second user mark
Between unique session identification;
Transmission unit, for when determine carry the session id code in the short message that receives when, short disappeared according to described
The current state information of the second user carried in breath sends the short message;
Generation unit, for when determine do not carry the session id code in the short message that receives when, according to described short
The first user identifier and the second user mark carried in message, generates the session id of first user and the second user
Code, and the session id code of generation is fed back into the first terminal.
Using above-mentioned apparatus provided in an embodiment of the present invention, due to being transmitted i.e. using the instant messaging mode based on short message
When message, do not limited by network bandwidth, will not occur signal delay, improve instant communication information transmission real-time.
Further, the transmission unit, specifically for saving simultaneously when the current state of the second user is offline
Send the short message;When the current state for determining the second user is offline, the short message is saved, and receiving
After what the second terminal was sent checks offline message solicited message, the short message of preservation is sent to the second terminal.
The embodiment of the invention provides a kind of instant communicating systems based on short message, comprising: short message transceiving module, natural language
Say processing module and session control module, in which:
The short message transceiving module, for receiving the short message of the transmission of first terminal belonging to registered first user;
Give the short message to the natural language processing module;According to the session control module send session id code to
Second terminal belonging to the second user sends the short message;
The natural language processing module, for judging whether carry session id code in the short message;If described
Session id code is carried in short message, and the second user is obtained according to the corresponding second user mark of the session id code
Current state information, and the short message for carrying the current state information of the second user is sent to the session control mould
Block;If not carrying session id code in the short message, according to the session content in the short message, determine that described first is whole
Hold the name information of the second user of queued session;The current state information of the second user is searched from user status table;
The short message for carrying second user mark corresponding with the name information of the second user and current state information is given
The session control module;
The session control module, for when determine carry the session id code in the short message that receives when, according to
The short message is sent to the short message receiving-transmitting mould by the current state information of the second user carried in the short message
Block;When not carrying the session id code in the determining short message received, used according to first carried in the short message
Family mark and second user mark, generate the session id code of first user and the second user;And according to described short
The short message for carrying the session id code is sent to by the current state information of the second user carried in message
The short message transceiving module.
Using above system provided in an embodiment of the present invention, due to being transmitted i.e. using the instant messaging mode based on short message
When message, do not limited by network bandwidth, will not occur signal delay, improve instant communication information transmission real-time.
Further, above system, further includes: address list management module, in which:
The address list management module, for saving the corresponding relationship between the user identifier of each user and good friend's title;
The natural language processing module indicates the key of user's name specifically for extracting in the session content
Word;From good friend's name list of each user saved in the address list management module, search and the in the short message
The corresponding good friend's name list of one user identifier;By good friend's name list of the keyword extracted and first user into
Row matching;Second that the good friend's title obtained with the Keywords matching extracted is determined as the first terminal queued session is used
The name information at family.
Further, the session control module, specifically for protecting when the current state of the second user is online
Deposit and send the short message that first terminal described in first user is sent to second terminal belonging to second user;
When the current state of the second user is offline, it is to be sent to save first terminal described in first user
To the short message of second terminal belonging to second user;Offline message request letter is checked receive that the second terminal sends
After breath, the short message of preservation is sent to the second terminal.
Further, the natural language processing module, specifically for receiving described in the short message transceiving module forwarding
The modification to good friend's name list that first terminal belonging to first user is sent is requested;According to the modification in the modification request
Type modifies good friend's name list of first user in the address list module accordingly;It will be modified
Good friend's name list is sent to the first terminal by the short message transceiving module.
Other features and advantage will illustrate in the following description, also, partly become from specification
It obtains it is clear that being understood and implementing the application.The purpose of the application and other advantages can be by written explanations
Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, is implemented with the present invention
Example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is one of the flow chart of instant communication method provided in an embodiment of the present invention based on short message;
Fig. 2 is the two of the flow chart of the instant communication method provided in an embodiment of the present invention based on short message;
Fig. 3 is the three of the flow chart of the instant communication method provided in an embodiment of the present invention based on short message;
Fig. 4 is the structural schematic diagram for the instant communicating system based on short message that the embodiment of the present invention 1 provides;
Fig. 5 is the flow chart for the instant communication method based on short message that the embodiment of the present invention 2 provides;
Fig. 6 is the structural schematic diagram for the instant communication device based on short message that the embodiment of the present invention 3 provides;
Fig. 7 is the structural schematic diagram for the instant communication device based on short message that the embodiment of the present invention 4 provides;
Fig. 8 is the structural schematic diagram for the instant communication device based on short message that the embodiment of the present invention 5 provides.
Specific embodiment
In order to provide the implementation for the real-time for improving instant communication information transmission, the embodiment of the invention provides one kind
Instant communication method, apparatus and system based on short message carry out the preferred embodiment of the present invention below in conjunction with Figure of description
Explanation, it should be understood that preferred embodiments described herein are only used to illustrate and explain the present invention, is not used to limit this hair
It is bright.And in the absence of conflict, the features in the embodiments and the embodiments of the present application can be combined with each other.
The embodiment of the present invention provides a kind of instant communication method based on short message, as shown in Figure 1, comprising:
Step 101, network side receive the short message of the transmission of first terminal belonging to registered first user.
Step 102 judges session id code whether is carried in the short message.
If session id code is carried in step 103, the short message, according to the corresponding second user mark of session id code
Know, which is sent to second terminal belonging to second user;The session id code characterizes the first user identifier and second
Unique session identification between user identifier.
If not carrying session id code in step 104, the short message, according to the session content in the short message, really
The name information of the second user of the fixed first terminal queued session.
Step 105 is believed according to the first user identifier carried in the short message and with the title of determining second user
Corresponding second user mark is ceased, generates the session id code of the first user and second user, and by the session id code of generation
First terminal is fed back to, sends short message to second terminal using the session id code for first terminal.
In the embodiment of the present invention, when first terminal sends short message, the short message code sent to immediate communication platform is
XXXXX, wherein X is any number of 0-9, and digit can be arranged according to the actual situation.Session id code is for first terminal
The second user of first user and second terminal conversates unique coding of creation.
Correspondingly, the embodiment of the invention also provides a kind of instant communication method based on short message, flow chart such as Fig. 2 institute
Show, comprising:
Session id code whether is carried in the short message that step 201, natural language processing device judgement receive;This is short to disappear
Breath is what first terminal belonging to registered first user was sent;The session id code characterizes the first user identifier and second and uses
Unique session identification between the mark of family.
If carrying session id code in step 202, the short message, identified according to the corresponding second user of session id code
The current state information of second user is obtained, and sends the short message for carrying the current state information of second user.
If not carrying session id code in step 203, the short message, according to the session content in the short message, really
Determine the name information of second user;And send what carrying second user corresponding with the name information of second user was identified and obtained
The short message of the current state information of second user.
Correspondingly, the embodiment of the invention also provides a kind of instant communication method based on short message, flow chart such as Fig. 3 institute
Show, comprising:
Step 301, session control device determine in the short message received whether carry session id code;Short message is
What first terminal belonging to the first user of registration was sent;Session id code characterizes the first user identifier and second user identifies it
Between unique session identification.
Step 302, when determine carry session id code in the short message that receives when, according to the carried in the short message
The current state information of two users sends the short message.
Step 303, when determine do not carry session id code in the short message that receives when, according to what is carried in the short message
First user identifier and second user mark, generate the session id code of the first user and second user, and by the session of generation
ID code feeds back to first terminal.
With reference to the accompanying drawing, method and device provided by the invention and corresponding system are retouched in detail with specific embodiment
It states.
Embodiment 1:
Fig. 4 is the structural schematic diagram of the instant communicating system provided in an embodiment of the present invention based on short message, comprising: short message is received
Send out module 401, natural language processing module 402 and session control module 403, in which:
Short message transceiving module 401, for receiving the short message of the transmission of first terminal belonging to registered first user, institute
It states and carries first user identifier and session content in short message;Give the short message to the natural language processing mould
Block;The session id code sent according to the session control module is described short to the transmission of first terminal belonging to first user
Message;
Natural language processing module 402, for judging whether carry session id code in the short message;If described short
Session id code is carried in message, and working as the second user is obtained according to the corresponding second user mark of the session id code
Preceding status information, and the short message for carrying the current state information of the second user is sent to the session control module;
If not carrying session id code in the short message, according to the session content in the short message, the first terminal is determined
The name information of the second user of queued session;The current state information of the second user is searched from user status table;It will
The short message of second user mark corresponding with the name information of the second user and current state information is carried to institute
State session control module;
Session control module 403, for when determine carry the session id code in the short message that receives when, according to institute
The short message is sent to the short message receiving-transmitting mould by the current state information for stating the second user carried in short message
Block;When not carrying the session id code in the determining short message received, used according to first carried in the short message
Family mark and second user mark, generate the session id code of first user and the second user;And according to described short
The short message for carrying the session id code is sent to by the current state information of the second user carried in message
The short message transceiving module.
Further, above system, further includes: address list management module 404, in which:
Address list management module 404, for saving the corresponding relationship between the user identifier of each user and good friend's title;
Natural language processing module 402 indicates the keyword of user's name specifically for extracting in the session content;
From good friend's name list of each user saved in the address list management module, searches and used with first in the short message
Family identifies corresponding good friend's name list;By the progress of good friend's name list of the keyword extracted and first user
Match;The good friend's title obtained with the Keywords matching extracted is determined as the second user of the first terminal queued session
Name information.
Further, session control module 403, specifically for protecting when the current state of the second user is online
Deposit and send the short message that first terminal described in first user is sent to second terminal belonging to second user;
When the current state of the second user is offline, it is to be sent to save first terminal described in first user
To the short message of second terminal belonging to second user;Offline message request letter is checked receive that the second terminal sends
After breath, the short message of preservation is sent to the second terminal.
Further, natural language processing module 402, specifically for receiving described the of short message transceiving module forwarding
The modification to good friend's name list that first terminal belonging to one user is sent is requested;According to the modification class in the modification request
Type modifies good friend's name list of first user in the address list module accordingly;It will be modified good
Friendly name list is sent to the first terminal by the short message transceiving module.
The system provided through the embodiment of the present invention, due to transmitting instant message using the instant messaging based on short message,
According to good friend's name list in address list management module, short message anonymity instant messaging can be realized, not by the limit of network bandwidth
System will not occur signal delay, improve the real-time of instant communication information transmission.
Embodiment 2:
Based on the same inventive concept, the instant communicating system based on short message provided according to that above embodiment of the present invention, phase
Ying Di, another embodiment of the present invention 2 additionally provide a kind of instant communication method based on short message, in conjunction with each mould in the system
Block, the flow chart of this method that the embodiment of the present invention 2 provides is as shown in figure 5, specifically include:
Step 501, short message transceiving module receive the short message of the transmission of first terminal belonging to registered first user.
Before the first user initiates a session request, the first user first has to register.First user uses first
Terminal by short message code to short message transceiving module send registration request, such as: a user can be used mobile phone terminal to number
Code 100xxx (i.e. short message code) sends registration request short message, and short message transceiving module can receive the registration request short message.The note
The first user information is carried in volume request, comprising: the pet name, gender, age, place city, short message transceiving module ask the registration
It asks and session control module is sent to by natural language processing module, session control module is according to the first user in registration request
Information registers the first user, creates first User ID.User ID is to distinguish the unique identification of each user, Mei Geyong
Family, which can choose, binds User ID and phone number.
The short message is sent to natural language processing module by step 502, short message transceiving module.
Step 503, natural language processing module determine session id code whether is carried in the short message, if not, into
Step 504, if so, entering step 513.
Wherein, session id code is unique session identification between the first user identifier of characterization and second user mark.Such as
Session id code is carried in the fruit short message, illustrates to have created session between the first user and second user;Disappear if this is short
Session id code is not carried in breath, illustrates not create session also between the first user and second user.
Step 504, natural language processing module extract the keyword for indicating user's name in session content.
Step 505, natural language processing module are prestored according to the first User ID in short message from address list management module
User's good friend's name list in, search corresponding with first User ID good friend's name list data.
Wherein, which can be the pet name of good friend.
Step 506, natural language processing module carry out good friend's name list of the keyword extracted and the first user
Matching, and the obtained good friend's title of matching is determined as to the name information of the second user of first terminal queued session.
In this step, natural language processing module carries out good friend's name list of the keyword extracted and the first user
When matching, matching result may be there are two types of situation: the first situation, the good friend's title matched and the keyword are complete
Match;Second situation, the good friend's title matched are that part matches with the keyword.For both of these case, carry out respectively
Following processing:
The first situation: when keyword is matched with good friend's name list of the first user, if the keyword and first
Some good friend's title in good friend's name list of user is identical, as exactly matches.At this point, will be exactly matched with the keyword
Good friend's title be determined as first terminal queued session second user name information.
Second situation: when keyword is matched with good friend's name list of the first user, if the keyword and first
Any good friend's title in good friend's name list of user is all not exactly the same, but identical as good friend's name portion therein, i.e.,
Partially to match, such as: assuming that keyword includes character string ABCD, good friend's title in good friend's name list includes character
String is EFCD, then the entitled part matching of the key words good friend.At this point, natural language conversation module will be with keyword portion
Divide matched good friend's title to be sent to first terminal by short message transceiving device, is supplied to the first user and selects requested session
Good friend's title.After first user selects good friend's title, good friend's title is returned to by first terminal, information is selected to give short message receiving-transmitting mould
The good friend's title received selection information is transmitted to natural language processing module, natural language processing by block, short message transceiving module
Good friend's title in good friend's title selection information is determined as the name information of the second user of first terminal queued session by module.
Step 507, natural language processing module determine the second user according to the name information of determining second user
Current state.
In the embodiment of the present invention, the title of each user corresponds to unique user identifier.The title of user and the state of user
Information can be corresponded to and is stored in state table.The current state of user is divided into presence and off-line state.User can pass through
To short message transceiving module send modification status information session, such as: user can by transmission " be arranged I state be
The session of line " or " it is offline that my state, which is arranged, ".The received session is transmitted to natural language processing by short message transceiving module
Module after the session of natural language processing module analysis, updates user's current state.
Step 508, natural language processing module will carry the short message and second of the first user identifier, second user mark
The current state of user is sent to session control module.
Step 509, session control module are identified according to the first user identifier and second user received, are generated first and are used
The session id code at family and second user, and the session id code of generation is fed back into first terminal.
After first terminal receives the session id code, the session id code is can be used in the first user of first terminal
Short message is sent to the second user of second terminal, specifically, the first user can be by taking when first terminal editor's short message
With the session id code.
It is short to send this to short message transceiving module according to the current state information of second user for step 510, session control module
Message.
Specifically, session control module saves the belonging to the first user when the current state of second user is online
One terminal is sent to the short message of second terminal belonging to second user, and the short message is sent to short message transceiving module.
When the current state of second user is offline, session control module saves first terminal belonging to the first user and waits for
It is sent to the short message of second terminal belonging to second user, i.e. offline message.When second user is wanted to check offline message,
Offline message can be sent to short message transceiving module check request.The offline message is checked that request passes through certainly by short message transceiving module
Right language processing module is transmitted to session control module, and session control module can will pass through the quantity of good friend and offline message
Short message transceiving module is sent to second terminal.Specifically, second user can pass through the information with each module of instant communicating system
After interaction checks that information off-line, information off-line are checked, the offline message is arranged the session control module of instant communicating system
For read states.Further, user can also by checking historical information with the information exchange of each module of instant communicating system,
User can be checked by short message transceiving module transmission history message or removal request, for example, user's using terminal is received to short message
It sends out module and sends removal request, it is desirable to delete the history message of specified range, removal request can be that " please delete good friend's A history
Message 1099-2043 ".
The short message is sent to second terminal by step 511, short message transceiving module.
Step 513, when natural language processing module determine in the short message carry session id code when, natural language processing
Module determines the current state information of second user corresponding with the session id code.
The current state information of the short message and second user is sent to session by step 514, natural language processing module
Control module.
Step 515, session control module according to the current state information of session id code and second user, received to short message
Hair module sends the short message.
In this step, forwards the specific processing mode of session identical as the mode in above-mentioned steps 510, no longer carry out herein
Detailed description.
Step 516, short message transceiving module are identified according to the corresponding second user of session id code, which is sent to
Second terminal belonging to second user.
Further, in the embodiment of the present invention, when the first user after registration, can be by being sent to short message transceiving module
Natural language realizes address list management, can modify to good friend's name list, including add, delete good friend.When the first use
When addition good friend is wanted at family, using terminal sends addition good friend's request to short message transceiving module, includes in addition good friend request
Good friend's pet name to be added, such as: first user's using terminal sends " I will add pet name B as good friend ".Short message transceiving module
Addition good friend is requested to give session control module by natural language processing module forwards, session control module is in communication management mould
The relevant information of pet name B is searched in block, comprising: the information such as ID, age, gender, city are registered, if it exists multiple pet names of the same name,
Send the relevant information of multiple pet names of the same name to the terminal that the first user uses by short message transceiving module, prompt user's selection to
Add good friend.After user's confirmation, confirmation addition is sent to good friend B to be added by short message transceiving module from session control module
Good friend's message, such as: " XX wishes plus you are as good friend, if agrees to ", if B replys affirmative answer, B is built with the first user
Vertical friend relation.The processing mode that user deletes good friend is identical as the addition mode of good friend, is no longer described in detail herein.
The above method provided through the embodiment of the present invention, due to being transmitted i.e. using the instant messaging mode based on short message
When message can be realized short message anonymity instant messaging according to good friend's name list, do not limited by network bandwidth, will not be occurred
Signal delay, improves the real-time of instant communication information transmission.
Embodiment 3:
Based on the same inventive concept, the instant communication method based on short message provided according to that above embodiment of the present invention, phase
Ying Di, another embodiment of the present invention 3 additionally provide a kind of instant communication device based on short message, structural schematic diagram such as Fig. 6 institute
Show, specifically include:
First receiving unit 601, for receiving the short message of the transmission of first terminal belonging to registered first user;
Judging unit 602, for judging whether carry session id code in the short message;
First transmission unit 603, if for carrying session id code in the short message, according to session id code pair
The second user mark answered, is sent to second terminal belonging to second user for the short message;The session id code characterization
Unique session identification between first user identifier and second user mark;
Determination unit 604, if for not carrying session id code in the short message, according in the short message
Session content determines the name information of the second user of the first terminal queued session;
Generation unit 605, for according to the first user identifier carried in the short message and with determining second user
Name information corresponding second user mark, generate the session id code of first user and the second user, and will
The session id code of generation feeds back to first terminal, whole to described second using the session id code for the first terminal
End sends short message.
Further, determination unit 604 indicate the key of user's name specifically for extracting in the session content
Word;The keyword extracted is matched with good friend's name list of first user, good friend's name of first user
List be referred to as found from the user's good friend's name list prestored it is corresponding with the first user identifier in the short message
Good friend's name list;The good friend's title obtained with the Keywords matching extracted is determined as the first terminal queued session
The name information of second user.
Further, determination unit 604 are complete specifically for the good friend's title and the keyword obtained when matching
The good friend's title exactly matched with the keyword is determined as the letter of the second user of the first terminal queued session by timing
Breath.
Further, determination unit 604 are parts specifically for the good friend's title and the keyword obtained when matching
Timing will be sent to the first terminal with the matched good friend's title of described the Keywords section;The first terminal is received to return
Good friend's title select information;Good friend's title in information is selected to be determined as the first terminal request meeting good friend's title
The name information of the second user of words.
Further, the first transmission unit 603 is specifically used for being identified according to the corresponding second user of session id code, obtain
Take the current state information of the second user;When the current state of the second user is online, saves and send described
First terminal belonging to first user is sent to the short message of second terminal belonging to second user;When the second user
When current state is offline, saves first terminal described in first user and be sent to second terminal belonging to second user
Short message;When the current state for determining the second user is changed to online, checked to second terminal transmission offline
Prompting message information;After checking offline message solicited message receive that the second terminal returns, the short message of preservation is sent out
Give the second terminal.
Further, the first receiving unit 601, the registration sent specifically for receiving first terminal belonging to the first user
It requests, the user information of first user is carried in the registration request;Save the user information of first user;Creation
User identifier corresponding with the user information of first user.
Further, above-mentioned apparatus, further includes:
Second receiving unit 606, for receive first terminal belonging to first user transmission to good friend's name column
The modification of table is requested;
Unit 607 is modified, for the modification type in requesting according to the modification, to good friend's title of first user
List is modified accordingly;
Second transmission unit 608, for modified good friend's name list to be sent to the first terminal.
The function of above-mentioned each unit can correspond to the respective handling step in process shown in Fig. 1, Fig. 2, Fig. 3 and Fig. 5, herein
It repeats no more.
Embodiment 4:
Based on the same inventive concept, the instant communication method based on short message provided according to that above embodiment of the present invention, phase
Ying Di, another embodiment of the present invention 4 additionally provide a kind of instant communication device based on short message, structural schematic diagram such as Fig. 7 institute
Show, specifically include:
Judging unit 701, for judging whether carry session id code in the short message received;The short message is
What first terminal belonging to the first user of registration was sent;The session id code characterizes the first user identifier and second user mark
Unique session identification between knowledge;
First transmission unit 702, if for carrying session id code in the short message, it is corresponding according to session id code
Second user mark obtain the current state information of the second user, and send the current state for carrying the second user
The short message of information;
Second transmission unit 703, if for not carrying session id code in the short message, according to the short message
In session content, determine the name information of the second user;And send the name information pair carried with the second user
The short message of the current state information of the second user mark and the second user obtained answered.
Further, the second transmission unit 703 indicates the pass of user's name specifically for extracting in the session content
Keyword;The keyword extracted is matched with good friend's name list of first user, the good friend of first user
Name list is corresponding with the first user identifier in the short message to find from the user's good friend's name list prestored
Good friend's name list;The good friend's title obtained with the Keywords matching extracted is determined as the first terminal queued session
Second user name information.
Further, the second transmission unit 703, specifically for being with the keyword when the obtained good friend's title of matching
When full matching, the good friend's title exactly matched with the keyword is determined as to the second user of the first terminal queued session
Name information.
Further, the second transmission unit 703 is portion specifically for the good friend's title and the keyword obtained when matching
When dividing matching, the first terminal will be sent to the matched good friend's title of described the Keywords section;Receive the first terminal
Good friend's title of return selects information;It selects good friend's title in information to be determined as the first terminal good friend's title to ask
Seek the name information of the second user of session.
The function of above-mentioned each unit can correspond to the respective handling step in process shown in Fig. 2, Fig. 5, and details are not described herein.
Embodiment 5:
Based on the same inventive concept, the instant communication method based on short message provided according to that above embodiment of the present invention, phase
Ying Di, another embodiment of the present invention 5 additionally provide a kind of instant communication device based on short message, structural schematic diagram such as Fig. 8 institute
Show, specifically include:
Determination unit 801, for determining in the short message received whether carry session id code;The short message is
What first terminal belonging to the first user of registration was sent;The session id code characterizes the first user identifier and second user mark
Unique session identification between knowledge;
Transmission unit 802, for when determine carry the session id code in the short message that receives when, according to described short
The current state information of the second user carried in message sends the short message;
Generation unit 803, for when determine do not carry the session id code in the short message that receives when, according to described
The first user identifier and the second user mark carried in short message, generates the session of first user and the second user
ID code, and the session id code of generation is fed back into the first terminal.
Further, transmission unit 802, specifically for saving simultaneously when the current state of the second user is offline
Send the short message;When the current state for determining the second user is offline, the short message is saved, and receiving
After what the second terminal was sent checks offline message solicited message, the short message of preservation is sent to the second terminal.
The function of above-mentioned each unit can correspond to the respective handling step in process shown in Fig. 3, Fig. 5, and details are not described herein.
In conclusion scheme provided in an embodiment of the present invention, comprising: network side receives belonging to registered first user
The short message that first terminal is sent;Judge session id code whether is carried in the short message;If carrying session id in short message
Code is then identified according to the corresponding second user of session id code, which is sent to the second end belonging to second user
End, the session id code characterize unique session identification between the first user identifier and second user mark;If the short message
In do not carry session id code, then according to the session content in short message, determine the second user of first terminal queued session
Name information;The session id code of the first user and second user is generated, and the session id code of generation is fed back to first eventually
End sends short message to second terminal using session id code for first terminal.Using scheme provided in an embodiment of the present invention,
Short message anonymity instant messaging is realized, is not limited by network bandwidth, signal delay will not occur, improve instant communication information
The real-time of transmission.
Instant communicating system and device provided by embodiments herein based on short message can pass through computer program reality
It is existing.Those skilled in the art it should be appreciated that above-mentioned module division mode is only one of numerous module division modes,
If being divided into other modules or non-division module, as long as instant communicating system and device based on short message have above-mentioned function,
All it should be within the scope of protection of this application.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (28)
1. a kind of instant communication method based on short message characterized by comprising
Network side receives the short message of the transmission of first terminal belonging to registered first user;
Judge session id code whether is carried in the short message;
If carrying session id code in the short message, identified according to the corresponding second user of session id code, it will be described
Short message is sent to second terminal belonging to second user;The session id code characterizes the first user identifier and second user mark
Unique session identification between knowledge;
If not carrying session id code in the short message, according to the session content in the short message, described is determined
The name information of the second user of one terminal request session;
According to the first user identifier carried in the short message and corresponding with the name information of determining second user second
User identifier generates the session id code of first user and the second user, and the session id code of generation is fed back
To first terminal, short message is sent to the second terminal using the session id code for the first terminal.
2. the method as described in claim 1, which is characterized in that according to the session content in the short message, determine described
The name information of the second user of one terminal request session, specifically includes:
The keyword for indicating user's name is extracted in the session content;
The keyword extracted is matched with good friend's name list of first user, good friend's name of first user
List be referred to as found from the user's good friend's name list prestored it is corresponding with the first user identifier in the short message
Good friend's name list;
The good friend's title obtained with the Keywords matching extracted is determined as to the second user of the first terminal queued session
Name information.
3. method according to claim 2, which is characterized in that the good friend's title obtained with the Keywords matching extracted is true
It is set to the name information of the second user of the first terminal queued session, specifically includes:
When the obtained good friend's title of matching and the keyword are exact matchings, the good friend that will be exactly matched with the keyword
Title is determined as the name information of the second user of the first terminal queued session.
4. method according to claim 2, which is characterized in that the good friend's title obtained with the Keywords matching extracted is true
It is set to the name information of the second user of the first terminal queued session, specifically includes:
It, will be with the matched good friend of described the Keywords section when good friend's title that matching obtains is that part matches with the keyword
Title is sent to the first terminal;
Receive good friend's title selection information that the first terminal returns;
Good friend's title in good friend's title selection information is determined as the second user of the first terminal queued session
Name information.
5. the method as described in claim 1, which is characterized in that identified according to the corresponding second user of session id code, by institute
It states short message and is sent to second terminal belonging to second user, specifically include:
According to the corresponding second user mark of session id code, the current state information of the second user is obtained;
When the current state of the second user is online, saves and to send first terminal belonging to first user pending
Give the short message of second terminal belonging to second user;
When the current state of the second user is offline, saves first terminal described in first user and be sent to the
The short message of second terminal belonging to two users;When the current state for determining the second user is offline, to described second
Offline message prompting message is checked in terminal transmission;After checking offline message solicited message receive that the second terminal returns,
The short message of preservation is sent to the second terminal.
6. the method as described in claim 1, which is characterized in that register, specifically include to the first user:
The registration request of the transmission of first terminal belonging to the first user is received, carries first user's in the registration request
User information;
Save the user information of first user;
Create user identifier corresponding with the user information of first user.
7. the method as described in claim 1, which is characterized in that further include:
The modification to good friend's name list for receiving the transmission of first terminal belonging to first user is requested;
According to the modification type in the modification request, good friend's name list of first user is modified accordingly;
Modified good friend's name list is sent to the first terminal.
8. a kind of instant communication method based on short message characterized by comprising
Session id code whether is carried in the short message that natural language processing device judgement receives;The short message is registered
The first user belonging to first terminal send;The session id code characterizes the first user identifier and second user identifies it
Between unique session identification;
If carrying session id code in the short message, described the is obtained according to session id code corresponding second user mark
The current state information of two users, and send the short message for carrying the current state information of the second user;
If not carrying session id code in the short message, according to the session content in the short message, described is determined
The name information of two users;And it sends and carries what second user corresponding with the name information of the second user was identified and obtained
The short message of the current state information of the second user.
9. method according to claim 8, which is characterized in that according to the session content in the short message, determine described
The name information of two users, specifically includes:
The keyword for indicating user's name is extracted in the session content;
The keyword extracted is matched with good friend's name list of first user, good friend's name of first user
List be referred to as found from the user's good friend's name list prestored it is corresponding with the first user identifier in the short message
Good friend's name list;
The good friend's title obtained with the Keywords matching extracted is determined as to the second user of the first terminal queued session
Name information.
10. method as claimed in claim 9, which is characterized in that the good friend's title that will be obtained with the Keywords matching extracted
It is determined as the name information of the second user of the first terminal queued session, specifically includes:
When the obtained good friend's title of matching and the keyword are exact matchings, the good friend that will be exactly matched with the keyword
Title is determined as the name information of the second user of the first terminal queued session.
11. method as claimed in claim 9, which is characterized in that the good friend's title that will be obtained with the Keywords matching extracted
It is determined as the name information of the second user of the first terminal queued session, specifically includes:
It, will be with the matched good friend of described the Keywords section when good friend's title that matching obtains is that part matches with the keyword
Title is sent to the first terminal;
Receive good friend's title selection information that the first terminal returns;
Good friend's title in good friend's title selection information is determined as the second user of the first terminal queued session
Name information.
12. a kind of instant communication method based on short message characterized by comprising
Session control device determines in the short message received whether carry session id code;The short message is registered the
What first terminal belonging to one user was sent;The session id code characterizes between the first user identifier and second user mark only
One session identification;
When carrying the session id code in the determining short message received, according to described second carried in the short message
The current state information of user sends the short message;
When not carrying the session id code in the determining short message received, used according to first carried in the short message
Family mark and second user mark, generate the session id code of first user and the second user, and by the meeting of generation
Words ID code feeds back to the first terminal.
13. method as claimed in claim 12, which is characterized in that according to the second user carried in the short message
Current state information sends the short message, specifically includes:
When the current state of the second user is online, saves and send the short message;
When the current state for determining the second user is offline, the short message is saved, and receiving described second eventually
After what end was sent checks offline message solicited message, the short message of preservation is sent to the second terminal.
14. a kind of instant communication device based on short message characterized by comprising
First receiving unit, for receiving the short message of the transmission of first terminal belonging to registered first user;
Judging unit, for judging whether carry session id code in the short message;
First transmission unit, if for carrying session id code in the short message, according to session id code corresponding the
The short message is sent to second terminal belonging to second user by two user identifiers;The session id code characterization first is used
Unique session identification between family mark and second user mark;
Determination unit, if for not carrying session id code in the short message, according in the session in the short message
Hold, determines the name information of the second user of the first terminal queued session;
Generation unit, for believing according to the first user identifier carried in the short message and with the title of determining second user
Corresponding second user mark is ceased, generates the session id code of first user and the second user, and by the meeting of generation
Words ID code feeds back to first terminal, short to second terminal transmission using the session id code for the first terminal
Message.
15. device as claimed in claim 14, which is characterized in that the determination unit is specifically used in the session content
It is middle to extract the keyword for indicating user's name;By the progress of good friend's name list of the keyword extracted and first user
Match, good friend's name list of first user is finding with the short message from the user's good friend's name list prestored
In the corresponding good friend's name list of the first user identifier;The good friend's title obtained with the Keywords matching extracted is determined as
The name information of the second user of the first terminal queued session.
16. the device as described in right wants 15, which is characterized in that the determination unit, specifically for the good friend obtained when matching
When title and the keyword are exact matchings, the good friend's title exactly matched with the keyword is determined as described first eventually
Hold the information of the second user of queued session.
17. device as claimed in claim 14, which is characterized in that the determination unit, specifically for when matching obtain it is good
When friendly title with the keyword is that part matches, described first will be sent to the matched good friend's title of described the Keywords section
Terminal;Receive good friend's title selection information that the first terminal returns;Good friend's title is selected to good friend's name in information
Claim the information for being determined as the second user of the first terminal queued session.
18. device as claimed in claim 14, which is characterized in that first transmission unit is specifically used for according to session id
The corresponding second user mark of code, obtains the current state information of the second user;When the current shape of the second user
When state is online, saves and send first terminal belonging to first user and be sent to second terminal belonging to second user
Short message;When the current state of the second user is offline, it is pending to save first terminal described in first user
Give the short message of second terminal belonging to second user;When the current state for determining the second user is changed to online,
Offline message prompting message is checked to second terminal transmission;Check that offline message is asked what the reception second terminal returned
After seeking information, the short message of preservation is sent to the second terminal.
19. device as claimed in claim 14, which is characterized in that first receiving unit is specifically used for receiving the first use
The registration request that first terminal belonging to family is sent carries the user information of first user in the registration request;It saves
The user information of first user;Create user identifier corresponding with the user information of first user.
20. device as claimed in claim 14, which is characterized in that further include:
Second receiving unit, for receiving the modification to good friend's name list of the transmission of first terminal belonging to first user
Request;
Modify unit, for according to the modification type in the modification request, to good friend's name list of first user into
The corresponding modification of row;
Second transmission unit, for modified good friend's name list to be sent to the first terminal.
21. a kind of instant communication device based on short message characterized by comprising
Judging unit, for judging whether carry session id code in the short message received;The short message is registered
What first terminal belonging to the first user was sent;The session id code characterizes between the first user identifier and second user mark
Unique session identification;
First transmission unit, if for carrying session id code in the short message, according to session id code corresponding second
User identifier obtains the current state information of the second user, and sends the current state information for carrying the second user
Short message;
Second transmission unit, if for not carrying session id code in the short message, according to the meeting in the short message
Content is talked about, determines the name information of the second user;And it sends and carries corresponding with the name information of the second user the
The short message of the current state information of two user identifiers and the second user of acquisition.
22. device as claimed in claim 21, which is characterized in that second transmission unit is specifically used in the session
The keyword for indicating user's name is extracted in content;By good friend's name list of the keyword extracted and first user into
Row matching, good friend's name list of first user be found from the user's good friend's name list prestored with it is described short
The corresponding good friend's name list of the first user identifier in message;The good friend's title obtained with the Keywords matching extracted is true
It is set to the name information of the second user of the first terminal queued session.
23. device as claimed in claim 22, which is characterized in that second transmission unit, specifically for being obtained when matching
Good friend's title and keyword when being exact matching, good friend's title exactly match with the keyword is determined as described in
The name information of the second user of first terminal queued session.
24. device as claimed in claim 22, which is characterized in that second transmission unit, specifically for being obtained when matching
Good friend's title when with the keyword being that part matches, will be sent to the matched good friend's title of described the Keywords section described
First terminal;Receive good friend's title selection information that the first terminal returns;It is good in information that good friend's title is selected
Friendly title is determined as the name information of the second user of the first terminal queued session.
25. a kind of instant communicating system based on short message characterized by comprising short message transceiving module, natural language processing mould
Block and session control module, in which:
The short message transceiving module, for receiving the short message of the transmission of first terminal belonging to registered first user;By institute
Short message is stated to the natural language processing module;The session id code sent according to the session control module is to described
Second terminal belonging to second user sends the short message;
The natural language processing module, for judging whether carry session id code in the short message;Short disappear if described
Session id code is carried in breath, and the current of the second user is obtained according to the corresponding second user mark of the session id code
Status information, and the short message for carrying the current state information of the second user is sent to the session control module;Such as
Session id code is not carried in short message described in fruit, according to the session content in the short message, determines that the first terminal is asked
Seek the name information of the second user of session;The current state information of the second user is searched from user status table;It will take
The short message of band second user mark corresponding with the name information of the second user and current state information is to described
Session control module;
The session control module, for when determine carry the session id code in the short message that receives when, according to described
The short message is sent to the short message transceiving module by the current state information of the second user carried in short message;
When not carrying the session id code in the determining short message received, marked according to the first user carried in the short message
Know and second user identifies, generates the session id code of first user and the second user;And according to the short message
The short message for carrying the session id code is sent to described by the current state information of the second user of middle carrying
Short message transceiving module.
26. system as claimed in claim 25, which is characterized in that further include: address list management module, in which:
The address list management module, for saving the corresponding relationship between the user identifier of each user and good friend's title;
The natural language processing module indicates the keyword of user's name specifically for extracting in the session content;From
In good friend's name list of each user saved in the address list management module, search and the first user in the short message
Identify corresponding good friend's name list;By the progress of good friend's name list of the keyword extracted and first user
Match;The good friend's title obtained with the Keywords matching extracted is determined as the second user of the first terminal queued session
Name information.
27. system as claimed in claim 25, which is characterized in that the session control module is specifically used for working as described second
When the current state of user is online, saves and send first terminal described in first user and be sent to second user institute
The short message of the second terminal of category;
When the current state of the second user is offline, saves first terminal described in first user and be sent to the
The short message of second terminal belonging to two users;Offline message solicited message is checked receive that the second terminal sends
Afterwards, the short message of preservation is sent to the second terminal.
28. system as claimed in claim 25, which is characterized in that the natural language processing module is specifically used for receiving institute
The modification to good friend's name list that first terminal belonging to first user of short message transceiving module forwarding is sent is stated to request;
According to the modification type in the modification request, to good friend's name list of first user in the address list module into
The corresponding modification of row;Modified good friend's name list is sent to the first terminal by the short message transceiving module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410705320.7A CN105704686B (en) | 2014-11-27 | 2014-11-27 | A kind of instant communication method based on short message, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410705320.7A CN105704686B (en) | 2014-11-27 | 2014-11-27 | A kind of instant communication method based on short message, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105704686A CN105704686A (en) | 2016-06-22 |
CN105704686B true CN105704686B (en) | 2019-02-19 |
Family
ID=56230289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410705320.7A Active CN105704686B (en) | 2014-11-27 | 2014-11-27 | A kind of instant communication method based on short message, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105704686B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259862B (en) * | 2021-06-23 | 2021-11-09 | 易纳购科技(北京)有限公司 | Short message centralized forwarding system and method |
CN117135258A (en) * | 2022-05-20 | 2023-11-28 | 华为技术有限公司 | Method and terminal for displaying short message |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101039284A (en) * | 2006-03-16 | 2007-09-19 | 腾讯科技(深圳)有限公司 | Method for transmitting instant message to group |
CN101202717A (en) * | 2007-12-11 | 2008-06-18 | 腾讯科技(深圳)有限公司 | Method for searching instant communication user and instant communication server |
CN101611398A (en) * | 2007-02-16 | 2009-12-23 | 微软公司 | The context-sensitive searches and the function that are used for instant messaging applications |
CN101753476A (en) * | 2008-12-04 | 2010-06-23 | 中兴通讯股份有限公司 | System and method for rapidly positioning contact in instant communication |
CN102238495A (en) * | 2010-04-20 | 2011-11-09 | 上海博路信息技术有限公司 | System for intercommunicating short messages and instant messages (IM) |
CN103078781A (en) * | 2011-10-25 | 2013-05-01 | 国际商业机器公司 | Method for instant messaging system and instant messaging system |
CN103425649A (en) * | 2012-05-15 | 2013-12-04 | 腾讯科技(深圳)有限公司 | Method and device for adding friend information |
CN103684988A (en) * | 2013-11-22 | 2014-03-26 | 深圳市迈桥科技有限公司 | Cross-mobile-terminal message pushing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8943147B2 (en) * | 2010-12-15 | 2015-01-27 | International Business Machines Corporation | Sending a chat context to a recipient |
-
2014
- 2014-11-27 CN CN201410705320.7A patent/CN105704686B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101039284A (en) * | 2006-03-16 | 2007-09-19 | 腾讯科技(深圳)有限公司 | Method for transmitting instant message to group |
CN101611398A (en) * | 2007-02-16 | 2009-12-23 | 微软公司 | The context-sensitive searches and the function that are used for instant messaging applications |
CN101202717A (en) * | 2007-12-11 | 2008-06-18 | 腾讯科技(深圳)有限公司 | Method for searching instant communication user and instant communication server |
CN101753476A (en) * | 2008-12-04 | 2010-06-23 | 中兴通讯股份有限公司 | System and method for rapidly positioning contact in instant communication |
CN102238495A (en) * | 2010-04-20 | 2011-11-09 | 上海博路信息技术有限公司 | System for intercommunicating short messages and instant messages (IM) |
CN103078781A (en) * | 2011-10-25 | 2013-05-01 | 国际商业机器公司 | Method for instant messaging system and instant messaging system |
CN103425649A (en) * | 2012-05-15 | 2013-12-04 | 腾讯科技(深圳)有限公司 | Method and device for adding friend information |
CN103684988A (en) * | 2013-11-22 | 2014-03-26 | 深圳市迈桥科技有限公司 | Cross-mobile-terminal message pushing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105704686A (en) | 2016-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103915095B (en) | The method of speech recognition, interactive device, server and system | |
CN103002415B (en) | A kind of method and apparatus by short message sending identifying code | |
KR101667946B1 (en) | Determining additional information associated with geographic location information | |
CN109379445A (en) | A kind of sending method and device of PUSH message | |
CN105338659B (en) | A kind of equipment connection method and terminal | |
KR20150080562A (en) | Methods and apparatuses for building tag library and searching for user | |
CN104750760B (en) | A kind of implementation method and device for recommending application software | |
CN107273415A (en) | Peer system can search for by the subject index based on instant messaging | |
CN110445719B (en) | Routing table management method, device, equipment and storage medium | |
US11244153B2 (en) | Method and apparatus for processing information | |
CN104767767A (en) | Method, device and system for sharing Internet access data and network equipment | |
CN103136342A (en) | Searching method, system and searching server of application programs (APP) | |
CN104750718B (en) | The searching method and equipment of a kind of data information | |
CN105553831A (en) | Message delivery method and system | |
CN110019444B (en) | Operation request processing method, device, equipment and system | |
CN110912805B (en) | Message reading state synchronization method, terminal, server and system | |
CN105704686B (en) | A kind of instant communication method based on short message, apparatus and system | |
CN103957306A (en) | Method and device for sharing information between communication terminals | |
CN107342929A (en) | A kind of sending method of new message notification, apparatus and system | |
CN107453977A (en) | The method and server of a kind of session management | |
CN109525629A (en) | Information-pushing method, device and storage medium | |
CN110737662B (en) | Data analysis method, device, server and computer storage medium | |
KR100845327B1 (en) | Method, communication terminal and buddy group management device for making buddy group | |
CN105653533A (en) | Method and device for updating classified associated word set | |
CN103491609A (en) | Method, system and device for carry out communication between mobile terminals |
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 |