CN101917353A - Method for transmitting expression file and terminal equipment - Google Patents

Method for transmitting expression file and terminal equipment Download PDF

Info

Publication number
CN101917353A
CN101917353A CN2010102592068A CN201010259206A CN101917353A CN 101917353 A CN101917353 A CN 101917353A CN 2010102592068 A CN2010102592068 A CN 2010102592068A CN 201010259206 A CN201010259206 A CN 201010259206A CN 101917353 A CN101917353 A CN 101917353A
Authority
CN
China
Prior art keywords
file
expression
request
message
module
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
CN2010102592068A
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.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2010102592068A priority Critical patent/CN101917353A/en
Priority to PCT/CN2010/079083 priority patent/WO2012022083A1/en
Publication of CN101917353A publication Critical patent/CN101917353A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/08Annexed information, e.g. attachments

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for transmitting an expression file and terminal equipment. The terminal equipment comprises a message receiving module, a message transmitting module, a message analysis module, a storage module and a new file generation module. The transmission method comprises the following steps that: when instant messenger software is used for communication and if one instant communication message received by receiving party equipment carries at least two locally unsaved expressions, the receiving party equipment initiates an expression file acquisition request to transmitting party equipment transmitting the message through an instant communication server, wherein the request carries the identification information of the unsaved expressions; and after receiving the request, the transmitting party equipment merges the expression file corresponding to the received identification information of each expression into a new file and then transmitting the new file to the receiving party equipment through the instant communication server. The method and the terminal equipment have the advantages of utilizing network resources as many as possible, fulfilling the aim of quickly transmitting the expression file and making users quickly experience expression display.

Description

