CN101686568A - Methods and terminals for transmitting and displaying text information - Google Patents

Methods and terminals for transmitting and displaying text information Download PDF

Info

Publication number
CN101686568A
CN101686568A CN200810161443A CN200810161443A CN101686568A CN 101686568 A CN101686568 A CN 101686568A CN 200810161443 A CN200810161443 A CN 200810161443A CN 200810161443 A CN200810161443 A CN 200810161443A CN 101686568 A CN101686568 A CN 101686568A
Authority
CN
China
Prior art keywords
text
user
standard code
string
data bitmap
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.)
Granted
Application number
CN200810161443A
Other languages
Chinese (zh)
Other versions
CN101686568B (en
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.)
Global Innovation Polymerization LLC
Tanous Co
Original Assignee
Shenzhen Huawei Communication Technologies 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 Shenzhen Huawei Communication Technologies Co Ltd filed Critical Shenzhen Huawei Communication Technologies Co Ltd
Priority to CN 200810161443 priority Critical patent/CN101686568B/en
Publication of CN101686568A publication Critical patent/CN101686568A/en
Application granted granted Critical
Publication of CN101686568B publication Critical patent/CN101686568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses methods and terminals for transmitting and displaying text information. The method for transmitting the text information provided by the embodiment of the invention comprises the following steps: acquiring information edited by a user; converting a pattern customized by the user into a text string; transmitting the text string, wherein the information edited by the user comprises the pattern customized by the user, and the text string comprises an encode of the pattern and bitmap data of the pattern customized by the user. The pattern customized by the user is transmitted and displayed through the text string, therefore, the technical scheme is simple and feasible and easy to realize, has low requirement on a realization terminal, saves resources and improves the user experience.

Description

