CN103516577A - Message transmission method in instant messaging system and equipment - Google Patents

Message transmission method in instant messaging system and equipment Download PDF

Info

Publication number
CN103516577A
CN103516577A CN201210214418.3A CN201210214418A CN103516577A CN 103516577 A CN103516577 A CN 103516577A CN 201210214418 A CN201210214418 A CN 201210214418A CN 103516577 A CN103516577 A CN 103516577A
Authority
CN
China
Prior art keywords
data
rich media
media data
message
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210214418.3A
Other languages
Chinese (zh)
Inventor
鞠进步
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shenzhou Taiyue Software Co Ltd
Original Assignee
Beijing Shenzhou Taiyue Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shenzhou Taiyue Software Co Ltd filed Critical Beijing Shenzhou Taiyue Software Co Ltd
Priority to CN201210214418.3A priority Critical patent/CN103516577A/en
Publication of CN103516577A publication Critical patent/CN103516577A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a message transmission method in an instant messaging system and equipment, thereby reducing a loaded information content in a message transmission channel and improving a message transmission efficiency and a success rate for message transmission. The message transmission method comprises the following steps: setting data description information for rich media data needed to be transmitted and generating a message needed to be sent based on the data description information and text data needed to be transmitted; forwarding the message to a receiving terminal equipment by utilizing a message transmission channel; uploading the rich media data to a file server by utilizing a file transmission channel and obtaining address information of the rich media data in the file server; and generating a notification message containing the address information and forwarding the notification message to the receiving terminal equipment by the message transmission channel so as to enable the receiving terminal equipment to utilize the notification message to obtain the rich media data from the file server, and displaying the rich media data by utilizing the data description information.

Description