A kind of transmission method of expression file and terminal equipment
Technical field
The present invention relates to the file transfer field, relate in particular to a kind of transmission method and terminal equipment of expression file.
Background technology
Show Picture in immediate communication tool software, animation etc. expressed one's feelings can increase the enjoyment of chat, if but the emoticon that the side in the communication two party sends does not have corresponding picture file an other side, then needs communication two party to transmit the picture file of this emoticon correspondence in some way.
Therefore, how realize the transmission of emoticon corresponding file, so that the emoticon receiving terminal can show fast that when receiving Unidentified emoticon this emoticon just seems particularly important by effective mechanism.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of transmission method and terminal equipment of expression file, to realize fast and effectively the expression file of emoticon correspondence being transferred to from the emoticon transmitting terminal purpose of emoticon receiving terminal.
For addressing the above problem, the invention provides a kind of transmission method of expression file, comprising:
When using immediate communication tool software to carry out communication, carry the expression that does not preserve at least two this locality in the instant communication information that receives as receiver equipment, then described receiver equipment is initiated expression file by instant communication server to the transmit leg equipment of this message and is obtained request, carries the identification information of described expression of not preserving in this request; After described request is received by described transmitting apparatus side, the expression file of identification information correspondence of each expression of receiving merged into a new file after, send to described receiver equipment by described instant communication server.
Further, said method also can have following feature:
The request of obtaining of described expression file adopts the form of Session Initiation Protocol message to organize.
Further, said method also can have following feature:
The expression file of identification information correspondence of described each expression that will receive is merged into a new file and is meant: described transmit leg equipment writes the content of the expression file of each identification information correspondence in the described new file respectively, and before the content of each expression file, add a file header accordingly, comprise the required essential information of expression file content that from described new file, splits out this document head correspondence in this document head.
Further, said method also can have following feature:
Described essential information comprises: file header length, filename and file content length.
Further, said method also can have following feature:
Described receiver equipment splits described new file according to described essential information after receiving described new file, obtains each expression file of its request.
The present invention also provides a kind of terminal equipment, comprising: message sink module, message transmission module, message-analysis module, memory module and new file generating module;
The instant communication information that the transmit leg equipment that described message sink module is used for receiving during as receiver equipment at described terminal equipment sends sends to message-analysis module; Also be used for receiving the expression file of transmitting by instant communication server during as transmit leg equipment and obtain request, and this request is sent to described new file generating module at described terminal equipment;
Described message-analysis module is used for when judging the described instant communication information that receives and carry in two described memory modules the expression of not preserving at least, initiate described expression file to described message transmission module and obtain request, carry the identification information of described expression of not preserving in this request;
Described message transmission module is used for sending instant communication information to described receiver equipment at described terminal equipment during as transmit leg equipment; The described expression file that also is used for the receiving request of obtaining sends to described instant communication server; Also be used for described new file generating module is sent to described receiver equipment to the new file of its transmission by described instant communication server;
Described new file generating module is used for after receiving that described expression file obtains request, after the expression file of identification information correspondence of each expression of carrying in this request of preserving in the described memory module merged into a new file, send to described message transmission module;
Described memory module is used to preserve expression file.
Further, above-mentioned terminal equipment also can have following feature:
The request of obtaining of described expression file adopts the form of Session Initiation Protocol message to organize.
Further, above-mentioned terminal equipment also can have following feature:
The expression file of identification information correspondence of each expression of carrying in this request that described new file generating module is used for described memory module is preserved is merged into a new file and is meant: described new file generating module is used for respectively the content of the expression file of each identification information correspondence is write described new file, and before the content of each expression file, add a file header accordingly, comprise the required essential information of expression file content that from described new file, splits out this document head correspondence in this document head.
Further, above-mentioned terminal equipment also can have following feature:
Described essential information comprises: file header length, filename and file content length.
Further, above-mentioned terminal equipment also can have following feature:
The new file that the transmit leg equipment that described message sink module also is used for receiving during as receiver equipment at described terminal equipment sends sends to described message-analysis module;
Described message-analysis module also is used for according to described essential information described new file being split after receiving described new file, obtains each expression file of its request.
After adopting the present invention, utilized internet resource as much as possible, realized the purpose of quick transmission expression file, made the user can experience expression fast and show.
Description of drawings
Fig. 1 sends the flow chart of new file for transmit leg equipment in the embodiment of the invention;
The flow chart that Fig. 2 splits the new file that receives for receiver equipment in the embodiment of the invention;
Fig. 3 is emoticon transfer process figure in the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, the enforcement of technical scheme is described in further detail:
Find that in actual use the load of instant communication server is very heavy usually.Learn through further investigation; if transmit leg is when carrying two even more a plurality of expression in a piece of news that the recipient sends; the recipient usually can send the expression of multiple messages with each correspondence of acquisition request to transmit leg respectively by instant communication server judging under the local situation of not preserving these several expressions; after transmit leg is received each request message, reply corresponding expression file by instant communication server to the recipient respectively.The obtain manner of this expression has greatly taken the resource of instant communication server, has influenced the Message Processing efficient of instant communication server.
Therefore, for addressing the above problem, the basic design of the transmission method of expression file of the present invention is:
When using immediate communication tool software to carry out communication, carry the expression that does not preserve at least two this locality in the instant communication information that receives as receiver equipment, then receiver equipment is initiated expression file by instant communication server to the transmit leg equipment of this message and is obtained request, carries the identification information of above-mentioned each expression of not preserving in this request; After transmit leg equipment is received this request, the expression file of each identification information correspondence of receiving merged into a new file after, send to receiver equipment by instant communication server.After this, receiver equipment is by splitting the above-mentioned new file that receives, and can obtain each expression file of its request and in the interface expression of correspondence is shown to the user.
Preferably, the expression file request of obtaining can adopt the form of SIP (Session Initiation Protocol, Session initiation Protocol) message to organize.
The expression file of above-mentioned each identification information correspondence that will receive is merged into a new file and specifically realized in the following ways: transmit leg writes the content of the expression file of each identification information correspondence in the above-mentioned new file respectively, and before the content of each expression file, add a file header accordingly, comprise the required essential information of expression file that from this new file, splits out this document head correspondence in this document head, this essential information can comprise: file header length, filename and file content length can also comprise extension length.Wherein: file header length can be 2 bytes, and filename can be 36 bytes, and file content length can be 8 bytes, and extension length persists 4 bytes.Certainly, above-mentioned each length value can also be got other numerical value.
Particularly, transmit leg equipment sends the flow process of new file, as shown in Figure 1, comprising:
1, transmit leg equipment is created a temporary file (is the file of .face as form) after receiving that expression file that receiver equipment is sent by instant communication server obtains request;
2, from above-mentioned request, take out the identification information of an expression, search the expression file of this identification information correspondence in this locality, and judge whether the size of this expression file has surpassed the residual capacity of above-mentioned temporary file, if do not surpass, then execution in step 3; Otherwise, execution in step 5;
3, the content with this expression file writes this temporary file, and adds file header accordingly before the content of this expression file, comprises in this document head: file header length, filename, file content length and extension length;
4, judge whether to take out the identification information that above-mentioned expression file obtains all expressions entrained in the request, if do not have, then execution in step 2; Otherwise, execution in step 5;
5, temporary file is sent to receiver equipment by instant communication server.
As shown in Figure 2, receiver equipment is after receiving that form that the equipment of send sending out is sent by instant communication server is the file of .face, and the process to this document splits may further comprise the steps:
Suction parameter is a .face file complete trails, earlier the .face File mapping is arrived internal memory, all operations all are based on internal memory operation: the filename and the file content length of taking out single expression file from essential information, content in this length is written to single expression file, pointer movement then, operate next expression file, finish up to internal memory operation.
As shown in Figure 3, the transmission method of expression file specifically comprises following process:
The emoticon receiver equipment is when receiving the message that has at least two emoticons, search local expression file catalogue earlier and whether have identical emoticon, if exist, then directly show, otherwise: substitute demonstration with an interim expression animation earlier, send expression file then and obtain request, initiatively to obtain the emoticon file to emoticon transmit leg equipment;
Emoticon transmit leg equipment receives expression file from the emoticon receiving terminal when obtaining request, checks that earlier whether transmit queue is empty, if be sky, then is pressed into formation to request; If be empty, then handle this request, the expression file of each the identification information correspondence that is about to receive sends to receiver equipment by instant communication server after merging into a new file.
In addition, terminal equipment of the present invention comprises: message sink module, message transmission module, message-analysis module, memory module and new file generating module;
The instant communication information that the transmit leg equipment that the message sink module is used for receiving during as receiver equipment at terminal equipment sends sends to message-analysis module; Also be used for receiving the expression file of transmitting by instant communication server during as transmit leg equipment and obtain request, and this request is sent to new file generating module at terminal equipment;
Message-analysis module is used for initiating expression file to message transmission module and obtaining request when judging the instant communication information that receives and carry in two memory modules the expression of not preserving at least, carries the not identification information of the expression of preservation in this request;
Message transmission module is used for sending instant communication information to receiver equipment at terminal equipment during as transmit leg equipment; The expression file that also is used for the receiving request of obtaining sends to instant communication server; Also be used for new file generating module is sent to receiver equipment to the new file of its transmission by instant communication server;
New file generating module is used for after receiving that expression file obtains request, the expression file of each identification information correspondence of expressing one's feelings of carrying in this request of preserving in the memory module is merged into a new file after, send to message transmission module;
Memory module is used to preserve expression file.
Wherein, the expression file request of obtaining can adopt the form of sip message to organize.The expression file of the identification information correspondence of each expression of carrying in this request that new file generating module is used for memory module is preserved is merged into a new file and is meant: newly file generating module is used for respectively the content of the expression file of each identification information correspondence is write new file, and before the content of each expression file, add a file header accordingly, comprise the required essential information of expression file content that from above-mentioned new file, splits out this document head correspondence in this document head.Wherein, above-mentioned essential information comprises: file header length, filename and file content length.
The new file that the transmit leg equipment that the message sink module also can be used for receiving during as receiver equipment at terminal equipment sends sends to message-analysis module; Message-analysis module also is used for according to essential information new file being split after receiving new file, obtains each expression file of its request.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.