Method and terminal that method that text message transmits and terminal, text message show
Technical field
The present invention relates to communication technical field, be specifically related to method and terminal that method that text message transmits and terminal, text message show.
Background technology
In the prior art, the storage of Word message for convenience, transmission and demonstration adopt coding to represent literal, and the coded system of standard has GB2312, UNICODE etc.With UNICODE is example: Chinese character " in " UNICODE be encoded to 0x4E2D, in the process of storage and transmission, information transmit terminal will " in " convert the text-string that carries coding 0x4E2D to; Terminal when showing, according to the coding 0x4E2D in the text-string from the UNICODE character library, search " in " message bit pattern of word, display device according to this message bit pattern show " in " word.If canned data is fewer in the character library of terminal, being coded in the character library of receiving do not exist, and then this coding graph of a correspondence just can not show in terminal.And as hand-written signature literal etc., the mode of using text-string to carry coding can't show for user-defined figure.
The prior art that has realizes the transmission and the demonstration of user-defined figure by the multimedia message technology, and is complicated but the multimedia message technology realizes, the requirement of system than higher, is not easy to realize.
Summary of the invention
Method and terminal that the embodiment of the invention provides method that a kind of information transmits and terminal, information to show can realize the transmission and the demonstration of User Defined figure simply.The problem that can't show with coding graph of a correspondence information that the library stores information in the prior art of solving is less, transmit.
The method that the embodiment of the invention provides a kind of information to transmit comprises:
Gather the information that the user edits, the information that described user edits comprises: user-defined figure;
Convert described user-defined figure to text-string, described text-string comprises: the coding of described figure and the data bitmap of described user-defined figure;
Send described text-string.
The method that the embodiment of the invention provides a kind of information to show comprises: receive text-string, described text-string comprises: the data bitmap of the coding of User Defined figure and described User Defined figure;
Data bitmap according to described User Defined figure shows described user-defined figure.
The method that the embodiment of the invention also provides a kind of text message to transmit comprises:
Gather the information that the user edits, the information that described user edits comprises: user-defined figure;
Convert described user-defined figure to text-string, described text-string comprises: the coding of described user-defined figure;
Send described text-string.
The method that the embodiment of the invention also provides a kind of text message to show comprises:
Receive text-string, described text-string comprises: user-defined encoding of graphs;
Search the coding of described user-defined figure in local character library, if being coded in the local character library of described user-defined figure exists, then the data bitmap according to the coding correspondence of described figure shows described user-defined figure.
The terminal that the embodiment of the invention provides a kind of text message to transmit comprises:
Collecting unit is used to gather the information that the user edits, and the information that described user edits comprises: user-defined figure;
First converting unit is used for converting the user-defined figure of described collecting unit collection to text-string, and described text-string comprises: the coding of described user-defined figure and the data bitmap of described user-defined figure;
Transmitting element is used to send described text-string.
The terminal that the embodiment of the invention provides a kind of text message to show comprises:
Receiving element is used to receive text-string, and described text-string comprises: the coding of user-defined figure and the data bitmap of described user-defined figure;
Display unit is used for showing described figure according to the data bitmap of described user-defined figure.
The terminal that the embodiment of the invention also provides a kind of text message to transmit comprises:
Collecting unit is used to gather the information that the user edits, and the information that described user edits comprises: user-defined figure;
First converting unit is used for converting the user-defined figure of described collecting unit collection to text-string, and described text-string comprises: the coding of described user-defined figure;
Transmitting element is used to send described text-string.
The terminal that the embodiment of the invention also provides a kind of text message to show comprises:
Receiving element is used for receiving and deposits text-string, and described text-string comprises: user-defined encoding of graphs;
Search the unit, be used for searching the coding of described user-defined figure in local character library;
Display unit is used for when the local character library of being coded in of described user-defined figure exists, and the data bitmap of the coding correspondence of the described figure of foundation shows described user-defined figure.
A technical scheme of the embodiment of the invention, user's editing graph is converted to the text character string format of the data bitmap that comprises coding and figure, when showing, information, realized the transmission and the demonstration of user-defined figure directly according to the data bitmap display graphics content in the text-string.Can not use the self-defining information of text-string transmission user with respect to prior art, the embodiment of the invention can transmit and the self-defining figure of explicit user by text-string; And realize that user-defined figure transmits and show that the embodiment of the invention transmits and the self-defined figure of explicit user by text-string, and is simple by the multimedia message technology with respect to prior art, realize easily, to realizing that demanding terminal is not high, save resource, and improve user experience.
Description of drawings
Fig. 1 is that the text message that the embodiment of the invention provides transmits and demonstration embodiment one flow chart;
Fig. 2 is first kind of text character string format that the embodiment of the invention provides;
Fig. 3 is embodiment two flow charts that the text message that provides of the embodiment of the invention transmits and shows;
Fig. 4 is second kind of text character string format that the embodiment of the invention provides;
Fig. 5 is that the text message that the embodiment of the invention provides transmits and embodiment three flow charts that are earlier;
Fig. 6 is that the text message that provides of the embodiment of the invention transmits first of terminal and implements illustration;
Fig. 7 is that the text message that provides of the embodiment of the invention transmits second of terminal and implements illustration;
Fig. 8 is that first of the text message display terminal that provides of the embodiment of the invention is implemented illustration;
Fig. 9 is that second of the text message display terminal that provides of the embodiment of the invention is implemented illustration.
Embodiment
The embodiment of the invention provides a kind of method of text message transmission and the method that text message shows.The embodiment of the invention also provides the terminal of corresponding text information transmission and the terminal that text message shows.Below be elaborated respectively.
The embodiment of the invention is encoded to method and the terminal that method that information that the example explanation embodiment of the invention improves transmits and terminal, information show with UNICODE, but the realization principle of the embodiment of the invention and thought are not limited to and are applied to UNICODE coding, can be applicable to coded systems such as GB2312 yet.
Embodiment one
This embodiment comprises at the text-string of conversion: the data bitmap of encoding of graphs and this figure in the process that information shows, directly converts the data bitmap of this figure to graphical content and shows and get final product.This embodiment converts user's editing graph to comprise the coding and the data bitmap of figure text character string format, directly according to the data bitmap display graphics content in the text-string, has realized the transmission and the demonstration of user-defined figure during the information demonstration.The embodiment of the invention transmits and the self-defined figure of explicit user by text-string, and the embodiment of the invention is simple, realizes easily, to realizing that demanding terminal is not high, saves resource, and improves user experience.
For convenience, the terminal that the embodiment of the invention transmits flow process with execution information is called information and transmits terminal, and the terminal of the information of execution flow for displaying is called Message Display Terminal.
Fig. 1 is that the information that the embodiment of the invention provides transmits and demonstration embodiment one flow chart.
The information that step 101, collection user edit;
The graphical information that the user edits comprises: the user-defined figure that does not have standard code.
Step 102, the information translation that the user is edited become text-string;
The User Defined figure is converted to the text-string of the data bitmap that comprises coding and this figure.
The coding of user-defined figure specifically can be defined as: E000 to the F8FF section of Unicode coding, and this does not define any literal, and the coding that can be used as the graphical information that does not have standard code uses, and is used for representing to be inserted into the graphic symbol in the text.The form of expanded text character string is: graphic symbol encoded, is numbered E000+n respectively, and n=0,1,2,3 ...; Promptly first graphic symbol of Cha Ruing is encoded to E000, and second is encoded to E001, and the like.
Fig. 2 is first kind of text character string format that the embodiment of the invention provides.
The text character string format, from left to right, the Unicode coding of " XXXX " expression standard, E000, E001 are the codings of the graphical information that does not have standard code of insertion, " 0000 " is the terminating symbol of text character string encoding; The coding of the user-defined figure of storage in the remaining space of character string, and the data bitmap of this figure corresponding with it.The coding that the present embodiment text-string only carries user-defined figure with and data bitmap, " XXXX " of the Unicode coding of expression standard be empty or by the coding covering of user-defined figure; And the coding that the present embodiment text-string only carries user-defined figure with and data bitmap, the length of data bitmap partly is empty.
Data bitmap is: the graph data of this figure by pixel, vector representation.For example: dot matrix word library, dot matrix are a kind of forms of digitlization character library, and each font is formed with black and white picture element matrix; Vector font library, vector font library are preserved is descriptor to each Chinese character, such as a stroke initial, stop coordinate, radius, radian etc.
Step 103, transmission text-string;
Text message transmits terminal execution in step 101, step 102 and step 103, finishes the transmission of information, and text-string is sent to the text message display terminal by network, text message display terminal execution in step 104 and later step.
Step 104, reception text-string;
Text-string comprises: the data bitmap of the coding of User Defined figure and User Defined figure.The data bitmap of user-defined figure is: the graphical content of this graphical information by pixel, vector representation.For example: dot matrix word library, dot matrix are a kind of forms of digitlization character library, and each font is formed with black and white picture element matrix; Vector font library, vector font library are preserved is descriptor to each Chinese character, such as a stroke initial, stop coordinate, radius, radian etc.Execution in step 106.
Step 105, according to the self-defining figure of data bitmap explicit user;
According to the self-defining figure of data bitmap explicit user that receives.
As one embodiment of the present of invention, the information of editing as the user also comprises: when having the text of standard code, the information translation that described step 102 is edited the user becomes in the text-string, further the text-converted that the user is edited becomes text-string, has " XXXX " of the Unicode coding of expression standard in the text-string of first kind of form.
Accordingly, receive when comprising text with standard code at the text message display terminal, the text display terminal before execution in step 105, execution in step also: search the local character library data bitmap corresponding with standard code according to the standard code of text; Step 105 shows the text with standard code simultaneously.
Because text that the user edit and user-defined figure are changed and shown simultaneously, enlarge the text message transmission that present embodiment proposes and the range of application of display packing.
As one embodiment of the present of invention, add the length of data bitmap in the text-string, make text character string conveniently check in the process of storage and transmission and demonstration.
Embodiment two
This embodiment, in the transmission course of text message, text-string includes only: the coding of user-defined figure and/or have the standard code of the text of standard code.When display message, if there is not the data bitmap of above-mentioned coding correspondence in the local character library, then sends and ask for data bitmap message, show that according to the data bitmap that gets access to corresponding user-defined figure is or/and text again.The content that present embodiment, text-string carry takies less Internet resources with respect to embodiment one minimizing, when not having this coding in the character library of text display terminal, sends and asks for the corresponding data bitmap message of this coding, so that demonstration.And the non-existent coding and the corresponding data bitmap of should encoding are expanded local character library in the local character library of text display terminal storage, keep transmitting with text the consistency of terminal data bitmap at any time, conveniently the transmission and the demonstration of user-defined figure or text.
Fig. 3 is the second embodiment flow chart that the information that provides of the embodiment of the invention transmits and shows.
The information that step 201, collection user edit;
The graphical information that the user edits comprises: user-defined figure.
Step 202, the information translation that the user is edited become text-string;
The User Defined figure is converted to the text-string that comprises coding.
Wherein, the coding of user-defined figure specifically can be defined as: E000 to the F8FF section of Unicode coding, this section does not define any literal, and the coding that can be used as the graphical information that does not have standard code uses, and is used for representing to be inserted into the graphic symbol in the text.The form of expanded text character string is: graphic symbol encoded, is numbered E000+n respectively, and n=0,1,2,3 ...; Promptly first graphic symbol of Cha Ruing is encoded to E000, and second is encoded to E001, and the like.
Fig. 4 is second kind of text character string format that the embodiment of the invention provides.
The text character string format, from left to right, the Unicode coding of " XXXX " expression standard, " E000 " and " E001 " is the coding of the user-defined figure of insertion, " 0000 " is the terminating symbol of string encoding.The present embodiment text-string only carries user-defined coding, and " XXXX " field of the Unicode coding of expression standard be empty or by the coding covering of user-defined figure.
Step 203, transmission text-string.
Information transmits the transmission that terminal execution in step 201, step 202 and step 203 are finished information, and information is sent to the text message display terminal by network, execution in step 203, step 204 and step 205.
Step 204, reception text-string;
Text-string comprises: the coding of User Defined figure.
Step 205, in local character library, search coding;
In local character library, search the coding of user-defined figure and have the standard code of the text of standard code.If above-mentioned being coded in the local character library exists, then direct execution in step 206.
Step 206, according to the self-defining figure of data bitmap explicit user;
According in the local character library with the coding of user-defined figure.
As one embodiment of the present of invention, if the information that the user edits also comprises: text with standard code; So, the text-converted that text message transmission terminal is further edited the user becomes text-string, has " XXXX " field of the Unicode coding of expression standard in the text-string of second kind of form.
Carry the coding of text in the text-string that corresponding text Message Display Terminal receives with standard code, the text message display terminal is searched the standard code of the text with standard code simultaneously in local character library, and shows the text with standard code according to the data bitmap of the standard code correspondence that exists in the local character library.
Because text that the user edit and user-defined figure are changed and shown simultaneously, enlarge the text message transmission that present embodiment proposes and the range of application of display packing.
As one embodiment of the present of invention, add the length of data bitmap in the text-string, make text character string conveniently check in the process of storage and transmission and demonstration.
As one embodiment of the present of invention, or/and have the standard code of the text of standard code and do not exist in local character library, then execution in step 207 at the coding of searching user-defined figure for the text message display terminal.The embodiment of the invention provides step 207,208,209,210, guarantees that when there was not corresponding data bitmap in the local character library of text display terminal, the information of transmission can normally show, the range of application of expansion project and increase user's experience.
The message of data bitmap is asked in step 207, transmission;
The text message display terminal transmits terminal to text message and sends the message of asking for data bitmap.Text message transmits terminal execution in step 208, step 209.
Step 208, receive and to ask for the data bitmap of user-defined figure or/and have the message of data bitmap of the text of standard code;
The data bitmap of step 209, the user-defined figure of transmission is or/and have the data bitmap of the text of standard code;
Text message display terminal execution in step 210 and step 211.
The data bitmap of step 210, the user-defined figure of reception is or/and have the data bitmap of the text of standard code;
This data bitmap be with local character library in the data bitmap of non-existent coding graph of a correspondence information.Step 206, further according to the data bitmap of the user-defined figure that receives or/and have the self-defining figure of data bitmap explicit user and the text of the text of standard code.
As one embodiment of the present of invention, be convenient data bitmap by this figure of coding lookup or text.
The text message that the embodiment of the invention provides transmits and display packing also comprises:
Step 211, with the data bitmap of user-defined figure or/and have the coding of the data bitmap of text of standard code and user-defined figure or/and have the standard code corresponding stored of the text of standard code.
The data bitmap corresponding stored of the coding of user-defined figure and this user-defined figure has the standard code of text of standard code and the data bitmap corresponding stored of this text with standard code.Need to prove: information transmits at two terminal rooms, has conversation procedure between two terminals, and can there be certain hour in this conversation procedure; Non-existent coding and corresponding data bitmap thereof can exist in this conversation procedure in the local character library of terminal storage.Behind this conversation end, the non-existent coding of script may be defined as the new user-defined figure or the coding of text in the local character library of terminal.The embodiment of the invention also provides the terminal of using said method.
Embodiment three
This embodiment text message transmission terminal when the text message display terminal transmits text-string, adopts first kind of text character string format for the first time, and the text message display terminal is preserved non-existent encoding of graphs and corresponding data bitmap thereof in the local character library; When text message transmits terminal and sends the identical data bitmap of identical encoding of graphs correspondence once more, adopt second kind of text character string format, the text message display terminal is searched local character library, if the encoding of graphs and the corresponding data bitmap thereof that do not exist text-string to carry then transmit terminal to text-string and send the message of asking for data bitmap.
Text information transmits terminal for the first time when the text message display terminal sends text-string, carry data bitmap, when sending the corresponding identical data bitmap of identical encoding of graphs once more, text-string no longer carries data bitmap, reduce the data bitmap translation burden that text message transmits terminal, and reduce the size of data of carrying of text-string, reduce in the transmission course taking too much bandwidth, thereby reduce network burden.
As shown in Figure 5, embodiment of the invention text message transmission that provides and embodiment three flow charts that are earlier;
Step 301, text message transmit terminal and gather the information that the user edits;
The graphical information that the user edits comprises: have the text of standard code and do not have the user-defined figure of standard code.
Step 302, text message transmit terminal the information translation that the user edits are become text-string;
Information according to the user who collects edits if only comprise the text with standard code, then converts the text to the text-string that comprises standard code; If the information that the user edits includes only the user-defined figure that does not have standard code, then the User Defined figure is converted to the text-string of the data bitmap that comprises coding and this figure; If the information that the user edits includes the text of standard code and does not have the user-defined figure of standard code, the information translation of then this user being edited becomes to comprise: the coding that the text of standard code is arranged, and, the coding of User Defined figure and the data bitmap of this self-defined figure.
Wherein, the coding of user-defined figure specifically can be defined as: E000 to the F8FF section of Unicode coding, this does not define any literal, and the coding that can be used as the graphical information that does not have standard code uses, and is used for representing to be inserted into the graphic symbol in the text.The form of expanded text character string is: graphic symbol encoded, is numbered E000+n respectively, and n=0,1,2,3 ...; Promptly first graphic symbol of Cha Ruing is encoded to E000, and second is encoded to E001, and the like.
This embodiment text message transmits terminal when the data bitmap of coding that transmits user-defined figure for the first time and correspondence thereof, uses first kind of text character string format, carries the data bitmap of user-defined figure.When the data bitmap of coding that transmits identical user-defined figure for the second time and correspondence thereof, use text character string format shown in Figure 4, the text-string that text message transmits the terminal transmission includes only: the coding of user-defined figure.
Step 303, text message transmit terminal and send text-string;
Text-string is sent to the text message display terminal by network.
Step 304, text message display terminal receive text-string;
Execute routine text message and transmit terminal when the data bitmap of coding that transmits user-defined figure for the first time and correspondence thereof, the text-string of the reception during text message transmits comprises: the data bitmap of the coding of User Defined figure and User Defined figure.When the data bitmap of coding that transmits identical user-defined figure for the second time and correspondence thereof, the text-string of the reception during text message transmits comprises: the coding of User Defined image.Simultaneously, the text-string that receives of text message display terminal also may comprise the coding of the figure with standard code.The data bitmap of the user-defined figure of text is: the graphical content of this graphical information by pixel, vector representation.For example: dot matrix word library, dot matrix are a kind of forms of digitlization character library, and each font is formed with black and white picture element matrix; Vector font library, vector font library are preserved is descriptor to each Chinese character, such as a stroke initial, stop coordinate, radius, radian etc.
Step 305, text message display terminal are searched coding in local character library;
In local character library, search the coding of user-defined figure and have the standard code of the text of standard code.If above-mentioned being coded in the local character library exists, then direct execution in step 310.For the text-string of the first kind of form of employing that receives, if above-mentioned coding has any coding not exist, then execution in step 311, simultaneously execution in step 310.For the text-string of the second kind of form of employing that receives, if above-mentioned coding has arbitrary coding not exist, then execution in step 306.
Step 306, text message display terminal send the message of asking for data bitmap;
The text message display terminal transmits terminal to text message and sends the message of asking for data bitmap.
This data bitmap may be the data bitmap of user-defined figure, also may be the data bitmap of non-existent standard code correspondence on the text display terminal.
Step 307, text message transmit terminal and receive and ask for the data bitmap of user-defined figure or/and have the message of data bitmap of the text of standard code;
Text message transmits terminal when converting user-defined figure to text-string, preserves the data bitmap of this user-defined figure.
Step 308, text message transmit terminal and send the data bitmap of user-defined figure or/and have the data bitmap of the text of standard code;
Step 309, text message display terminal receive the data bitmap of user-defined figure or/and have the data bitmap of the text of standard code;
This data bitmap be with local character library in the data bitmap of non-existent coding graph of a correspondence information.
Step 310, according to the self-defining figure of data bitmap explicit user or/and text;
According in the local character library with the coding of user-defined figure or/and have the corresponding data bitmap of standard code of the text of standard code, or transmit user-defined figure that data bitmap that terminal sends shows that non-existent coding is corresponding in the local character library or/and text according to text message.
Step 311, with the data bitmap of user-defined figure or/and have the coding of the data bitmap of text of standard code and user-defined figure or/and have the standard code corresponding stored of the text of standard code.
The data bitmap corresponding stored of the coding of user-defined figure and this user-defined figure has the standard code of text of standard code and the data bitmap corresponding stored of this text with standard code; Convenient data bitmap by this figure of coding lookup or text.
Need to prove: information transmits at two terminal rooms, has conversation procedure between two terminals, and can there be certain hour in this conversation procedure; Non-existent coding and corresponding data bitmap thereof can exist in this conversation procedure in the local character library of terminal storage.Behind this conversation end, the non-existent coding of script may be defined as the new user-defined figure or the coding of text in the local character library of terminal.The embodiment of the invention also provides the terminal of using said method.
Fig. 6 is that the information that provides of the embodiment of the invention transmits first of terminal and implements illustration.
This embodiment converts user's editing graph to comprise the coding and the data bitmap of figure text character string format, has realized the transmission of user-defined figure.The embodiment of the invention transmits and the self-defined figure of explicit user by text-string, and the embodiment of the invention is simple, realizes easily, to realizing that demanding terminal is not high, saves resource, and improves user experience.
Text message transmits terminal and comprises:
Collecting unit 510 is used to gather the information that the user edits, and the information that described user edits comprises: user-defined figure;
First converting unit 521 is used for converting the user-defined figure of described collecting unit collection to text-string, and described text-string comprises: the coding of described user-defined figure and the data bitmap of described user-defined figure;
Transmitting element 530 is used to send described text-string.
Further, described text transmission terminal also comprises: second converting unit 522;
The information that the user that described collecting unit 510 is gathered edits also comprises: the text with standard code;
Described second converting unit 522 is used for the text-converted that described user edits is become text-string, and described text-string also comprises: the standard code of the text that described user edits.
This embodiment text transmits terminal increases by second converting unit, the standard code of converting users editor's text simultaneously, text transmits terminal not only can be used for the self-defining figure of converting users, the standard code of text that simultaneously can the converting users editor increases the range of application that text transmits terminal.
According to method embodiment, the present invention also provides second embodiment of the terminal of text message transmission.
Fig. 7 is that the text message that provides of the embodiment of the invention transmits second of terminal and implements illustration;
Text message transmits second embodiment of terminal with respect to embodiment one, the text-string that transmitting element sends includes only the coding of User Defined figure and has the coding of the text of standard code, when receive that the text display terminal sends ask for data bitmap message the time, just send data bitmap to the text display terminal.The content that the text-string that the terminal that transmits present embodiment, text message transmits carries has reduced the Internet resources that take.
The terminal that a kind of text message transmits comprises:
Collecting unit 510 is used to gather the information that the user edits, and the information that described user edits comprises: user-defined figure;
First converting unit 521 is used for converting the user-defined figure of described collecting unit collection to text-string, and described text-string comprises: the coding of described user-defined figure;
Transmitting element 530 is used to send described text-string.
Further, the terminal of described text message transmission also comprises: second converting unit 522;
The information that the user that described collecting unit 510 is gathered edits also comprises: the text with standard code;
Described second converting unit 522, the user becomes text-string with the text-converted with standard code of described collecting unit collection, and described text-string also comprises: the standard code of the text that described user edits.
This embodiment text transmits terminal increases by second converting unit, the standard code of converting users editor's text simultaneously, text transmits terminal not only can be used for the self-defining figure of converting users, the standard code of text that simultaneously can the converting users editor increases the range of application that text transmits terminal.
After the information translation that text message transmission terminal will be used to edit becomes text-string, preserve the data bitmap of user-defined figure simultaneously.
Further, the terminal of described information transmission also comprises:
Message sink unit 540 is used to receive the data bitmap of asking for described user-defined figure or/and the message of the data bitmap of described text with standard code;
Data transmission unit 550 is used to send the data bitmap of described user-defined figure or/and described data bitmap with text of standard code.
According to the description of method, the terminal that the embodiment of the invention provides text message to show.
Fig. 8 is that first of the text message display terminal that provides of the embodiment of the invention is implemented illustration.
This embodiment information terminal directly according to the data bitmap display graphics content in the text-string, has been realized the demonstration of user-defined figure when information shows.The embodiment of the invention is by the self-defined figure of text-string explicit user, and the embodiment of the invention is simple, realizes easily, to realizing that demanding terminal is not high, saves resource, and improves user experience.
The terminal that a kind of text message shows comprises:
Receiving element 610 is used to receive text-string, and described text-string comprises: the coding of user-defined figure and the data bitmap of described user-defined figure;
Display unit 620 is used for showing described figure according to the data bitmap of described user-defined figure.
Further, described text message display terminal also comprises: search unit 630;
The text-string that described receiving element 610 receives also comprises: the standard code of the text that the user edits;
The local character library data bitmap corresponding with described standard code searched according to the standard code of described text in the described unit 630 of searching;
Described display unit 620 is used for searching the data bitmap that the unit finds and showing described text according to described.
The unit is searched in this embodiment text terminal increase before this, search the standard code of the text that the user edits simultaneously, the text display terminal not only can be used for the self-defining figure of explicit user, and the standard code of text that simultaneously can the explicit user editor increases the range of application of text display terminal.
According to method embodiment, the present invention also provides second embodiment of the terminal of text message demonstration.
Fig. 9 is that second of the text message display terminal that provides of the embodiment of the invention is implemented illustration;
Second embodiment of text message display terminal is with respect to embodiment one, the text-string that receiving element receives includes only the coding of User Defined figure or/and have the coding of the text of standard code, when the coding that do not exist in the local character library in the text-string, message sending unit sends asks for data bitmap message, the content that text-string carries takies less Internet resources with respect to embodiment one minimizing.And the corresponding data bitmap of non-existent coding in the local character library of the cell stores of text display terminal, maintenance and text transmit the consistency of terminal data bitmap at any time, the transmission and the demonstration of convenient user-defined figure or text.
The terminal that a kind of text message shows comprises:
Receiving element 610 is used for receiving and deposits text-string, and described text-string comprises: user-defined encoding of graphs;
Search unit 630, be used for searching the coding of described user-defined figure in local character library;
Display unit 620 is used for when the local character library of being coded in of described user-defined figure exists, and then the data bitmap of the coding correspondence of the described figure of foundation shows described user-defined figure.
Further, the text-string of described receiving element reception 610 also comprises: the text with standard code;
Described standard code with text of standard code is further searched in local character library in the described unit 630 of searching;
Described display unit, when searching the unit and searching described standard code and exist in local character library, then the data bitmap according to described standard code correspondence shows described text with standard code described.
Further, described text message display terminal also comprises:
Message sending unit 640, be used for searching the coding of described user-defined figure or/and described standard code with text of standard code does not exist in local character library, send the data bitmap ask for described user-defined figure or/and the message of the data bitmap of described text with standard code in the described unit of searching;
Data Receiving unit 650, be used to receive described user-defined figure data bitmap or/described data bitmap with text of standard code;
Display unit 620, be used for according to the data bitmap of described user-defined figure or/the self-defining figure of data bitmap explicit user of described text with standard code is or/and described text with standard code.
As one embodiment of the present of invention, message sending unit is asked for non-existent data bitmap in the local character library, the Data Receiving unit receives this data bitmap, guarantee when there is not corresponding data bitmap in the local character library of text display terminal, the information that transmits can normally show, the range of application of expansion project and increase user's experience.
Further, described text message display terminal also comprises:
Memory cell 660, described search the unit search described user-defined figure coding or/and described standard code with text of standard code in local character library, do not exist, described Data Receiving unit receive described user-defined figure data bitmap or/data bitmap of described text with standard code with the data bitmap of described user-defined figure or/and the coding of the data bitmap of described text with standard code and described user-defined figure or/and have the standard code corresponding stored of the text of standard code.
This embodiment text message display terminal increases memory cell, it is convenient when user-defined figure is used again, the text message display terminal can directly be searched the data bitmap that local character library is sought this user-defined figure, needn't send the message of asking for data bitmap again, reduce the terminal processes flow process, convenient quick videotex information.
More than text message that the embodiment of the invention provided is transmitted and the method that shows and text message transmit and the terminal that shows is described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (24)

