A kind of method that between JICQ and mobile phone, realizes the multi-media SMS intercommunication
Technical field
The present invention relates to a kind of technology that the Internet instant messaging service and mobile network 3G use, be specifically related to utilize JICQ to realize the Internet and the Internet, multi-media SMS intercommunication between the Internet and mobile phone provides JICQ and mobile phone to realize mutual a kind of method in 3G uses.
Background technology
Network instant communication service (Instant Messenger is called for short IM) is a kind of communication service based on the Internet, and the IM JICQ has obtained using widely and approving on the internet.The Internet instant messaging service is also being extended on mobile communications network gradually, is one of developing direction of network instant communication service.In the mobile communication service, owing to increasing rapidly of note (SMS), multi-media SMS business (MMS) has been thought that by global communications industry GPRS and 3G market start and the another powerful motive force that develops.From network level, GPRS network is ready with Europe, Japan and other regional third generation WCDMA network of the world.From the end product aspect, increasing powerful 3G terminal equipment will appear after the second half year in this year.Commercial at Chinese GPRS, mobile operator releases MMS multi-media SMS this " application of killer's level " thereupon.In the multi-media SMS of having gathered rich contents such as sound, colour picture, animation, video is used, brought full-frills user experience, indicate the beginning of mobile 3G service.We wish to accomplish the IM service is combined with the mobile communication service, the MMS MMS that 3G mobile one of is used is incorporated in the middle of the Internet instant messaging service, realize IM and the intercommunication of mobile phone on the MMS note, the virtual 3G mobile of IM and the IM intercommunication on the MMS note is used.We wish instant messaging service in the future, no longer be simply based on the IM of literal to the interchange of IM message, more be to regard the instant messaging service as on the Internet 3G mobile.On message object,, also support the messaging communication of IM to mobile terminal device except supporting the messaging communication of IM to IM.On message content, except supporting traditional Word message, also support abundant in content multimedia messagess such as sound, picture, animation, video.The present invention has complied with the development trend of IM instant messaging service, for the user provides more colourful communication service.
Summary of the invention
The purpose of this invention is to provide a kind of 3G mobile is used is incorporated in the middle of the IM JICQ, for the user provides by all kinds of means, abundant in content instant messaging service, realize the Internet and mobile network's perfect adaptation, the instant messaging service of IM JICQ and mobile phone perfect adaptation.In the MMS of IM JICQ multi-media SMS was used, the user can finish IM very easily to IM, and IM uses the MMS multi-media SMS of mobile phone.In user's sense, allow the user feel that fully the IM JICQ is exactly a 3G mobile that is present on the Internet, can be at any time realize linking up with any area and any people who is in the Internet together or holds mobile terminal device.
The object of the present invention is achieved like this:
A kind of JICQ comprises that by the method for the Internet and the intercommunication of portable terminal realization multi-media SMS JICQ sends multi-media SMS and receives two aspects of multi-media SMS that mobile phone sends to mobile phone and JICQ, it is characterized in that,
JICQ sends multi-media SMS and may further comprise the steps to mobile phone:
The first step, in the contacts list of JICQ, select the recipient of multi-media SMS, the multi-media SMS editing machine edit of multimedia note of utilizing JICQ to provide, and carry out multimedia internet mail extended coding according to the multi-media SMS that edits;
Second step, JICQ are connected with MMS device gateway, and use the http agreement to send on the multimedia communication server gateway through the multi-media SMS behind the coding;
The 3rd step, multimedia communication server gateway send to multi-media SMS on described recipient's the mobile phone;
The multi-media SMS that JICQ receives the mobile phone transmission may further comprise the steps:
(1), the MMS device receives the MMS request that mobile phone sends to the multi-media SMS center, MMS device response request receives multi-media SMS, and multi-media SMS is saved in the local file system;
(2), MMS device notice multi-media SMS gateway receives multi-media SMS, the multi-media SMS gateway reinforms the instant communication server system has multi-media SMS to arrive;
(3), instant communication server obtains recipient's instant messaging ID from the multi-media SMS that the multi-media SMS gateway sends over, and inquire about described recipient's user's online state information, if this user is online, the MMS device IP address of finding the IP address of instant messaging ID correspondence then to notify this user's JICQ to receive multi-media SMS and download described multi-media SMS; If this user is not online, then the JICQ to this user sends the deferred information that comprises described MMS device IP address;
(4), the MMS device IP address sent here according to instant communication server of JICQ, accept multi-media SMS from the MMS device.
Described JICQ is realized the method for multi-media SMS intercommunication by the Internet and portable terminal, it is characterized in that, JICQ sends multi-media SMS to be made up of the contact person that the user adds by checking to the contacts list described in the step 1 of mobile phone, is kept on JICQ this locality or the instant communication server.
Described JICQ is realized the method for multi-media SMS intercommunication by the Internet and portable terminal, it is characterized in that, JICQ receives in the step (three) of the multi-media SMS that mobile phone sends, and described presence information comprises when user's JICQ is reached the standard grade the presence that IP address and the instant communication server in the instant communication server registration obtains to JICQ at regular intervals at interval.
Described JICQ is characterized in that by the method for the Internet and the intercommunication of portable terminal realization multi-media SMS described JICQ sends multi-media SMS and also further comprises in the step 3 of mobile phone:
After A, gateway be sure of to receive the multi-media SMS that JICQ sends, multi-media SMS is sent to multimedia short message to the portable terminal server, after multimedia short message is received multi-media SMS to the portable terminal server, set up and the MMS center based on being connected of TCP/IP, and use smtp agreement or http agreement send to the MMS center with multi-media SMS.
B, multimedia short message return to the multimedia communication server gateway to the portable terminal server with transmit status, and the multimedia communication server gateway is notified JICQ with transmit status;
The multi-media SMS that JICQ receives the mobile phone transmission also continues to carry out following steps behind completing steps (four);
JICQ definition multimedia short message content restores picture and music, and the picture music is represented to recipient user.
Described JICQ is characterized in that by the method for the Internet and the intercommunication of portable terminal realization multi-media SMS described JICQ can virtually be the mobile phone on the Internet.
Described JICQ is realized the method for multi-media SMS intercommunication by the Internet and portable terminal, it is characterized in that the described concrete grammar of the multi-media SMS editing machine edit of multimedia note that JICQ provides that utilizes is:
(1), click the logical panel of JICQ note, enter the logical edit box of note, in the logical edit box of note, select multi-media SMS edit properties page or leaf, enter the multi-media SMS page.
(2) select picture that the multi-media SMS page provides, music content etc., the content of liking is put into the multi-media SMS edit box with the form of drag and drop, organize the multi-media SMS of oneself, can the preview multimedia note.
Described JICQ is realized the method for multi-media SMS intercommunication by the Internet and portable terminal, and it is characterized in that in the described step (2) of utilizing the multi-media SMS editing machine edit of multimedia note that JICQ provides also can be by taking pictures and recording mode provides content for editor.
Described JICQ is characterized in that by the method for the Internet and the intercommunication of portable terminal realization multi-media SMS the picture that described multi-media SMS page provides, music content etc. can be upgraded, and it is as follows to upgrade concrete steps:
(A), JICQ is after the request that obtains the renewal of customer requirements content of multimedia, initiate the content update request by JICQ to content update service device, the content update server is after the request that obtains JICQ, the content of type i D number which type of decision JICQ needs application that sends over according to JICQ, and the content homing sequence that sends over according to JICQ number and end sequence number, judge the scope of the current content of JICQ;
(B) be content after the current content of JICQ if the user needs, selector co content homing sequence is number greater than the current end of text sequence number of JICQ from database for the content update server, and content type meets the specified quantity content of the style number ID that JICQ brings; If what the user needed is current JICQ content content before, selector co content end sequence number is less than the current content homing sequence of JICQ number from database for the content update server, and content type meets the specified quantity content of the style number ID that JICQ sends over;
(C) the multimedia short message content that chooses in the database is encrypted, and return to the JICQ end successively, the content after JICQ will be encrypted is stored under the local file system regulation catalogue.
The present invention compared with the prior art, it is realizing on the Internet on the basis based on the service of Word message IM instant messaging the content and the object of the service of IM instant messaging having been done very big extension and expansion.The user can break away from the constraint that original simple, uninteresting Word message exchanges by the present invention, brings the information interchange mode and the ability to express of more imaginations space and space for the creativity for the user.The user can use the present invention that novel dynamic greeting card, beautiful interesting to listen to music, the photo that individual character is made widely known etc. are compiled the MMS note, send on the Internet and portable terminal on friend, lover, colleague, father and mother etc.They also can pass through mobile terminal device, these contents are sent to using you of IM JICQ on the internet.Even you are not on the internet now, you do not have mobile terminal device yet, do not worry, the present invention can provide the function of off-line IM information preservation for you, and you can surf the Net Anywhere at any time and use IM to collect and read these information.The discovery oneself that the user is surprised has had a 3G mobile powerful, easy to use on the internet.
Description of drawings:
Fig. 1 concerns schematic diagram for the system handles that IM JICQ transmission MMS note of the present invention arrives the mobile phone terminal.
Fig. 2 concerns schematic diagram for the system handles that mobile phone terminal transmission MMS note of the present invention arrives the IM JICQ.
Fig. 3 concerns schematic diagram for the system handles of IM JICQ MMS short message editing of the present invention.
Fig. 4 concerns schematic diagram for the system handles that IM JICQ MMS short message content of the present invention upgrades.
Fig. 5 concerns schematic diagram for the system handles that IM JICQ transmission MMS note of the present invention arrives online IM JICQ.
Fig. 6 concerns schematic diagram for the system handles that IM JICQ transmission MMS note of the present invention arrives off-line IM JICQ.
Specific implementation method
The present invention relates to three main purposes, i.e. the MMS note intercommunication of MMS short message editing function, IM JICQ and the IM JICQ of the MMS note intercommunication of IM JICQ and mobile phone, IM JICQ.Implementation method is as follows:
Consult Fig. 1, the IM JICQ sends the MMS note to mobile phone.The user uses the MMS short message editing device of IM, and image, music, video etc. by editor, are formed a MMS note.Filled in the phone number of reciever in MMS note transmission frame after, confirm to send, IM encodes the MMS note according to the MIME mode, convert the message format of MMS reality to.The SMS transmission module request and the MMS Short Message Service Gateway of IM JICQ connect.After Short Message Service Gateway is accepted the connection request of IM,, judging whether the object that this request requires to send is mobile terminal device, if the MMS Short Message Service Gateway sends to information according to recipient's type i D " IM " preserves to mobile phone MMS note file saved system.MMS TO MOBILE server periodic scanning " IM to mobile phone MMS note file saved system ", find to have the MMS note to exist, request and China Mobile's MMSC short message service center connect at once, and the MMS note is sent to the MMSC short message service center.If send failure, this MMS note still is retained in the file saved system, waits for that next round sends, if success, this MMS note in the deleted file saved system.The IM JICQ sends the flow process end of MMS note to mobile phone.
Consult Fig. 2, mobile phone sends the MMS note to the IM JICQ.The MMS note arrives the MMSC of China Mobile MMS center through WAP gateway.MMSC is according to the recipient IP address in the MMS note, and request and reciever MMS short message server connect, and note data is sent on the MMS short message server.After the MMS short message server is received data, it is saved to " in the MMS TO IM file saved system ".This saved system adopts the unique index of instant messaging ID adding system time as the preservation of MMS note, guarantees that the MMS note that receives at different time for same instant messaging ID number can not cover mutually.This server is told IM instant communication server by the MMS Short Message Service Gateway with the arrival information of MMS note simultaneously.Instant messaging ID number of sending up according to the MMS Short Message Service Gateway of IM instant communication server, find the JICQ IP address of this ID correspondence, with the arrival information of MMS note with deposit on-site server ip address and tell JICQ IM JICQ.After the IM JICQ is received information, send the notice that the MMS note arrives to the user.After the user confirmed to receive, the IM JICQ sent the request of reception according to the stored server ip address of MMS note to MOBILE TO MMS short message server.The MMS note with this ID number coupling is found in instant messaging ID number of bringing according to IM of server in the MMS TO IM file saved system, sends it to the IM JICQ.After confirming to send successfully, server is with this MMS note deletion.After the IM JICQ is picked the MMS note data, restore the information contents such as image, music, represent to the user by the MMS analogue mobile phone again and browse through decoding.
Consult Fig. 3, IM JICQ MMS short message editing.MMS short message editing device in the IM JICQ exists as the plug-in unit of IM.This editing machine has mainly comprised three modules, and the MMS short message content is selected module, MMS image, music, the synthetic processing module of literal, MMS short message encoding processing module.It is the source of user MMS short message content that the MMS short message content is selected module, and as can be seen from Figure 5 the content of MMS short message editing device mainly obtains from following three kinds of modes: the MMS content library, the user makes content library by oneself, camera and microphone.The MMS content library is MMS image, the music information storehouse that IM service provider provides.The information of this content library obtains from content server.The user just operates and can obtain full-frills MMS short message content from server by simple the renewal.It is to be specifically designed to the place of depositing personal information that the user makes content library by oneself.The image that the user creates oneself, music etc. are placed under the unified catalogue, and the method that imports by catalogue just can add the content of oneself easily and make by oneself in the content library again.Camera can be caught each the excellent camera lens in the life, by the imaging module, is digital signal with the optical imagery conversion of signals, and is saved in camera imaging buffering area.MMS short message editing device reads the content in this buffering area, it is joined the user make by oneself in the content library, and these information are pasted in the image region of MMS short message editing frame by acquiescence simultaneously.Microphone can each excellence of typing message, by voice typing processing module, user's voice is saved in the user makes by oneself in the content library, these information are pasted in the voice zone of MMS short message editing frame by acquiescence simultaneously.The content by all kinds of means that the MMS editing machine provides obtains the method for approach, has great convenience for the user to make the MMS note, has also increased user's interest simultaneously.MMS image, music, the synthetic processing module of literal are responsible for finishing the assembly unit to the MMS note.This module is by reading the information in the MMS short message editing frame, obtain content and these positions of elements relation of the information elements such as image, music and literal of user's selection, carry out the synthetic processing of note according to the MMS note create-rule SMIL (synchronous multimedia integrate language) that stipulates in the MMS multi-media SMS standard then.MMS short message encoding processing module is responsible for the message protocol conversion of application layer MMS short message content to communication layers MMS short message content.According to the regulation of China Mobile to the transmission of MMS note, adopt the mode of MIME to encode to the MMS note, generate the data that are used for transmitting on the communication layers.
Consult Fig. 4, IM JICQ MMS short message content upgrades.Customer requirements upgrades MMS short message content storehouse, and the IM JICQ sends the content update request to MMS short message content update service device.Server connects after receiving this request, and requires IM to provide and content homing sequence number and end sequence number (every type content array number be unique unduplicated) ID number of the current content type of JICQ.The IM JICQ sends on the content update server obtain relevant information from the system message list in MMS content information storehouse after.After server is received, the content type of wishing to obtain according to type i D number definite user.According to homing sequence number and end sequence number, obtain the scope of the current content of living in of JICQ.When the user need obtain content before the current content, server is found out content corresponding information according to following retrieval mode from database: select content name, deposit the filename where content type=current content homing sequence of type i D and end of text sequence number<JICQ number of this content information.When the user need obtain content after the current content, server is found out qualified relevant information according to following retrieval mode from database: select content name, deposit the filename where content type=current end of text sequence number of type i D and content array starting symbol>JICQ of this content information.Behind the content information that obtains being correlated with, server is reading corresponding data from the content file saved system, sends to the IM JICQ after the encryption.The IM JICQ is saved in the MMS content library after receiving the MMS content.When the user need check and select these contents, IM was decrypted the content in the content library, copied in the content choice buffering area.The content that directly read in this buffering area in the content choice zone is shown to the user.
Consult Fig. 5, the MMS note intercommunication of presence IM JICQ and IM JICQ.The editor that the user finishes the MMS note by MMS short message editing device sends instant messaging ID number that fills in the recipient in the frame in the MMS note.After confirming to send, the IM JICQ is finished the synthetic and coding of image, music, word content to the MMS note.Note data behind the coding is saved in the core buffer.The IM JICQ checks that according to instant messaging ID number of recipient whether online this ID number user current (after the IM JICQ reaches the standard grade, the information state of obtaining the good friend to the IM instant communication server that can be regularly initiatively, and it is saved in the local information tabulation.), if online, directly set up TCP/IP and be connected with the recipient, the MMS note data is sent to recipient MMS service receiving thread.The recipient is saved to the MMS decoding short message in the MMS note buffering area after specified data receives.Recipient IM notifies the user to have the MMS note to arrive simultaneously.After the user confirmed to check, IM was the reduction of the MMS note in buffering area journey image, music, Word message, and represented to the user by analogue mobile phone and to browse.
Consult Fig. 6, the MMS note intercommunication of off-line state IM JICQ and IM JICQ.The editor that the user finishes the MMS note by MMS short message editing device sends instant messaging ID number that fills in the recipient in the frame in the MMS note.After confirming to send, the IM JICQ is finished the synthetic and coding of image, music, word content to the MMS note.Note data behind the coding is saved in the core buffer.The IM JICQ checks that according to instant messaging ID number of recipient whether online this ID number user current (after the IM JICQ reaches the standard grade, the information state of obtaining the good friend to the IM instant communication server that can be regularly initiatively, and it is saved in the local information tabulation.), if reciever is in off-line state, request of IM JICQ and MMS Short Message Service Gateway connect, and the MMS note data in the core buffer is sent on the MMS Short Message Service Gateway.The MMS Short Message Service Gateway judges according to recipient's type whether this MMS note is to send to another IM JICQ.If the MMS Short Message Service Gateway is saved in the MMS note " in the IM off-line MMS note file saved system ".This saved system adopts the unique index of instant messaging ID adding system time as the preservation of MMS note, guarantees that the MMS note that receives at different time for same instant messaging ID number can not cover mutually.Gateway is after definite MMS note preservation finishes, and notice IM instant communication server has the MMS note to arrive.After the IM instant communication server is notified, the recipient IM instant messaging that provides according to MMS Short Message Service Gateway ID number in corresponding information off-line tabulation, is inserted MMS note arrival notice and (is comprised the transmit leg instant messaging ID number, MMS note place server ip address, transmitting time etc.).After recipient IM reaches the standard grade, initiatively check the deferred information situation of MMS note to the IM instant communication server, if relevant information is arranged, whether IM notifies the user to check.After the user confirmed, IM provided the server ip address of the MMS note place in the information according to server, sent the request of reception to MMS TOIM server.After server is received this request, connect, bring according to the IM JICQ instant messaging ID number, in " IM off-line MMS note file saved system ", take out the MMS note and send to JICQ, after confirming to send successfully, this MMS note in the deletion off-line MMS note saved system.After JICQ IM finishes the processing that receives the MMS note data, the MMS note is decoded and the reduction of image, music, Word message, and by analogue mobile phone with these content revealings before user.
The implication of english abbreviation that occurs in this specification and part term is:
IM: instant messaging
MMS: multimedia short message
MMSC: multimedia short message service centre
MIME: multimedia internet mail expansion
SMTP: Simple Mail Transfer protocol
TCP/IP: transmission control protocol
SMS: Short Message Service
SMSC: SMS service center
MMS TO MOBILE: multimedia short message is to portable terminal
MOBILE TO IM: portable terminal is to JICQ
SMIL: synchronous multimedia integrate language
WAP: WAP (wireless application protocol)
GPRS: airline X.25
HTTP: HTML (Hypertext Markup Language)
The notice of reaching the standard grade: be after IM inserts the Internet, to server, to register, obtain buddy list, tell the process of server with the IP address of oneself simultaneously.
Off-line state: IM is in the non-line states that goes up, and promptly Ci Shi IM is not on the internet.