Claims (10)

1. the transmission method of an expression file comprises:
When using immediate communication tool software to carry out communication, carry the expression that does not preserve at least two this locality in the instant communication information that receives as receiver equipment, then described receiver equipment is initiated expression file by instant communication server to the transmit leg equipment of this message and is obtained request, carries the identification information of described expression of not preserving in this request; After described request is received by described transmitting apparatus side, the expression file of identification information correspondence of each expression of receiving merged into a new file after, send to described receiver equipment by described instant communication server.
2. the method for claim 1 is characterized in that:
The request of obtaining of described expression file adopts the form of Session Initiation Protocol message to organize.
3. the method for claim 1 is characterized in that:
The expression file of identification information correspondence of described each expression that will receive is merged into a new file and is meant: described transmit leg equipment writes the content of the expression file of each identification information correspondence in the described new file respectively, and before the content of each expression file, add a file header accordingly, comprise the required essential information of expression file content that from described new file, splits out this document head correspondence in this document head.
4. method as claimed in claim 3 is characterized in that:
Described essential information comprises: file header length, filename and file content length.
5. as claim 3 or 4 described methods, it is characterized in that:
Described receiver equipment splits described new file according to described essential information after receiving described new file, obtains each expression file of its request.
6. a terminal equipment comprises: message sink module, message transmission module, message-analysis module, memory module and new file generating module;
The instant communication information that the transmit leg equipment that described message sink module is used for receiving during as receiver equipment at described terminal equipment sends sends to message-analysis module; Also be used for receiving the expression file of transmitting by instant communication server during as transmit leg equipment and obtain request, and this request is sent to described new file generating module at described terminal equipment;
Described message-analysis module is used for when judging the described instant communication information that receives and carry in two described memory modules the expression of not preserving at least, initiate described expression file to described message transmission module and obtain request, carry the identification information of described expression of not preserving in this request;
Described message transmission module is used for sending instant communication information to described receiver equipment at described terminal equipment during as transmit leg equipment; The described expression file that also is used for the receiving request of obtaining sends to described instant communication server; Also be used for described new file generating module is sent to described receiver equipment to the new file of its transmission by described instant communication server;
Described new file generating module is used for after receiving that described expression file obtains request, after the expression file of identification information correspondence of each expression of carrying in this request of preserving in the described memory module merged into a new file, send to described message transmission module;
Described memory module is used to preserve expression file.
7. terminal equipment as claimed in claim 6 is characterized in that:
The request of obtaining of described expression file adopts the form of Session Initiation Protocol message to organize.
8. terminal equipment as claimed in claim 6 is characterized in that:
The expression file of identification information correspondence of each expression of carrying in this request that described new file generating module is used for described memory module is preserved is merged into a new file and is meant: described new file generating module is used for respectively the content of the expression file of each identification information correspondence is write described new file, and before the content of each expression file, add a file header accordingly, comprise the required essential information of expression file content that from described new file, splits out this document head correspondence in this document head.
9. terminal equipment as claimed in claim 8 is characterized in that:
Described essential information comprises: file header length, filename and file content length.
10. terminal equipment as claimed in claim 8 or 9 is characterized in that:
The new file that the transmit leg equipment that described message sink module also is used for receiving during as receiver equipment at described terminal equipment sends sends to described message-analysis module;
Described message-analysis module also is used for according to described essential information described new file being split after receiving described new file, obtains each expression file of its request.
CN2010102592068A 2010-08-18 2010-08-18 Method for transmitting expression file and terminal equipment Pending CN101917353A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010102592068A CN101917353A (en) 2010-08-18 2010-08-18 Method for transmitting expression file and terminal equipment
PCT/CN2010/079083 WO2012022083A1 (en) 2010-08-18 2010-11-24 Method for transmitting expression file and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102592068A CN101917353A (en) 2010-08-18 2010-08-18 Method for transmitting expression file and terminal equipment