1, a kind of method of text message transmission is characterized in that, comprising:
Gather the information that the user edits, the information that described user edits comprises: user-defined figure;
Convert described user-defined figure to text-string, described text-string comprises: the coding of described figure and the data bitmap of described user-defined figure;
Send described text-string.
2, the method for text message transmission according to claim 1 is characterized in that,
The information that described user edits also comprises: the text with standard code;
Further comprise after the information that described collection user edits: the text-converted that described user is edited becomes text-string, and described text-string also comprises: the standard code of the text that described user edits.
3, the method for text message transmission according to claim 1 and 2 is characterized in that described text-string also comprises: the length of the data bitmap of described user-defined figure.
4, a kind of method of text message demonstration is characterized in that, comprising:
Receive text-string, described text-string comprises: the data bitmap of the coding of User Defined figure and described User Defined figure;
Data bitmap according to described User Defined figure shows described user-defined figure.
5, the method for text message demonstration according to claim 4 is characterized in that,
The text-string of described reception also comprises: the standard code of the text that the user edits;
After the described reception text-string, also comprise:
Standard code according to described text is searched the local character library data bitmap corresponding with described standard code;
Show described text according to the data bitmap corresponding in the described local character library with described standard code.
6, according to the method for claim 4 or 5 described text messages demonstrations, it is characterized in that described text-string also comprises: the length of the data bitmap of described User Defined figure.
7, a kind of method of text message transmission is characterized in that, comprising:
Gather the information that the user edits, the information that described user edits comprises: user-defined figure;
Convert described user-defined figure to text-string, described text-string comprises: the coding of described user-defined figure;
Send described text-string.
8, the method for text message transmission according to claim 7 is characterized in that the information that described user edits also comprises: the text with standard code;
Further comprise after the information that described collection user edits: the text-converted that described user is edited becomes text-string, and described text-string comprises: the standard code of the text that described user edits.
9, the method for text message transmission according to claim 8 is characterized in that, also comprises behind the described text-string of described transmission:
Reception is asked for the data bitmap of described user-defined figure or/and the message of the data bitmap of described text with standard code;
The data bitmap that sends described user-defined figure is or/and described data bitmap with text of standard code.
10, a kind of method of text message demonstration is characterized in that, comprising:
Receive text-string, described text-string comprises: user-defined encoding of graphs;
Search the coding of described user-defined figure in local character library, if being coded in the local character library of described user-defined figure exists, then the data bitmap according to the coding correspondence of described figure shows described user-defined figure.
11, the method for text message demonstration according to claim 10, it is characterized in that: the text-string of described reception also comprises: the text with standard code;
After the described reception text-string, also comprise:
Search described standard code in local character library with text of standard code; If described standard code exists in local character library, then the data bitmap according to described standard code correspondence shows described text with standard code.
12, the method for text message demonstration according to claim 11 is characterized in that described method also comprises:
If the coding of described user-defined figure sends the data bitmap of asking for described user-defined figure or/and the message of the data bitmap of described text with standard code or/and described standard code with text of standard code does not exist in local character library;
The data bitmap that receives described user-defined figure is or/and described data bitmap with text of standard code;
According to the data bitmap of described user-defined figure or/the self-defining figure of data bitmap explicit user of described text with standard code is or/and described text with standard code.
13, the method for text message demonstration according to claim 12, it is characterized in that, at the data bitmap of the described user-defined figure of described foundation or/and the self-defining figure of data bitmap explicit user of described text with standard code or/and behind the described text with standard code, described method also comprises:
With the data bitmap of described user-defined figure or/and the coding of the data bitmap of described text with standard code and described user-defined figure or/and described standard code corresponding stored with text of standard code.
14, a kind of terminal of text message transmission is characterized in that, comprising:
Collecting unit is used to gather the information that the user edits, and the information that described user edits comprises: user-defined figure;
First converting unit is used for converting the user-defined figure of described collecting unit collection to text-string, and described text-string comprises: the coding of described user-defined figure and the data bitmap of described user-defined figure;
Transmitting element is used to send described text-string.
15, the terminal of text message transmission according to claim 14 is characterized in that, described text message transmits terminal and also comprises: second converting unit;
The information that the user of described collecting unit collection edits also comprises: the text with standard code;
Described second converting unit is used for the text-converted that described user edits is become text-string, and described text-string also comprises: the standard code of the text that described user edits.
16, a kind of terminal of text message demonstration is characterized in that, comprising:
Receiving element is used to receive text-string, and described text-string comprises: the coding of user-defined figure and the data bitmap of described user-defined figure;
Display unit is used for showing described figure according to the data bitmap of described user-defined figure.
17, text message display terminal according to claim 16 is characterized in that, described text message display terminal also comprises: search the unit;
The text-string that described receiving element receives also comprises: the standard code of the text that the user edits;
The described unit of searching is used for searching the local character library data bitmap corresponding with described standard code according to the standard code of described text;
Described display unit is used for searching the data bitmap that the unit finds and showing described text according to described.
18, a kind of terminal of text message transmission is characterized in that, comprising:
Collecting unit is used to gather the information that the user edits, and the information that described user edits comprises: user-defined figure;
First converting unit is used for converting the user-defined figure of described collecting unit collection to text-string, and described text-string comprises: the coding of described user-defined figure;
Transmitting element is used to send described text-string.
19, the terminal of text message transmission according to claim 18 is characterized in that, the terminal that described text message transmits also comprises: second converting unit;
The information that the user of described collecting unit collection edits also comprises: the text with standard code;
Described second converting unit is used for the text-converted with standard code of described collecting unit collection is become text-string, and described text-string also comprises: the standard code of the text that described user edits.
20, the terminal of text message transmission according to claim 19 is characterized in that, the terminal that described information transmits also comprises:
The message sink unit is used to receive the data bitmap of asking for described user-defined figure or/and the message of the data bitmap of described text with standard code;
Data transmission unit is used to send the data bitmap of described user-defined figure or/and described data bitmap with text of standard code.
21, a kind of terminal of text message demonstration is characterized in that, comprising:
Receiving element is used for receiving and deposits text-string, and described text-string comprises: user-defined encoding of graphs;
Search the unit, be used for searching the coding of described user-defined figure in local character library;
Display unit is used for when the local character library of being coded in of described user-defined figure exists, and the data bitmap of the coding correspondence of the described figure of foundation shows described user-defined figure.
22, text message display terminal according to claim 21 is characterized in that, the text-string that described receiving element receives also comprises: the text with standard code;
The described unit of searching also is used for searching described standard code with text of standard code in local character library;
Described display unit described when searching the unit and searching described standard code and exist, shows described text with standard code according to the data bitmap of described standard code correspondence in local character library.
23, text message display terminal according to claim 22 is characterized in that, described text message display terminal also comprises:
Message sending unit, be used for searching the message that the coding of described user-defined figure data bitmap of described text with standard code or/and the standard code of described text with standard code when local character library does not exist, sends the data bitmap of asking for described user-defined figure is searched in the unit described;
The Data Receiving unit is used to receive the data bitmap of described user-defined figure or/and described data bitmap with text of standard code;
Display unit, be used for according to the data bitmap of described user-defined figure or/the self-defining figure of data bitmap explicit user of described text with standard code is or/and described text with standard code.
24, the terminal of text message demonstration according to claim 23 is characterized in that described text message display terminal also comprises:
Memory cell, described search the unit search described user-defined figure coding or/and described standard code with text of standard code in local character library, do not exist, and described Data Receiving unit receives the data bitmap of described user-defined figure or/and during the data bitmap of described text with standard code, with the data bitmap of described user-defined figure or/and the coding of the data bitmap of described text with standard code and described user-defined figure or/and have the standard code corresponding stored of the text of standard code.
CN 200810161443 2008-09-25 2008-09-25 Methods and terminals for transmitting and displaying text information Active CN101686568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810161443 CN101686568B (en) 2008-09-25 2008-09-25 Methods and terminals for transmitting and displaying text information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810161443 CN101686568B (en) 2008-09-25 2008-09-25 Methods and terminals for transmitting and displaying text information

