CN106708998A - Method for preventing repeated storage of expressions and terminal - Google Patents
Method for preventing repeated storage of expressions and terminal Download PDFInfo
- Publication number
- CN106708998A CN106708998A CN201611190621.6A CN201611190621A CN106708998A CN 106708998 A CN106708998 A CN 106708998A CN 201611190621 A CN201611190621 A CN 201611190621A CN 106708998 A CN106708998 A CN 106708998A
- Authority
- CN
- China
- Prior art keywords
- emotion icons
- target
- stored
- icons
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
Abstract
The embodiment of the invention discloses a method for preventing repeated storage of expressions and a terminal. The method for preventing repeated storage of expressions comprises the steps that if preset operation triggering emoticon storage is detected in a current interactive interface, feature information of a target emoticon to be stored is acquired; the feature information of the target emoticon and feature information corresponding to emoticons stored in an expression library are compared one by one; and if the feature information of at least one emoticon among the stored emoticons is consistent with the feature information of the target emoticon, a user is reminded. Therefore, the situation that the user stores multiple identical emoticons repeatedly in the expression library can be effectively prevented.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and terminal for preventing from repeating storage expression.
Background technology
At present, communication exchange is essential during immediate communication tool (such as wechat or QQ) has turned into people's life and work
Instrument.For vivider the mood states reacted in user's communication process, immediate communication tool is occurred in that such as picture, expression
The more abundant communication way such as icon, user can improve the amusement of communication by way of sending or receiving emotion icons
Property.Meanwhile, the emotion icons that user can also receive to it are stored, so that next time uses.
However, as the type and quantity of emotion icons are on the increase, user repeats to store multiple phases in storehouse of expressing one's feelings
The situation of same emotion icons often occurs, and causes a large amount of memory spaces in expression storehouse to be taken in vain.And it is above-mentioned in order to prevent
The occurrence of, prior art carries out duplicate checking by the way that the file name of multiple emotion icons is contrasted to emotion icons,
And because the file name of the emotion icons received from different session windows is inherently differed, therefore, by contrasting title
Mode duplicate checking effectively can not be carried out to emotion icons, also cannot effectively prevent user repeat storage emotion icons.
The content of the invention
The embodiment of the present invention provides a kind of method and terminal for preventing from repeating storage expression, can effectively prevent user from repeating
The multiple identical emotion icons of storage.
In a first aspect, the embodiment of the invention provides a kind of method for preventing and repeating storage expression, this prevents from repeating to store
The method of expression includes:
If detecting the predetermined registration operation of triggering storage emotion icons in current interactive interface, target expression to be stored is obtained
The characteristic information of icon;
Each self-corresponding feature of emotion icons that will have been stored in the characteristic information of the target emotion icons and expression storehouse
Information is contrasted one by one;
If the characteristic information of at least one emotion icons and the target expression figure in the emotion icons for having stored
Target characteristic information is consistent, then user is reminded.
On the other hand, a kind of terminal is the embodiment of the invention provides, the terminal includes:
Acquiring unit, if the predetermined registration operation for detecting triggering storage emotion icons in current interactive interface, acquisition is treated
The characteristic information of the target emotion icons of storage;
Comparison unit, for the characteristic information of the target emotion icons is each with the emotion icons that have stored in expression storehouse
Self-corresponding characteristic information is contrasted one by one;
Reminding unit, if characteristic information and institute at least one emotion icons in the emotion icons for having stored
The characteristic information for stating target emotion icons is consistent, then user is reminded.
Such scheme, if terminal detects the predetermined registration operation of triggering storage emotion icons in current interactive interface, acquisition is treated
The characteristic information of the target emotion icons of storage;The table that will have been stored in the characteristic information of the target emotion icons and expression storehouse
Each self-corresponding characteristic information of feelings icon is contrasted one by one;If at least one expression figure in the emotion icons for having stored
Target characteristic information is consistent with the characteristic information of the target emotion icons, then user is reminded such that it is able to effectively anti-
Only user repeats to store multiple identical emotion icons in storehouse of expressing one's feelings.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, embodiment will be described below needed for be used
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, and correspondence this area is general
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of method for preventing from repeating storage expression provided in an embodiment of the present invention;
Fig. 2 is that the display interface in expression storehouse provided in an embodiment of the present invention enters rower to same or analogous emotion icons
The schematic diagram of note;
Fig. 3 is a kind of schematic flow diagram of method for preventing from repeating storage expression that another embodiment of the present invention is provided;
Fig. 4 is a kind of schematic flow diagram of method for preventing from repeating storage expression that yet another embodiment of the invention is provided;
Fig. 5 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of terminal schematic block diagram that another embodiment of the present invention is provided;
Fig. 7 is a kind of terminal schematic block diagram that yet another embodiment of the invention is provided;
Fig. 8 is a kind of terminal schematic block diagram that further embodiment of this invention is provided.
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 clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " including " and "comprising" instruction
The presence of described feature, entirety, step, operation, element and/or component, but it is not precluded from one or more of the other feature, whole
The presence or storage of body, step, operation, element, component and/or its set.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and " being somebody's turn to do " is intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more in the associated item listed and be possible to combination, and including these combinations.
As in this specification and in the appended claims as use, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In implementing, the terminal described in the embodiment of the present invention including but not limited to such as has touch sensitive surface
Other of the mobile phone of (for example, touch-screen display and/or touch pad), laptop computer or tablet PC etc are just
Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, describe to include the terminal of display and touch sensitive surface.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as it is following in one or more:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can be public using at least one of such as touch sensitive surface
Physical user-interface device.Can be adjusted among applications and/or in corresponding application programs and/or changed and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) can support that there are the various application programs of user interface directly perceived and transparent for a user.
Fig. 1 is referred to, Fig. 1 is a kind of exemplary flow of method for preventing from repeating storage expression provided in an embodiment of the present invention
Figure.The executive agent that the method for repeating storage expression is prevented in the present embodiment is terminal.Terminal can be smart mobile phone, flat board electricity
The mobile terminals such as brain, but not limited to this, can also be other-end, not be limited herein.As shown in figure 1, preventing from repeating to store
The method of expression may comprise steps of:
S101:If detecting the predetermined registration operation of triggering storage emotion icons in current interactive interface, mesh to be stored is obtained
Mark the characteristic information of emotion icons.
If terminal detects the predetermined registration operation that user triggers storage emotion icons in current interactive interface, terminal is obtained
Target emotion icons to be stored, and obtain the characteristic information of target emotion icons.
Current interactive interface can be the session interface of application software, such as application software such as short message, wechat or QQ
Chat interface, chat interface can be single chat interface, or many people's chat interfaces;Current interactive interface can also
It is web page browsing interface, the main display interface of such as microblogging, facebook (face time) etc. or comment interface, with specific reference to reality
Situation is determined, and is not limited herein.
The predetermined registration operation for storing emotion icons can be configured according to the actual requirements, not be limited herein.For example, storage
The predetermined registration operation of emotion icons can press emotion icons, double-click emotion icons or right click emotion icons etc. for length.If terminal exists
Current interactive interface is detected with the head of a household by emotion icons, or double-clicks emotion icons, or right click emotion icons, then terminal is sentenced
Disconnected user will store to emotion icons, and now, terminal obtains target emotion icons to be stored, and obtains target expression figure
Target characteristic information.
Target emotion icons can be static table feelings icon, or dynamic expression icon;Can in target emotion icons
With including face herein, it is also possible to only including landscape, word etc., be determined with specific reference to actual conditions, be not limited.
The characteristic information of emotion icons can be the face feature letter of face in colouring information, the emotion icons of emotion icons
Track characteristic information of breath or emotion icons etc., is determined with specific reference to actual conditions, is not limited herein.
S102:The characteristic information of the target emotion icons is each self-corresponding with the emotion icons that have stored in expression storehouse
Characteristic information is contrasted one by one.
Terminal obtains the emotion icons stored in expression storehouse each after the characteristic information for getting target emotion icons
Corresponding characteristic information, and the characteristic information of target emotion icons is each self-corresponding with the emotion icons that have stored in expression storehouse
Characteristic information is contrasted one by one.
The emotion icons that the emotion icons stored in expression storehouse are stored before being in interactive interface, or directly
The emotion icons downloaded from the expression bag in expression storehouse, are not limited herein.
The emotion icons stored in expression storehouse can be static table feelings icon, or dynamic expression icon;Target
Face can be included in emotion icons, it is also possible to only including landscape, word etc., be determined with specific reference to actual conditions, herein
It is not limited.
Each self-corresponding feature of emotion icons that terminal will have been stored in the characteristic information of target emotion icons and expression storehouse
Information is contrasted one by one, in the emotion icons that have stored of judgement whether at least one emotion icons characteristic information and target
The characteristic information of emotion icons is consistent.
S103:If the characteristic information of at least one emotion icons and the object table in the emotion icons for having stored
The characteristic information of feelings icon is consistent, then user is reminded.
If terminal judges the characteristic information and target expression figure of at least one emotion icons in the emotion icons for having stored
Target characteristic information is consistent, then user is reminded.
If terminal judges the people in the facial feature information and target emotion icons of the face in the emotion icons for having stored
The similarity of the facial feature information of face is more than predetermined threshold value;Or the colouring information of the emotion icons for having stored is expressed one's feelings with target
The similarity of the colouring information of icon is more than predetermined threshold value;Or the emotion icons for having stored track characteristic information and target
The similarity of the track characteristic information of emotion icons is more than predetermined threshold value, then the feature letter of the emotion icons that terminal judges have been stored
Breath is consistent with the characteristic information of target emotion icons.
Further, step S103 specifically may comprise steps of:
If the characteristic information of at least one emotion icons and the target expression figure in the emotion icons for having stored
Target characteristic information is consistent, then store into the expression storehouse target emotion icons;
In the display interface in the expression storehouse, the target emotion icons and characteristic information is marked to be expressed one's feelings with the target
All emotion icons for having stored that the characteristic information of icon is consistent, are identical or phase with the emotion icons for reminding user to be labeled
As emotion icons.
The terminal characteristic information of at least one emotion icons and target expression figure in the emotion icons for judging to have stored
When target characteristic information is consistent, be added to target emotion icons in expression storehouse by terminal.When the expression that user is checked in expression storehouse
During icon, terminal marks target emotion icons and characteristic information and the target emotion icons in the display interface in expression storehouse
All emotion icons for having stored for being consistent of characteristic information, with remind user to be labeled emotion icons as same or analogous
Emotion icons.
If for example, having the feature of a characteristic information for emotion icons and target emotion icons in the emotion icons for having stored
Information is consistent, then be added to target emotion icons in expression storehouse by terminal, and in the display interface in expression storehouse, mark target expression
Icon and with that emotion icons for having stored that the characteristic information of target emotion icons is consistent, with remind user to be labeled two
Individual emotion icons are same or analogous emotion icons.User can delete two identical expression figures according to its own demand
One in mark, to save the memory space in expression storehouse.
As shown in Fig. 2 terminal can be marked by way of frame is selected to same or analogous emotion icons.When
So, terminal can also be by choosing or underscore mode is marked to same or analogous emotion icons, specific labeling method
It is configured according to the actual requirements, is not limited herein.
Further, step S103 can also be comprised the following steps:
If the characteristic information of at least one emotion icons and the target expression figure in the emotion icons for having stored
Target characteristic information is consistent, then do not store the emotion icons, and exports prompt message in current interactive interface, to remind user
The target emotion icons have been stored in the expression storehouse.
The terminal characteristic information of at least one emotion icons and target expression figure in the emotion icons for judging to have stored
When target characteristic information is consistent, terminal can be reminded directly user in current interactive interface output prompt message, for example
Terminal can be in the prompt message of current interactive interface output " emotion icons are existing ", to remind ownership goal emotion icons
Stored in storehouse of expressing one's feelings, now, terminal without target emotion icons, to save the memory space in expression storehouse.
Such scheme, if terminal detects the predetermined registration operation of triggering storage emotion icons in current interactive interface, acquisition is treated
The characteristic information of the target emotion icons of storage;The table that will have been stored in the characteristic information of the target emotion icons and expression storehouse
Each self-corresponding characteristic information of feelings icon is contrasted one by one;If at least one expression figure in the emotion icons for having stored
Target characteristic information is consistent with the characteristic information of the target emotion icons, then user is reminded such that it is able to effectively anti-
Only user repeats to store multiple identical emotion icons in storehouse of expressing one's feelings.
Fig. 3 is referred to, Fig. 3 is a kind of signal of method for preventing from repeating storage expression that another embodiment of the present invention is provided
Flow chart.The executive agent that the method for repeating storage expression is prevented in the present embodiment is terminal.Terminal can be smart mobile phone, put down
The mobile terminals such as plate computer, but not limited to this, can also be other-end, not be limited herein.As shown in figure 3, preventing from repeating
The method for storing expression may comprise steps of:
S301:If detecting the predetermined registration operation of triggering storage emotion icons in current interactive interface, mesh to be stored is obtained
Mark emotion icons.
If terminal detects the predetermined registration operation that user triggers storage emotion icons in current interactive interface, terminal is obtained
Target emotion icons to be stored.
Current interactive interface can be the session interface of application software, such as application software such as short message, wechat or QQ
Chat interface, chat interface can be single chat interface, or many people's chat interfaces;Current interactive interface can also
It is web page browsing interface, the main display interface of such as microblogging, facebook (face time) etc. or comment interface, with specific reference to reality
Situation is determined, and is not limited herein.
The predetermined registration operation for storing emotion icons can be configured according to the actual requirements, not be limited herein.For example, storage
The predetermined registration operation of emotion icons can press emotion icons, double-click emotion icons or right click emotion icons etc. for length.If terminal exists
Current interactive interface is detected with the head of a household by emotion icons, or double-clicks emotion icons, or right click emotion icons, then terminal is sentenced
Disconnected user will store to emotion icons, and now, terminal obtains target emotion icons to be stored.
Target emotion icons can be static table feelings icon, or dynamic expression icon;Can in target emotion icons
With including face herein, it is also possible to only including landscape, word etc., be determined with specific reference to actual conditions, be not limited.
S302:Judge to whether there is face in the target emotion icons.
Terminal judges to whether there is face in target emotion icons after target emotion icons are got.
Specifically, terminal can judge to whether there is face in target emotion icons by face recognition technology.Wherein, people
Face identification technology is prior art, and here is omitted.
If terminal judges there is face in target emotion icons, step S3031, S3041 and S3051 are performed;If terminal
Judge do not exist face in target expression chart, then perform step S3032, S3042 and S3052.
S3031:If there is face in the target emotion icons, the face of the face in the target emotion icons is obtained
Portion's characteristic information.
If terminal judges there is face in target emotion icons, terminal obtains the face of the face in target emotion icons
Characteristic information.
Wherein, facial feature information can be including face mask information, face face information, countenance information etc., tool
Body is determined according to actual conditions, is not limited herein.
S3041:The facial feature information of each self-corresponding face of emotion icons stored described in obtaining, and by the mesh
The facial feature information of the face in mark emotion icons is special with the face of each self-corresponding face of the emotion icons for having stored
Reference breath is contrasted one by one.
Terminal has been stored after the facial feature information of the face in getting target emotion icons in acquisition expression storehouse
The facial feature information of each self-corresponding face of emotion icons.
Specifically, terminal judges to whether there is face in the emotion icons for having stored one by one, if the emotion icons for having stored
In there is face, then terminal obtains the facial feature information of the face in the emotion icons that have stored.
The facial feature information of face of the terminal in target emotion icons are got and the emotion icons that have stored are each
After the facial feature information of corresponding face, by the facial feature information of the face in target emotion icons and the expression for having stored
Whether at least the facial feature information of each self-corresponding face of icon is contrasted one by one, in the emotion icons that judgement has been stored
The facial feature information of the face in one emotion icons is consistent with the facial feature information of the face in target emotion icons.
The facial feature information and target emotion icons of the face in the emotion icons that terminal can have been stored by judgement
In face facial feature information similarity whether more than the first predetermined threshold value come in judging the emotion icons for having stored
Whether the facial feature information of face is consistent with the facial feature information of the face in target emotion icons.
Wherein, the first predetermined threshold value can be configured according to the actual requirements, not be limited herein.For example, first is default
Threshold value can be 99%.
S3051:If the face feature letter of the face in the emotion icons for having stored at least one emotion icons
The similarity with the facial feature information of the face in the target emotion icons is ceased more than the first predetermined threshold value, then user is entered
Row is reminded.
If the facial feature information of the face in the emotion icons that terminal judgement has been stored at least one emotion icons
With the similarity of the facial feature information of the face in target emotion icons more than the first predetermined threshold value, then terminal judges have been stored
Emotion icons in the facial feature information of face be consistent with the facial feature information of the face in target emotion icons, now
Terminal-pair user reminded.
If for example, thering is a facial feature information for the face of emotion icons to be expressed one's feelings with target in the emotion icons for having stored
The similarity of the facial feature information of the face in icon more than 99%, then the people in the terminal judges emotion icons that have stored
The facial feature information of face is consistent with the facial feature information of the face in target emotion icons, and now terminal-pair user is carried
Wake up.
Terminal can be reminded user by exporting prompt message in current interactive interface.For example terminal can worked as
The prompt message of preceding interactive interface output " emotion icons are existing ", to remind ownership goal emotion icons to store in expression
In storehouse, now, terminal without target emotion icons, to save the memory space in expression storehouse.
Terminal can also expression storehouse display interface by way of marking same or analogous emotion icons to user
Reminded.If for example, having the facial feature information and target of the face in an emotion icons in the emotion icons for having stored
The facial feature information of the face in emotion icons is consistent, then be added to target emotion icons in expression storehouse by terminal, and in table
The display interface in feelings storehouse, mark target emotion icons and is consistent with the facial feature information of the face in target emotion icons
That emotion icons for having stored, is same or analogous emotion icons with two emotion icons for reminding user to be labeled.With
Family can delete in two identical emotion icons according to its own demand, to save the memory space in expression storehouse.
S3032:If not existing face in the target emotion icons, the predeterminable area of the target emotion icons is obtained
Colouring information;Wherein, the predeterminable area includes at least one region.
If terminal judges to obtain the predeterminable area of target emotion icons in the absence of face, terminal in target emotion icons
Colouring information.
Wherein, predeterminable area is used to identifying one in emotion icons, two or more regions, i.e. predeterminable area include extremely
A few region.The size in region, shape, position and number can be configured according to the actual requirements, not be limited herein.Example
As predeterminable area can include 11 regions.Terminal obtains 10 colouring informations of different zones in target emotion icons.
S3042:The colouring information of each self-corresponding predeterminable area of emotion icons stored described in obtaining, and by the mesh
The colouring information of the predeterminable area of mark emotion icons and the color of each self-corresponding predeterminable area of the emotion icons for having stored
Information is contrasted one by one.
Terminal obtains the table stored in expression storehouse after the colouring information of predeterminable area of target emotion icons is got
The colouring information of each self-corresponding same area of feelings icon.
Specifically, terminal judges to whether there is face in the emotion icons for having stored one by one, if the emotion icons for having stored
In do not exist face, then terminal obtains the colouring information of the predeterminable area of emotion icons for having stored.
Terminal is each right in the emotion icons for getting the colouring information of the predeterminable area of target emotion icons and stored
After the colouring information of the predeterminable area answered, by the colouring information of the predeterminable area of target emotion icons and the emotion icons for having stored
The colouring information of each self-corresponding predeterminable area is contrasted one by one, in the emotion icons that have stored of judgement whether at least one
The colouring information of the predeterminable area of emotion icons is consistent with the colouring information of the predeterminable area of target emotion icons.
The colouring information of the predeterminable area of the emotion icons that terminal can have been stored by judgement and target emotion icons
Whether the similarity of the colouring information of predeterminable area judges the preset areas of emotion icons for having stored more than the second predetermined threshold value
Whether the colouring information in domain is consistent with the colouring information of the predeterminable area of target emotion icons.
Wherein, the second predetermined threshold value can be configured according to the actual requirements, not be limited herein.For example, second is default
Threshold value can be 90%.
S3052:If the colouring information of the predeterminable area of at least one emotion icons in the emotion icons for having stored
With the similarity of the colouring information of the predeterminable area of the target emotion icons more than the second predetermined threshold value, then user is carried
Wake up.
If terminal judge the colouring information of the predeterminable area of at least one emotion icons in the emotion icons that have stored with
The similarity of the colouring information of the predeterminable area of target emotion icons is then reminded user more than the second predetermined threshold value.
If for example, thering is the colouring information in the 10 of emotion icons regions to be expressed one's feelings with target in the emotion icons for having stored
The colouring information of the same area of icon is consistent, the color of the same area of 1 colouring information in region and target emotion icons
Information is not corresponded, then illustrate the colouring information of the predeterminable area of the emotion icons for having stored and the preset areas of target emotion icons
The similarity of the colouring information in domain has exceeded 90%, and now, terminal-pair user reminded.
Terminal can be reminded user by exporting prompt message in current interactive interface.For example terminal can worked as
The prompt message of preceding interactive interface output " emotion icons are existing ", to remind ownership goal emotion icons to store in expression
In storehouse, now, terminal without target emotion icons, to save the memory space in expression storehouse.
Terminal can also expression storehouse display interface by way of marking same or analogous emotion icons to user
Reminded.If for example, having the facial feature information and target of the face in an emotion icons in the emotion icons for having stored
The facial feature information of the face in emotion icons is consistent, then be added to target emotion icons in expression storehouse by terminal, and in table
The display interface in feelings storehouse, mark target emotion icons and is consistent with the facial feature information of the face in target emotion icons
That emotion icons for having stored, is same or analogous emotion icons with two emotion icons for reminding user to be labeled.With
Family can delete in two identical emotion icons according to its own demand, to save the memory space in expression storehouse.
Such scheme, if terminal detects the predetermined registration operation of triggering storage emotion icons in current interactive interface, acquisition is treated
The characteristic information of the target emotion icons of storage;The table that will have been stored in the characteristic information of the target emotion icons and expression storehouse
Each self-corresponding characteristic information of feelings icon is contrasted one by one;If at least one expression figure in the emotion icons for having stored
Target characteristic information is consistent with the characteristic information of the target emotion icons, then user is reminded such that it is able to effectively anti-
Only user repeats to store multiple identical emotion icons in storehouse of expressing one's feelings.
Fig. 4 is referred to, Fig. 4 is a kind of signal of method for preventing from repeating storage expression that yet another embodiment of the invention is provided
Flow chart.The executive agent that the method for repeating storage expression is prevented in the present embodiment is terminal.Terminal can be smart mobile phone, put down
The mobile terminals such as plate computer, but not limited to this, can also be other-end, not be limited herein.As shown in figure 4, preventing from repeating
The method for storing expression may comprise steps of:
S401:If detecting the predetermined registration operation of triggering storage emotion icons in current interactive interface, mesh to be stored is obtained
Mark emotion icons.
If terminal detects the predetermined registration operation that user triggers storage emotion icons in current interactive interface, terminal is obtained
Target emotion icons to be stored.
Current interactive interface can be the session interface of application software, such as application software such as short message, wechat or QQ
Chat interface, chat interface can be single chat interface, or many people's chat interfaces;Current interactive interface can also
It is web page browsing interface, the main display interface of such as microblogging, facebook (face time) etc. or comment interface, with specific reference to reality
Situation is determined, and is not limited herein.
The predetermined registration operation for storing emotion icons can be configured according to the actual requirements, not be limited herein.For example, storage
The predetermined registration operation of emotion icons can press emotion icons, double-click emotion icons or right click emotion icons etc. for length.If terminal exists
Current interactive interface is detected with the head of a household by emotion icons, or double-clicks emotion icons, or right click emotion icons, then terminal is sentenced
Disconnected user will store to emotion icons, and now, terminal obtains target emotion icons to be stored.
Target emotion icons can be static table feelings icon, or dynamic expression icon;Can in target emotion icons
With including face herein, it is also possible to only including landscape, word etc., be determined with specific reference to actual conditions, be not limited.
S402:The target emotion icons are carried out with binary conversion treatment, is obtained through the object table after binary conversion treatment
The track characteristic of feelings icon.
Terminal carries out binary conversion treatment to target emotion icons, and obtain through two-value after target emotion icons are got
The track characteristic of the target emotion icons after change treatment.
Wherein, binary conversion treatment refers specifically to for the color value (rgb value) of each pixel in emotion icons to carry out letter
Change is processed.Even the color value of pixel is more than pre-set color value threshold value, then be set to (255,255,255) pixel;
If the color value of pixel is less than pre-set color value threshold value, the pixel is set to (0,0,0).After binary conversion treatment
Black or pure white pixel are only existed in emotion icons, the boundary line between black pixel and white pixel point is contour line.
After terminal-pair target emotion icons carry out binary conversion treatment, obtain through in the target emotion icons after binary conversion treatment
Contour line track characteristic.
Wherein, the track characteristic of contour line includes intersection, bending, starting point, terminal, binding site and feature letter etc. bifurcation
Breath.It is configured with specific reference to actual conditions, is not limited herein.
S403:The emotion icons stored in the expression storehouse are carried out into binary conversion treatment, is obtained through binary conversion treatment
Each self-corresponding rail track feature of the emotion icons for having stored afterwards.
After the track characteristic for getting target emotion icons, the emotion icons to having been stored in expression storehouse are carried out terminal
Binary conversion treatment, and obtain through each self-corresponding track characteristic of the emotion icons for having stored of binary conversion treatment hand.
S404:By the track characteristic of the target emotion icons and each self-corresponding track of the emotion icons for having stored
Feature is contrasted one by one.
Terminal is special with each self-corresponding track of emotion icons for having stored in the track characteristic for getting target emotion icons
After levying, the track characteristic of target emotion icons and each self-corresponding track characteristic of emotion icons for having stored are carried out one a pair
Than, in the emotion icons that have stored of judgement whether the track of the track characteristic of at least one emotion icons and target emotion icons
Feature is consistent.
The track characteristic of the emotion icons that terminal can have been stored by judgement and the track characteristic of target emotion icons
Whether similarity judges the rail of the track characteristic of the emotion icons and target emotion icons for having stored more than the 3rd predetermined threshold value
Whether mark feature is consistent.
Wherein, the 3rd predetermined threshold value can be configured according to the actual requirements, not be limited herein.For example, the 3rd is default
Threshold value can be 99%.
S405:If the track characteristic of at least one emotion icons and the object table in the emotion icons for having stored
The similarity of the track characteristic of feelings icon is then reminded user more than the 3rd predetermined threshold value.
If terminal judges the track characteristic and target expression figure of at least one emotion icons in the emotion icons for having stored
The similarity of target track characteristic is then reminded user more than the 3rd predetermined threshold value.
If for example, having the track of a track characteristic for emotion icons and target emotion icons in the emotion icons for having stored
The similarity of feature more than 99%, then the rail of the track characteristic of the terminal judges emotion icons for having stored and target emotion icons
Mark feature is consistent, and now terminal-pair user is reminded.
Terminal can be reminded user by exporting prompt message in current interactive interface.For example terminal can worked as
The prompt message of preceding interactive interface output " emotion icons are existing ", to remind ownership goal emotion icons to store in expression
In storehouse, now, terminal without target emotion icons, to save the memory space in expression storehouse.
Terminal can also expression storehouse display interface by way of marking same or analogous emotion icons to user
Reminded.If for example, having the facial feature information and target of the face in an emotion icons in the emotion icons for having stored
The facial feature information of the face in emotion icons is consistent, then be added to target emotion icons in expression storehouse by terminal, and in table
The display interface in feelings storehouse, mark target emotion icons and is consistent with the facial feature information of the face in target emotion icons
That emotion icons for having stored, is same or analogous emotion icons with two emotion icons for reminding user to be labeled.With
Family can delete in two identical emotion icons according to its own demand, to save the memory space in expression storehouse.
Such scheme, if terminal detects the predetermined registration operation of triggering storage emotion icons in current interactive interface, acquisition is treated
The characteristic information of the target emotion icons of storage;The table that will have been stored in the characteristic information of the target emotion icons and expression storehouse
Each self-corresponding characteristic information of feelings icon is contrasted one by one;If at least one expression figure in the emotion icons for having stored
Target characteristic information is consistent with the characteristic information of the target emotion icons, then user is reminded such that it is able to effectively anti-
Only user repeats to store multiple identical emotion icons in storehouse of expressing one's feelings.
Referring to Fig. 5, Fig. 5 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.Terminal 500 can be intelligence
The mobile terminals such as mobile phone, panel computer, can also be other-end, not be limited herein.What the terminal 500 of the present embodiment included
Each unit is used to perform each step in the corresponding embodiments of Fig. 1, in specifically referring to the corresponding embodiments of Fig. 1 and Fig. 1
Associated description, does not repeat herein.The terminal 500 of the present embodiment includes acquiring unit 501, comparison unit 502 and reminding unit
503。
If acquiring unit 501 is used to be detected in current interactive interface the predetermined registration operation of triggering storage emotion icons, obtain
The characteristic information of target emotion icons to be stored.Acquiring unit 501 sends to contrast the characteristic information of target emotion icons
Unit 502.
Comparison unit 502 is used for the characteristic information of the target emotion icons for receiving the transmission of acquiring unit 501, by the target
The characteristic information of emotion icons is contrasted one by one with each self-corresponding characteristic information of emotion icons for having stored in expression storehouse.It is right
Comparing result is sent to reminding unit 503 than unit 502.
Reminding unit 503 is used for the comparing result that comparison unit 502 sends, if comparing result is the emotion icons for having stored
In the characteristic information of at least one emotion icons be consistent with the characteristic information of the target emotion icons, then user is carried
Wake up.
Further, if reminding unit 503 is at least one in the emotion icons for having stored specifically for comparing result
The characteristic information of emotion icons is consistent with the characteristic information of the target emotion icons, and the target emotion icons are stored to institute
State expression storehouse in;In the display interface in the expression storehouse, the target emotion icons and characteristic information and the target are marked
All emotion icons for having stored that the characteristic information of emotion icons is consistent, with remind user to be labeled emotion icons as identical
Or similar emotion icons.
Further, if reminding unit 503 is at least one in the emotion icons for having stored specifically for comparing result
The characteristic information of emotion icons is consistent with the characteristic information of the target emotion icons, then do not store the emotion icons, and
Current interactive interface output prompt message, to remind target emotion icons described in user to store in the expression storehouse.
Such scheme, if terminal detects the predetermined registration operation of triggering storage emotion icons in current interactive interface, acquisition is treated
The characteristic information of the target emotion icons of storage;The table that will have been stored in the characteristic information of the target emotion icons and expression storehouse
Each self-corresponding characteristic information of feelings icon is contrasted one by one;If at least one expression figure in the emotion icons for having stored
Target characteristic information is consistent with the characteristic information of the target emotion icons, then user is reminded such that it is able to effectively anti-
Only user repeats to store multiple identical emotion icons in storehouse of expressing one's feelings.
Referring to Fig. 6, Fig. 6 is a kind of schematic block diagram of terminal that another embodiment of the present invention is provided.Terminal 600 can be
The mobile terminals such as smart mobile phone, panel computer, can also be other-end, not be limited herein.The terminal 600 of the present embodiment is wrapped
The each unit for including is used to perform each step in the corresponding embodiments of Fig. 3, specifically refers to the corresponding embodiments of Fig. 3 and Fig. 3
In associated description, do not repeat herein.The terminal 600 of the present embodiment includes:Acquiring unit 601, comparison unit 602 and prompting are single
Unit 603.
Wherein, acquiring unit 601 includes:Target emotion icons acquiring unit 610, judging unit 611, facial feature information
Acquiring unit 612 and colouring information acquiring unit 613;Comparison unit 602 is specifically included:Facial feature information comparison unit 620
With colouring information comparison unit 621.
If target emotion icons acquiring unit 610 is used to detect the pre- of triggering storage emotion icons in current interactive interface
If operation, target emotion icons to be stored are obtained.Target emotion icons acquiring unit 610 is by target emotion icons to be stored
Send to judging unit 611.
Judging unit 611 is used to receive the target emotion icons of the transmission of target emotion icons acquiring unit 610, judges described
Whether there is face in target emotion icons.Judging unit 611 will determine that result is sent to facial feature information acquiring unit 612
With colouring information acquiring unit 613.
Facial feature information acquiring unit 612 is used to receive the judgement structure of the transmission of judging unit 611, if judged result is
There is face in the target emotion icons, then obtain the facial feature information of the face in the target emotion icons.Face
Characteristic acquisition unit 612 sends to facial feature information contrast the facial feature information of the face in target emotion icons
Unit 620.
Facial feature information comparison unit 620 is used to receive the target expression of the transmission of facial feature information acquiring unit 612
The facial feature information of the face in icon, the face feature for obtaining each self-corresponding face of emotion icons for having stored is believed
Breath, and the facial feature information of the face in the target emotion icons is each self-corresponding with the emotion icons for having stored
The facial feature information of face is contrasted one by one.Comparing result is sent single to reminding by facial feature information comparison unit 620
Unit 603.
Reminding unit 603 is used to receive the comparing result of the transmission of facial feature information comparison unit 620, if comparing result is
If the facial feature information of the face in the emotion icons for having stored at least one emotion icons and the object table
The similarity of the facial feature information of the face in feelings icon is then reminded user more than the first predetermined threshold value.
Colouring information acquiring unit 613 is used to receive the judgement structure of the transmission of judging unit 611, if judged result is described
Do not exist face in target emotion icons, then obtain the colouring information of the predeterminable area of the target emotion icons;Wherein, it is described
Predeterminable area includes at least one region.Colouring information acquiring unit 613 believes the color of the predeterminable area of target emotion icons
Breath is sent to colouring information comparison unit 621.
Colouring information comparison unit 621 is used to receive the pre- of the target emotion icons of the transmission of colouring information acquiring unit 613
If the colouring information in region, obtain described in the colouring information of each self-corresponding predeterminable area of emotion icons that has stored, and by institute
State the colouring information and each self-corresponding predeterminable area of the emotion icons for having stored of the predeterminable area of target emotion icons
Colouring information is contrasted one by one.Colouring information comparison unit 621 sends to reminding unit 603 comparing result.
Reminding unit 603 is additionally operable to the comparing result of the transmission of colouring information comparison unit 621, if comparing result for it is described
The colouring information of the predeterminable area of at least one emotion icons is pre- with the target emotion icons in the emotion icons of storage
If the similarity of the colouring information in region is then reminded user more than the second predetermined threshold value.
Such scheme, if terminal detects the predetermined registration operation of triggering storage emotion icons in current interactive interface, acquisition is treated
The characteristic information of the target emotion icons of storage;The table that will have been stored in the characteristic information of the target emotion icons and expression storehouse
Each self-corresponding characteristic information of feelings icon is contrasted one by one;If at least one expression figure in the emotion icons for having stored
Target characteristic information is consistent with the characteristic information of the target emotion icons, then user is reminded such that it is able to effectively anti-
Only user repeats to store multiple identical emotion icons in storehouse of expressing one's feelings.
Referring to Fig. 7, Fig. 7 is a kind of schematic block diagram of terminal that another embodiment of the present invention is provided.Terminal 700 can be
The mobile terminals such as smart mobile phone, panel computer, can also be other-end, not be limited herein.The terminal 700 of the present embodiment is wrapped
The each unit for including is used to perform each step in the corresponding embodiments of Fig. 4, specifically refers to the corresponding embodiments of Fig. 4 and Fig. 4
In associated description, do not repeat herein.The terminal 700 of the present embodiment includes:Acquiring unit 701, comparison unit 702 and prompting are single
Unit 703.
Specifically, acquiring unit 701 includes:Target emotion icons acquiring unit 710 and the first track characteristic acquiring unit
711;Comparison unit 702 includes:Second track characteristic acquiring unit 720 and track characteristic comparison unit 721.
If target emotion icons acquiring unit 710 is used to detect the pre- of triggering storage emotion icons in current interactive interface
If operation, target emotion icons to be stored are obtained.Target emotion icons acquiring unit 710 is by target emotion icons to be stored
Send to the first track characteristic acquiring unit 711.
First track characteristic acquiring unit 711 is used to receive the target expression of the transmission of target emotion icons acquiring unit 710
The target emotion icons are carried out binary conversion treatment by icon, are obtained through the target emotion icons after binary conversion treatment
Track characteristic.The track characteristic of target emotion icons is sent to track characteristic and contrasts single by the first track characteristic acquiring unit 711
Unit 721.
Second track characteristic acquiring unit 720 is used to for the emotion icons stored in the expression storehouse to carry out binaryzation
Treatment, each self-corresponding rail track feature of emotion icons that acquisition has been stored described in after binary conversion treatment.Second track characteristic
Each self-corresponding rail track feature of emotion icons that acquiring unit 720 will have been stored is sent to track characteristic comparison unit 721.
Track characteristic comparison unit 721 is used to receive the target emotion icons that the first track characteristic acquiring unit 711 sends
Track characteristic send to track characteristic and the second track characteristic acquiring unit 720 emotion icons for having stored for sending each
Corresponding rail track feature is sent to track characteristic, by the track characteristic of the target emotion icons and the expression figure for having stored
Each self-corresponding track characteristic is marked to be contrasted one by one.Track characteristic comparison unit 721 sends to reminding unit comparing result
703。
Reminding unit 703 is used for the comparing result that receiving locus Characteristic Contrast unit 721 sends, if comparing result is described
The track characteristic of at least one emotion icons and the track characteristic of the target emotion icons in the emotion icons for having stored
Similarity is then reminded user more than the 3rd predetermined threshold value.
Such scheme, if terminal detects the predetermined registration operation of triggering storage emotion icons in current interactive interface, acquisition is treated
The characteristic information of the target emotion icons of storage;The table that will have been stored in the characteristic information of the target emotion icons and expression storehouse
Each self-corresponding characteristic information of feelings icon is contrasted one by one;If at least one expression figure in the emotion icons for having stored
Target characteristic information is consistent with the characteristic information of the target emotion icons, then user is reminded such that it is able to effectively anti-
Only user repeats to store multiple identical emotion icons in storehouse of expressing one's feelings.
Referring to Fig. 8, Fig. 8 is a kind of terminal schematic block diagram that yet another embodiment of the invention is provided.This implementation as shown in Figure 8
Terminal 800 in example can include:One or more processors 801, one or more input equipments 802, one or more then
Output equipment 803 and one or more memories 804.Above-mentioned processor 801, input equipment 802, then output equipment 803 and deposit
Reservoir 804 completes mutual communication by communication bus 808.
Memory 804 is instructed for storage program.
The programmed instruction that processor 801 is used to be stored according to memory 804 performs following operation:
If processor 801 is used to be detected in current interactive interface the predetermined registration operation of triggering storage emotion icons, acquisition is treated
The characteristic information of the target emotion icons of storage.
Processor 801 is additionally operable to the emotion icons that will have been stored in the characteristic information of the target emotion icons and expression storehouse
Each self-corresponding characteristic information is contrasted one by one.
If processor 801 be additionally operable to the characteristic information of at least one emotion icons in the emotion icons for having stored with
The characteristic information of the target emotion icons is consistent, then user is reminded.
If processor 801 is specifically for the characteristic information of at least one emotion icons in the emotion icons for having stored
Characteristic information with the target emotion icons is consistent, then store into the expression storehouse target emotion icons;Institute
The display interface in expression storehouse is stated, marks the target emotion icons and characteristic information to believe with the feature of the target emotion icons
All emotion icons for having stored of manner of breathing symbol, are same or analogous expression figure with the emotion icons for reminding user to be labeled
Mark.
If processor 801 is specifically for the characteristic information of at least one emotion icons in the emotion icons for having stored
Characteristic information with the target emotion icons is consistent, then do not store the emotion icons, and carry in the output of current interactive interface
Show information, to remind target emotion icons described in user to store in the expression storehouse.
If processor 801 is obtained specifically for detecting the predetermined registration operation that triggering stores emotion icons in current interactive interface
Take target emotion icons to be stored.
Processor 801 is specifically for judging to whether there is face in the target emotion icons.
If processor 801 obtains the target emotion icons specifically for there is face in the target emotion icons
In face facial feature information.
If processor 801 obtains the target expression figure specifically for not existing face in the target emotion icons
The colouring information of target predeterminable area;Wherein, the predeterminable area includes at least one region.
If processor 801 specifically for there is face in the target emotion icons, obtain described in the expression that has stored
The facial feature information of each self-corresponding face of icon, and by the facial feature information of the face in the target emotion icons with
The facial feature information of each self-corresponding face of the emotion icons for having stored is contrasted one by one.
If processor 801 specifically for not existing face in the target emotion icons, obtain described in the table that has stored
The colouring information of each self-corresponding predeterminable area of feelings icon, and by the colouring information of the predeterminable area of the target emotion icons with
The colouring information of each self-corresponding predeterminable area of the emotion icons for having stored is contrasted one by one.
If processor 801 is specifically for the face at least one emotion icons in the emotion icons for having stored
The similarity of the facial feature information of the face in facial feature information and the target emotion icons more than the first predetermined threshold value,
Then user is reminded;Or
If in the emotion icons for having stored the colouring information of the predeterminable area of at least one emotion icons with it is described
The similarity of the colouring information of the predeterminable area of target emotion icons is then reminded user more than the second predetermined threshold value.
If processor 801 is obtained specifically for detecting the predetermined registration operation that triggering stores emotion icons in current interactive interface
Take target emotion icons to be stored.
Processor 801 is obtained after binary conversion treatment specifically for the target emotion icons are carried out with binary conversion treatment
The target emotion icons track characteristic.
Processor 801 is obtained specifically for the emotion icons stored in the expression storehouse are carried out into binary conversion treatment
Each self-corresponding rail track feature of emotion icons stored described in after binary conversion treatment.
Processor 801 is specifically for each with the emotion icons for having stored by the track characteristic of the target emotion icons
Self-corresponding track characteristic is contrasted one by one.
If processor 801 is specifically for the track characteristic of at least one emotion icons in the emotion icons for having stored
With the similarity of the track characteristic of the target emotion icons more than the 3rd predetermined threshold value, then user is reminded.
Such scheme, if terminal detects the predetermined registration operation of triggering storage emotion icons in current interactive interface, acquisition is treated
The characteristic information of the target emotion icons of storage;The table that will have been stored in the characteristic information of the target emotion icons and expression storehouse
Each self-corresponding characteristic information of feelings icon is contrasted one by one;If at least one expression figure in the emotion icons for having stored
Target characteristic information is consistent with the characteristic information of the target emotion icons, then user is reminded such that it is able to effectively anti-
Only user repeats to store multiple identical emotion icons in storehouse of expressing one's feelings.
It should be appreciated that in embodiments of the present invention, alleged processor 801 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device can also be any conventional processor etc..
Input equipment 802 can include that Trackpad, fingerprint adopt sensor (finger print information and fingerprint for gathering user
Directional information), camera, microphone etc., then output equipment 803 can be including display (LCD etc.), loudspeaker etc..
The memory 808 can include read-only storage and random access memory, and to processor 801 provide instruction and
Data.The a part of of memory 808 can also include nonvolatile RAM.For example, memory 808 can also be deposited
Store up the information of device type.
In implementing, processor 801, input equipment 802 described in the embodiment of the present invention, output equipment 803 can
Perform described in the first embodiment and second embodiment of the method for preventing and repeating storage expression provided in an embodiment of the present invention
Implementation, also can perform the embodiment of the present invention described by terminal implementation, will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Unit and algorithm steps, can be realized, with electronic hardware, computer software or the combination of the two in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, can be by it
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase
Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection, or electricity, machinery or other forms connections.
Step in present invention method can according to actual needs carry out order adjustment, merge and delete.
Unit in embodiment of the present invention terminal can according to actual needs be merged, divides and deleted.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize embodiment of the present invention scheme
Purpose.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use
When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for being contributed to prior art in other words, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or replacement should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
1. it is a kind of to prevent from repeating the method that storage is expressed one's feelings, it is characterised in that the method for preventing from repeating storage expression includes:
If detecting the predetermined registration operation of triggering storage emotion icons in current interactive interface, target emotion icons to be stored are obtained
Characteristic information;
Each self-corresponding characteristic information of emotion icons that will have been stored in the characteristic information of the target emotion icons and expression storehouse
Contrasted one by one;
If the characteristic information of at least one emotion icons and the target emotion icons in the emotion icons for having stored
Characteristic information is consistent, then user is reminded.
2. the method for preventing from repeating storage expression according to claim 1, it is characterised in that stored if described
The characteristic information of at least one emotion icons is consistent with the characteristic information of the target emotion icons in emotion icons, then to
Family carries out prompting and specifically includes:
If the characteristic information of at least one emotion icons and the target emotion icons in the emotion icons for having stored
Characteristic information is consistent, then store into the expression storehouse target emotion icons;
In the display interface in the expression storehouse, the target emotion icons and characteristic information and the target emotion icons are marked
All emotion icons for having stored for being consistent of characteristic information, with remind user to be labeled emotion icons as same or analogous
Emotion icons.
3. the method for preventing from repeating storage expression according to claim 1, it is characterised in that stored if described
The characteristic information of at least one emotion icons is consistent with the characteristic information of the target emotion icons in emotion icons, then to
Family carries out prompting and specifically includes:
If the characteristic information of at least one emotion icons and the target emotion icons in the emotion icons for having stored
Characteristic information is consistent, then do not store the emotion icons, and exports prompt message in current interactive interface, to remind described in user
Target emotion icons have been stored in the expression storehouse.
4. preventing according to any one of claims 1 to 3 repeats the method that storage is expressed one's feelings, it is characterised in that
If the predetermined registration operation that triggering storage emotion icons are detected in current interactive interface, target expression to be stored is obtained
The characteristic information of icon is specifically included:
If detecting the predetermined registration operation of triggering storage emotion icons in current interactive interface, target expression figure to be stored is obtained
Mark;
Judge to whether there is face in the target emotion icons;
If there is face in the target emotion icons, the face feature letter of the face in the target emotion icons is obtained
Breath;
If not existing face in the target emotion icons, the color letter of the predeterminable area of the target emotion icons is obtained
Breath;Wherein, the predeterminable area includes at least one region;
Each self-corresponding feature of emotion icons stored in the characteristic information by the target emotion icons and expression storehouse
Information is contrasted specifically included one by one:
If there is face in the target emotion icons, the face of each self-corresponding face of emotion icons stored described in acquisition
Portion's characteristic information, and the facial feature information of the face in the target emotion icons is each with the emotion icons for having stored
The facial feature information of self-corresponding face is contrasted one by one;
If not existing face in the target emotion icons, each self-corresponding preset areas of emotion icons stored described in acquisition
The colouring information in domain, and the colouring information of the predeterminable area of the target emotion icons is each with the emotion icons for having stored
The colouring information of self-corresponding predeterminable area is contrasted one by one;
If the characteristic information of at least one emotion icons and the target expression figure in the emotion icons for having stored
Target characteristic information is consistent, then carrying out prompting to user specifically includes:
If the facial feature information of the face in the emotion icons for having stored at least one emotion icons and the mesh
The similarity of the facial feature information of the face in mark emotion icons is then reminded user more than the first predetermined threshold value;Or
Person
If the colouring information of the predeterminable area of at least one emotion icons and the target in the emotion icons for having stored
The similarity of the colouring information of the predeterminable area of emotion icons is then reminded user more than the second predetermined threshold value.
5. according to any one of claims 1 to 3 preventing repeat storage expression method, it is characterised in that if it is described
Current interactive interface detects the predetermined registration operation of triggering storage emotion icons, obtains the feature letter of target emotion icons to be stored
Breath is specifically included:
If detecting the predetermined registration operation of triggering storage emotion icons in current interactive interface, target expression figure to be stored is obtained
Mark;
The target emotion icons are carried out with binary conversion treatment, is obtained through the rail of the target emotion icons after binary conversion treatment
Mark feature;
Each self-corresponding feature of emotion icons stored in the characteristic information by the target emotion icons and expression storehouse
Information is contrasted specifically included one by one:
The emotion icons stored in the expression storehouse are carried out into binary conversion treatment, is obtained described in after binary conversion treatment
Each self-corresponding rail track feature of emotion icons of storage;
The track characteristic of the target emotion icons is carried out with each self-corresponding track characteristic of the emotion icons for having stored
Contrast one by one;
If the characteristic information of at least one emotion icons and the target expression figure in the emotion icons for having stored
Target characteristic information is consistent, then carrying out prompting to user specifically includes:
If the track characteristic of at least one emotion icons and the target emotion icons in the emotion icons for having stored
The similarity of track characteristic is then reminded user more than the 3rd predetermined threshold value.
6. a kind of terminal, it is characterised in that the terminal includes:
Acquiring unit, if the predetermined registration operation for detecting triggering storage emotion icons in current interactive interface, obtains to be stored
Target emotion icons characteristic information;
Comparison unit, for the characteristic information of the target emotion icons is each right with the emotion icons that have stored in expression storehouse
The characteristic information answered is contrasted one by one;
Reminding unit, if for the characteristic information and the mesh of at least one emotion icons in the emotion icons for having stored
The characteristic information for marking emotion icons is consistent, then user is reminded.
7. terminal according to claim 6, it is characterised in that the reminding unit specifically for:
If the characteristic information of at least one emotion icons and the target emotion icons in the emotion icons for having stored
Characteristic information is consistent, then store into the expression storehouse target emotion icons;In the display interface in the expression storehouse, mark
That remembers that the target emotion icons and characteristic information are consistent with the characteristic information of the target emotion icons all has stored
Emotion icons, are same or analogous emotion icons with the emotion icons for reminding user to be labeled.
8. terminal according to claim 6, it is characterised in that the reminding unit specifically for:
If the characteristic information of at least one emotion icons and the target emotion icons in the emotion icons for having stored
Characteristic information is consistent, then do not store the emotion icons, and exports prompt message in current interactive interface, to remind described in user
Target emotion icons have been stored in the expression storehouse.
9. the terminal according to any one of claim 6 to 8, it is characterised in that
The acquiring unit is specifically included:
Target emotion icons acquiring unit, if the default behaviour for detecting triggering storage emotion icons in current interactive interface
Make, obtain target emotion icons to be stored;
Judging unit, for judging to whether there is face in the target emotion icons;
Facial feature information acquiring unit, if for there is face in the target emotion icons, obtaining the target expression
The facial feature information of the face in icon;
Colouring information acquiring unit, if for not existing face in the target emotion icons, obtaining the target expression figure
The colouring information of target predeterminable area;Wherein, the predeterminable area includes at least one region;
The comparison unit is specifically included:
Facial feature information comparison unit, if for there is face in the target emotion icons, obtain described in stored
The facial feature information of each self-corresponding face of emotion icons, and the face feature of the face in the target emotion icons is believed
Breath is contrasted one by one with the facial feature information of each self-corresponding face of the emotion icons for having stored;
Colouring information comparison unit, if for not existing face in the target emotion icons, obtain described in the table that has stored
The colouring information of each self-corresponding predeterminable area of feelings icon, and by the colouring information of the predeterminable area of the target emotion icons with
The colouring information of each self-corresponding predeterminable area of the emotion icons for having stored is contrasted one by one;
The reminding unit specifically for:
If the facial feature information of the face in the emotion icons for having stored at least one emotion icons and the mesh
The similarity of the facial feature information of the face in mark emotion icons is then reminded user more than the first predetermined threshold value;Or
Person
If the colouring information of the predeterminable area of at least one emotion icons and the target in the emotion icons for having stored
The similarity of the colouring information of the predeterminable area of emotion icons is then reminded user more than the second predetermined threshold value.
10. the terminal according to any one of claim 6 to 8, it is characterised in that
The acquiring unit is specifically included:
Target emotion icons acquiring unit, if the default behaviour for detecting triggering storage emotion icons in current interactive interface
Make, obtain target emotion icons to be stored;
First track characteristic acquiring unit, for the target emotion icons to be carried out with binary conversion treatment, obtains at through binaryzation
The track characteristic of the target emotion icons after reason;
The comparison unit is specifically included:
Second track characteristic acquiring unit, for the emotion icons stored in the expression storehouse to be carried out into binary conversion treatment,
Each self-corresponding rail track feature of emotion icons that acquisition has been stored described in after binary conversion treatment;
Track characteristic comparison unit, for the track characteristic of the target emotion icons is each with the emotion icons for having stored
Self-corresponding track characteristic is contrasted one by one;
The reminding unit specifically for:If the track characteristic of at least one emotion icons in the emotion icons for having stored
With the similarity of the track characteristic of the target emotion icons more than the 3rd predetermined threshold value, then user is reminded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611190621.6A CN106708998A (en) | 2016-12-21 | 2016-12-21 | Method for preventing repeated storage of expressions and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611190621.6A CN106708998A (en) | 2016-12-21 | 2016-12-21 | Method for preventing repeated storage of expressions and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106708998A true CN106708998A (en) | 2017-05-24 |
Family
ID=58939430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611190621.6A Withdrawn CN106708998A (en) | 2016-12-21 | 2016-12-21 | Method for preventing repeated storage of expressions and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106708998A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558503A (en) * | 2018-11-16 | 2019-04-02 | 努比亚技术有限公司 | Expression packet display methods, mobile terminal and computer readable storage medium |
CN109558503B (en) * | 2018-11-16 | 2024-05-10 | 努比亚技术有限公司 | Expression pack display method, mobile terminal and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516774A (en) * | 2012-12-28 | 2014-01-15 | Tcl集团股份有限公司 | Method and system for eliminating multiplicating storage based on cloud storage |
CN103577516A (en) * | 2013-07-01 | 2014-02-12 | 北京百纳威尔科技有限公司 | Method and device for displaying contents |
CN105159959A (en) * | 2015-08-20 | 2015-12-16 | 广东欧珀移动通信有限公司 | Image file processing method and system |
CN105787131A (en) * | 2016-03-31 | 2016-07-20 | 宇龙计算机通信科技(深圳)有限公司 | Information processing method and device and mobile terminal |
-
2016
- 2016-12-21 CN CN201611190621.6A patent/CN106708998A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516774A (en) * | 2012-12-28 | 2014-01-15 | Tcl集团股份有限公司 | Method and system for eliminating multiplicating storage based on cloud storage |
CN103577516A (en) * | 2013-07-01 | 2014-02-12 | 北京百纳威尔科技有限公司 | Method and device for displaying contents |
CN105159959A (en) * | 2015-08-20 | 2015-12-16 | 广东欧珀移动通信有限公司 | Image file processing method and system |
CN105787131A (en) * | 2016-03-31 | 2016-07-20 | 宇龙计算机通信科技(深圳)有限公司 | Information processing method and device and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558503A (en) * | 2018-11-16 | 2019-04-02 | 努比亚技术有限公司 | Expression packet display methods, mobile terminal and computer readable storage medium |
CN109558503B (en) * | 2018-11-16 | 2024-05-10 | 努比亚技术有限公司 | Expression pack display method, mobile terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10880699B1 (en) | Techniques for enhancing group communication on a mobile device | |
CN103543903B (en) | shortcut operation method, device and mobile terminal | |
CN104636321B (en) | Text display method and device | |
CN108241464A (en) | A kind of method, terminal and computer readable storage medium for showing chat message | |
CN108108216A (en) | A kind of method, terminal and computer readable storage medium for managing message | |
CN106681587B (en) | A kind of the footmark processing method and terminal of application icon | |
US20190196782A1 (en) | Techniques to present a user interface for the visually impaired | |
CN108121485A (en) | A kind of icon method for sorting, terminal and computer readable storage medium | |
CN107678819A (en) | A kind of information processing method and device, terminal and readable storage medium storing program for executing | |
CN107426322A (en) | A kind of PUSH message target matching method, server, terminal and computer-readable recording medium | |
CN107844189A (en) | A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption | |
CN107704613A (en) | A kind of approaches to IM, terminal and computer-readable recording medium | |
CN106453904A (en) | Information reminding method and terminal | |
CN107193598A (en) | One kind application startup method, mobile terminal and computer-readable recording medium | |
CN107870706A (en) | One kind management figure calibration method, terminal and computer-readable medium | |
CN106991179A (en) | Data-erasure method, device and mobile terminal | |
CN107911556A (en) | Contact person's based reminding method, device, computer installation and computer-readable recording medium | |
CN106375548A (en) | Method for processing voice information and terminal | |
CN107479806A (en) | The method and terminal of a kind of changing interface | |
CN107463350A (en) | A kind of footmark method of adjustment and terminal | |
CN106557237A (en) | A kind of method and terminal for selecting to replicate text message | |
CN106656752A (en) | Contact person grouping method and terminal | |
CN106599652A (en) | Screen unlocking method and terminal | |
CN106155554A (en) | A kind of multi-screen display method and terminal | |
CN107729306A (en) | A kind of text handling method, terminal and computer-readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170524 |