Method for message transmission in instantaneous communication system and equipment
Technical field
The present invention relates to instant messaging field, particularly method for message transmission and the equipment in a kind of instantaneous communication system.
Background technology
Along with instant messaging (Instant Messaging, IM) development, in utilizing its process of carrying out information interaction, increasing demand is suggested, for example, at present in instant communication message transmission, the text message that only comprises text data can not meet people's demand, under a lot of scenes, need to send and carry out information interaction with the message of picture, voice or video, and conventionally claim that this message with rich media data such as text and picture or audio frequency and video is rich text message.
Current IM system, in transmission channel, is divided into transmission of messages passage and file transfer passage conventionally, and general transmission of messages passage is for message transfer, and file transfer passage is used for transmitting the data such as text.Existing scheme, when transmission rich text message, is directly transmitted rich text message by transmission of messages passage.
The transmission of messages scheme of existing IM system at least has following defect:
Existing IM system assignment is to the bandwidth relative narrower of transmission of messages passage, and reliability is higher, and it is relatively wide to distribute to the bandwidth of file transfer passage, and reliability is lower.Existing rich text transmission of messages scheme is because transmission in transmission of messages passage is with the larger rich text message of the capacity of picture, voice or video, cause taking the bandwidth of a large amount of transmission of messages passages, thereby cause, transmission of messages success rate is lower, efficiency of transmission is also relatively low.
Summary of the invention
Method for message transmission and equipment in a kind of instantaneous communication system provided by the invention, directly transmit by transmission of messages passage the problem that transmission of messages success rate is lower, efficiency of transmission is lower of bringing to solve existing scheme by rich text message.
For achieving the above object, the embodiment of the present invention has adopted following technical scheme:
The embodiment of the present invention provides the method for message transmission in a kind of instantaneous communication system, and described method comprises:
For the rich media data of required transmission arranges data description information, and by the text data of described data description information and required transmission, generated the message of required transmission;
Utilize transmission of messages passage that described message is forwarded to receiving device; And, utilize file transfer passage that described rich media data is uploaded to file server, and obtain the address information of described rich media data in file server;
The notification message that generation comprises described address information, described notification message is forwarded to receiving device by transmission of messages passage, so that receiving device utilizes described notification message to obtain described rich media data from file server, and utilize described data description information to show described rich media data.
The embodiment of the present invention also provides the method for message transmission in a kind of instantaneous communication system, and described method comprises:
Utilize transmission of messages passage to receive the message from sending ending equipment, and showing message described in screen display, in described message, be included as data description information that the rich media data of required transmission arranges and the text data of required transmission;
Utilize transmission of messages passage to receive the notification message from sending ending equipment, described notification message comprises the address information of described rich media data in file server;
Utilize described notification message to obtain described rich media data from file server, and utilize described data description information that described rich media data is presented to described display screen Zhong relevant position.
The embodiment of the present invention also provides a kind of sending ending equipment, and described equipment comprises generation unit, text message transmitting element, rich media data uploading unit and notification message processing unit are set,
The described generation unit that arranges, is used to the rich media data of required transmission that data description information is set, and by the text data of described data description information and required transmission, is generated the message of required transmission;
Described text message transmitting element, for utilizing transmission of messages passage that described message is forwarded to receiving device;
Described rich media data uploading unit, for utilizing file transfer passage that described rich media data is uploaded to file server, and obtains the address information of described rich media data in file server;
Described notification message processing unit, for generating, comprise described address information notification message, described notification message is forwarded to receiving device by transmission of messages passage, so that receiving device utilizes described notification message to obtain described rich media data from file server, and utilize described data description information to show described rich media data.
The embodiment of the present invention also provides a kind of receiving device, and described equipment comprises message sink unit, text message display unit and rich media data processing unit,
Described message sink unit, for utilizing transmission of messages passage to receive the message from sending ending equipment, is included as data description information that the rich media data of required transmission arranges and the text data of required transmission in described message;
Described text message display unit, for the message receiving in message sink unit described in demonstration screen display, the rich media data that is included as required transmission in described message arranges data description information;
Described message sink unit, also, for utilizing the notification message of transmission of messages passage receiving end/sending end equipment transmission, described notification message comprises the address information of described rich media data in file server;
Described rich media data processing unit, for utilizing described notification message to obtain described rich media data from file server, and utilizes described data description information that described rich media data is presented to described display screen Zhong relevant position.
The beneficial effect of the embodiment of the present invention is:
The invention process is by arranging the data description information of rich media data at transmitter side, the message of data description information and text data formation is sent to receiving device by transmission of messages passage, and by rich media data upload file server, and by receiving device, by file transfer passage, from file server, obtained technological means of rich media data etc., can transmit respectively text data and the rich media data in rich text message by transmission of messages passage and text transmission channel, thereby can be when guaranteeing message reliability, greatly reduce the amount of information of institute's load in transmission of messages passage, reduced the pressure of bandwidth resources on transmission of messages passage, improved the success rate of transmission of messages efficiency and transmission of messages.
And, because this programme adopts the mode that the text data in message and rich media data are processed respectively, as a rule, even if occur that the problems such as network failure can not cause total data bust this yet, can reach and when network failure, realize the technique effect that partial data successfully transmits, improve user's experience.
Accompanying drawing explanation
Method for message transmission schematic flow sheet in a kind of instantaneous communication system that Fig. 1 provides for the embodiment of the present invention one;
Method for message transmission schematic flow sheet in a kind of instantaneous communication system that Fig. 2 provides for the embodiment of the present invention two;
Method for message transmission schematic flow sheet in a kind of instantaneous communication system that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of a kind of sending ending equipment that Fig. 4 provides for the embodiment of the present invention four;
The structural representation of a kind of receiving device that Fig. 5 provides for the embodiment of the present invention five.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Referring to Fig. 1, the method for message transmission in a kind of instantaneous communication system providing for the embodiment of the present invention one, described method comprises:
11: the rich media data that sending ending equipment is required transmission arranges data description information, and by the text data of described data description information and required transmission, generated the message of required transmission.
12: sending ending equipment utilizes transmission of messages passage that the message generating in step 11 is forwarded to receiving device.
13: sending ending equipment utilizes file transfer passage that described rich media data is uploaded to file server, and obtain the address information of described rich media data in file server.
Step 12 and 13 can be carried out simultaneously, and step 13 also can be carried out after execution step 12 again.
14: sending ending equipment generates the notification message that comprises described address information, described notification message is forwarded to receiving device by transmission of messages passage, so that receiving device utilizes described notification message to obtain described rich media data from file server, and utilize described data description information to show described rich media data.
Above-mentioned data description information belongs to text data, and the message generating in above-mentioned steps 11 is for only comprising the message of text data.
Above-mentioned steps 11 is carried out by sending ending equipment to 14, as supported the cell-phone customer terminal of IM communication.Above-mentioned rich media data can comprise picture or video data and the voice data etc. of two dimension, three-dimensional.
The invention process is by arranging the data description information of rich media data at transmitter side, the message of data description information and text data formation is sent to receiving device by transmission of messages passage, and by rich media data upload file server, and by receiving device, by file transfer passage, from file server, obtained technological means of rich media data etc., can transmit respectively text data and the rich media data in rich text message by transmission of messages passage and text transmission channel, thereby can be when guaranteeing message reliability, greatly reduce the amount of information of institute's load in transmission of messages passage, reduced the pressure of bandwidth resources on transmission of messages passage, improved the success rate of transmission of messages efficiency and transmission of messages.
And, because this programme adopts the mode that the text data in message and rich media data are processed respectively, as a rule, even if occur that the problems such as network failure can not cause total data bust this yet, can reach and when network failure, realize the technique effect that partial data successfully transmits, improve user's experience.
On basis embodiment illustrated in fig. 1, further, in the embodiment of the present invention, above-mentioned data description information comprises data type information, Data Identification and data placeholder, and wherein, a Data Identification is corresponding to a data placeholder.Data type information is indicated the data type of required transmission, as video, audio frequency or picture.Data Identification (ID) is the uniqueness information of mark rich media data, and if the Data Identification arranging for picture can be picture identification, this picture identification is uniqueness ground this picture of mark in system.Data placeholder is used to indicate rich media data in message Zhong position, and receiving device, after getting rich media data, is inserted into the corresponding position of corresponding data placeholder by rich media data.And a Data Identification, corresponding to a data placeholder, is about to a rich media data corresponding to a corresponding position, thereby different rich media data can be presented at respectively on desired diverse location.
Further, above-mentioned generated notification message comprises address information, data format information, Data Identification and the data check code of rich media data in file server.Sending ending equipment is by informing this address information of receiving device (as the download address of rich media data), makes the receiving device can be according to download to corresponding rich media data from file server.The display format of above-mentioned data format information indication rich media data.In a same transmission of messages flow process, for identical rich media data, the Data Identification in the Data Identification in notification message and data description information is consistent.Fail safe and the correctness of the rich media data that data check code receives for verification receiving device.For example, sending ending equipment is according to the 5th edition Message Digest 5 (Message Digest Algorithm, MD5) original rich media data is calculated, obtain correct data check code, this data check code is arranged in notification message, at receiving device from file server gets rich media data, also adopt MD5 algorithm to calculate a check information to obtained rich media data, when this check information is consistent with data check code in notification message, show that receiving terminal successfully gets rich media data, otherwise, show that this rich media data of receiving terminal obtains operation failure.
Further, described in the present embodiment, in notification message, also comprise the capacity information of rich media data, or, in this notification message, also comprise the preview data of rich media data, or in this notification message, also comprise the capacity information of rich media data and the preview data of rich media data simultaneously, wherein, the capacity of above-mentioned preview data is less than the capacity of rich media data.Above-mentioned capacity information is indicated the amount of capacity of the rich media data of required transmission, when notification message comprises the capacity information of rich media data, receiving device can adopt different downloading modes according to this capacity information, as indicated the capacity of rich media data less when capacity information, when capacity as indicated in capacity information is less than set capacity threshold, receiving device can obtain all rich media data in a downloading process, when capacity information indicates the capacity of rich media data larger, when capacity as indicated in capacity information is greater than set capacity threshold, receiving device can be downloaded this rich media data several times, or, when receiving terminal is judged local available memory space and is less than the capacity of this rich media data, no longer download or download part rich media data.
Above-mentioned preview data is the data after the reduction based on corresponding rich media data, and the capacity of preview data is less than the capacity of rich media data.When notification message comprises the preview data of rich media data, the present embodiment also comprises and from notification message, extracts described preview data and be presented on display screen, to know in advance substance or the key content of rich media data before getting described rich media data from file server.In showing preview data, the Data Identification identical with corresponding rich media data can be set in preview data, associated by Data Identification and data placeholder, is inserted in preview data the display screen Shang relevant position that shows text data.
Preview data can be for the rich media data of part, as intercepted Partial Fragment as the preview data of this video data from video data; Preview data also can be for the less data of capacity that obtain after rich media data is changed, as the data of dwindling picture that obtain after picture is dwindled.The capacity of preview data conventionally can be very little, so also can not cause notification message to take too much bandwidth resources.
By the setting of preview data, make receiving terminal can before not downloading rich media data, know in advance substance (as dwindling figure) or the key content (video segment that comprises concern information as intercepted out) of rich media data, roughly know the basic condition of rich media data, improved user's experience.
The embodiment of the present invention two also provides the method for message transmission in a kind of instantaneous communication system, and described method comprises:
21: receiving device utilizes transmission of messages passage to receive the message from sending ending equipment, and showing message described in screen display, in described message, be included as data description information that the rich media data of required transmission arranges and the text data of required transmission.
22: receiving device utilizes transmission of messages passage to receive the notification message from sending ending equipment, and described notification message comprises the address information of described rich media data in file server;
23: receiving device utilizes described notification message to obtain described rich media data from file server, and utilize described data description information that described rich media data is presented to described display screen Zhong relevant position.
Above-mentioned steps 21 is carried out by receiving device to 23, as supported the cell-phone customer terminal of IM communication.In step 21, receiving device is after receiving the message that only comprises text data, this message can be shown in display screen, in step 23, after receiving device gets rich media data, then rich media data is inserted in to the display screen Shang relevant position that shows text data.
In message sink when failure that only comprises text data if be appreciated that, receiving device also can show obtaining successful rich media data on display screen, at this moment just without considering that again rich media data is in display screen Shang position.
The invention process is by arranging the data description information of rich media data at transmitter side, the message of data description information and text data formation is sent to receiving device by transmission of messages passage, and by rich media data upload file server, and by receiving device, by file transfer passage, from file server, obtained technological means of rich media data etc., can transmit respectively text data and the rich media data in rich text message by transmission of messages passage and text transmission channel, thereby can be when guaranteeing message reliability, greatly reduce the amount of information of institute's load in transmission of messages passage, reduced the pressure of bandwidth resources on transmission of messages passage, improved the success rate of transmission of messages efficiency and transmission of messages.
And, because this programme adopts the mode that the text data in message and rich media data are processed respectively, as a rule, even if occur that the problems such as network failure can not cause total data bust this yet, can reach and when network failure, realize the technique effect that partial data successfully transmits, improve user's experience.
On basis embodiment illustrated in fig. 2, further, the above-mentioned data description information of the present embodiment comprises data type information, Data Identification and data placeholder, wherein, a Data Identification is corresponding to a data placeholder, the above-mentioned step in message described in demonstration screen display comprises: show the text message in described message, and the data of preserving in advance in the indicated position display of data placeholder load sign (it can be pre-stored picture that these data load sign).The rich media data of utilizing data placeholder subsequent download can be obtained is inserted into the desired locations in the message having shown in step 21.
Further, in the present embodiment, above-mentioned notification message comprises address information, data format information, Data Identification and the data check code of rich media data in file server, wherein data check code is adopted with the following method and is obtained: utilize pre-defined algorithm to calculate rich media data, obtain data check code.
The described step of utilizing described notification message to obtain described rich media data from file server also comprises:
According to described address information, from file server, download rich media data; Utilize pre-defined algorithm to calculate the rich media data of described download, obtain the check information of the rich media data of described download, as utilize MD5 algorithm to calculate the check information of the rich media data of being downloaded, judge that whether this check information is consistent with the data check code in described notification message, if, confirm to obtain described rich media data success, continue to carry out the display operation of this rich media data on display screen; If not, confirm to obtain described rich media data failure, according to actual needs, can allow repeatedly repeated downloads rich media data, or when failed download, process ends, no longer carries out follow-up display operation.By this data check operation, can guarantee rich media data correctness and fail safe.
Further, the above-mentioned step of utilizing described data description information that described rich media data is presented to described display screen Zhong relevant position comprises:
In described data description information, search the corresponding data placeholder of Data Identification in described notification message, for identical rich media data, Data Identification in Data Identification in notification message and data description information is consistent, so utilize the Data Identification of a rich media data can access a unique data placeholder, know the position of this rich media data; Then, according to the indicated form of described data format information, described rich media data is presented to the corresponding position of data placeholder finding in described display screen.
Therefore, by data placeholder, realized with Data Identification and only comprised the associated of the message of text data and rich media data, the successful demonstration of the full detail of assurance.
The invention process three is in conjunction with concrete example, and the customer end A scene to customer end B message transfer in instantaneous communication system of take is example, and the method for message transmission in instantaneous communication system provided by the invention is described.Referring to Fig. 3, specifically comprise following processing:
1: customer end A generating messages.
The data description information arranging for the rich media data of required transmission in the message generating and the text data of required transmission.Described data description information comprises data type information, Data Identification and data placeholder.
An example to the data description information of picture can be as follows:
<object?type="IMG"ID="26236739573df1e5007992f9e136ddef">[…]</object>
Wherein, data type information (being expressed as object type) is picture (being expressed as IMG), the Data Identification of this picture (ID) is 26236739573df1e5007992f9e136ddef,</obiect>expression data placeholder, it is the position of the desired demonstration of picture, bracket [... ] in can add the descriptive information of some optional complementarities, as " you receive a pictures, HTTP: //xxxxx downloads " etc.
Data description information to audio or video data is similar to above-mentioned example, difference is mainly, data type information is revised as to audio frequency (Audio) or video (Video), and Data Identification is revised as respectively to the Data Identification of these audio or video data.
The example of a piece of news that customer end A generates (as message 1), can be expressed as follows:
<Font Face=' Microsoft refined black ' Color='-16777216'Size='10'>
It's?funny?pic<OBJECTTYPE="IMG"ID="bd960473d70db8e22bc56452b08956f4.png">[......]</OBJECT>
</Font>
Wherein, the text data in message 1 be It's funny pic,<FontFace=' Microsoft refined black ' Color='-16777216'Size='10'>and described itself and</Font>between font, color and the size of text data.
2: customer end A is sent to message server by the message that only comprises text data.
Respectively and the transmission of messages passage of setting up between customer end A and customer end B, customer end A utilizes transmission of messages passage that message is sent to message server to message server.
3: message server is forwarded to customer end B by message.
The message from sending ending equipment that customer end B utilizes transmission of messages passage receipt message server to forward.Customer end B, after receiving this message, is showing this message of screen display, is specifically treated to: the text message in display message, and the data of preserving in advance in the indicated position display of data placeholder load sign.
As the example to above-mentioned message 1, customer end B shows text data It's funny pic according to the font of the text data of defined in message 1, color and size, and after text data, show that data load sign, think the reserved display position of picture of subsequent download.
4: customer end A is uploaded to file server by rich media data.
Respectively and the file transfer passage of setting up between customer end A and customer end B, customer end A utilizes file transfer passage that rich media data is uploaded to file server to file server.
Customer end A obtains the address information of rich media data in file server, this address information can be for rich media data by reference upper, or the address for distributing for this rich media data after file server preservation rich media data, mutual by with file server of customer end A, can know this address information.
5: customer end A sends a notification message to message server.
Customer end A is according to address above mentioned Information generation notification message.Customer end A is the download address of rich media data, amount of capacity, and the parameters such as data ID send to message server in notification message mode.Utilize this notification message by rich media data and step 1 to the message relating that only comprises text data in 3.
An example of notification message can be as follows:
Wherein,<action type=" offlinefile ">show that the transmission means of this notification message is off-line transmission, the name of rich media data is called picture .jpeg, the amount of capacity of capacity information (size) indication is 7537 bytes, address information is URL(Uniform/Universal Resource Locator, URL(uniform resource locator)) information, this address information has directly been indicated the download address of rich media data, file-type represents data format information, form is jpeg, symbol<preview-image>and</preview-image>for describing preview data, this preview data is expressed as UJHSDUKDJKFL....
6: message server is forwarded to customer end B by notification message.
Customer end B utilizes transmission of messages passage to receive the notification message from sending ending equipment.When notification message comprises preview data, after receiving notification message, customer end B is extracted described preview data and is presented on display screen from notification message, to know in advance substance or the key content of rich media data before getting described rich media data from file server.
7, customer end B is downloaded rich media data according to notification message from file server.
Customer end B is according to above-mentioned URL download pictures data.
8, customer end B shows the rich media data of downloading.
Customer end B finds the display position ,Bing Gai position of picture in message to be on display screen according to the Data Identification in notification message picture is shown.If customer end B when the preview data that shown screen display, after downloading to complete rich media data, can use downloaded rich media data to replace preview data, with to user, show complete rich media data,
For example, after the text data It's of message funny pic, original data load the position display picture of sign, with actual picture, have replaced data and have loaded sign.
The embodiment of the present invention four also provides a kind of sending ending equipment, and referring to Fig. 4, described equipment comprises generation unit 41, text message transmitting element 42, rich media data uploading unit 43 and notification message processing unit 43 are set,
The described generation unit 41 that arranges, is used to the rich media data of required transmission that data description information is set, and by the text data of described data description information and required transmission, is generated the message of required transmission;
Described text message transmitting element 42, for utilizing transmission of messages passage that described message is forwarded to receiving device;
Described rich media data uploading unit 43, for utilizing file transfer passage that described rich media data is uploaded to file server, and obtains the address information of described rich media data in file server;
Described notification message processing unit 44, for generating the notification message that comprises described address information, described notification message is forwarded to receiving device by transmission of messages passage, so that receiving device utilizes described notification message to obtain described rich media data from file server, and utilize described data description information to show described rich media data.
Further, described data description information comprises data type information, Data Identification and data placeholder, and wherein, a Data Identification is corresponding to a data placeholder.
Further, described notification message comprises address information, data format information, Data Identification and the data check code of rich media data in file server.
Further, also comprise the capacity information of rich media data and the preview data of rich media data in described notification message, the capacity of described preview data is less than the capacity of rich media data.
The specific works mode of the various unit in embodiment of the present invention sending ending equipment can be referring to the related content in the inventive method embodiment.
The embodiment of the present invention five also provides a kind of receiving device, and referring to Fig. 5, described equipment comprises message sink unit 51, text message display unit 52 and rich media data processing unit 53,
Described message sink unit 51, for utilizing transmission of messages passage to receive the message from sending ending equipment, is included as data description information that the rich media data of required transmission arranges and the text data of required transmission in described message;
Described text message display unit 52, for the message receiving in message sink unit 51 described in demonstration screen display, the rich media data that is included as required transmission in described message arranges data description information;
Described message sink unit 51, also, for utilizing the notification message of transmission of messages passage receiving end/sending end equipment transmission, described notification message comprises the address information of described rich media data in file server;
Described rich media data processing unit 53, for utilizing described notification message to obtain described rich media data from file server, and utilizes described data description information that described rich media data is presented to described display screen Zhong relevant position.
Further, described data description information comprises data type information, Data Identification and data placeholder, wherein, a Data Identification is corresponding to a data placeholder, described text message display unit 52, specifically for showing the text message in described message, and the data of preserving in advance in the indicated position display of data placeholder load sign; And,
Described notification message comprises address information, data format information, Data Identification and the data check code of rich media data in file server, and described data check code utilizes pre-defined algorithm to calculate described rich media data by sending ending equipment,
Described rich media data processing unit 53 comprises download correction verification module, for downloading rich media data according to described address information from file server; Utilize described pre-defined algorithm to calculate the rich media data of described download, obtain the check information of the rich media data of described download, judge that whether this check information is consistent with the data check code in described notification message, if, confirm to obtain described rich media data success, if not, confirm to obtain described rich media data failure.Described rich media data processing unit 53 also comprises Rich Media's display module, for searching the corresponding data placeholder of Data Identification in described notification message in described data description information, the form indicated according to described data format information is presented at described rich media data the corresponding position of data placeholder finding in described display screen.
Further, in described notification message, also comprise the capacity information of rich media data, described rich media data processing unit 53 is also for selecting the downloading mode to described rich media data according to the capacity information of rich media data, wherein, when the indicated capacity of described capacity information is greater than capacity threshold, utilize the mode of repeatedly downloading to obtain described rich media data, when the indicated capacity of described capacity information is less than capacity threshold, in a down operation, obtain described rich media data;
And/or,
In described notification message, also comprise the preview data of rich media data, the capacity of described preview data is less than the capacity of rich media data, described rich media data processing unit 53 is also for extracting described preview data from notification message and being presented at display screen, to know in advance substance or the key content of rich media data before getting described rich media data from file server.
The specific works mode of the various unit in embodiment of the present invention receiving device can, referring to the related content in the inventive method embodiment, repeat no more herein.
From the above mentioned, the invention process is by arranging the data description information of rich media data at transmitter side, the message of data description information and text data formation is sent to receiving device by transmission of messages passage, and by rich media data upload file server, and by receiving device, by file transfer passage, from file server, obtained technological means of rich media data etc., can transmit respectively text data and the rich media data in rich text message by transmission of messages passage and text transmission channel, thereby can be when guaranteeing message reliability, greatly reduce the amount of information of institute's load in transmission of messages passage, reduced the pressure of bandwidth resources on transmission of messages passage, improved the success rate of transmission of messages efficiency and transmission of messages.
And, because this programme adopts the mode that the text data in message and rich media data are processed respectively, as a rule, even if occur that the problems such as network failure can not cause total data bust this yet, can reach and when network failure, realize the technique effect that partial data successfully transmits, improve user's experience.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. the method for message transmission in instantaneous communication system, is characterized in that, described method comprises:
For the rich media data of required transmission arranges data description information, and by the text data of described data description information and required transmission, generated the message of required transmission;
Utilize transmission of messages passage that described message is forwarded to receiving device; And, utilize file transfer passage that described rich media data is uploaded to file server, and obtain the address information of described rich media data in file server;
The notification message that generation comprises described address information, described notification message is forwarded to receiving device by transmission of messages passage, so that receiving device utilizes described notification message to obtain described rich media data from file server, and utilize described data description information to show described rich media data.
2. method according to claim 1, is characterized in that, described data description information comprises data type information, Data Identification and data placeholder, and wherein, a Data Identification is corresponding to a data placeholder.
3. method according to claim 1 and 2, is characterized in that, described notification message comprises address information, data format information, Data Identification and the data check code of rich media data in file server;
Wherein data check code is adopted with the following method and is obtained: utilize pre-defined algorithm to calculate rich media data, obtain data check code.
4. the method for message transmission in instantaneous communication system, is characterized in that, described method comprises:
Utilize transmission of messages passage to receive the message from sending ending equipment, and showing message described in screen display, in described message, be included as data description information that the rich media data of required transmission arranges and the text data of required transmission;
Utilize transmission of messages passage to receive the notification message from sending ending equipment, described notification message comprises the address information of described rich media data in file server;
Utilize described notification message to obtain described rich media data from file server, and utilize described data description information that described rich media data is presented to described display screen Zhong relevant position.
5. method according to claim 4, it is characterized in that, described data description information comprises data type information, Data Identification and data placeholder, wherein, a Data Identification is corresponding to a data placeholder, describedly showing described in screen display that message comprises:
Show the text message in described message, and the data of preserving in advance in the indicated position display of data placeholder load sign.
6. method according to claim 5, is characterized in that, described notification message comprises address information, data format information, Data Identification and the data check code of rich media data in file server,
Describedly utilize described notification message to obtain described rich media data from file server to comprise:
According to described address information, from file server, download rich media data;
Utilize pre-defined algorithm to calculate the rich media data of described download, obtain the check information of the rich media data of described download, judge that whether this check information is consistent with the data check code in described notification message, if, confirm to obtain described rich media data success, if not, confirm to obtain described rich media data failure;
Describedly utilize described data description information that described rich media data is presented to described display screen Zhong relevant position to comprise:
In described data description information, search the corresponding data placeholder of Data Identification in described notification message;
The form indicated according to described data format information is presented at described rich media data the corresponding position of data placeholder finding in described display screen.
7. method according to claim 6, is characterized in that,
In described notification message, also comprise the capacity information of rich media data, describedly utilize described notification message to obtain described rich media data from file server also to comprise: according to the capacity information of rich media data, select the downloading mode to described rich media data, wherein, when the indicated capacity of described capacity information is greater than capacity threshold, utilize the mode of repeatedly downloading to obtain described rich media data, when the indicated capacity of described capacity information is less than capacity threshold, in a down operation, obtain described rich media data;
And/or,
In described notification message, also comprise the preview data of rich media data, the capacity of described preview data is less than the capacity of rich media data, and described method also comprises:
From notification message, extract described preview data and be presented on display screen, to know in advance substance or the key content of rich media data before getting described rich media data from file server.
8. a sending ending equipment, is characterized in that, described equipment comprises generation unit, text message transmitting element, rich media data uploading unit and notification message processing unit are set,
The described generation unit that arranges, is used to the rich media data of required transmission that data description information is set, and by the text data of described data description information and required transmission, is generated the message of required transmission;
Described text message transmitting element, for utilizing transmission of messages passage that described message is forwarded to receiving device;
Described rich media data uploading unit, for utilizing file transfer passage that described rich media data is uploaded to file server, and obtains the address information of described rich media data in file server;
Described notification message processing unit, for generating the notification message that comprises described address information, described notification message is forwarded to receiving device by transmission of messages passage, so that receiving device utilizes described notification message to obtain described rich media data from file server, and utilize described data description information to show described rich media data.
9. a receiving device, is characterized in that, described equipment comprises message sink unit, text message display unit and rich media data processing unit,
Described message sink unit, for utilizing transmission of messages passage to receive the message from sending ending equipment, is included as data description information that the rich media data of required transmission arranges and the text data of required transmission in described message;
Described text message display unit, for the message receiving in message sink unit described in demonstration screen display, the rich media data that is included as required transmission in described message arranges data description information;
Described message sink unit, also, for utilizing the notification message of transmission of messages passage receiving end/sending end equipment transmission, described notification message comprises the address information of described rich media data in file server;
Described rich media data processing unit, for utilizing described notification message to obtain described rich media data from file server, and utilizes described data description information that described rich media data is presented to described display screen Zhong relevant position.
10. equipment according to claim 9, is characterized in that,
Described data description information comprises data type information, Data Identification and data placeholder, wherein, a Data Identification is corresponding to a data placeholder, described text message display unit, specifically for showing the text message in described message, and the data of preserving in advance in the indicated position display of data placeholder load sign; And,
Described notification message comprises address information, data format information, Data Identification and the data check code of rich media data in file server, and described data check code utilizes pre-defined algorithm to calculate described rich media data by sending ending equipment,
Described rich media data processing unit comprises download correction verification module, for downloading rich media data according to described address information from file server; Utilize described pre-defined algorithm to calculate the rich media data of described download, obtain the check information of the rich media data of described download, judge that whether this check information is consistent with the data check code in described notification message, if, confirm to obtain described rich media data success, if not, confirm to obtain described rich media data failure;
Described rich media data processing unit also comprises Rich Media's display module, for searching the corresponding data placeholder of Data Identification in described notification message in described data description information, the form indicated according to described data format information is presented at described rich media data the corresponding position of data placeholder finding in described display screen.
CN201210214418.3A 2012-06-25 2012-06-25 Message transmission method in instant messaging system and equipment Pending CN103516577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210214418.3A CN103516577A (en) 2012-06-25 2012-06-25 Message transmission method in instant messaging system and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210214418.3A CN103516577A (en) 2012-06-25 2012-06-25 Message transmission method in instant messaging system and equipment

Publications (1)

Publication Number Publication Date
CN103516577A true CN103516577A (en) 2014-01-15

Family

ID=49898651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210214418.3A Pending CN103516577A (en) 2012-06-25 2012-06-25 Message transmission method in instant messaging system and equipment

Country Status (1)

Country Link
CN (1) CN103516577A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986646A (en) * 2014-05-30 2014-08-13 Tcl集团股份有限公司 Message transmission method, system and terminal device
CN105208065A (en) * 2014-06-24 2015-12-30 腾讯科技(深圳)有限公司 File transmitting method and device
CN105260151A (en) * 2015-09-30 2016-01-20 小米科技有限责任公司 Information display method and apparatus
CN105610849A (en) * 2016-01-07 2016-05-25 网易(杭州)网络有限公司 Method and device for generating sharing label and method and device for displaying attribute information
CN106156235A (en) * 2015-04-27 2016-11-23 Tcl集团股份有限公司 A kind of picture method for down loading based on Android platform and system
CN106604133A (en) * 2016-12-20 2017-04-26 天脉聚源(北京)教育科技有限公司 Live streaming monitoring method and device
CN107666619A (en) * 2017-06-15 2018-02-06 北京金山云网络技术有限公司 Live data transmission method, device, electronic equipment, server and storage medium
CN109391540A (en) * 2018-10-31 2019-02-26 珠海市小源科技有限公司 A kind of processing method and processing device of RCS message
CN109450989A (en) * 2018-10-19 2019-03-08 武汉斗鱼网络科技有限公司 A kind of method, apparatus, equipment and the medium of data transmission
CN109547565A (en) * 2018-12-20 2019-03-29 深圳市梦网科技发展有限公司 Rich media information sending, receiving method and terminal device and storage medium
CN109862399A (en) * 2018-12-14 2019-06-07 珠海市小源科技有限公司 It shows the method for rich media information, handle method, computer installation and the computer readable storage medium of rich media information
CN110234080A (en) * 2019-06-11 2019-09-13 珠海市小源科技有限公司 A kind of information display method, device and system
CN110430126A (en) * 2019-09-02 2019-11-08 江苏满运软件科技有限公司 Instant communication message processing method, device, system, equipment and storage medium
CN110677251A (en) * 2018-07-03 2020-01-10 中移(杭州)信息技术有限公司 Information processing method, device, medium and equipment
CN111832252A (en) * 2019-04-15 2020-10-27 北京智启蓝墨信息技术有限公司 Interactive exercise editing method, interactive exercise generating device and interactive exercise generating system in intelligent teaching material
CN114827063A (en) * 2021-01-28 2022-07-29 华为技术有限公司 Message forwarding method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1509104A (en) * 2002-12-17 2004-06-30 �ʼҷ����ֵ��ӹɷ����޹�˾ Multi-media information service method and system
US20070186005A1 (en) * 2005-09-01 2007-08-09 Nokia Corporation Method to embedding SVG content into ISO base media file format for progressive downloading and streaming of rich media content
CN101557267A (en) * 2008-04-11 2009-10-14 华为技术有限公司 Method for informing message presentation way in BCAST and device thereof
CN101895536A (en) * 2010-06-30 2010-11-24 北京新媒传信科技有限公司 Multimedia information sharing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1509104A (en) * 2002-12-17 2004-06-30 �ʼҷ����ֵ��ӹɷ����޹�˾ Multi-media information service method and system
US20070186005A1 (en) * 2005-09-01 2007-08-09 Nokia Corporation Method to embedding SVG content into ISO base media file format for progressive downloading and streaming of rich media content
CN101557267A (en) * 2008-04-11 2009-10-14 华为技术有限公司 Method for informing message presentation way in BCAST and device thereof
CN101895536A (en) * 2010-06-30 2010-11-24 北京新媒传信科技有限公司 Multimedia information sharing method

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986646A (en) * 2014-05-30 2014-08-13 Tcl集团股份有限公司 Message transmission method, system and terminal device
CN105208065A (en) * 2014-06-24 2015-12-30 腾讯科技(深圳)有限公司 File transmitting method and device
CN106156235A (en) * 2015-04-27 2016-11-23 Tcl集团股份有限公司 A kind of picture method for down loading based on Android platform and system
CN106156235B (en) * 2015-04-27 2021-01-12 Tcl科技集团股份有限公司 Picture downloading method and system based on Android platform
CN105260151A (en) * 2015-09-30 2016-01-20 小米科技有限责任公司 Information display method and apparatus
CN105610849B (en) * 2016-01-07 2020-03-10 网易(杭州)网络有限公司 Method and device for generating sharing label and method and device for displaying attribute information
CN105610849A (en) * 2016-01-07 2016-05-25 网易(杭州)网络有限公司 Method and device for generating sharing label and method and device for displaying attribute information
CN106604133A (en) * 2016-12-20 2017-04-26 天脉聚源(北京)教育科技有限公司 Live streaming monitoring method and device
CN107666619A (en) * 2017-06-15 2018-02-06 北京金山云网络技术有限公司 Live data transmission method, device, electronic equipment, server and storage medium
CN107666619B (en) * 2017-06-15 2019-11-08 北京金山云网络技术有限公司 Live data transmission method, device, electronic equipment, server and storage medium
CN110677251A (en) * 2018-07-03 2020-01-10 中移(杭州)信息技术有限公司 Information processing method, device, medium and equipment
CN109450989B (en) * 2018-10-19 2021-09-07 武汉斗鱼网络科技有限公司 Data transmission method, device, equipment and medium
CN109450989A (en) * 2018-10-19 2019-03-08 武汉斗鱼网络科技有限公司 A kind of method, apparatus, equipment and the medium of data transmission
CN109391540A (en) * 2018-10-31 2019-02-26 珠海市小源科技有限公司 A kind of processing method and processing device of RCS message
CN109862399A (en) * 2018-12-14 2019-06-07 珠海市小源科技有限公司 It shows the method for rich media information, handle method, computer installation and the computer readable storage medium of rich media information
CN109547565B (en) * 2018-12-20 2021-04-30 深圳市梦网科技发展有限公司 Rich media information sending and receiving method, terminal equipment and storage medium
CN109547565A (en) * 2018-12-20 2019-03-29 深圳市梦网科技发展有限公司 Rich media information sending, receiving method and terminal device and storage medium
CN111832252A (en) * 2019-04-15 2020-10-27 北京智启蓝墨信息技术有限公司 Interactive exercise editing method, interactive exercise generating device and interactive exercise generating system in intelligent teaching material
CN111832274A (en) * 2019-04-15 2020-10-27 北京智启蓝墨信息技术有限公司 Rich media editing method, rich media generating method, rich media editing device, rich media generating device and rich media generating system in intelligent teaching materials
CN111832274B (en) * 2019-04-15 2024-02-27 北京智启蓝墨信息技术有限公司 Rich media editing method, generation method, device and system in intelligent teaching materials
CN111832252B (en) * 2019-04-15 2024-03-01 北京智启蓝墨信息技术有限公司 Interactive exercise editing method, generation method, device and system in intelligent teaching materials
CN110234080A (en) * 2019-06-11 2019-09-13 珠海市小源科技有限公司 A kind of information display method, device and system
CN110234080B (en) * 2019-06-11 2021-07-23 珠海市小源科技有限公司 Information display method, device and system
CN110430126A (en) * 2019-09-02 2019-11-08 江苏满运软件科技有限公司 Instant communication message processing method, device, system, equipment and storage medium
CN114827063A (en) * 2021-01-28 2022-07-29 华为技术有限公司 Message forwarding method and system