Publications (2)

Publication Number Publication Date
CN101686568A true CN101686568A (en) 2010-03-31
CN101686568B CN101686568B (en) 2013-06-05

Family

ID=42049450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810161443 Active CN101686568B (en) 2008-09-25 2008-09-25 Methods and terminals for transmitting and displaying text information

Country Status (1)

Country Link
CN (1) CN101686568B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345493A (en) * 2013-06-27 2013-10-09 广州市动景计算机科技有限公司 Method, device and system for text content displaying on mobile terminal
CN104580315A (en) * 2013-10-24 2015-04-29 北京慧眼智行科技有限公司 Resource sharing method and system
CN106569984A (en) * 2015-10-10 2017-04-19 北京新美互通科技有限公司 Method, apparatus, and system for generating and transmitting color word stock automatically
WO2018149257A1 (en) * 2017-02-17 2018-08-23 北京京东尚科信息技术有限公司 Method, system, and device for displaying text

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4136066B2 (en) * 1998-05-11 2008-08-20 パイオニア株式会社 Document data creation device and character display device
KR100631680B1 (en) * 2004-03-17 2006-10-09 엘지전자 주식회사 Text message handwriting input display device and method of mobile terminal
CN100461155C (en) * 2006-04-06 2009-02-11 华为技术有限公司 Method and system for inputting and displaying character
CN100590705C (en) * 2007-03-30 2010-02-17 深圳创维数字技术股份有限公司 Method for realizing multiple font size with the point array library

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345493A (en) * 2013-06-27 2013-10-09 广州市动景计算机科技有限公司 Method, device and system for text content displaying on mobile terminal
WO2014206108A1 (en) * 2013-06-27 2014-12-31 广州市动景计算机科技有限公司 Method, apparatus and system for displaying text contents on mobile terminal
CN103345493B (en) * 2013-06-27 2016-12-07 广州市动景计算机科技有限公司 Method that content of text on mobile terminal shows, Apparatus and system
CN104580315A (en) * 2013-10-24 2015-04-29 北京慧眼智行科技有限公司 Resource sharing method and system
CN104580315B (en) * 2013-10-24 2018-05-04 北京慧眼智行科技有限公司 A kind of resource share method and system
CN106569984A (en) * 2015-10-10 2017-04-19 北京新美互通科技有限公司 Method, apparatus, and system for generating and transmitting color word stock automatically
CN106569984B (en) * 2015-10-10 2020-06-16 北京新美互通科技有限公司 Method, device and system for automatically generating and transmitting color word stock
WO2018149257A1 (en) * 2017-02-17 2018-08-23 北京京东尚科信息技术有限公司 Method, system, and device for displaying text
CN108459833A (en) * 2017-02-17 2018-08-28 北京京东尚科信息技术有限公司 Mthods, systems and devices for display text
CN108459833B (en) * 2017-02-17 2021-10-01 北京京东尚科信息技术有限公司 Method, system and apparatus for displaying text
US11620436B2 (en) 2017-02-17 2023-04-04 Beijing Jingdong Shangke Information Technology Co., Ltd. Method for dynamically displaying text, apparatus, medium, and system