Publications (1)

Publication Number Publication Date
CN101917353A true CN101917353A (en) 2010-12-15

Family

ID=43324747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102592068A Pending CN101917353A (en) 2010-08-18 2010-08-18 Method for transmitting expression file and terminal equipment

Country Status (2)

Country Link
CN (1) CN101917353A (en)
WO (1) WO2012022083A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685159A (en) * 2011-03-10 2012-09-19 腾讯科技(深圳)有限公司 File transmission method and device
CN103200183A (en) * 2012-01-06 2013-07-10 微软公司 Transfer media data
WO2015180621A1 (en) * 2014-05-29 2015-12-03 Tencent Technology (Shenzhen) Company Limited Method and apparatus for playing im message
CN105871695A (en) * 2016-05-19 2016-08-17 腾讯科技(深圳)有限公司 Emoji sending method and device
CN106375587A (en) * 2016-09-14 2017-02-01 广州华多网络科技有限公司 Collection method and system of multimedia message
CN106530096A (en) * 2016-10-08 2017-03-22 广州阿里巴巴文学信息技术有限公司 Emotion icon processing method, device and electronic apparatus
US10079864B2 (en) 2012-01-06 2018-09-18 Microsoft Technology Licensing, Llc Communicating media data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005109640A (en) * 2003-09-29 2005-04-21 Kddi Corp Remote video image transmission system
CN101072207A (en) * 2007-06-22 2007-11-14 腾讯科技(深圳)有限公司 Exchange method for instant messaging tool and instant messaging tool
CN101123568A (en) * 2007-09-20 2008-02-13 腾讯科技(深圳)有限公司 An instant communication system and transmission method of self-defined information
CN101350790A (en) * 2007-07-19 2009-01-21 阿里巴巴集团控股有限公司 Document transmission method and device base on instant communications system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005109640A (en) * 2003-09-29 2005-04-21 Kddi Corp Remote video image transmission system
CN101072207A (en) * 2007-06-22 2007-11-14 腾讯科技(深圳)有限公司 Exchange method for instant messaging tool and instant messaging tool
CN101350790A (en) * 2007-07-19 2009-01-21 阿里巴巴集团控股有限公司 Document transmission method and device base on instant communications system
CN101123568A (en) * 2007-09-20 2008-02-13 腾讯科技(深圳)有限公司 An instant communication system and transmission method of self-defined information

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685159A (en) * 2011-03-10 2012-09-19 腾讯科技(深圳)有限公司 File transmission method and device
CN103200183A (en) * 2012-01-06 2013-07-10 微软公司 Transfer media data
US10079864B2 (en) 2012-01-06 2018-09-18 Microsoft Technology Licensing, Llc Communicating media data
WO2015180621A1 (en) * 2014-05-29 2015-12-03 Tencent Technology (Shenzhen) Company Limited Method and apparatus for playing im message
US9594496B2 (en) 2014-05-29 2017-03-14 Tencent Technology (Shenzhen) Company Limited Method and apparatus for playing IM message
CN105871695A (en) * 2016-05-19 2016-08-17 腾讯科技(深圳)有限公司 Emoji sending method and device
CN105871695B (en) * 2016-05-19 2019-03-26 腾讯科技(深圳)有限公司 Expression sending method and device
CN106375587A (en) * 2016-09-14 2017-02-01 广州华多网络科技有限公司 Collection method and system of multimedia message
CN106375587B (en) * 2016-09-14 2019-05-31 广州华多网络科技有限公司 A kind of collecting method and system of multimedia messages
CN106530096A (en) * 2016-10-08 2017-03-22 广州阿里巴巴文学信息技术有限公司 Emotion icon processing method, device and electronic apparatus