Similar Documents

Publication Publication Date Title
CN103516577A (en) Message transmission method in instant messaging system and equipment
EP3402136B1 (en) Information interaction method, client and device
US20150227496A1 (en) Method and system for microblog resource sharing
JP2004529410A5 (en)
US20120293826A1 (en) Systems and methods for providing multiple images
CN104602238A (en) Wireless network connecting method, device and system
CN108809800B (en) Multimedia data processing method, equipment and system thereof
CN101472163A (en) Method, apparatus and system for transmitting picture file
CN102724327A (en) System and method for providing real-time web browser service for browser
CN104469401A (en) HLS based on-demand playing system and method
CN104105007A (en) Video loading method of mobile terminal, devices and system
CN102752371A (en) Method for achieving splash on client side and client side
CA2830835A1 (en) System and method for transmitting real-time images
KR20130065777A (en) Apparatus and method for sharing web contents using inspector script
CN107026887B (en) rapid information interaction method and network transmission method in multimedia system
CN106878145B (en) Display method, display device and display system of user-defined picture
JP7182467B2 (en) Method and system for selectively adapting and transmitting message data
CN106790716B (en) Picture pushing method and system based on screen locking state
CN112650604A (en) Card data processing method and related device
CN101594583A (en) A kind of processing method of Multimedia Message, equipment and system
CN110475215B (en) Message editing, transmitting and displaying method, server and terminal thereof
CN105025448A (en) IM information pushing method and system, server and platform
CN102523567B (en) Data update method in telecommunication intelligent card, system thereof and telecommunication intelligent card
CN104104575A (en) Communication method and system for IM (instant messaging) group
CN102333121B (en) Method for sending and receiving HTTP (Hyper Text Transfer Protocol) attachment as well as server and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140115