This application is based upon and claims priority to Chinese Patent Application No. 201510531710.1 filed on Aug. 26, 2015, which is incorporated herein by reference in its entirety.
The present disclosure generally relates to the field of Internet and, more particularly, to a method and a device for changing an emoticon in a chat interface.
When chatting with an instant messaging tool, users can express their feelings by sending various emoticons. Usually, after a user receives an emoticon from another person, the emoticon will be directly displayed on a chat interface of the user's messaging tool, and the user cannot change the received emoticon. The user may feel frustrated for not being able to alter the emoticons in the chat interface.
One aspect of the present disclosure is directed to a method for changing an emoticon in a chat interface. The method may be implemented by a terminal device. The method may comprise detecting whether a message received by the terminal device contains a first changeable emoticon, checking a first emoticon-value list to determine a first value corresponding to the first changeable emoticon, if the received instant message contains the first changeable emoticon, checking a second emoticon-value list to determine a second value corresponding to a second emoticon, the second emoticon being configured to change the first changeable emoticon, adding the first value and the second value to obtain a value result, and checking the first emoticon-value list to change the first changeable emoticon to another emoticon corresponding to the value result.
Another aspect of the present disclosure is directed to a terminal device. The device may comprise a processor and a non-transitory computer-readable storage medium storing instructions, that when executed by the processor, cause the terminal device to detect whether a message received by the terminal device contains a first changeable emoticon, check a first emoticon-value list to determine a first value corresponding to the first changeable emoticon, if the received instant message contains the first changeable emoticon, check a second emoticon-value list to determine a second value corresponding to a second emoticon, the second emoticon being configured to change the first changeable emoticon, add the first value and the second value to obtain a value result, and check the first emoticon-value list to change the first changeable emoticon to another emoticon corresponding to the value result.
Another aspect of the present disclosure is directed to a non-transitory computer-readable storage medium storing instructions that, when executed by a processor of a terminal device, cause the terminal device to perform a method for changing an emoticon in a chat interface. The method may comprise detecting whether a message received by the terminal device contains a first changeable emoticon, checking a first emoticon-value list to determine a first value corresponding to the first changeable emoticon, if the received instant message contains the first changeable emoticon, checking a second emoticon-value list to determine a second value corresponding to a second emoticon, the second emoticon being configured to change the first changeable emoticon, adding the first value and the second value to obtain a value result, and checking the first emoticon-value list to change the first changeable emoticon to another emoticon corresponding to the value result.
It should be understood that both the foregoing general description and the following detailed description are only exemplary and explanatory and are not restrictive of the invention.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise represented. The implementations set forth in the following description of exemplary embodiments do not represent all implementations consistent with the invention. Instead, they are merely examples of devices and methods consistent with aspects related to the invention as recited in the appended claims.
Step S101 includes detecting whether an instant message received by a chat interface of an instant messaging tool contains a first changeable emoticon.
Emoticons described in this disclosure may be changeable emoticons. In some embodiments, determining whether the instant message contains at least one emoticon may be achieved by determining whether the instant message contains a character corresponding to an emoticon.
Step S102 includes checking a first emoticon-value list to determine a first value corresponding to the first changeable emoticon, if the received instant message contains the first changeable emoticon, the first emoticon value list comprising a plurality of emoticons and values corresponding to the plurality of emoticons.
In some embodiments, emoticons, e.g. changeable emoticons, may be respectively associated with values, and different emoticons may correspond to different values representing intensities of feelings. In some embodiments, different emoticons may correspond to different values. Positive values may correspond to emoticons representing positive emotions, and negative values may correspond to emoticons representing negative emotions.
For example, a value corresponding to a sad emoticon can be −2, a value corresponding to a miserable emoticon can be −4, a value corresponding to a smile emoticon can be 1, a value corresponding to an ecstatic emoticon can be 4, and the values in this group may represent intensities of feelings. If the instant message contains an emoticon, a first value of the emoticon can be determined to be a value corresponding to the emoticon. If the instant message contains two or more emoticons, a first value of the two or more emoticons can be determined to be a sum of values respectively corresponding to the two or more emoticons. In a group chat, when a user sends several emoticons with negative values, for instance, four miserable emoticons “”, the emotion value may be −16. Another user in the group chat who wants to improve the sender's emotion can change the four miserable emoticons to four ecstatic emoticons by @ the sender's name and then inputting eight ecstatic emoticons “”.
Step S103 includes checking a second emoticon-value list to determine a second value corresponding to a second emoticon, the second emoticon being configured to change the first changeable emoticon, and the second emoticon-value list comprising a plurality of second emoticons and values respectively corresponding to the plurality of second emoticons.
In some embodiments, both the first emoticon-value list and the second emoticon-value list may be included in the instant messaging tool and may be changeable. When a user needs to modify values in the first emoticon-value list or the second emoticon-value list, the values required to be modified may be written to the first or the second emoticon-value list.
Step S104, adding the first value and the second value to obtain a value result.
Step S105, checking the first emoticon-value list to change the first changeable emoticon to another emoticon corresponding to the value result.
In some embodiments, emoticons input into an input box may be detected to determine corresponding values, a second total value of the emoticons may be calculated, and a value result may be determined based on the first value and the second value. Thus, how to change at least one emoticon in the instant message according to the value result can be determined. In some embodiments, an emoticon corresponding to the value result can be set by a user. For example, an emoticon may correspond to different configurations of a hollow heart depending on the value result, and as the value becomes larger, the more the hollow heart may be filled. For another example, the value result may correspond to a combination of positive emotions, or the like.
In some embodiments, when the instant message received by the chat interface of the instant messaging tool contains a changeable first emoticon, a first value corresponding to the first emoticon and a second value corresponding to a second emoticon configured to change the first emoticon can be determined to change the first emoticon to another emoticon corresponding to the value result. Thus, the emoticons of instant chat can have value results representing feelings, and the received emoticons may be dynamically changed according to the value results. As the users receive the dynamically changed emoticons, the instant chat can become more interesting.
In some embodiments, determining a first value corresponding to a first emoticon if an instant message contains the first emoticon may comprise: determining values respectively corresponding to a plurality of emoticons according to a first emoticon-value list; and adding the values corresponding to obtain a first value.
In some embodiments, the method may further comprise: detecting whether a new emoticon exists in an emoticon library of the instant messaging tool; determining a value corresponding to the new emoticon if the new emoticon exists in the emoticon library; and updating the first emoticon-value list to include the new emoticon and the value corresponding to the new emoticon.
In some embodiments, the second emoticon-value list may be the same as or different from the first emoticon-value list.
Subsequent embodiments may describe changing an emoticon in a chat interface.
As described, emoticons may have value results corresponding to feelings during an instant chat, and the emoticons may be dynamically changed according to the value results, so that a user may receive the dynamically changed emoticons, and the instant chat may be more interesting.
Step S201 may include detecting whether an instant message received by a chat interface of an instant messaging tool contains a first plurality of changeable emoticons.
The step S201 may be similar to the step S101, and will not be elaborated here.
Step S202 may include checking a first emoticon-value list to determine values corresponding to the first plurality of emoticons, if the instant message contains the first plurality of emoticons, the first emoticon-value list comprising the first plurality of emoticons and values corresponding to the first plurality of emoticons.
Step S203 may include adding the values corresponding to the first plurality of emoticons to obtain a first value.
Step S204 may include checking a second emoticon-value list to determine a second value corresponding to a second emoticon, the second emoticon being configured to change the first emoticon, and the second emoticon-value list comprising a plurality of second emoticons and values corresponding to the plurality of second emoticons.
In some embodiments, the second emoticon-value list may be the same as or different from the first emoticon-value list. If the second emoticon-value list is the same as the first emoticon-value list, the values of the emoticons may be more unified, and if the second emoticon-value list is different from the first emoticon-value list, the values of the emoticons may be more diverse.
Step S205 may include adding the first value and the second value to obtain a value result.
Step S206 may include checking the first emoticon-value list to change the first plurality of emoticons to another plurality of emoticons corresponding to the value result.
In one example, if an instant message received by a terminal device from a communication contains four crying emoticons, and a value corresponding to each crying emoticon is −4, a first value of the instant message is −16. A second emoticon-value list is checked to determine a second value corresponding to a second emoticon, so that the terminal device can prompt the user whether to change the emoticons. If yes, as shown in
In some embodiments, if it is determined that the terminal device user is in a group chat, a sender corresponding to the emoticons required to be changed in a group chat can be determined, for example, by selecting (@) the sender's name, determining a second value of the emoticons input into the input box by the sender, and determining at least one emoticon sent by the sender to be changed according to the first value and the second value.
As described, at least one of the values respectively corresponding to the first plurality of emoticons can be determined according to the first emoticon-value list, so that at least one of the first plurality of emoticons can be changed based on the values, thereby improving the changing diversity of the emoticons in the chat interface to make the instant chat more interesting.
Step S301 may include detecting whether a new emoticon exists in an emoticon library of an instant messaging tool.
In some embodiments, a terminal device user can store a received emoticon sent by a communication peer device to a memory module of the instant messaging tool, to use the received emoticon as a new emoticon, such as a picture from “Demoncrab-Tuzi” series. After receiving the picture from “Demoncrab-Tuzi” series, the user may store the picture into the memory module of the instant messaging tool to form the new emoticon described above.
Step S302 may include determining a value corresponding to the new emoticon, if it is detected that the new emoticon exists in the emoticon library.
In some embodiments, setting the value corresponding to the new emoticon may be customized by a user according to the feeling represented by the emoticon.
Step S303 may include updating the first emoticon-value list to include the new emoticon and a value corresponding to the new emoticon.
As described, a quantization range of the emoticons can be extended by adding new emoticons and values corresponding to the emoticons into the emoticon-value list, so that the emoticons in the instant chat are more diverse.
The first detecting module 41 is configured to detect whether an instant message received by a chat interface of the instant messaging tool contains a first changeable emoticon,
The first determining module 42 is configured to check a first emoticon-value list to determine a first value corresponding to the first emoticon, if the first detecting module 41 detects that the received instant message contains the first emoticon, the first emoticon-value list comprising a plurality of emoticons and values corresponding to the plurality of emoticons,
The second determining module 43 is configured to check a second emoticon-value list to determine a second value corresponding to a second emoticon, the second emoticon being configured to change the first emoticon, and the second emoticon-value list comprising a plurality of second emoticons and values corresponding to the plurality of second emoticons,
The adding module 44 is configured to add the first value determined by the first determining module 42 and the second value determined by the second determining module 43 to obtain a value result, and
The processing module 45 is configured to check the first emoticon-value list to change the first emoticon to another emoticon corresponding to the value result obtained by the adding module 44.
In some embodiments, the device 500 may further comprise: a second detecting module 46 configured to detect whether a new emoticon exists in an emoticon library of the instant messaging tool, a third determining module 47 configured to determine a value corresponding to the new emoticon, if the second detecting module 46 detects that the new emoticon exists in the emoticon library, and an updating module 48 configured to update the first emoticon-value list to include the new emoticon determined by the third determining module 47 and a value corresponding to the new emoticon, so that the first determining module 42 can check from an updated first emoticon-value list.
Referring to
The processing component 602 may control overall operations of the device 600, such as the operations associated with display, telephone calls, data communications, camera operations and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or part of the steps in the above described methods. Moreover, the processing component 602 may include one or more modules which facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
The memory 604 may be configured to store various types of data to support the operation of the device 600. Examples of such data include instructions for any applications or methods operated on the device 600, contact data, phonebook data, messages, pictures, video, etc. The memory 604 may be any type of volatile or non-volatile memory devices, or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic or optical disk.
The power supply component 606 may provide power to various components of the device 600. The power supply component 606 may include a power supply management system, one or more power sources, and any other components associated with the generation, management, and distribution of power in the device 600.
The multimedia component 608 may include a screen providing an output interface between the device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen may include the touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel may include one or more touch sensors to sense touches, swipes and gestures on the touch panel. The touch sensors may not only sense a boundary of a touch or swipe action, but also sense a period of time and a pressure associated with the touch or swipe action. In some embodiments, the multimedia component 608 may include a front camera and/or a rear camera. The front camera and/or the rear camera may receive an external multimedia datum while the device 600 is in an operation mode, such as a photographing mode or a video mode. Each of the front and rear cameras may be a fixed optical lens system or have a focus and optical zoom capability.
The audio component 610 may be configured to output and/or input audio signals. For example, the audio component 610 may include a microphone (MIC) configured to receive an external audio signal, when the device 600 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 further includes a speaker to output audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, such as a keyboard, a click wheel, buttons, and the like. The buttons may include, but are not limited to, a home button, a volume button, a starting button, and a locking button.
The sensor component 614 may include one or more sensors to provide status assessments of various aspects of the device 600. For instance, the sensor component 614 may detect an open/closed status of the device 600, relative positioning of components, e.g., the display and the keypad, of the device 600, a change in position of the device 600, or a component of the device 600, a presence or absence of user's contact with the device 600, an orientation or an acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor component 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 614 may also include an accelerometer sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 may be configured to facilitate communication, wired or wirelessly, between the device 600 and other devices. The device 600 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 616 further includes a near field communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on a radio frequency identification (RFID) technology, an infrared data association (IrDA) technology, an ultra-wideband (UWB) technology, a Bluetooth (BT) technology, and other technologies.
In exemplary embodiments, the device 600 may be implemented with one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components, for performing the above described methods.
In exemplary embodiments, there is also provided a non-transitory computer-readable storage medium comprising instructions, such as comprised in the memory 604, executable by the processor 620 in the device 600, for performing the above-described methods. For example, the non-transitory computer-readable storage medium may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disc, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed here. This application is intended to cover any variations, uses, or adaptations of the disclosure following the general principles thereof and including such departures from the present disclosure as come within known or customary practice in the art. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be appreciated that the present disclosure is not limited to the exact construction that has been described above and illustrated in the accompanying drawings, and that various modifications and changes can be made without departing from the scope thereof. It is intended that the scope of the disclosure only be limited by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2015 1 0531710 | Aug 2015 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7147562 | Ohara et al. | Dec 2006 | B2 |
8909513 | Leydon | Dec 2014 | B2 |
10003599 | Shi | Jun 2018 | B2 |
20020184309 | Danker et al. | Dec 2002 | A1 |
20030017873 | Ohara et al. | Jan 2003 | A1 |
20060242593 | Gaebel | Oct 2006 | A1 |
20060281064 | Sato et al. | Dec 2006 | A1 |
20070054719 | Ohara et al. | Mar 2007 | A1 |
20080278520 | Andreasson | Nov 2008 | A1 |
20130159919 | Leydon | Jun 2013 | A1 |
20140143682 | Druck | May 2014 | A1 |
20140156762 | Yuen et al. | Jun 2014 | A1 |
20140214409 | Leydon | Jul 2014 | A1 |
20150052461 | Sullivan | Feb 2015 | A1 |
20150200881 | Zheng | Jul 2015 | A1 |
20150286371 | Degani | Oct 2015 | A1 |
20150334067 | Zonka | Nov 2015 | A1 |
20160050169 | Ben Atar | Feb 2016 | A1 |
20160219006 | Yuen et al. | Jul 2016 | A1 |
20170052946 | Gu et al. | Feb 2017 | A1 |
20170060354 | Luo | Mar 2017 | A1 |
20170075868 | Luo | Mar 2017 | A1 |
Number | Date | Country |
---|---|---|
1464796 | Dec 2003 | CN |
1870744 | Nov 2006 | CN |
101420393 | Apr 2009 | CN |
104063427 | Sep 2014 | CN |
104780093 | Jul 2015 | CN |
105119812 | Dec 2015 | CN |
10-1254719 | Apr 2013 | KR |
2009145287 | Jun 2011 | RU |
WO 2008135097 | Nov 2008 | WO |
Entry |
---|
Extended European Search Report of European Patent Application No. 16163346.6, from the European Patent Office, dated Jan. 23, 2017. |
International Search Report of PCT/CN2015/097714, mailed from the State Intellectual Property Office of China dated May 18, 2016. |
International Preliminary Report on Patentability issued in International Application No. PCT/CN2015/097714, dated Feb. 27, 2018. |
Number | Date | Country | |
---|---|---|---|
20170060354 A1 | Mar 2017 | US |