Also Published As

Publication number Publication date
CN101686568B (en) 2013-06-05

Similar Documents

Publication Publication Date Title
US8311527B2 (en) Mobile communication terminal, server, system and method for message service with font data
CN108270926B (en) Apparatus and method for transmitting and receiving handwriting animation message
CN104917764A (en) Multimedia service pushing method and system based on two-dimensional code
CN108337236A (en) A kind of gRPC call methods and device based on Protobuf and HTTP/1.1
WO2017054597A1 (en) Processing method and device for emoji string
CN105450232A (en) Encoding method, decoding method, encoding device and decoding device
CN103067441B (en) Method, device and the equipment that a kind of picture is shared
US8656055B2 (en) Protocol wrapper and serializer/deserializer for facilitating data exchanges
CN101526963A (en) Method for identifying web page coding, device and terminal equipment
CN101686568B (en) Methods and terminals for transmitting and displaying text information
CN102541926B (en) Data exchange processing method, equipment and system
CN105207886A (en) Instant messaging (IM) message sending and display methods, IM message sending and display devices, and IM message system
CN103532959A (en) Cross-platform network communication method
CN111859210B (en) Image processing method, device, equipment and storage medium
CN112581568B (en) Dynamic poster generation method, device, server and storage medium
CN109614592B (en) Text processing method and device, storage medium and electronic equipment
CN106878145B (en) Display method, display device and display system of user-defined picture
CN100505627C (en) Method for realizing dynamic text information
CN105704215B (en) Shared file system and corresponding document sending method and device
CN113382086B (en) Document transmission method and device, electronic equipment and computer program product
CN101110979B (en) Method, device and system for message transmission
US20230024148A1 (en) Data processing methods and systems, and electronic devices
CN112383888A (en) Short message system, method and equipment
CN109145239B (en) Multi-platform screenshot sharing method based on subject game and electronic equipment
CN103488618B (en) Text message transfer approach and system, text message display packing and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171101

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: Huawei terminal (Dongguan) Co.,Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171208

Address after: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee before: Huawei terminal (Dongguan) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180212

Address after: California, USA

Patentee after: Global innovation polymerization LLC

Address before: California, USA

Patentee before: Tanous Co.

Effective date of registration: 20180212

Address after: California, USA

Patentee after: Tanous Co.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right