CN201286115Y - E-mail customer terminal and mobile communication terminal - Google Patents
E-mail customer terminal and mobile communication terminal Download PDFInfo
- Publication number
- CN201286115Y CN201286115Y CNU2008201403230U CN200820140323U CN201286115Y CN 201286115 Y CN201286115 Y CN 201286115Y CN U2008201403230 U CNU2008201403230 U CN U2008201403230U CN 200820140323 U CN200820140323 U CN 200820140323U CN 201286115 Y CN201286115 Y CN 201286115Y
- Authority
- CN
- China
- Prior art keywords
- decoding
- 8bit
- message body
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The utility model relates to the computer technique, especially relates to an e-mail receiving technique, and discloses an e-mail client terminal and a mobile communication terminal. The utility model is used for realizing right display of mail text character by using 8bit transmission encoded mode. The e-mail client terminal comprises a display module for displaying mail according to the set display interface, a receiving module for receiving mail data, a memory module for storing the mail data received by the receiving module, and a coding/decoding module for decoding the mail head of the mail data and obtaining mail head information and mail text transmission coded format indication information. When the transmission coded format of the mail text is determined as 8bit transmission coding according to the transmission coded format indication information, the 8bit transmission coding data and character decoding of the mail text 8bit data are carried out, and the mail head information and decoded character is used as mail text information to send to the display module to display.
Description
Technical field
The utility model relates to computer technology, relates in particular to a kind of reception technique of Email.
Background technology
Along with the continuous development of computer networking technology, Email becomes indispensable means of communication in people's work and the life in recent years.The user handles on terminals such as computer, mobile phone that Email normally undertakies by email client.When receiving mail, email client is downloaded one's e-mail from mail server, and will download the Email of getting well and be kept in the storage medium of terminal; When the user opened and read Email, email client read Email and decoding from the terminal storage medium, then it is presented on the screen of terminal; When user's write e-mail, email client receives the Mail Contents of user's input, and the mail of finishing writing is kept in the terminal storage medium; When user's send Email, email client is encoded Email, according to the target mailbox address Email is sent to corresponding mail server by network then.
Can be for the word content that makes Email by terminal processes such as computers and in transmission over networks, just the word content of Email need be converted to can be by the binary coding of terminal recognition such as computer.With English is example, because have only 26 letters in the English, therefore only needs 7 bits (bit) binary digit just to be enough to all English capitalizations, lowercase and encoding symbols commonly used.(American Standard Code for Information Interchange, ASCII) form is exactly the English coded formats of a kind of 7 bits to common ASCII.In the ASCII coded format, English alphabet is represented as the binary digit of 7 bits, for example " 100 0001 " represent letter " A ", " 111 0011 " represent letter " s ", or the like, with ASCII fromat one section English words is encoded, exactly all letters in this paragraph all are converted to 7 corresponding bit-binary numerals, to obtain a binary digit string of representing this section English words.
Similarly, the Chinese content in the Chinese Email could be by terminal recognition and transmission such as computers after need converting binary coding equally to.But because the binary coding of 7 bits can only hold 2
7Individual i.e. 128 different characters can not satisfy the needs of Chinese character far away, so adopt two 8 bit 16 bit binary number that Chinese character is encoded usually during terminal processes Chinese such as computer.Common GB 2312 yards (GB2312) and Big5 (BIG5) etc. all are the Chinese character code forms of two 8 bits, for example in the GB2312 coded format, and being encoded to of " extensively " word " 1,011 1,001 1,110 0011 ".
Because different aspect the figure place of encoding of English and Chinese character code form; when handling Chinese Email, can run into following problem in the prior art: be widely used at present that to have in the main flow email client on the mobile communication terminal be that the targeted customer develops with the user of English-speaking country greatly; therefore these email clients are being compiled the mail word content; decoding and when transmitting by network; usually the mail word content can be used as 7 bit A SCII encoded contents of acquiescence handles; from the original binary numeric string, only read 7 digital bits when for example decoding at every turn; above-mentioned " extensively " word the time will be divided into " 1011100 " and " 1,111 000 " two ascii characters and one section relic " 11 " of encoding in decoding, and may be shown as mess code " x ".Therefore, even if these email clients can show the Chinese content of double-byte encodings, but at coding and decoding with when transmitting the Chinese content of two 8 bits of encoded, coding and decoding dislocation and loss of data can take place, cause content such as Chinese character in the message body to be shown as the situation of mess code.
The utility model content
The utility model embodiment provides a kind of email client and mobile communication terminal, is used to realize adopt the correct demonstration of the message body character of 8bit transfer encoding mode.
A kind of email client is applied in the mobile communication terminal based on the linux embedded system, comprising:
Display module is used for showing mail according to the display interface of setting that described display interface comprises mail head's information display area territory and message body information display area territory;
Receiver module is used to receive mail data;
Memory module is used to store the mail data that described receiver module receives;
Coding/decoding module links to each other with memory module, and the mail head of the described mail data that is used for decoding obtains mail head's information and message body transfer encoding form indication information; When determining that according to described transfer encoding form indication information the transfer encoding form of message body is the 8bit transfer encoding, the 8bit transfer encoding data of message body are carried out 8bit transmission decoding and character decoding; And, described mail head's information is sent on described mail head's information display area territory shows, and the character that decodes is sent on the described message body information display area territory as message body information shows.
Preferable, described coding/decoding module further comprises:
Mail head's encoding and decoding submodule, the mail head of the described mail data that is used for decoding obtains mail head's information and is sent on described mail head's information display area territory to show, and obtains message body transfer encoding form indication information and output;
Call submodule, be used to receive the transfer encoding form indication information of described mail head's decoder module output, and when determining that according to described message body transfer encoding form indication information the transfer encoding form of message body is the 8bit transfer encoding, call 8bit decoding submodule;
8bit encoding and decoding submodule is used for by described obtaining the 8bit transfer encoding data of message body when calling submodule and calling from described memory module, and described 8bit transfer encoding data and output decoder result decode;
Character encoding and decoding submodule is used for the decoded result of described 8bit decoding submodule output is carried out the character decoding, and the character that decodes is sent on the described message body information display area territory as message body information shows.
Described email client further comprises: sending module; Wherein:
Described display module also receives the user respectively in the mail head's information display area territory of described display interface and the mail head's information and the message body information of message body information display area territory input;
Mail head's information that described mail head's encoding and decoding submodule also is used for receiving according to display module generates mail head's data and output, comprises message body transfer encoding form indication information in these mail head's data;
Described 8bit encoding and decoding submodule also is used for message body information is carried out the 8bit transfer encoding and exported the 8bit transfer encoding data of message body information;
Described sending module is used for the 8bit transfer encoding data of mail head's data of mail head's coding/decoding module output and the output of 8bit coding/decoding module are formed mail data, and sends described mail data.
Preferable, described character decoding submodule comprises UTF-8 decoding submodule.
The email client that the utility model provides is after receiving mail data, the decoding mail head of elder generation data, obtain the transfer encoding mode indication information in mail head's data, if the transfer encoding mode indication information that carries in mail head's data is a 8bit transfer encoding indication information, then call special-purpose 8bit transfer encoding data decode module message body information is transmitted decoding, after decoded result further carried out character decoding, show message body, thereby realize the correct demonstration of the message body character of employing 8bit transfer encoding mode.
Description of drawings
Fig. 1 is first kind of email client primary structure schematic diagram that the utility model embodiment provides;
Second kind of email client primary structure schematic diagram that Fig. 2 provides for the utility model embodiment;
The third email client primary structure schematic diagram that Fig. 3 provides for the utility model embodiment;
When the email client that Fig. 4 provides for the utility model embodiment is installed in mobile communication terminal, receive the schematic flow sheet of Email from mail server;
When the email client that Fig. 5 provides for the utility model embodiment is installed in mobile communication terminal, to the schematic flow sheet of mail server send Email.
Embodiment
The mail coded data comprises two parts, first is mail head's data, comprise mail head's information such as sender, addressee and title in mail head's data, and the digital coding mode indication information that further comprises message body and adopted, wherein digital coding mode indication information specifically comprises character code mode indication information and transfer encoding mode indication information again.The coded system that mail head's The data is general can be supported by all Mail Clients.The message body informational needs carries out character code and transfer encoding, and mail head's data and message body information coded data are formed the binary code stream that can transmit in network.
If message body information adopts 7 bit transfer coded systems, then the transfer encoding mode indication information among the mail head is 7 a bit transfer coding indication information, if message body information adopts 8bit transfer encoding mode, then the transfer encoding mode indication information among the mail head is a 8bit transfer encoding indication information.
Based on this, the email client that the utility model provides is after receiving mail data, the decoding mail head of elder generation data, obtain the transfer encoding mode indication information in mail head's data, if the transfer encoding mode indication information that carries in mail head's data is a 8bit transfer encoding indication information, then call special-purpose 8bit transfer encoding data decode module message body information is transmitted decoding, after decoded result further carried out character decoding, show message body, thereby realize the correct demonstration of the message body character of employing 8bit transfer encoding mode, the Chinese character in the special for example message body.
As shown in Figure 1, the utility model embodiment provides a kind of email client, is mainly used on the mobile communication terminal based on the linux embedded OS, and this email client comprises:
Coding/decoding module 104, be used for operational order, when needs show mail, from memory module 104, obtain mail data according to the user, mail head's data in the decoding mail data obtain mail head's information and message body transfer encoding form indication information from mail head's data; When determining that according to transfer encoding form indication information the transfer encoding form of message body is the 8bit transfer encoding, the 8bit transfer encoding data of message body are carried out 8bit transmission decoding and character decoding; And, mail head's information is sent on mail head's information display area territory shows, and the character that decodes is sent on the message body information display area territory as message body information shows.
When the user passes through the mail management interface, when certain Email that has received of click carries out in mail tabulation, email client just is shown to respectively on the specific zone by the mail head and the message body information of aforesaid operations with mail, owing to the data that adopt 8bit transfer encoding mode have been carried out corresponding 8bit decoding, thereby have realized the correct demonstration of characters such as Chinese.
Preferable, as shown in Figure 2, coding/decoding module 104 may further include:
Mail head's encoding and decoding submodule 1041, the mail head of the mail data that is used for decoding obtains mail head's information and is sent on mail head's information display area territory to show, and obtains message body transfer encoding form indication information and output;
Call submodule 1042, be used to receive the transfer encoding form indication information of mail head's decoder module output, and when determining that according to message body transfer encoding form indication information the transfer encoding form of message body is the 8bit transfer encoding, call 8bit decoding submodule;
8bit encoding and decoding submodule 1043 when the submodule that is used to be called calls, obtains 8 bit transfer coded datas of message body, decoding 8bit transfer encoding data and output decoder result from memory module;
Character encoding and decoding submodule 1044 is used for the decoded result of 8bit decoding submodule output is carried out the character decoding, and the character that decodes is sent on the message body information display area territory as message body information shows.
As shown in Figure 3, if email client further also needs to possess e-mail transmitting function, then the email client that provides of the utility model embodiment also comprises: sending module 105, wherein:
Mail head's information that mail head's encoding and decoding submodule 1041 also is used for receiving according to display module generates mail head's data and output, comprises message body transfer encoding form indication information in these mail head's data;
8bit encoding and decoding submodule 1043 also is used for message body information is carried out the 8bit transfer encoding and exported the 8bit transfer encoding data of message body information;
Certainly, receiver module 102 and sending module 105 can merge setting.
Among the utility model embodiment, the character code mode is the UTF-8 coded system for example, and the character code mode that simplified Chinese character is used always is series standards such as GB2312, GB18030, GBK for example.The international coding because UTF8 encodes can increase the compatibility that the E-customer holds greatly, and particularly to the disposal ability of international mail, so preferable, character decoding submodule 1044 can adopt UTF-8 decoding submodule.
As shown in Figure 4, the email client that uses the utility model embodiment to provide, mobile communication terminal user can pass through mobile communications network, receive mail from mail server, when receiving mail, initiated when the user starts email client by display module 101, receiver module 102 receives mail data according to agreements such as pop3, the mail data that receives stores in the memory module 103, may be displayed on the display module 101 through coding/decoding module 104 decodings.
As shown in Figure 5, the email client that uses the utility model embodiment to provide, mobile communication terminal user can send mail by mobile communications network, when sending mail, the user is by display module 101 editor's Mail Contents, by coding/decoding module 104 coding mail datas, the binary data stream that generation can send, sending module 105 sends according to agreements such as SMTP.
Obviously, those skilled in the art can carry out various changes and distortion to the utility model and not break away from spirit and scope of the present utility model.Like this, if of the present utility model these are revised and modification belongs within the utility model claim and the equivalent technologies scope thereof, then the utility model also is intended to comprise these changes and modification interior.
Claims (8)
1, a kind of email client comprises:
Display module is used for showing mail according to the display interface of setting that described display interface comprises mail head's information display area territory and message body information display area territory;
Receiver module is used to receive mail data;
Memory module is used to store the mail data that described receiver module receives;
Coding/decoding module links to each other with memory module, and the mail head of the described mail data that is used for decoding obtains mail head's information and message body transfer encoding form indication information; When determining that according to described transfer encoding form indication information the transfer encoding form of message body is the 8bit transfer encoding, the 8bit transfer encoding data of message body are carried out 8bit transmission decoding and character decoding; And, described mail head's information is sent on mail head's information display area territory shows, and the character that decodes is sent on the described message body information display area territory as message body information shows.
2, email client as claimed in claim 1 is characterized in that, described coding/decoding module further comprises:
Mail head's encoding and decoding submodule, the mail head of the described mail data that is used for decoding obtains mail head's information and is sent on described mail head's information display area territory to show, and obtains message body transfer encoding form indication information and output;
Call submodule, be used to receive the transfer encoding form indication information of described mail head's decoder module output, and when determining that according to described message body transfer encoding form indication information the transfer encoding form of message body is the 8bit transfer encoding, call 8bit decoding submodule;
8bit encoding and decoding submodule is used for by described obtaining the 8bit transfer encoding data of message body when calling submodule and calling from described memory module, and described 8bit transfer encoding data and output decoder result decode;
Character encoding and decoding submodule is used for the decoded result of described 8bit decoding submodule output is carried out the character decoding, and the character that decodes is sent on the described message body information display area territory as message body information shows.
3, email client as claimed in claim 2 is characterized in that, also comprises: sending module; Wherein:
Described display module also receives the user respectively in the mail head's information display area territory of described display interface and the mail head's information and the message body information of message body information display area territory input;
Mail head's information that described mail head's encoding and decoding submodule also is used for receiving according to display module generates mail head's data and output, comprises message body transfer encoding form indication information in these mail head's data;
Described 8bit encoding and decoding submodule also is used for message body information is carried out the 8bit transfer encoding and exported the 8bit transfer encoding data of message body information;
Described sending module is used for the 8bit transfer encoding data of mail head's data of mail head's coding/decoding module output and the output of 8bit coding/decoding module are formed mail data, and sends described mail data.
As claim 2 or 3 described email clients, it is characterized in that 4, described character decoding submodule comprises UTF-8 decoding submodule.
5, a kind of mobile communication terminal based on the linux embedded system comprises email client, it is characterized in that, described email client comprises:
Display module is used for showing mail according to the display interface of setting that described display interface comprises mail head's information display area territory and message body information display area territory;
Receiver module is used to receive mail data;
Memory module is used to store the mail data that described receiver module receives;
Coding/decoding module links to each other with memory module, and the mail head of the described mail data that is used for decoding obtains mail head's information and message body transfer encoding form indication information; When determining that according to described transfer encoding form indication information the transfer encoding form of message body is the 8bit transfer encoding, the 8bit transfer encoding data of message body are carried out 8bit transmission decoding and character decoding; And, described mail head's information is sent on described mail head's information display area territory shows, and the character that decodes is sent to as message body information on the display interface of described display module and shows.
6, mobile communication terminal as claimed in claim 5 is characterized in that, described coding/decoding module further comprises:
Mail head's encoding and decoding submodule, the mail head of the described mail data that is used for decoding obtains mail head's information and is sent on described mail head's information display area territory to show, and obtains message body transfer encoding form indication information and output;
Call submodule, be used to receive the transfer encoding form indication information of described mail head's decoder module output, and when determining that according to described message body transfer encoding form indication information the transfer encoding form of message body is the 8bit transfer encoding, call 8bit decoding submodule;
8bit encoding and decoding submodule is used for by described obtaining the 8bit transfer encoding data of message body when calling submodule and calling from described memory module, and described 8bit transfer encoding data and output decoder result decode;
Character encoding and decoding submodule is used for the decoded result of described 8bit decoding submodule output is carried out the character decoding, and the character that decodes is sent on the described message body information display area territory as message body information shows.
7, mobile communication terminal as claimed in claim 6 is characterized in that, email client also comprises: sending module; Wherein:
Described display module also receives the user respectively in the mail head's information display area territory of described display interface and the mail head's information and the message body information of message body information display area territory input;
Mail head's information that described mail head's encoding and decoding submodule also is used for receiving according to display module generates mail head's data and output, comprises message body transfer encoding form indication information in these mail head's data;
Described 8bit encoding and decoding submodule also is used for message body information is carried out the 8bit transfer encoding and exported the 8bit transfer encoding data of message body information;
Described sending module is used for the 8bit transfer encoding data of mail head's data of mail head's coding/decoding module output and the output of 8bit coding/decoding module are formed mail data, and sends described mail data.
As claim 6 or 7 described mobile communication terminals, it is characterized in that 8, described character decoding submodule comprises UTF-8 decoding submodule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2008201403230U CN201286115Y (en) | 2008-10-20 | 2008-10-20 | E-mail customer terminal and mobile communication terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2008201403230U CN201286115Y (en) | 2008-10-20 | 2008-10-20 | E-mail customer terminal and mobile communication terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201286115Y true CN201286115Y (en) | 2009-08-05 |
Family
ID=40951081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNU2008201403230U Expired - Fee Related CN201286115Y (en) | 2008-10-20 | 2008-10-20 | E-mail customer terminal and mobile communication terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201286115Y (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848349A (en) * | 2010-03-25 | 2010-09-29 | 中兴通讯股份有限公司 | Method, system and terminal for processing text messages in mobile multimedia broadcasting |
WO2012024947A1 (en) * | 2010-08-26 | 2012-03-01 | 惠州Tcl移动通信有限公司 | Method and device for displaying email information |
CN104007841A (en) * | 2014-06-12 | 2014-08-27 | 瞿照洋 | Chinese character coding and decoding method based on transmission of keyboard input interface |
CN104125336A (en) * | 2014-07-03 | 2014-10-29 | 珠海市君天电子科技有限公司 | Wireless network name repairing method and device |
CN109039876A (en) * | 2018-09-19 | 2018-12-18 | 天津字节跳动科技有限公司 | Email processing method and device |
CN112217710A (en) * | 2020-09-02 | 2021-01-12 | 陕西贝思诺信息科技有限公司 | E-mail receiving and sending method based on POP3 protocol |
-
2008
- 2008-10-20 CN CNU2008201403230U patent/CN201286115Y/en not_active Expired - Fee Related
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848349A (en) * | 2010-03-25 | 2010-09-29 | 中兴通讯股份有限公司 | Method, system and terminal for processing text messages in mobile multimedia broadcasting |
WO2011116554A1 (en) * | 2010-03-25 | 2011-09-29 | 中兴通讯股份有限公司 | Method, system and terminal for processing text information in mobile multimedia broadcast |
WO2012024947A1 (en) * | 2010-08-26 | 2012-03-01 | 惠州Tcl移动通信有限公司 | Method and device for displaying email information |
US8943418B2 (en) | 2010-08-26 | 2015-01-27 | Huizhou Tcl Mobile Communication Co., Ltd | Method and device for displaying information of email |
CN104007841A (en) * | 2014-06-12 | 2014-08-27 | 瞿照洋 | Chinese character coding and decoding method based on transmission of keyboard input interface |
CN104125336A (en) * | 2014-07-03 | 2014-10-29 | 珠海市君天电子科技有限公司 | Wireless network name repairing method and device |
CN104125336B (en) * | 2014-07-03 | 2016-07-27 | 珠海市君天电子科技有限公司 | The method and apparatus repairing wireless network name |
CN109039876A (en) * | 2018-09-19 | 2018-12-18 | 天津字节跳动科技有限公司 | Email processing method and device |
CN112217710A (en) * | 2020-09-02 | 2021-01-12 | 陕西贝思诺信息科技有限公司 | E-mail receiving and sending method based on POP3 protocol |
CN112217710B (en) * | 2020-09-02 | 2022-09-23 | 陕西贝思诺信息科技有限公司 | E-mail receiving and sending method based on POP3 protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201286115Y (en) | E-mail customer terminal and mobile communication terminal | |
KR100751396B1 (en) | System and method for auto conversion emoticon of SMS in mobile terminal | |
CN100419649C (en) | System and method for inserting a graphic object into a text based message | |
US8321518B2 (en) | Linking sounds and emoticons | |
US20060129633A1 (en) | Mechanism to facilitate customization of real time messaging using mobile devices | |
US6512448B1 (en) | Multilingual wireless messaging system | |
CN101640718B (en) | Mobile communication device having fast replying function of advertising short message and method | |
US20110312352A1 (en) | Free-hand mobile messaging-method and device | |
CN101350858B (en) | Method for decoding short message and user terminal | |
US8473280B2 (en) | System and methods for cost-effective bilingual texting | |
CN102111498B (en) | Electronic mail replying method and mobile terminal | |
CN101345952B (en) | Data storage and reading method, device and system for customer identity identification card | |
CN101621771B (en) | Method, device and system for processing short message encoding | |
CN112383888A (en) | Short message system, method and equipment | |
EP1262931A1 (en) | Improvements in text messaging | |
CN102281516B (en) | Short message processing method and short message processing terminal | |
CN1971595A (en) | System and method for merging e-mails | |
CN101651869A (en) | Mobile communication device and advertisement short message service reply method thereof | |
CN102970661A (en) | Method and device for code conversion of short messages | |
KR20000059275A (en) | MGMS; Multiple Graphic Message System and Service | |
CN101008994B (en) | System and method for editing theme of received e-mail | |
US20050070224A1 (en) | Method of using external electronic device on fixed platform to operate short messages through mobile communication device | |
KR101100307B1 (en) | Mobile communication terminal providing shortened mark and its operating method | |
CN102238095A (en) | Transcoding method, device and system | |
KR20050075621A (en) | Global sms(short message system)/mms(multimedia message system) internet transportation system supporting english, korean, japanese, chinese |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090805 Termination date: 20111020 |