Also Published As

Publication number Publication date
WO2012022083A1 (en) 2012-02-23

Similar Documents

Publication Publication Date Title
CN101917353A (en) Method for transmitting expression file and terminal equipment
KR101467424B1 (en) Method for displaying message and message display apparatus
US20170041254A1 (en) Contextual content sharing using conversation medium
US20090181702A1 (en) Multi-mode communication
US20060168061A1 (en) Server, server system, and e-mail delivery method
EP3068070B1 (en) Method and device for initiating network conference
CN103095553B (en) A kind of message communication method and system
EP2879394A1 (en) Digital television terminal, video file playing method and video file playing system
CN101227433A (en) Terminal and method for implementing information sharing in network television business system
CN110083789A (en) A kind of small routine page acquisition methods, server, client and electronic equipment
CN102739717A (en) Downloading method, downloading proxy server and network system
CN102404251A (en) Realization method, client and system for instant messaging with remarking function
KR20140027465A (en) Method, device and system for sharing microblog message
WO2020102349A1 (en) Methods, systems, and apparatus for email to persistent messaging and/or text to persistent messaging
EP2243262A1 (en) Systems and methods for adding media content to electronic messages
CN100477582C (en) Method and system for processing real-time multi-media information in instant telecommunication
KR20090098833A (en) Unique compressed call identifiers
CN104980481B (en) Method and system, the electric terminal of data are transmitted between electric terminal
KR101351264B1 (en) System and method for message translation based on voice recognition
US20140324927A1 (en) Method, im client and cloud server for saving chat record
CN102986173B (en) Method for setting message status and converged internet protocol message (CPM) traffic server
CN105282255A (en) Image transmission method and system
WO2015196658A1 (en) Method and device for acquiring delivery state of e-mail, and computer storage medium
CN102651734A (en) Media message processing method and device
CN102469038B (en) Folder transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101215