CN102958008B - Method, system and mobile terminals for realizing instant messaging - Google Patents

Method, system and mobile terminals for realizing instant messaging Download PDF

Info

Publication number
CN102958008B
CN102958008B CN201110248524.9A CN201110248524A CN102958008B CN 102958008 B CN102958008 B CN 102958008B CN 201110248524 A CN201110248524 A CN 201110248524A CN 102958008 B CN102958008 B CN 102958008B
Authority
CN
China
Prior art keywords
mobile terminal
im
described
account
sent
Prior art date
Application number
CN201110248524.9A
Other languages
Chinese (zh)
Other versions
CN102958008A (en
Inventor
黎昀
符小宝
王作书
杨潇
安勇
王敏
张春晖
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Priority to CN201110248524.9A priority Critical patent/CN102958008B/en
Publication of CN102958008A publication Critical patent/CN102958008A/en
Application granted granted Critical
Publication of CN102958008B publication Critical patent/CN102958008B/en

Links

Abstract

The invention provides a method, a system and mobile terminals for realizing instant messaging. The method includes that a first mobile terminal receives a command for sending information, by the aid of a corresponding relation provided by an IM (instant messaging) server, the first mobile terminal and a second mobile terminal are judged to both have corresponding IM accounts, and the first mobile terminal judges that when the IM accounts are online, the IM server constitutes an IM message and sends the IM message to a corresponding IM account of the second mobile terminal, the IM account enables corresponding mobile terminals to establish a network connection with the IM server, by the aid of the connection, a registration request with a self identification is sent to the IM server, the corresponding relation of the mobile terminals determined by the IM server is the corresponding relation of the mobile terminal identifications and the IM accounts stored in the IM server. By the aid of the method, the system and the mobile terminals, a user does not need to log in an independent client-side, and also does not need to store an independent IM contact person list, and accordingly operation steps are reduced, and device resource is saved.

Description

A kind of method, system and mobile terminal realizing instant messaging

Technical field

The application relates to communication technical field, particularly a kind of method, system and mobile terminal realizing instant messaging.

Background technology

Along with the development of computer techno-stress, instant messaging (IM, Instant Messenger) has become a kind of means of communication often used in people's daily life gradually.And the development calculated along with handheld terminal, instant messaging is not only limited to and is applied on computers, and mobile phone terminal, flat board (PAD) computer are widely used equally.

At present, conventional IM software has QQ, Wang Wang, Fetion etc., no matter which kind of software client, and its application process is substantially identical, roughly as follows:

First, log in IM client, enter this IM interface; As, enter the interfaces such as QQ interface or Fetion;

Then, open buddy list, select the good friend and callee that need communication from this buddy list;

Finally, carry out IM with selected good friend to communicate.

Visible, the existing method realizing instant messaging, must sign in corresponding client, after selecting good friend, could communicate with selected good friend from the buddy list that this client is safeguarded.Due to needs sign in corresponding IM client after just can carry out IM communication, thus complex operation; Have again, each IM client uses respective Affiliates List respectively, as buddy list, and without any relation between the list that uses of each IM client, thus the list that each IM client is supported needs independent maintenance, takies resource and application inconvenience.

Summary of the invention

Technical problems to be solved in this application are to provide a kind of search method, need to log in IM client, complex operation, and need to safeguard separately communication list, take the problem of device resource in order to solve in prior art.

Present invention also provides a kind of system and the mobile terminal that realize instant messaging, in order to ensure said method implementation and application in practice.

In order to solve the problem, this application discloses a kind of method realizing instant messaging, described method comprises:

After first mobile terminal receives and sends information command, the described corresponding relation utilizing IM server to provide judges whether an IM account corresponding with himself, and, the second mobile terminal identification is extracted from information to be sent, judge whether the two IM account corresponding with described second mobile terminal, and judge whether a described IM account and the 2nd IM account are all in line states;

If, described first mobile terminal extracts the information content from information to be sent, and the information of this information content and an IM account and the 2nd IM account is sent to IM server by network, comprised the IM message of the described information content by described IM server constructs, and this IM message is sent to the 2nd IM account corresponding to the second mobile terminal;

Wherein, described IM account is that mobile terminal is set up network with IM server and is connected, utilize this connection that the registration request carrying self identification is sent to IM server, be that described mobile terminal is determined by described IM server, described corresponding relation is the described IM server mark of described mobile terminal of preserving and the corresponding relation of IM account.

On the other hand, this application discloses a kind of system realizing instant messaging, comprise IM server and at least two mobile terminals: the first mobile terminal and the second mobile terminal, wherein,

Described IM server, for receive mobile terminal carry the registration request of self identification after, for described mobile terminal determines IM account corresponding with it, and preserve the corresponding relation comprising described mobile terminal identification and IM account, and the log-on message of IM account status; Receive that the first mobile terminal sends comprise the information of the information content and an IM account and the 2nd IM account after, structure comprises the IM message of the described information content, and this IM message is sent to the 2nd IM account corresponding to the second mobile terminal;

Described mobile terminal, is connected for setting up network with IM server, utilizes this connection that the registration request carrying self identification is sent to IM server;

Wherein, described first mobile terminal, for receiving transmission information command, utilize the corresponding relation that IM server provides, judge an IM account corresponding with self, and, the second mobile terminal identification is extracted from information to be sent, judge the two IM account corresponding with described second mobile terminal, and when judging that an IM account and the 2nd IM account are all in line states, information extraction content from information to be sent, and the information of this information content and an IM account and the 2nd IM account is sent to IM server by network.

Another aspect, present invention also provides a kind of mobile terminal, comprising:

Registration request transmitting element, be connected for setting up network with IM server, utilize this connection that the registration request carrying self identification is sent to IM server, it is that described mobile terminal determines IM account corresponding with it that described registration request is used to indicate IM server, and preserves the corresponding relation of described mobile terminal identification and IM account;

Account judging unit, the described corresponding relation provided for utilizing IM server judges whether an IM account corresponding with self, and, the second mobile terminal identification is extracted from information to be sent, judge whether the two IM account corresponding with described second mobile terminal, and judge whether a described IM account and the 2nd IM account are in line states;

Information transmitting unit, for extracting the information content from information to be sent, and the information of this information content and an IM account and the 2nd IM account is sent to IM server by network, comprised the IM message of the described information content by IM server constructs, and this IM message is sent to the 2nd IM account.

Compared with prior art, the application comprises following advantage:

In this application, mobile terminal is by being connected with the network of IM server, register and obtain the IM account of self correspondence, IM server preserves the corresponding relation of mobile terminal identification and IM account, when the first mobile terminal receives transmission information command, the described corresponding relation that first mobile terminal utilizes IM server to provide, judge the first mobile terminal and the second mobile terminal all to there being IM account, and when judging that IM account is all online, then with IM send mode, the IM message of the information content is comprised by IM server constructs, connected by network and IM message is sent to IM account corresponding to the second mobile terminal, second mobile terminal can read the information content from the IM account of its correspondence, the method realizing instant messaging of this example, without the need to logging in the client arranged separately, and by the binding of mobile terminal identification and IM account, also without the need to preserving independent IM contacts list, thus decrease operating procedure, save device resource.

Certainly, the arbitrary product implementing the application might not need to reach above-described all advantages simultaneously.

Accompanying drawing explanation

In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.

Fig. 1 is a kind of flow chart realizing the embodiment of the method one of instant messaging of the application;

Fig. 2 is a kind of flow chart realizing the embodiment of the method two of instant messaging of the application;

Fig. 3 is a kind of structural representation realizing the system of instant messaging of the application;

Fig. 4 is the structural representation of a kind of mobile terminal embodiment one of the application;

Fig. 5 is the structural representation of a kind of mobile terminal embodiment two of the application.

Embodiment

Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, the every other embodiment that those of ordinary skill in the art obtain, all belongs to the scope of the application's protection.

The application can be used in numerous general or special purpose calculation element environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multi-processor device, the distributed computing environment (DCE) comprising above any device or equipment etc.

The application can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the application in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.

One of main thought of the application can comprise, when the first mobile terminal sends information to the second mobile terminal, first mobile terminal utilizes IM (Instant Messaging, instant messaging) the described corresponding relation that provides of server, judge whether an IM account corresponding with self, and, the second mobile terminal identification is extracted from information to be sent, judge whether the two IM account corresponding with described second mobile terminal, and judge whether a described IM account and the 2nd IM account are all in line states; Wherein, described IM account is that mobile terminal is set up network with IM server and is connected, utilize this connection that the registration request carrying self identification is sent to IM server, be that described mobile terminal is determined by described IM server, described corresponding relation is the corresponding relation of described mobile terminal identification and the IM account of preserving in described IM server.If judged result is be, first mobile terminal extracts the information content from information to be sent, and the information of this information content and an IM account and the 2nd IM account is sent to IM server by network, the IM message of the described information content is comprised by IM server constructs, and this IM message is sent to the 2nd IM account corresponding to the second mobile terminal, therefore the second mobile terminal can extract described IM message from the described 2nd IM account of its correspondence, and obtains the information content in described IM message.Pass through the embodiment of the present application, without the need to logging in the IM client arranged separately in the terminal, and IM account and mobile terminal identification correspondence, therefore also without the need to safeguarding separately IM contacts list, therefore simple to operate, and saved device resource, and carry out information transmission with IM send mode, can also communication cost be saved.

Below in conjunction with specific embodiment, describe the application's embodiment in detail.

With reference to figure 1, it illustrates a kind of flow chart realizing the embodiment of the method one of instant messaging of the application, can comprise the following steps:

Step 101: mobile terminal and IM (Instant Messaging, instant messaging) server are set up network and connected, and utilize this connection that the registration request carrying self identification is sent to IM server.

In the embodiment of the present application, in order to can instant messaging be realized, mobile terminal needs first to set up network with IM server and is connected, and send registration request to IM server, need in this registration request to carry this mobile terminal identification, this mobile terminal identification is unique, and described mark can be the communicating number of mobile terminal, such as, when mobile terminal is mobile phone, this mark is phone number.

Step 102:IM server is that described mobile terminal determines IM account corresponding with it, and preserves the corresponding relation of described mobile terminal identification and IM account.

When IM server receives the registration request of mobile terminal, for this mobile terminal determines an IM account, and determine the corresponding relation of this mobile terminal identification and IM account, the corresponding IM account of each mobile terminal identification, IM server preserves the corresponding relation of this mobile terminal identification and IM account, when mobile terminal is with its IM Account Logon or when exiting IM server, IM server also can record its state information, as off-line or online etc.The described corresponding relation preserved of IM server specifically can the mode of list or database be preserved.

It should be noted that, the operation of step 101 and step 102 is not all perform at every turn, after described mobile terminal registration IM account, mobile terminal is when starting up, namely IM server can automatically be signed in, also when receiving the logging request of user, described IM server can signed in.

Step 103: when the first mobile terminal receives and sends information command, the described corresponding relation utilizing IM server to provide judges whether an IM account corresponding with self, and, the second mobile terminal identification is extracted from information to be sent, judge whether the two IM account corresponding with described second mobile terminal, then enter step 104 if be.

The mobile terminal of user's application, the first mobile terminal is set in the present embodiment, receive the transmission information command of user, when sending information to reception user, in the present embodiment, the mobile terminal receiving user's application is set to the second mobile terminal, and the first mobile terminal can extract the second mobile terminal identification from information to be sent.

The content of described information to be sent can be Word message, image information, acoustic information or video information etc.

In the present embodiment, IM account corresponding for described first mobile terminal is set to an IM account, the IM account that described second mobile terminal is corresponding is set to the 2nd IM account.

The described corresponding relation that described IM server provides can be that IM server push delivers to the first mobile terminal, and when also can be the first mobile terminal send corresponding relation request to IM server, this corresponding relation is sent to mobile terminal by IM server again.

Wherein, described corresponding relation is pushed to mobile terminal by described IM server, can be that clocked flip pushes, and also can be push when the corresponding relation preserved changes.First mobile terminal is according to the corresponding relation of IM server push and IM account status information, can be searched it according to the mobile terminal identification of self and whether have a corresponding IM account, and search the second mobile terminal according to the second mobile terminal identification and whether have the 2nd IM account.

Wherein, the first mobile terminal sends corresponding relation request to IM server, can be send this request when each starting up of the first mobile terminal completes, or, this request of timed sending, or, before transmission information to be sent, send this request.IM server receives this request can be sent to the first mobile terminal by corresponding relation.

In addition, multiple mobile terminal identification can also be comprised in the corresponding relation request of described transmission, described multiple mobile terminal identification can be comprise other mobile terminal identification multiple of preserving in the mark of the first mobile terminal and the first mobile terminal, such as, all phone numbers preserved in the address list of mobile phone; Also the mark of the first mobile terminal and the second mobile terminal can just be comprised, such as, the phone number of transmit leg and recipient.Whether multiple mobile terminal identification that IM server searches the first mobile terminal transmission according to the corresponding relation preserved exist corresponding IM account, and the existence corresponding relation corresponding to mobile terminal identification or corresponding relation acquisition failure are fed back to the first mobile terminal, thus the first mobile terminal can know whether himself and the second mobile terminal have corresponding IM account.

Wherein, as another embodiment, the described corresponding relation that first mobile terminal can utilize IM server to provide in advance, judge that in its mobile terminal preserved, which has IM account, then indicate to the mobile terminal identification of IM account should be had to arrange IM, first mobile terminal judges whether the two IM account corresponding with described second mobile terminal, specifically can judge whether the mark of the second mobile terminal is provided with IM mark, in actual applications, such as, in mobile phone, check for ease of user, can IM tag mark be set in cell phone address book, IM tag mark can pass through small icon, different literals color, the expressions such as font, identify to facilitate user.

It should be noted that, step 103 can be carried out the judgement operation that the first mobile terminal and the second mobile terminal carry out respectively simultaneously, also can carry out respectively.And if have a result to be no in deterministic process, e.g., the first mobile terminal does not have corresponding IM account, or the second mobile terminal does not have corresponding IM account, can terminate this and judge.

Step 104: judge whether a described IM account and the 2nd IM account are in line states, are enter step 105 if be.

Judge that described first mobile terminal is to there being the first IM account, and described second mobile terminal is to after should having the second IM account, the first mobile terminal needs to judge whether a described IM account and the 2nd IM account are presence.

Judge whether a described IM account and the 2nd IM account are presence, can be the first mobile terminal to IM server lookup account status information, the state information response according to IM server judges; Also namely carry the state information of account in the corresponding relation described in can providing at IM server, the first mobile terminal can directly utilize this state information to judge.

Step 105: the first mobile terminal extracts the information content from information to be sent, and the information of this information content and an IM account and the 2nd IM account is sent to IM server by network.

Judge the first mobile terminal and the second mobile terminal all to there being IM account, and when a corresponding IM account and the 2nd IM account are all online, the first mobile terminal, namely by being connected with the network of IM server, sends IM message.Particularly, the first mobile terminal extracts the information content from information to be sent, then the information of the described information content and an IM account and the 2nd IM account is sent to IM server by network.

Step 106:IM server constructs comprises the IM message of the described information content, and this IM message is sent to the 2nd IM account corresponding to the second mobile terminal.

Alternatively, described IM server also can increase by a confirmation step, and namely determine that the transmit leg account of this IM message is an IM account, recipient's account is the 2nd IM account.

IM server encapsulates the described information content, is configured to IM message, and determines that the transmit leg account of this IM message is an IM account, and recipient's account is the 2nd IM account, this IM message can be sent to the 2nd IM account corresponding to the second mobile terminal.

Thus described second mobile terminal, by being connected with the network of IM server, can extracting described IM message, and obtain the information content in described IM message from the 2nd IM account of its correspondence.

Instant communication method described in the embodiment of the present application can adopt the method based on cloud computing, and described IM server is Cloud Server, and described mobile terminal is cloud equipment.Without the need to arranging separately and safeguarding IM client in described mobile terminal, can realize being connected with the network of IM server.

In the present embodiment, mobile terminal is by being connected with the network of IM server, register and obtain IM account corresponding to mobile terminal, IM server preserves the corresponding relation of mobile terminal identification and IM account, when first mobile terminal sends information to the second mobile terminal, the described corresponding relation utilizing IM server to provide judges the first mobile terminal and the second mobile terminal all to there being IM account, and when judging that IM account is all online, then by IM send mode, the IM message of the information content is comprised by IM server constructs, connected by network and be sent to IM account corresponding to the second mobile terminal, second mobile terminal can read the information content from the IM account of its correspondence, thus realize instant messaging, this example realize instant communication method, without the need to logging in client, decrease operating procedure, and by the binding of mobile terminal identification and IM account, also without the need to preserving independent IM contacts list, thus save device resource.

See Fig. 2, it illustrates a kind of flow chart realizing the embodiment of the method two of instant messaging of the application, described method can comprise:

Step 201: mobile terminal is set up network with IM server and is connected, utilizes this connection that the registration request carrying self identification is sent to IM server.

Step 202:IM server is that described mobile terminal determines IM account corresponding with it, and preserves the corresponding relation of described mobile terminal identification and IM account, and IM account status information.

Step 201 is identical with embodiment of the method one with the operation of step 202, does not repeat them here.

Step 203: when the first mobile terminal receives and sends information command, the described corresponding relation utilizing IM server to provide judges whether an IM account corresponding with self, if so, then enters step 204, if not, then enters step 209.

Described corresponding relation can be that IM server clocked flip pushes to described first mobile terminal, or pushes to described first mobile terminal when the corresponding relation preserved changes; It can also be again the corresponding relation of preservation is sent to the first mobile terminal when IM server receives the corresponding relation request of the first mobile terminal transmission.Wherein, described corresponding relation request can be that the first mobile terminal-opening sends when having started, also can timed sending, or sends before transmission information to be sent.

In addition, the state information of IM account in described corresponding relation, can also be carried, comprise the state informations such as online or off-line.

Step 204: extract described second mobile terminal identification from information to be sent, the corresponding relation utilizing IM server to provide, judges whether described second mobile terminal has the 2nd corresponding IM account, if so, then enters step 205, if not, then enters step 209.

It should be noted that, the operation of step 203 and step 204 is not limited to the order described in the embodiment of the present application, first can perform the operation of step 204, performing the operation of step 203, also can perform simultaneously.

In addition, the deterministic process of the second mobile terminal is not limited and the first mobile terminal sends information to the second mobile terminal time, it can also judge in advance, and when the second mobile terminal has IM account, be that the second mobile terminal identification arranges corresponding IM mark and is kept in the first mobile terminal, when the first mobile terminal extracts the second mobile terminal identification, directly judge whether this second mobile terminal identification is provided with IM and indicates, if so, the operation of step 205 is then directly performed.

Step 205: judge whether a described IM account and described 2nd IM account are in line states, be then enter step 206, if not, enter step 209 if be.

Step 206: the first mobile terminal extracts the information content from information to be sent, and the information of this information content and an IM account and the 2nd IM account is sent to IM server by network.

Step 207:IM server constructs comprises the IM message of the described information content, and determine that the transmit leg account of this IM message is an IM account, recipient's account is the 2nd IM account, and this IM message is sent to the 2nd IM account corresponding to the second mobile terminal.

Step 208: the second mobile terminal extracts described IM message from the IM account of its correspondence, and obtain the information content in described IM message.

Step 209: the described information content to be sent, according to the second mobile terminal identification, is sent to the second mobile terminal by the first mobile terminal.

Described information to be sent is short message, and described mobile terminal identification is mobile communication number, then according to short message send mode, short message is sent to the second mobile terminal.

The content of described short message can be Word message, pictorial information, acoustic information or video information etc., then described short message send mode, particular by SMS service center, described short message is sent to the second mobile terminal of receiving party's application.

Or described information to be sent is Email, described mobile terminal identification is E-mail address, then according to mail sending mode, Email is sent to the second mobile terminal.

Described mail sending mode, particular by mail server, is sent to due second mobile terminal of recipient by Email.

In the embodiment of the present application, when the first mobile terminal and the second mobile terminal all meet have corresponding IM account and account all online condition time, then can by being connected with the networking of IM server, by IM send mode, the information content is sent to the account that the second mobile terminal is corresponding, second mobile terminal can get this information content, when at least one does not meet described condition when the first mobile terminal and the second mobile terminal, then still send mode conveniently the information content can be sent to the second mobile terminal.By IM send mode, only need consumption network flow, therefore the embodiment of the present application can save communication cost, when particularly mobile terminal is mobile phone, when user sends SMS message, operate according to short message send mode, and mobile phone can automatic decision whether can with IM send mode by content delivery to recipient, therefore, the communication cost of short message can be saved.

In the present embodiment, mobile terminal is by being connected with the network of IM server, register and obtain corresponding IM account, IM server preserves the corresponding relation of mobile mobile terminal identification and IM account, and the state information of IM account, when first mobile terminal sends information to the second mobile terminal, the described corresponding relation utilizing IM server to provide and the state information of IM account, judge the first mobile terminal and the second mobile terminal all to there being IM account, and IM account all online time, then by IM send mode, the IM message of the information content is comprised by IM server constructs, connected by network and be sent to IM account corresponding to the second mobile terminal, second mobile terminal can read the information content from the IM account of its correspondence, thus realize instant messaging, this example realize instant communication method, without the need to logging in the client arranged separately, and by the binding of mobile terminal identification and IM account, also independent IM contacts list need not be preserved, thus save device resource, and save communication cost by the transmission that IM send mode realizes information.When instant messaging can not be realized, information can also be sent in a conventional manner, ensure that the accurate transmission of information.

Present invention also provides a kind of system realizing instant messaging, see Fig. 3, show the structural representation of described system, described system comprises IM server 301 and at least two mobile terminals: the first mobile terminal 302 and the second mobile terminal 303.

Described IM server 301: for receive mobile terminal registration request after, for described mobile terminal determines IM account corresponding with it, and preserve the corresponding relation comprising described mobile terminal identification and IM account, and the log-on message of IM account status; Receive first and move end: 302 send comprise the information of the information content and an IM account and the 2nd IM account after, structure comprises the IM message of the described information content, and this message is sent to the 2nd IM account corresponding to the second mobile terminal.

Described mobile terminal, is connected for setting up network with IM server 301, utilizes this connection that the registration request carrying self identification is sent to IM server 301;

Wherein, described first mobile terminal 302, for receiving transmission information command, utilize the corresponding relation that IM server 302 provides, judge an IM account corresponding with self, and, the second mobile terminal identification is extracted from information to be sent, judge the two IM account corresponding with described second mobile terminal 303, and when judging that an IM account and the 2nd IM account are all in line states, information extraction content from information to be sent, and the information of this information content and an IM account and the 2nd IM account is sent to IM server by network.

Described second mobile terminal 303 can extract described IM message from the 2nd IM account of its correspondence, obtains the information content in described IM message.

Wherein, the described corresponding relation that IM server provides can be that IM server push delivers to the first mobile terminal, and when also can be the first mobile terminal send corresponding relation request to IM server, this corresponding relation is sent to the first mobile terminal by IM server again.

Wherein, described corresponding relation is pushed to mobile terminal by described IM server, can be that clocked flip pushes, and also can be push when the corresponding relation preserved and IM account status information change.Whether namely the first mobile terminal can search it according to the mobile terminal identification of self according to the corresponding relation of IM server push corresponding IM account, and searches the second mobile terminal according to the second mobile terminal identification and whether have IM account.

Wherein, the first mobile terminal sends corresponding relation request to IM server, can be to send this request when the first each starting up of mobile terminal, or, this request of timed sending, or, before transmission information to be sent, send this request.IM server receives this request can be sent to the first mobile terminal by the corresponding relation of preservation.

In addition, multiple mobile terminal identification can also be comprised in the corresponding relation request of described transmission, described multiple mobile terminal identification can be comprise other mobile terminal identification multiple of preserving in the mark of the first mobile terminal and the first mobile terminal, such as, all phone numbers preserved in the address list of mobile phone; Also the mark of the first mobile terminal and the second mobile terminal can just be comprised, such as, the phone number of transmit leg and recipient.Whether multiple mobile terminal identification that IM server searches the first mobile terminal transmission according to the corresponding relation preserved exist corresponding IM account, and the existence corresponding relation corresponding to mobile terminal identification or corresponding relation acquisition failure are fed back to the first mobile terminal, thus the first mobile terminal can know whether himself and the second mobile terminal have corresponding IM account.

Wherein, described first mobile terminal 302 judges whether the IM account corresponding with described second mobile terminal 303, can be specially: judge whether described second mobile terminal identification is provided with IM mark, described IM mark is the described corresponding relation that the first mobile terminal 302 utilizes IM server 301 to provide in advance, when judging that the second mobile terminal 303 has a 2nd corresponding IM account set by described second mobile terminal identification.

Instant communicating system can be based on cloud computing system that what the present embodiment provided realize, described IM server is Cloud Server, and described mobile terminal is cloud equipment.Described mobile terminal is without the need to arranging independent IM client, can realize being connected with the network of IM server, thus realize instant messaging, therefore also saving device resource, such as, also needing separately client software to be installed to realize instant messaging in existing mobile phone, just instant messaging can be realized, and the mobile terminal that the application provides is without the need to installing client, directly sets up network with IM server and being connected, thus can instant messaging be realized.

In addition, when described first mobile terminal 302 judges that himself mark does not have a corresponding IM account, or the second mobile terminal 303 does not have the 2nd corresponding IM account, or an IM account is not online, or when the 2nd IM account is not online, the described information content to be sent also for according to the second mobile terminal identification, is sent to the second mobile terminal 303 by described first mobile terminal 302.

Described information to be sent is short message, and described mobile terminal identification is mobile communication number, then according to short message send mode, information to be sent is sent to the second mobile terminal.

The content of described short message can be Word message, pictorial information, acoustic information or video information etc., then described short message send mode, particular by SMS service center, described short message is sent to the second mobile terminal of receiving party's application.

Or described information to be sent is Email, described mobile terminal identification is E-mail address, then according to mail sending mode, Email is sent to the second mobile terminal.

Described mail sending mode, particular by mail server, is sent to due second mobile terminal of recipient by Email.

It should be noted that, at least comprise two mobile terminals in the present embodiment, using the first mobile terminal as transmitting terminal, the description that second mobile terminal carries out as receiving terminal, but described first mobile terminal and the second mobile terminal are not limited thereto, described first mobile terminal also can as receiving terminal, described second mobile terminal also can be used as transmitting terminal, native system can also comprise other mobile terminals that other have described first mobile terminal or the second mobile terminal function, to realize the transmission in many ways of information.

In the present embodiment, first mobile terminal can be set up network with IM server respectively with the second mobile terminal and be connected, IM server is respectively the first mobile terminal and the second mobile terminal determines an IM account corresponding with it and the 2nd IM account, and preserve the corresponding relation of mobile terminal identification and IM account, when first mobile terminal sends information to the second mobile terminal, the second mobile terminal identification is extracted from transmission information, the described corresponding relation utilizing IM server to provide judge the first mobile terminal and the second mobile terminal all to should have IM account and account is all online time, the information content is sent to the IM account of the second mobile terminal by the first mobile terminal with IM send mode, second mobile terminal can extract the information content from described IM account, show recipient, thus the first mobile terminal is without the need to arranging independent IM client, also the IM contact person that Maintenance free is independent, instant messaging can be realized, save device resource, and the communication cost saved in information transmission.

Present invention also provides a kind of mobile terminal, see Fig. 4, show the structural representation of this mobile terminal embodiment one, can comprise:

Registration request transmitting element 402, be connected for setting up network with IM server, and utilize this connection that the registration request carrying self identification is sent to IM server, it is that described mobile terminal determines IM account corresponding with it that described registration request is used to indicate IM server, and preserves the corresponding relation of described mobile terminal identification and IM account.

Account judging unit 403, during for receiving information transmission instruction, the described corresponding relation utilizing IM server to provide judges whether an IM account corresponding with self, and, the second mobile terminal identification is extracted from information to be sent, judge whether the two IM account corresponding with described second mobile terminal, and judge whether a described IM account and the 2nd IM account are in line states.。

Information transmitting unit 403, for extracting the information content from information to be sent, and the information of this information content and an IM account and the 2nd IM account is sent to IM server by network, comprised the IM message of the described information content by IM server constructs, and this IM message is sent to the 2nd IM account corresponding to the second mobile terminal.

Second mobile terminal can extract IM message from the IM account of its correspondence, obtains the information content in IM message.

Wherein, as another embodiment, see Fig. 5, be the structural representation of a kind of mobile terminal embodiment two of the application, when described account judging unit 403 judged result is no, then described mobile terminal also comprises:

Transmitting element 404: for according to the second mobile terminal identification, the described information content to be sent is sent to the second mobile terminal.

Described account judges that single 403 judged results are that no referring to himself does not have corresponding IM account, or the IM account of its correspondence is not online, or the second mobile terminal does not have corresponding IM account, or the IM account of the second mobile terminal is not online.

In addition, described mobile terminal can also comprise:

Mark setting unit 405, IM mark when the described corresponding relation provided for utilizing IM server judges that the second mobile terminal identification has a corresponding IM account set by the second mobile terminal identification.

Then described account judging unit 403 judges whether the IM account corresponding with described second mobile terminal identification, specifically judges whether described second mobile terminal identification is provided with IM mark.

When described mobile terminal is as receiving terminal, it can also comprise:

Information acquisition unit 406, for extracting IM message from the IM account of its correspondence, and obtains the information content in described IM message.

The mobile terminal that the application provides, by being connected with mutual with the network of IM server, can realize, with IM send mode, information is passed to recipient, without the need to arranging independent IM client in this mobile terminal, simultaneously due to, IM account and mobile terminal identification corresponding, also without the need to safeguarding separately IM contacts list, therefore saved device resource, and information sends with IM send mode, saves communication cost.

The embodiment of the application is described below in detail with the example of a practical application, the present embodiment take mobile terminal as mobile phone, mobile terminal identification is phone number, the request of sending SMS message is example, send user and apply mobile phone A, the phone number of its correspondence is HA, receive user and apply mobile phone B, the phone number of its correspondence is HB.Store address list in mobile phone A, preserve multiple phone number, comprise the phone number HB that mobile phone B is corresponding.In practical application, user can also arrange corresponding user name for each phone number.Mobile phone A and mobile phone B all can be set up network with IM server and be connected, and IM server is respectively described mobile phone A and mobile phone B determines corresponding IM account, is respectively account IMA and account IMB.IM server preserves the corresponding relation of phone number and IM account, the state information of record account.

When user is sent SMS message to the user applying mobile phone B by mobile phone A, mobile phone A receives the instruction that sends SMS message, phone number HB is extracted from short message, the state information of the phone number utilizing IM server to provide and the corresponding relation of IM account and IM account, judge whether to there is account IMA and this IMA whether online, and, whether there is account IMB and this IMB whether online, if be, then mobile phone A extracts described content of short message, and the information of described content of short message and its account IMA and account IMB is sent to IM server.IM server can construct IM message, and determine that transmit leg account is account IMA, recipient's account is account IMB, and is sent in account IMB by IM message, and mobile phone B can extract this content of short message from the account IMB of its correspondence, to show user.

In this practical application, the mode of operation of user is constant, only needs short message conveniently to send form and operates, judged by mobile phone, form can be sent by IM and content information is sent to reception user, and without the need to logging in the IM client arranged separately, simultaneously due to, IM account and phone number corresponding, therefore also without the need to safeguarding separately IM contacts list, effectively saved device resource, and short message sends with IM send mode, also can save communication cost.

It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.

Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.

For convenience of description, various unit is divided into describe respectively with function when describing above device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing the application.

As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the application or embodiment.

A kind of search method provided the application above, Apparatus and system are described in detail, apply specific case herein to set forth the principle of the application and execution mode, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.

Claims (13)

1. realize a method for instant messaging, it is characterized in that, comprising:
After first mobile terminal receives and sends information command, the corresponding relation utilizing IM server to provide judges whether an IM account corresponding with self, and, the second mobile terminal identification is extracted from information to be sent, judge whether the two IM account corresponding with the second mobile terminal, and judge whether a described IM account and the 2nd IM account are all in line states;
If, described first mobile terminal extracts the information content from information to be sent, and the information of this information content and an IM account and the 2nd IM account is sent to IM server by network, comprised the IM message of the described information content by described IM server constructs, and this IM message is sent to the 2nd IM account corresponding to the second mobile terminal;
Wherein, described IM account is that mobile terminal is set up network with IM server and is connected, utilize this connection that the registration request carrying self identification is sent to IM server, be that described mobile terminal is determined by described IM server, described corresponding relation is the described IM server mark of described mobile terminal of preserving and the corresponding relation of IM account.
2. method according to claim 1, is characterized in that, when described first mobile terminal does not have a corresponding IM account, or the second mobile terminal does not have the 2nd corresponding IM account, or an IM account is not online, or when the 2nd IM account is not online, described method also comprises:
The described information content, according to the second mobile terminal identification, is sent to the second mobile terminal by the first mobile terminal.
3. method according to claim 2, it is characterized in that, described information to be sent is short message, described mobile terminal identification is mobile communication number, then the described information content is sent to the second mobile terminal and is specially, according to short message send mode, the described information content is sent to the second mobile terminal; Or,
Described information to be sent is Email, and described mobile terminal identification is E-mail address, then the described information content is sent to the second mobile terminal and is specially, according to mail sending mode, the described information content is sent to the second mobile terminal.
4. method according to claim 1, is characterized in that, described corresponding relation is that IM server clocked flip pushes, or, push when the corresponding relation preserved changes.
5. method according to claim 1, is characterized in that, described corresponding relation is when to be the first mobile terminal send corresponding relation request to IM server, is supplied to described first mobile terminal by IM server.
6. method according to claim 5, is characterized in that, described corresponding relation request is that described first mobile terminal is initiated when having started, or timing is initiated, or initiates before transmission information to be sent.
7. method according to claim 1, is characterized in that, described in judge whether that the IM account corresponding with described second mobile terminal is specially:
Judge whether described second mobile terminal identification is provided with IM mark, described IM mark is that described corresponding relation that the first mobile terminal utilizes IM server to provide in advance judges that the second mobile terminal is set when having a 2nd corresponding IM account.
8. realize a system for instant messaging, it is characterized in that, comprise IM server and at least two mobile terminals: the first mobile terminal and the second mobile terminal, wherein,
Described IM server, for receive mobile terminal carry the registration request of self identification after, for described mobile terminal determines with it corresponding IM account, and preserve the corresponding relation comprising described mobile terminal identification and IM account; After receiving the information content of the first mobile terminal transmission and the information of an IM account and the 2nd IM account, structure comprises the IM message of the described information content, and this IM message is sent to the 2nd IM account corresponding to the second mobile terminal;
Described mobile terminal, is connected for setting up network with IM server, utilizes this connection that the registration request carrying self identification is sent to IM server;
Wherein, described first mobile terminal, for receiving transmission information command, utilize the corresponding relation that IM server provides, judge an IM account corresponding with self, and, the second mobile terminal identification is extracted from information to be sent, judge the two IM account corresponding with described second mobile terminal, and when judging that an IM account and the 2nd IM account are all in line states, information extraction content from information to be sent, and the information of this information content and an IM account and the 2nd IM account is sent to IM server by network.
9. system according to claim 8, it is characterized in that, when described first mobile terminal, judge himself there is no a corresponding IM account, or the second mobile terminal does not have the 2nd corresponding IM account, or an IM account is not online, or when the 2nd IM account is not online, described first mobile terminal is also for according to the second mobile terminal identification, and conveniently the described information content to be sent is sent to the second mobile terminal by send mode.
10. system according to claim 8, is characterized in that, described first mobile terminal judges whether that the two IM account corresponding with described second mobile terminal is specially:
First mobile terminal judges whether described second mobile terminal identification is provided with IM mark, and described IM mark is that corresponding relation that the first mobile terminal utilizes IM server to provide in advance judges the second mobile terminal when having a 2nd corresponding IM account set by described second mobile terminal identification.
11. 1 kinds of mobile terminals, is characterized in that, described mobile terminal comprises:
Registration request transmitting element, be connected for setting up network with IM server, utilize this connection that the registration request carrying self identification is sent to IM server, it is that described mobile terminal determines IM account corresponding with it that described registration request is used to indicate IM server, and indicates IM server to preserve the corresponding relation of described mobile terminal identification and IM account;
Account judging unit, after receiving information transmission instruction, the described corresponding relation utilizing IM server to provide judges whether an IM account corresponding with self, and, the second mobile terminal identification is extracted from information to be sent, judge whether the two IM account corresponding with described second mobile terminal, and judge whether a described IM account and the 2nd IM account are in line states;
Information transmitting unit, for extracting the information content from information to be sent, and the information of this information content and an IM account and the 2nd IM account is sent to IM server by network, comprised the IM message of the described information content by IM server constructs, and this IM message is sent to the 2nd IM account corresponding to the second mobile terminal.
12. mobile terminals according to claim 11, is characterized in that, described mobile terminal also comprises:
Transmitting element, for according to the second mobile terminal identification, is sent to the second mobile terminal by the described information content to be sent.
13. mobile terminals according to claim 11, is characterized in that, described mobile terminal also comprises:
Mark setting unit, the described corresponding relation provided for utilizing IM server, judging that the second mobile terminal identification has during corresponding IM account is that the second mobile terminal identification arranges IM mark;
Then described account judging unit judges whether the IM account corresponding with described second mobile terminal identification, specifically judges whether described second mobile terminal identification is provided with IM mark.
CN201110248524.9A 2011-08-26 2011-08-26 Method, system and mobile terminals for realizing instant messaging CN102958008B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110248524.9A CN102958008B (en) 2011-08-26 2011-08-26 Method, system and mobile terminals for realizing instant messaging

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110248524.9A CN102958008B (en) 2011-08-26 2011-08-26 Method, system and mobile terminals for realizing instant messaging
HK13104401.0A HK1177086A1 (en) 2011-08-26 2013-04-11 Method, system and mobile terminal for implementing instant communication

Publications (2)

Publication Number Publication Date
CN102958008A CN102958008A (en) 2013-03-06
CN102958008B true CN102958008B (en) 2015-05-27

Family

ID=47766135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110248524.9A CN102958008B (en) 2011-08-26 2011-08-26 Method, system and mobile terminals for realizing instant messaging

Country Status (2)

Country Link
CN (1) CN102958008B (en)
HK (1) HK1177086A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279869A (en) * 2013-05-24 2013-09-04 北京京东尚科信息技术有限公司 Method and device for determining information treatment targets
CN103297858B (en) * 2013-05-29 2017-11-03 深圳Tcl新技术有限公司 A kind of intelligent television User Status shows system and method
CN104469246B (en) * 2013-09-13 2018-11-13 联想(北京)有限公司 Communication service method and communications services devices
CN104539519B (en) * 2014-12-27 2019-07-30 宁波江东远通计算机有限公司 A kind of method for managing contact person information and device
CN104808608A (en) * 2015-02-12 2015-07-29 深圳市米家互动网络有限公司 Automobile remote control method, automobile remote control system, remote control terminal and server
CN104683223A (en) * 2015-03-29 2015-06-03 陈包容 Instant communication method and instant communication device
CN104683224A (en) * 2015-03-30 2015-06-03 陈包容 Burning-after-reading message communication method and device
CN104702494A (en) * 2015-04-01 2015-06-10 陈包容 Instant messaging method and device for burning after reading information
CN104853326A (en) * 2015-05-29 2015-08-19 小米科技有限责任公司 Method and device for sharing cloud card
CN106850703A (en) * 2015-11-27 2017-06-13 中国移动通信集团公司 A kind of communication means and server based on social identity
CN105516946A (en) * 2015-12-29 2016-04-20 小米科技有限责任公司 Short message pushing method and device
CN107426093A (en) * 2017-08-24 2017-12-01 深圳双创科技发展有限公司 A kind of message method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558689A (en) * 2004-01-15 2004-12-29 中兴通讯股份有限公司 System and method for short message and instant message service intercommunication based on soft switch system
CN1988517A (en) * 2005-12-21 2007-06-27 国际商业机器公司 Message transmitting method and system
CN101272544A (en) * 2008-05-05 2008-09-24 中兴通讯股份有限公司 Method and system for implementing amalgamation of short message and instant message
CN102150443A (en) * 2008-09-15 2011-08-10 微软公司 System and methods for communication between instant message users and short message service users

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8315651B2 (en) * 2001-05-03 2012-11-20 Kyocera Corporation Instant messaging to a mobile device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558689A (en) * 2004-01-15 2004-12-29 中兴通讯股份有限公司 System and method for short message and instant message service intercommunication based on soft switch system
CN1988517A (en) * 2005-12-21 2007-06-27 国际商业机器公司 Message transmitting method and system
CN101272544A (en) * 2008-05-05 2008-09-24 中兴通讯股份有限公司 Method and system for implementing amalgamation of short message and instant message
CN102150443A (en) * 2008-09-15 2011-08-10 微软公司 System and methods for communication between instant message users and short message service users

Also Published As

Publication number Publication date
CN102958008A (en) 2013-03-06
HK1177086A1 (en) 2015-11-20

Similar Documents

Publication Publication Date Title
US8126484B2 (en) Apparatus and methods of sharing contact information between mobile communication devices using short message service
US8805941B2 (en) Occasionally-connected computing interface
US20090106366A1 (en) System and method for visualizing threaded communication across multiple communication channels using a mobile web server
US20090181702A1 (en) Multi-mode communication
US9264104B2 (en) Sharing of information common to two mobile device users over a near-field communication (NFC) link
WO2013159750A1 (en) Cloud-storage-based file processing method and system
CN104469707B (en) A kind of mobile terminal and integrate the means of communication and the device of social account
CN102710534B (en) A kind of network communication method across application and equipment
WO2016070689A1 (en) Method and system for sharing application, and application service platform
EP2658322A2 (en) Apparatus and method for determining a wireless device's location after shutdown
CN102819461B (en) Desktop synchronous method, device, equipment and system
CN102547556A (en) Adding method of user association relationship, mobile terminal and server
CN104601641B (en) Application link sharing method, apparatus and system
CN102916866A (en) Data sharing method, terminal, server and system
CN103905291A (en) Geographic position-based communication method, mobile terminal, server and system
CN104079696A (en) Contact name card generation method and device
CN104662835A (en) Methods and systems for collaborative browsing
US9398395B2 (en) Grouping and displaying messages exchanged between a sender and multiple recipients
CN103188328A (en) Mobile terminal application program sharing method, server and system
CN103581272A (en) File transfer method and device
Salminen et al. Enhancing Bluetooth connectivity with RFID
CN103259770A (en) Login method and login server
US9106448B2 (en) System and method of sharing contents using messenger
CN103561086A (en) Method for presenting schedule prompting message, terminal device and cloud server
CN103632670A (en) Voice and text message automatic conversion system and method

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1177086

Country of ref document: HK

GR01 Patent grant
C14 Grant of patent or utility model
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1177086

Country of ref document: HK