CN106445478A - Graphic expression conversion method and apparatus - Google Patents
Graphic expression conversion method and apparatus Download PDFInfo
- Publication number
- CN106445478A CN106445478A CN201510493028.8A CN201510493028A CN106445478A CN 106445478 A CN106445478 A CN 106445478A CN 201510493028 A CN201510493028 A CN 201510493028A CN 106445478 A CN106445478 A CN 106445478A
- Authority
- CN
- China
- Prior art keywords
- facial expressions
- picture
- graphical facial
- unicode
- converted
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Embodiments of the invention disclose a graphic expression conversion method and apparatus, which is used for enabling sent graphic expressions to be widely and conveniently identified and displayed by various systems. The method disclosed by the embodiment of the invention comprises the steps of obtaining to-be-converted graphic expressions, wherein each to-be-converted graphic expression corresponds to a unicode; converting each graphic expression in the to-be-converted graphic expressions into a picture, wherein each picture has an identifier used for uniquely determining the picture; and establishing a corresponding relationship between the unicode corresponding to each graphic expression and the identifier of the picture obtained by converting the graphic expression.
Description
Technical field
The present invention relates to communication field, more particularly, to a kind of conversion method of graphical facial expressions and device.
Background technology
The symbol of the help more accurate expressing information of people that network expression is used when referring to exchange on the internet
Number and picture.At present in addition to common symbol expression and picture expression, have also appeared graphical facial expressions, example
As originated from the emoji expression of Japan, wherein, the translator of Chinese of emoji is to paint word, is Japan no
Visual emotion symbol used in line communication, paints and means figure, word is then the metaphor of figure, can use
To represent multiple expressions, to laugh at as smiling face represents, cake represents food etc..
However, due to Ge great operator fail standardized graphics emoticon so that newly developed go out figure
Emoticon only could be identified in the system of developer's certification, if this graphical facial expressions is sent to it
His system, the meeting showing is mess code, rather than user wants the graphical facial expressions of transmission.For example, exist
The emoji expression issued in the recent systems of IOS (Mobile operating system of Apple), sends
Afterwards, the IOS system being just only all latest edition is capable of identify that, be sent to ARIXTRA, Microsoft etc. other
System, or even it is sent to the system of the relatively lowest version of IOS, all can not identify.
Content of the invention
Embodiments provide a kind of conversion method of graphical facial expressions and device so that send figure
Expression extensively easily can be identified by multiple systems and show.
A kind of conversion method of graphical facial expressions, including:
Obtain graphical facial expressions to be converted, wherein, each graphical facial expressions to be converted corresponds to a Unicode
Unicode;
Each graphical facial expressions in described graphical facial expressions to be converted are respectively converted into picture, each graphical facial expressions
The display effect of the picture being converted to is identical with the display effect of this graphical facial expressions, each picture have for
Uniquely determine the mark of this picture;
Set up the corresponding Unicode of each graphical facial expressions corresponding with the mark of the picture that this graphical facial expressions is converted to
Relation.
A kind of conversion equipment of graphical facial expressions, including:
Acquisition module, for obtaining graphical facial expressions to be converted, wherein, each graphical facial expressions to be converted
A corresponding Unicode Unicode;
Modular converter, for being respectively converted into figure by each graphical facial expressions in described graphical facial expressions to be converted
Piece, the display effect of the picture that each graphical facial expressions are converted to is identical with the display effect of this graphical facial expressions, often
Individual picture has for unique mark determining this picture;
Set up module, for setting up the figure that the corresponding Unicode of each graphical facial expressions is converted to this graphical facial expressions
The corresponding relation of the mark of piece.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:The embodiment of the present invention
Middle first by obtain graphical facial expressions to be converted be respectively converted into picture, resettle the unification of each graphical facial expressions
The corresponding relation of the mark of picture that code is converted to this graphical facial expressions, because Unicode can uniquely determine one
Individual graphical facial expressions, and identify and can uniquely determine a picture, because picture is can each system all indifferences
Display, and the display effect of the display effect of the picture being converted to due to graphical facial expressions and this graphical facial expressions
Identical, therefore, the graphical facial expressions that other system can will send out to be shown with the picture of identical display effect
Show, reached the purpose that the graphical facial expressions sending extensively easily can be identified by multiple systems and show.
Brief description
Fig. 1 is one hardware execution environment figure of conversion method of graphical facial expressions in the embodiment of the present invention;
Fig. 2 is another hardware execution environment figure of conversion method of graphical facial expressions in the embodiment of the present invention;
Fig. 3 is one schematic flow sheet of conversion method of graphical facial expressions in the embodiment of the present invention;
Fig. 4 is another schematic flow sheet of conversion method of graphical facial expressions in the embodiment of the present invention;
Fig. 5 is another schematic flow sheet of conversion method of graphical facial expressions in the embodiment of the present invention;
Fig. 6 is one example schematic of panorama sketch of different background color in the embodiment of the present invention;
Fig. 7 is one structural representation of conversion equipment in the embodiment of the present invention;
Fig. 8 is another structural representation of conversion equipment in the embodiment of the present invention;
Fig. 9 is another structural representation of conversion equipment in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those skilled in the art are not making wound
The every other embodiment being obtained under the premise of the property made work, broadly falls into the scope of protection of the invention.
It will be appreciated that though term first, second etc. may be adopted in embodiments of the present invention each to describe
Individual graphical facial expressions, Unicode, mark or picture, but graphical facial expressions, Unicode, mark or picture should not
It is limited to these terms.These terms are only used for user or terminal are distinguished from each other out.For example, without departing from
In the case of range of embodiment of the invention, the first graphical facial expressions can also be referred to as second graph expression, class
As, second graph expression can also be referred to as the first graphical facial expressions;Likewise, the second Unicode also may be used
To be referred to as the 3rd Unicode etc., the embodiment of the present invention is without limitation.
As shown in figure 1, executing ring for one hardware of conversion method of graphical facial expressions in the embodiment of the present invention
The network access network equipment can be passed through in border, wherein conversion equipment, obtain to be converted from this network equipment
Graphical facial expressions.In actual applications, this network equipment can include graphical facial expressions and Unicode for one
The network memory of corresponding relation or a Website server issuing this graphical facial expressions, this turn
Changing device can be a common PC that graphical facial expressions can be supported to show or a website
Server.
Optionally, as shown in Fig. 2 common can support that graphical facial expressions show when this conversion equipment is one
PC when, this conversion equipment can also be connected with a Website server, when this conversion equipment set up
After the corresponding relation of the mark of picture that the corresponding Unicode of each graphical facial expressions is converted to this graphical facial expressions,
This corresponding relation can be sent to this Website server, by this Website server according to this corresponding relation pair
The request that the request receiving sends graphical facial expressions is responded.
Refer to Fig. 3, in the embodiment of the present invention, one embodiment of the conversion method of graphical facial expressions includes:
301st, graphical facial expressions to be converted are obtained, wherein, corresponding one of each graphical facial expressions to be converted
Unicode;
It should be noted that Unicode, also known as Unicode, unicode or single code, it is a kind of calculating
The character code using on machine.Unicode is in order to solve the limitation of traditional character coding method and to produce
Raw, to be each character setting in every kind of language unified and unique binary coding, with full for it
Foot is across language, the cross-platform requirement carrying out text conversion, processing.
In the present embodiment, in the primary system (designing the system of this graphical facial expressions) of graphical facial expressions,
Each graphical facial expressions to should have a Unicode (Unicode) be used for this graphical facial expressions of unique mark;Or
Person, each graphical facial expressions that designer can respectively design specify also unappropriated Unicode, herein
It is not construed as limiting.In the system containing this corresponding relation (such as this primary system), when receiving one
During Unicode, this system can show the corresponding graphical facial expressions of this Unicode.
It should be noted that the graphical facial expressions in the embodiment of the present invention can be emoji expression or
Other graphical facial expressions, are not construed as limiting herein.
In this step, conversion equipment can obtain graphical facial expressions to be converted, and each figure to be converted
The shape corresponding Unicode of expression.
302nd, each graphical facial expressions in described graphical facial expressions to be converted are respectively converted into picture, each figure
Piece has for unique mark determining this picture;
Wherein, the display effect phase of the display effect of the picture that each graphical facial expressions are converted to and this graphical facial expressions
With;
After conversion equipment obtains the graphical facial expressions with conversion, by each figure in this graphical facial expressions to be converted
Expression is respectively converted into picture, and each picture has for unique mark determining this picture.
It is understood that graphical facial expressions are made up of some graphical symbols, it adopts Unicode to identify,
And the arranged mode of the middle graphical symbol of graphical facial expressions may and differ in variant system.If needing
Call graphical facial expressions, then need first to provide the corresponding Unicode of this graphical facial expressions, and identify this figure
The Unicode of shape expression and the corresponding relation of this graphical facial expressions are only in authentic primary or original design system
Upper presence, and other do not exist and do not exist on the system or equipment of this corresponding relation, if receiving a figure
The shape corresponding Unicode of expression, the system or equipment that there is not this corresponding relation can not identify this Unicode pair
The graphical facial expressions answered, will be shown as mess code, even and exist in the other system of this corresponding relation,
After identifying this graphical facial expressions, because of arranged mode and the primary or original design system of graphical symbol in system
The difference of system, and lead to the graphical facial expressions that show from different in primary or original design system.And by
In the standardization of picture format, picture indistinction can show in each system.
In this step, each graphical facial expressions are respectively converted into picture, and come from the display result of user interface
See, make the display effect of picture that each picture expression is converted to identical with the display effect of graphical facial expressions.
303rd, set up the corresponding Unicode of each graphical facial expressions and the mark of picture that this graphical facial expressions is converted to
Corresponding relation.
Conversion equipment is converted to each graphical facial expressions after picture, set up the corresponding Unicode of each graphical facial expressions with
The corresponding relation of the mark of the picture that this graphical facial expressions is converted to, thus establishes graphical facial expressions, system
One yard, picture, one-to-one relation between picture identification.In any system, if desired call one
Individual graphical facial expressions are it is only necessary to provide the Unicode that this graphical facial expressions is specified in primary system or designer, both
Can use and the corresponding mark of this Unicode is found according to this corresponding relation, that is, have found this mark uniquely identified
Picture, and the display effect of this picture is identical with the display effect of this graphical facial expressions, shows that this picture is
Meet the purpose that user calls this graphical facial expressions.
First the graphical facial expressions to be converted obtaining are respectively converted into picture in the embodiment of the present invention, resettle
The corresponding relation of the mark of the picture that the Unicode of each graphical facial expressions is converted to this graphical facial expressions, due to system
One yard can uniquely determine graphical facial expressions, and identifies and can uniquely determine a picture, because picture is energy
Each system all indifferences show, and the display effect of the picture being converted to due to graphical facial expressions and this figure
The display effect of shape expression is identical, and therefore, the graphical facial expressions that other system can will send out are with identical aobvious
Show the picture of effect to show, having reached the graphical facial expressions sending can extensively easily be identified by multiple systems
Purpose with display.
In above example, each graphical facial expressions in described graphical facial expressions to be converted are respectively converted into figure
Piece, in actual applications, it can have multiple implementations, for example can be by graphical facial expressions list one by one
Solely it is respectively converted into picture, it would however also be possible to employ the mode of batch processing, by institute's pending processing graphical facial expressions
Changed simultaneously, be not construed as limiting herein, with reference to both modes, respectively to the embodiment of the present invention
The conversion method of middle graphical facial expressions is specifically described:
Refer to Fig. 4, in the embodiment of the present invention, another embodiment of the conversion method of graphical facial expressions includes:
401st, graphical facial expressions to be converted are obtained, wherein, corresponding one of each graphical facial expressions to be converted
Unicode Unicode;
Similar with step 301, do not repeat herein.
402nd, the first graphical facial expressions are converted to the first picture, the corresponding Unicode of described first graphical facial expressions
For the first Unicode, described first picture has for unique the first mark determining described first picture;
Wherein, described first graphical facial expressions are one of described graphical facial expressions to be converted graphical facial expressions,
The display effect of described first picture is identical with the display effect of described first graphical facial expressions;
In the present embodiment, conversion equipment can obtain graphical facial expressions being currently needed for changing, this step
In be assumed to the first graphical facial expressions, this graphical facial expressions is converted into the picture of preset size, false in this step
It is set to the first picture.
Concrete conversion regime can be after primary or original design system calls this first graphical facial expressions, to aobvious
This first graphical facial expressions showing carry out sectional drawing, can also have other conversion regimes, be not construed as limiting herein.
After this first graphical facial expressions is converted to the first picture, this conversion equipment can also adopt same
Other graphical facial expressions to be converted are converted into corresponding picture by mode successively.
It should be noted that in the embodiment of the present invention, conversion equipment is supported to graphical facial expressions to be converted
Display.
403rd, set up the first corresponding relation between described first Unicode and described first mark;
The first graphical facial expressions that first Unicode identifies are converted to the first mark uniquely identified by conversion equipment
After first picture, set up the first corresponding relation between this first Unicode and this first mark.
It is understood that other graphical facial expressions are converted to after picture it is also possible to be followed successively by its foundation
Corresponding corresponding relation.
404th, when receiving the request sending the first graphical facial expressions, according to described first corresponding relation, obtain
To corresponding first mark of the first Unicode of described first graphical facial expressions, send described first mark and correspond to
The first picture.
After this first corresponding relation set up by conversion equipment, when receiving the request sending the first graphical facial expressions,
According to this first corresponding relation, obtain corresponding first mark of the first Unicode of this first graphical facial expressions,
Send this corresponding first picture of the first mark.
It is understood that this first corresponding relation can also be sent to other equipment by conversion equipment, its
After his equipment preserves this corresponding relation and corresponding picture, send asking of the first graphical facial expressions when receiving
Seeking Truth is it is also possible to according to this first corresponding relation preserving, obtain this first graphical facial expressions first is unified
Corresponding first mark of code, sends this corresponding first picture of the first mark.
It should be noted that typically all carrying this in the request of this first graphical facial expressions of transmission receiving
Corresponding first Unicode of first graphical facial expressions.
Can select, the mark for unique mark picture can be the filename of picture.
In the embodiment of the present invention, graphical facial expressions one by one can be converted to accordingly by conversion equipment respectively
Picture simultaneously sets up corresponding relation, and when receiving the request sending graphical facial expressions, can be according to preservation
Corresponding relation, obtains the corresponding mark of Unicode of this graphical facial expressions, sends the corresponding picture of this mark,
And the effect of the picture sending out is identical with the display effect sending graphical facial expressions, and due to picture format
Standardization, picture accurate can show the graphical facial expressions energy it is achieved that sending in any system
The purpose extensively easily being identified by multiple systems and showing.
Refer to Fig. 5, in the embodiment of the present invention, another embodiment of the conversion method of graphical facial expressions includes:
501st, graphical facial expressions to be converted are obtained, wherein, corresponding one of each graphical facial expressions to be converted
Unicode Unicode;
Similar with step 301, do not repeat herein.
It is understood that in the present embodiment, due to needing graphical facial expressions to be converted to be carried out at batch
Reason, when therefore obtaining graphical facial expressions to be converted, should get currently all of figure to be converted as far as possible
Expression, thus save the number of times that subsequent diagram conversion repeats.
For example, a set of emoji expression issued in IOS latest edition, because it can only be in latest edition
IOS (mobile end system) or latest edition MAC system (with IOS belong to same company PC
End system) upper display, therefore can log in issue this emoji expression under the MAC system of latest edition
Website, such as http://getemoji.com/, this emoji expression issued all is replicated.
Because it can be supported under IOS the or MAC system of latest edition, if carrying out this figure using other system
The download of shape expression, then checking during this website may be because of can not identify the corresponding unification of this graphical facial expressions
Code and be shown as mess code.
502nd, described graphical facial expressions to be converted are intercepted into two different panorama sketch of background colour, each is complete
The graphical facial expressions to be converted being arranged in sequence with whole preset size on scape figure, including the second figure
Shape is expressed one's feelings, and described second graph expresses one's feelings corresponding Unicode for the second Unicode;
In actual applications, the graphical facial expressions to be converted obtaining are intercepted into different complete of two background colours
The mode of scape figure has many kinds, below in one way as a example:
The graphical facial expressions to be converted obtaining are pasted in txt file, then can show in this txt file
This graphical facial expressions to be converted;Then this txt file is resolved to the file of html form, be parsed into
The file of html form includes two control parameters, and one is font-size, can control the size of graphical facial expressions,
Another is background-color, the background colour when file of this html form can be controlled to show;Then,
Adjusting graphical facial expressions by font-size is the preset size needing, and adjusts background-color value
Afterwards, the panorama sketch of the whole webpage that can be shown by the file that screenshotss software cuts down this html form, that is,
For a kind of panorama sketch of background colour;Adjust background-color again and take another value, by screenshotss software
Cut down the panorama sketch of the whole webpage that the file of this html form shows again, as another kind of background colour
Panorama sketch, thus this graphical facial expressions to be converted has been intercepted into the different panorama sketch of two background colours.
It is hollow out or white due to there being some graphical facial expressions (such as emoji expression) internal, so
We need the different picture of 2 background colours, are then obtained having in 2 pictures identical with picture processing
Local figure, is the picture changed out.
It should be noted that in the embodiment of the present invention, conversion equipment is supported to graphical facial expressions to be converted
Display.
503rd, in panorama sketch different to described two background colours successively, identical part carries out cutting figure, obtains
The corresponding picture of each graphical facial expressions, expresses one's feelings corresponding second picture including described second graph, described
Second picture has for unique the second mark determining described second picture;
Obtain two background colour differences being arranged in sequence with the graphical facial expressions to be converted of whole preset size
Panorama sketch after, in panorama sketch that can be different to this two background colours successively, identical part is cut
Figure, obtains the corresponding picture of each graphical facial expressions.
It is understood that cutting the size of each graphical facial expressions that can show during figure and phase according to panorama sketch
Spacing between mutually, is configured to the spacing cutting figure, this setting can by be accomplished manually it is also possible to by
Conversion equipment automatic decision, is not construed as limiting herein.
It should be noted that cutting each picture that figure obtains have mark for this picture of unique mark,
Filename for example can be adopted.In actual applications, in order to write from memory with other pictures existing expression or system
Recognize the file name area of picture separately, can be to the name cutting the picture corresponding with graphical facial expressions that figure obtains
One starts than the larger used numerical intervals that also do not have, or using being of little use of having not been used
Name form is named, to ensure filename this picture of energy unique mark of each picture.For example can be by
Cut the picture that figure obtains to start to name successively from the filename e400001 having not been used at present in order,
It is not construed as limiting herein.
504th, it is corresponding with cutting this graphical facial expressions that figure obtains to set up the corresponding Unicode of each graphical facial expressions successively
The corresponding relation of the mark of picture, including the between described second Unicode and described second mark
Two corresponding relations;
Conversion equipment sets up the corresponding Unicode of each graphical facial expressions and this graphical facial expressions pair cut figure and obtain successively
The corresponding relation of the mark of the picture answered, for example, show the Unicode of first graphical facial expressions up front
For A, cut first picture that figure obtains successively and be named as B, due to being that unified display cuts to graphical facial expressions
Figure, and to cut figure be also to cut successively, then that this first graphical facial expressions is converted to is exactly this Qie Tu get
First picture arriving, the corresponding relation of this A and B set up by this conversion equipment.
This corresponding relation can be stored in modes such as synopsis, key-value pair, array or equations, do not make herein
Limit.
505th, when receiving the request sending second graph expression, according to described second corresponding relation, obtain
To corresponding second mark of the second Unicode of described second graph expression, send described second mark and correspond to
Second picture.
The corresponding relation set up includes the second corresponding relation between the second Unicode and the second mark, when
Receive when sending the request of second graph expression, in this request, include the second Unicode, according to this
Two corresponding relations, obtain corresponding second mark of the second Unicode of this second graph expression, send this
The two corresponding second pictures of mark.
In the embodiment of the present invention, batch graphical facial expressions to be converted can be converted into picture, without
Conversion one by one, saves conversion efficiency so that can faster the up-to-date graphical facial expressions issued exist
In each system, all nondistinctive display, preferably experiences to user.
For ease of understanding, the conversion to graphical facial expressions in the embodiment of the present invention with a concrete application scene below
Method is specifically described:
The graphical facial expressions (graphical facial expressions to be converted) obtaining up-to-date issue downloaded by conversion equipment, for example, have 3
Individual;
Conversion equipment shows this 3 graphical facial expressions using the file of webpage html form, this 3 figure tables
The unicode Unicode of feelings is respectively A1, A2 and A3, and adjusts the background-color of this html
Parameter so that different to the background colour of the panorama sectional drawing of the webpage that this html file shows twice, is shown
It is shown with the different panorama sketch of two background colours of this 3 graphical facial expressions, as shown in fig. 6, one of cut
The background colour of figure is black, and the background colour of another sectional drawing is white;
In conversion equipment panorama sketch different to this two background colours successively, identical part carries out cutting figure, obtains
To the corresponding picture of each graphical facial expressions, as shown in Figure 6 601,602 and 603, these three pictures with
As unique mark, its filename is followed successively by e400001, e400002, e400003 to filename;
The corresponding relation of A1 and e400001 set up by conversion equipment, the corresponding relation of A2 and e400002,
The corresponding relation of A3 and e400003;
When receive request send Unicode be A2 graphical facial expressions request when, conversion equipment or other guarantor
The equipment query having this corresponding relation obtains the entitled e400002 of the corresponding file of this A2, and sending should
The corresponding picture of e400002 602.
Below the conversion equipment in the embodiment of the present invention is described, refers to Fig. 7, the embodiment of the present invention
Middle one embodiment of conversion equipment includes:
Acquisition module 701, for obtaining graphical facial expressions to be converted, wherein, each figure table to be converted
Feelings correspond to a Unicode Unicode;
Modular converter 702, for being respectively converted into each graphical facial expressions in described graphical facial expressions to be converted
Picture, the display effect of the picture that each graphical facial expressions are converted to is identical with the display effect of this graphical facial expressions,
Each picture has for unique mark determining this picture;
Set up module 703, for setting up what the corresponding Unicode of each graphical facial expressions and this graphical facial expressions were converted to
The corresponding relation of the mark of picture.
In the embodiment of the present invention, the graphical facial expressions to be converted obtaining first are respectively converted into by modular converter 702
Picture, sets up module 703 and resettles the picture that the Unicode of each graphical facial expressions is converted to this graphical facial expressions
Mark corresponding relation, because Unicode can uniquely determine graphical facial expressions, and identify can be uniquely true
A fixed picture, because picture is each system all indifferences to show, and due to graphical facial expressions conversion
For picture display effect identical with the display effect of this graphical facial expressions, therefore, other system can will send out
The graphical facial expressions seen off to be shown with the picture of identical display effect, has reached the graphical facial expressions energy sending
The purpose extensively easily being identified by multiple systems and showing.
Optionally, refer to Fig. 8, as another embodiment of conversion equipment in the embodiment of the present invention, Fig. 7
Described in shown conversion equipment, modular converter 702 specifically can be used for, and the first graphical facial expressions are converted to
One picture, wherein, described first graphical facial expressions are one of described graphical facial expressions to be converted figure table
Feelings, the display effect of described first picture is identical with the display effect of described first graphical facial expressions, and described
The corresponding Unicode of one graphical facial expressions is the first Unicode, and described first picture has for unique determination institute
State the first mark of the first picture;
Described module 703 of setting up specifically can be used for, and sets up described first Unicode and described first mark
Between the first corresponding relation;
Optionally, described conversion equipment can also include:
First sending module 801, for when receiving the request sending the first graphical facial expressions, according to described
First corresponding relation, obtains corresponding first mark of the first Unicode of described first graphical facial expressions, sends
Described first corresponding first picture of mark.
In the embodiment of the present invention, graphical facial expressions one by one can be converted to accordingly by modular converter 702 respectively
Picture, set up module 703 and set up corresponding relation respectively, and receive send graphical facial expressions please
When asking, the corresponding mark of Unicode of this graphical facial expressions can be obtained according to the corresponding relation preserving, first
Sending module 801 sends the corresponding picture of this mark, and the effect of the picture sending out and transmission figure table
The display effect of feelings is identical, and the standardization due to picture format, and picture can be correct in any system
Errorless display is it is achieved that the graphical facial expressions sending extensively easily can be identified by multiple systems and show
Purpose.
Optionally, refer to Fig. 9, as another embodiment of conversion equipment in the embodiment of the present invention, Fig. 7
In shown conversion equipment, this modular converter 702 specifically can include:
Interception unit 901, for intercepting into different complete of two background colours by described graphical facial expressions to be converted
Jing Tu, the graphical facial expressions to be converted being arranged in sequence with whole preset size on each panorama sketch, its
Include second graph expression, described second graph expresses one's feelings corresponding Unicode for the second Unicode;
Cut figure unit 902, enter for identical part in panorama sketch different to described two background colours successively
Row cuts figure, obtains the corresponding picture of each graphical facial expressions, including described second graph expression corresponding the
Two pictures, described second picture has for unique the second mark determining described second picture;
This is set up module 703 and specifically can be used for, and sets up the corresponding Unicode of each graphical facial expressions successively and cuts
The corresponding relation of the mark of the corresponding picture of this graphical facial expressions that figure obtains is unified including described second
The second corresponding relation between code and described second mark;
Optionally, this conversion equipment can also include:
Second sending module 903, for when receiving the request sending second graph expression, according to described
Second corresponding relation, obtains corresponding second mark of the second Unicode of described second graph expression, sends
The described second corresponding second picture of mark.
In the embodiment of the present invention, interception unit 901 and Qie Tu unit 902 can be in batches by figures to be converted
Shape expression is converted into picture, without conversion one by one, saves conversion efficiency so that can be faster
Will issue all nondistinctive display in each system of up-to-date graphical facial expressions, preferably experience to user.
For the ease of understanding above-described embodiment, specifically should at one with above-mentioned conversion equipment modules below
Illustrated with the interaction in scene:
Acquisition module 701 downloads the graphical facial expressions (graphical facial expressions to be converted) obtaining up-to-date issue, for example
There are 3;
Interception unit 901 shows this 3 graphical facial expressions, this 3 figures using the file of webpage html form
The unicode Unicode of shape expression is respectively A1, A2 and A3, and adjusts this html's
Background-color parameter is so that the background to the panorama sectional drawing of the webpage that this html file shows twice
Color is different, obtains showing the different panorama sketch of two background colours of this 3 graphical facial expressions, as Fig. 6 institute
Show, the background colour of one of sectional drawing is black, the background colour of another sectional drawing is white;
Cut identical part in figure unit 902 panorama sketch different to this two background colours successively to carry out cutting figure,
Obtain the corresponding picture of each graphical facial expressions, as shown in Figure 6 601,602 and 603, these three pictures
Using filename as unique mark, its filename is followed successively by e400001, e400002, e400003;
Set up the corresponding relation that module 703 sets up A1 and e400001, A2 is corresponding with e400002 to close
System, the corresponding relation of A3 and e400003;
When receiving the request that request sends the graphical facial expressions that Unicode is A2, the second sending module 903
Inquiry obtains the entitled e400002 of the corresponding file of this A2, sends the corresponding picture of this e400002 602.
Those skilled in the art can be understood that, for convenience and simplicity of description, above-mentioned retouches
The specific work process of the system, apparatus, and unit stated, may be referred to the correspondence in preceding method embodiment
Process, will not be described here.
It should be understood that disclosed system in several embodiments provided herein, device and
Method, can realize by another way.For example, device embodiment described above is only shown
Meaning property, for example, the division of described unit, only a kind of division of logic function, actual can when realizing
There to be other dividing mode, for example multiple units or assembly can in conjunction with or be desirably integrated into another
System, or some features can ignore, or do not execute.Another, shown or discussed each other
Coupling direct-coupling or communication connection can be the INDIRECT COUPLING of device or unit by some interfaces
Or communication connection, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, make
For the part that unit shows can be or may not be physical location, you can with positioned at a place,
Or can also be distributed on multiple NEs.Can select according to the actual needs part therein or
The whole unit of person is realizing the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit
In or unit is individually physically present it is also possible to two or more units are integrated in one
In individual unit.Above-mentioned integrated unit both can be to be realized in the form of hardware, it would however also be possible to employ software work(
The form of energy unit is realized.
If described integrated unit is realized and as independent production marketing using in the form of SFU software functional unit
Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this
The part that substantially in other words prior art contributed of technical scheme of invention or this technical scheme
Completely or partially can be embodied in the form of software product, this computer software product is stored in one
In storage medium, including some instructions with so that computer equipment (can be personal computer,
Server, or the network equipment etc.) execution each embodiment methods described of the present invention all or part step
Suddenly.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory),
Magnetic disc or CD etc. are various can be with the medium of store program codes.
The above, above example only in order to technical scheme to be described, is not intended to limit;
Although being described in detail to the present invention with reference to the foregoing embodiments, those of ordinary skill in the art should
Work as understanding:It still can be modified to the technical scheme described in foregoing embodiments, or to it
Middle some technical characteristics carry out equivalent;And these modifications or replacement, do not make appropriate technical solution
Essence depart from various embodiments of the present invention technical scheme spirit and scope.
Claims (10)
1. a kind of conversion method of graphical facial expressions is it is characterised in that include:
Obtain graphical facial expressions to be converted, wherein, each graphical facial expressions to be converted corresponds to a Unicode
Unicode;
Each graphical facial expressions in described graphical facial expressions to be converted are respectively converted into picture, each graphical facial expressions
The display effect of the picture being converted to is identical with the display effect of this graphical facial expressions, each picture have for
Uniquely determine the mark of this picture;
Set up the corresponding Unicode of each graphical facial expressions corresponding with the mark of the picture that this graphical facial expressions is converted to
Relation.
2. method according to claim 1 it is characterised in that described by described figure to be converted
Each graphical facial expressions in expression are respectively converted into picture, specifically include:
First graphical facial expressions are converted to the first picture, wherein, described first graphical facial expressions are waited to turn for described
One of graphical facial expressions changing graphical facial expressions, the display effect of described first picture and described first figure
The display effect of expression is identical, and the corresponding Unicode of described first graphical facial expressions is the first Unicode, described
First picture has for unique the first mark determining described first picture;
Set up the corresponding Unicode of each graphical facial expressions corresponding with the mark of the picture that this graphical facial expressions is converted to
Relation, specifically includes:
Set up the first corresponding relation between described first Unicode and described first mark.
3. method according to claim 2 is it is characterised in that methods described also includes:
When receiving the request sending the first graphical facial expressions, according to described first corresponding relation, obtain institute
State corresponding first mark of the first Unicode of the first graphical facial expressions, send described first mark corresponding the
One picture.
4. method according to claim 1 it is characterised in that described by described figure to be converted
Each graphical facial expressions in expression are respectively converted into picture, specifically include:
Described graphical facial expressions to be converted are intercepted into two different panorama sketch of background colour, each panorama sketch
On the graphical facial expressions to be converted being arranged in sequence with whole preset size, including second graph table
Feelings, described second graph expresses one's feelings corresponding Unicode for the second Unicode;
In the panorama sketch different to described two background colours, identical part carries out cutting figure successively, obtains each figure
Shape express one's feelings corresponding picture, including described second graph express one's feelings corresponding second picture, described second
Picture has for unique the second mark determining described second picture;
Described set up the mark of picture that the corresponding Unicode of each graphical facial expressions is converted to this graphical facial expressions
Corresponding relation, specifically includes:
Set up the corresponding Unicode of each graphical facial expressions successively and cut the corresponding picture of this graphical facial expressions that figure obtains
Mark corresponding relation, including described second Unicode and described second mark between the second couple
Should be related to.
5. method according to claim 4 is it is characterised in that methods described also includes:
When receiving the request sending second graph expression, according to described second corresponding relation, obtain institute
State corresponding second mark of the second Unicode of second graph expression, send described second mark corresponding the
Two pictures.
6. a kind of conversion equipment of graphical facial expressions is it is characterised in that include:
Acquisition module, for obtaining graphical facial expressions to be converted, wherein, each graphical facial expressions to be converted
A corresponding Unicode Unicode;
Modular converter, for being respectively converted into figure by each graphical facial expressions in described graphical facial expressions to be converted
Piece, the display effect of the picture that each graphical facial expressions are converted to is identical with the display effect of this graphical facial expressions, often
Individual picture has for unique mark determining this picture;
Set up module, for setting up the figure that the corresponding Unicode of each graphical facial expressions is converted to this graphical facial expressions
The corresponding relation of the mark of piece.
7. conversion equipment according to claim 6 is it is characterised in that described modular converter is specifically used
In, the first graphical facial expressions are converted to the first picture, wherein, described first graphical facial expressions be described wait turn
One of graphical facial expressions changing graphical facial expressions, the display effect of described first picture and described first figure
The display effect of expression is identical, and the corresponding Unicode of described first graphical facial expressions is the first Unicode, described
First picture has for unique the first mark determining described first picture;
Described module of setting up is specifically for setting up the between described first Unicode and described first mark
One corresponding relation.
8. conversion equipment according to claim 7 is it is characterised in that described conversion equipment also includes:
First sending module, for when receiving the request sending the first graphical facial expressions, according to described the
One corresponding relation, obtains corresponding first mark of the first Unicode of described first graphical facial expressions, sends institute
State corresponding first picture of the first mark.
9. conversion equipment according to claim 6 is it is characterised in that described modular converter specifically wraps
Include:
Interception unit, for intercepting into two different panoramas of background colour by described graphical facial expressions to be converted
Figure, the graphical facial expressions to be converted being arranged in sequence with whole preset size on each panorama sketch, wherein
Including second graph expression, described second graph expresses one's feelings corresponding Unicode for the second Unicode;
Cut figure unit, carry out for identical part in panorama sketch different to described two background colours successively
Cut figure, obtain the corresponding picture of each graphical facial expressions, including described second graph expression corresponding second
Picture, described second picture has for unique the second mark determining described second picture;
Described module of setting up is specifically for setting up the corresponding Unicode of each graphical facial expressions successively and obtaining with cutting figure
The mark of the corresponding picture of this graphical facial expressions corresponding relation, including described second Unicode and institute
State the second corresponding relation between the second mark.
10. conversion equipment according to claim 9 is it is characterised in that described conversion equipment also wraps
Include:
Second sending module, for when receiving the request sending second graph expression, according to described the
Two corresponding relations, obtain corresponding second mark of the second Unicode of described second graph expression, send institute
State the corresponding second picture of the second mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510493028.8A CN106445478B (en) | 2015-08-12 | 2015-08-12 | Method and device for converting graphic expressions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510493028.8A CN106445478B (en) | 2015-08-12 | 2015-08-12 | Method and device for converting graphic expressions |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106445478A true CN106445478A (en) | 2017-02-22 |
CN106445478B CN106445478B (en) | 2020-06-05 |
Family
ID=58092669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510493028.8A Active CN106445478B (en) | 2015-08-12 | 2015-08-12 | Method and device for converting graphic expressions |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106445478B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107248947A (en) * | 2017-05-22 | 2017-10-13 | 腾讯科技(深圳)有限公司 | Expression processing method and processing device, computer equipment and storage medium |
CN110198380A (en) * | 2019-06-12 | 2019-09-03 | 广东佳米科技有限公司 | A kind of method and system for making window client support Emoji expression |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1983239A (en) * | 2006-04-06 | 2007-06-20 | 华为技术有限公司 | Method and system for inputting and displaying character |
CN101035090A (en) * | 2006-03-09 | 2007-09-12 | 腾讯科技(深圳)有限公司 | Instant communication method |
CN101594317A (en) * | 2008-05-29 | 2009-12-02 | 国际商业机器公司 | Text sending method and text dispensing device and system |
CN102750555A (en) * | 2012-06-28 | 2012-10-24 | 北京理工大学 | Expression robot applied to instant messaging tool |
CN104699833A (en) * | 2015-03-31 | 2015-06-10 | 北京奇艺世纪科技有限公司 | Picture presentation method, picture storage method, picture presentation device and picture storage device |
-
2015
- 2015-08-12 CN CN201510493028.8A patent/CN106445478B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101035090A (en) * | 2006-03-09 | 2007-09-12 | 腾讯科技(深圳)有限公司 | Instant communication method |
CN1983239A (en) * | 2006-04-06 | 2007-06-20 | 华为技术有限公司 | Method and system for inputting and displaying character |
CN101594317A (en) * | 2008-05-29 | 2009-12-02 | 国际商业机器公司 | Text sending method and text dispensing device and system |
CN102750555A (en) * | 2012-06-28 | 2012-10-24 | 北京理工大学 | Expression robot applied to instant messaging tool |
CN104699833A (en) * | 2015-03-31 | 2015-06-10 | 北京奇艺世纪科技有限公司 | Picture presentation method, picture storage method, picture presentation device and picture storage device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107248947A (en) * | 2017-05-22 | 2017-10-13 | 腾讯科技(深圳)有限公司 | Expression processing method and processing device, computer equipment and storage medium |
CN110198380A (en) * | 2019-06-12 | 2019-09-03 | 广东佳米科技有限公司 | A kind of method and system for making window client support Emoji expression |
Also Published As
Publication number | Publication date |
---|---|
CN106445478B (en) | 2020-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102304698B1 (en) | Method and apparatus for automatic device program generation | |
CN102819461B (en) | Desktop synchronous method, device, equipment and system | |
CN105160033B (en) | The processing method and processing device of expression character string | |
US10051444B2 (en) | Application managing application | |
US20180123799A1 (en) | Portable device interface methods and systems | |
CN110324169B (en) | Interface management method and device | |
US10491548B2 (en) | Techniques to configure bot flow | |
CN105843800B (en) | A kind of language message methods of exhibiting and device based on DOI | |
US10599402B2 (en) | Techniques to configure a web-based application for bot configuration | |
CN104239071A (en) | Cross-platform mobile application development framework system based on universal components and transfer service | |
CN101944023B (en) | Implement method of universal command line interface of UNIX server software | |
CN108334411A (en) | Resource transfer method and device based on Redfish in a kind of BMC | |
KR101212778B1 (en) | Cloud computing based smart office system and server for managing the same and method for managing the same | |
US11050552B2 (en) | System and method for hashing a data string using an image | |
CN109213498A (en) | A kind of configuration method and server of internet web front-end | |
CN102821150A (en) | Cloud server and application managing method based on same | |
CN113711570B (en) | Method and system for enabling a computing device to communicate with a cloud network | |
WO2017071102A1 (en) | A calling method, system and smart terminal | |
CN112306851A (en) | Automatic testing method and device | |
CN103607376A (en) | Method and device for compatible protocol | |
CN113312083B (en) | Application generation method, device and equipment | |
CN105306316A (en) | Method and apparatus for networking smart home device by scanning two-dimension code | |
CN106445478A (en) | Graphic expression conversion method and apparatus | |
CN113467777A (en) | Path identification method, device and system | |
JP2022097592A (en) | Data synchronization method and device, electronic equipment, storage medium, and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |