The following technical problems emerge in related art.
With development of internet technology, there comes an era of big data when massive amounts of information constantly spring up. To match a demand for information sharing by public, information is processed with existing technology based on a social networking tool such as WeChat, Microblogging, etc. A great amount of information will be shared in a social network, with the shared information being displayed in increasingly diversified forms. In one scene, display of specified information is triggered by searching for a key word input by a user.
Such a mode of display based on key word search is supported only when a user inputs a plain text message, and is not supported for a great number of non-text message types. However, various message types are available on a terminal. Accordingly, key word search based information display has a limited scope of application, failing to meet increasingly diversified user demands for displaying shared information. No effective solution to such problems exists in related art.
The disclosure relates to communication technology, and in particular to an information processing method, a terminal, and a computer-readable storage medium.
In view of this, embodiments herein provide an information processing method, a terminal, and a computer-readable storage medium capable of solving at least a problem in existing art.
A technical solution according to an embodiment herein may be implemented as follows.
According to an embodiment herein, an information processing method includes:
establishing, by a terminal, an association logic that associates a non-text message type with specified information, the association logic including at least identification of the non-text message type, allowing a message type in line with the association logic to be identified by the identification;
monitoring, by the terminal, a first message;
obtaining, by the terminal, a first identification corresponding to the first message by analysing the first message;
detecting, by the terminal according to the first identification, whether the first message is of the message type in line with the association logic;
determining, by the terminal, that the first message supports display of the specified information when it is detected that the first message is of the message type in line with the association logic.
A terminal according to an embodiment herein includes: a processor; and a memory for storing instructions.
The instructions are executable by the processor for:
establishing an association logic that associates a non-text message type with specified information, the association logic including at least identification of the non-text message type, allowing a message type in line with the association logic to be identified by the identification;
monitoring a first message;
obtaining a first identification corresponding to the first message by analysing the first message;
detecting, according to the first identification, whether the first message is of the message type in line with the association logic; and
determining that the first message supports display of the specified information when it is detected that the first message is of the message type in line with the association logic.
According to an embodiment herein, a non-transitory computer-readable storage medium has stored therein computer-executable instructions that, when executed by a processor, cause the processor to execute the information processing method.
An information processing method according to an embodiment herein applies to a terminal. The method includes steps as follows. An association logic that associates a non-text message type with specified information is established. The association logic includes at least identification of the non-text message type, allowing a message type in line with the association logic to be identified by the identification. A first message is monitored. A first identification corresponding to the first message is obtained by analysing the first message. It is detected, according to the first identification, whether the first message is of the message type in line with the association logic. It is determined that the first message supports display of the specified information when it is detected that the first message is of the message type in line with the association logic.
With embodiments herein, it may be identified, according to a monitored first message and detection of an association logic, whether the first message supports display of specified information, such that display of specific information may be supported by various message types, expanding the scope of applying information display, meeting increasingly diversified user demands for displaying shared information.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
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.
Implementation of a technical solution herein will be further elaborated below with reference to the drawings.
An information processing method according to an embodiment herein applies to a terminal. As shown in
In step 101, an association logic that associates a non-text message type with specified information is established.
In step 102, at least identification of the non-text message type is included in the association logic, allowing a message type in line with the association logic to be identified by the identification.
Here, the association logic may include further logic content as mentioned below.
In step 103, a first message is monitored; a first identification corresponding to the first message is obtained by analysing the first message; it is detected, according to the first identification, whether the first message is of the message type in line with the association logic.
In step 104, it is determined that the first message supports display of the specified information when it is detected that the first message is of the message type in line with the association logic.
With an embodiment herein, after the identification and the association logic in steps 101-102 are configured, in steps 103-104, it may be determined whether the first message supports the display of the specified information, allowing trigger of displaying specific information with a non-text message type, such that display of specific information may be supported by various message types, expanding the scope of applying information display, meeting increasingly diversified user demands for displaying shared information.
Here, the display of the specified information may be dropping moneybags ‘emoji’ (or eggs, as shown in
An information processing method according to an embodiment herein applies to a terminal. As shown in
In step 201, an association logic that associates a non-text message type with specified information is established.
In step 202, the association logic may be arranged to include at least: identification of the non-text message type, allowing a message type in line with the association logic to be identified by the identification; and trigger of the display of the specified information supported by the first message after monitoring that a pre-set operation is met.
In step 203, a first message is monitored; a first identification corresponding to the first message is obtained by analyzing the first message; it is detected, according to the first identification, whether the first message is of the message type in line with the association logic.
In step 204, it is determined that the first message supports display of the specified information when it is detected that the first message is of the message type in line with the association logic.
In step 205, a first operation directed to the first message may be monitored, and the display of the specified information may be triggered in response to detecting the first operation matching the pre-set operation.
With an embodiment herein, after the identification and the association logic in steps 201-202 are configured, in steps 203-204, it may be determined whether the first message supports the display of the specified information, allowing trigger of displaying specific information with a non-text message type, such that display of specific information may be supported by various message types, expanding the scope of applying information display, meeting increasingly diversified user demands for displaying shared information. Moreover, with step 205, the display of the specified information may be triggered only when the first operation matches the pre-set operation.
Here, the display of the specified information may be dropping moneybags ‘emoji’ (or eggs, as shown in
In an embodiment herein, the method may further include steps as follows. before the first operation directed to the first message is monitored and the display of the specified information is triggered in response to detecting the first operation matching the pre-set operation, a first parameter may be obtained by detecting a system operating environment of the terminal; an operating mode may be selected according to the first parameter, and processing may be performed by calling a processing logic corresponding to the operating mode. The processing may include at least one of the monitoring, the detecting, and the display.
Here, since terminals such as those of an Android system and an Apple system support different systems and adopt different specific processing logics, such as different monitoring processes and monitoring controls, for monitoring the first operation directed to the first message and triggering the display of the specified information in response to detecting the first operation matching the pre-set operation. For example, the Apple system iOS may call a system UITouch control, create an object having a tapCount attribute, monitor a number of screen touches, i.e., how many times a user touches a screen, capture a clicking operation, and then trigger egg dropping accordingly. For example, the Android system may call a system “OneClickListener” to monitor a number of screen touches, capture a clicking operation, and then trigger egg dropping accordingly, which will be elaborated in an example of an application scene below.
In an embodiment herein, the pre-set operation may include a screen touching operation on an interactive object in a prompt page where the first message is displayed.
Here, the interactive object may be an object for triggering interaction such as open-red-envelope or bubble to trigger egg dropping, such as the interactive object S21 or S22 shown in
In an embodiment herein, a specific form in which the specified information is displayed may be controllably adjusted at a terminal. An amount and a speed of dropping emoji eggs associated with a New Year greeting red envelope in a scene of WeChat may be controlled. Specifically, there may be two implementation modes as follows.
In the first mode,
one touch operation may be recorded each time a match between the first operation and the pre-set operation is detected;
in response to monitoring a pre-set number of consecutive touch operations, a form in which the specified information is displayed may be changed. The form may include at least one of a displayed amount and a display speed.
The mode is based on multiple touching or pressing operation. For example, provided with a larger number of touches, eggs may drop at a greater speed and/or more eggs may drop. Controllable adjustment may stop when a pre-set upper limit of the number of touches is reached.
In the second mode,
in response to detecting the first operation matching the pre-set operation, it may be determined whether a touch strength of the first operation reaches a pre-set pressure value; and
in response to determining that the touch strength of the first operation reaches the pre-set pressure value, a form in which the specified information is displayed may be changed. The form may include at least one of a displayed amount and a display speed.
The mode is based on a long hard press. Upon reaching the pre-set pressure value, it may be triggered to drop eggs at a greater speed and/or to drop more eggs. The higher the pressure is, the faster eggs may drop and/or the more eggs may drop. Controllable adjustment may stop upon reaching a pre-set upper limit of pressure.
In an embodiment herein, the first message may be displayed on a user interface of a sender or a receiver;
the display of the specified information may be triggered according to the pre-set operation directed to the first message displayed on the user interface of the receiver.
The first message may be displayed on a user interface of the sender or the receiver. However, display of egg dropping may be triggered only when a user receiving a red envelope confirms an operation to open the red envelope. That is, dynamic egg dropping may be displayed only when it is confirmed that the receiver has opened a red envelope. The embodiment is different from a special situation. With the conventional art, indicated information may be displayed when a text message such as a key word is input at a first user interface of a sender; however, no indicated information will be displayed to a receiver if the text message is not received at a second user interface of the receiver. There is a problem with the conventional art that, after the sender has sent the text message, the text message may be missing or intercepted by a server, the receiver may receive no text message, no information will be shared and displayed to the receiver. The embodiment eliminates such a problem.
As shown in
an establishing unit 11 configured for: establishing an association logic that associates a non-text message type with specified information, the association logic comprising at least identification of the non-text message type, allowing a message type in line with the association logic to be identified by the identification; and
a monitoring and detecting unit 12 configured for: monitoring a first message; obtaining a first identification corresponding to the first message by analysing the first message; detecting, according to the first identification, whether the first message is of the message type in line with the association logic; and determining that the first message supports display of the specified information when it is detected that the first message is of the message type in line with the association logic.
In an embodiment herein, the association logic may further include trigger of the display of the specified information supported by the first message in response to monitoring a pre-set operation;
the monitoring and detecting unit may be further configured for: monitoring a first operation directed to the first message, and triggering the display of the specified information in response to detecting the first operation matching the pre-set operation.
In an embodiment herein, the terminal may further include:
a system parameter detecting unit configured for: before monitoring the first operation directed to the first message and triggering the display of the specified information in response to detecting the first operation matching the pre-set operation, obtaining a first parameter by detecting a system operating environment of the terminal; and
a processing logic calling unit configured for: selecting an operating mode according to the first parameter, and performing processing by calling a processing logic corresponding to the operating mode; the processing may include at least one of the monitoring, the detecting, and the display.
In an embodiment herein, the monitoring and detecting unit may be further configured for executing a first mode or a second mode;
the first mode may include:
recording one touch operation each time a match between the first operation and the pre-set operation is detected;
in response to monitoring a pre-set number of consecutive touch operations, changing a form in which the specified information is displayed, the form comprising at least one of a displayed amount and a display speed;
the second mode may include:
in response to detecting the first operation matching the pre-set operation, determining whether a touch strength of the first operation reaches a pre-set pressure value; and
in response to determining that the touch strength of the first operation reaches the pre-set pressure value, changing a form in which the specified information is displayed, the form comprising at least one of a displayed amount and a display speed.
In an embodiment herein, the monitoring and detecting unit may be further configured for: when the first message is displayed on a user interface of a sender or a receiver, triggering the display of the specified information according to the pre-set operation directed to the first message displayed on the user interface of the receiver.
Note that the terminal may be, but not limited to: electronic equipment such as a Personal Computer (PC); portable electronic equipment such as a PAD, a tablet computer, a laptop, etc.; or a smart mobile terminal such as a mobile phone. The terminal may include at least a database for data storage and a processor for data processing, or include a storage medium arranged separately or in a server.
The processor may be implemented with a microprocessor, a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Field-Programmable Gate Array (FPGA). The storage medium may include computer-executable operation instructions that, when executed by a processor, cause the processor to execute the information processing method according to an aforementioned embodiment herein.
An example of the terminal as a hardware entity S11, as shown in
Note that the above description relating to the terminal is similar to that relating to the method, with the same beneficial effect as the method, which is not repeated. One may refer to description in the method embodiments herein for technical details not disclosed for the terminal herein.
Description is made below with reference to a real application scene as an example.
The above embodiments herein may apply to a solution for triggering dropping of emoji chat eggs in a New Year greeting red envelope in a WeChat chat. The emoji chat eggs may drop as emoji (facial) expressions in a chat interface. The timing, amount, and speed of the dropping emoji expressions in the scene may be adjusted controllably.
With the conventional art, chat egg dropping may be triggered only with a text message in a WeChat window. When a user sends a message, the terminal searches each text message for a key word, triggering an egg logic with a search hit. Upon entering the chat window, the user will see egg dropping. A problem with the conventional art may be as follows. 1) A trigger condition is limited by a single text message type, that is, key word search triggering chat egg dropping is limited to a common text message. Actually, WeChat as a most common communication tool, has highly diversified message types, with users tending to express themselves using various message types. 2) Timing of egg dropping is limited to when a user enters a chat window, and both the number and the speed of dropping eggs are limited, with no interaction between the user and the information.
With the embodiments herein, the application scene may mainly include specific implementations as follows.
First, chat egg dropping may be triggered with a non-text message type as follows.
A terminal may mark and name a message type in a chat, add an association logic that associates a non-text message type with chat egg dropping, and further with a specific emoji expression. When a user sends a message, the terminal may trigger egg dropping when a message type associated with chat egg dropping is monitored or detected.
Here, an actual application scene, such as a red envelope scene, may include a ‘New Year greeting red envelope’. The terminal may mark a red envelope message type, and associate a ‘New Year greeting red envelope’ message with moneybag emoji, namely egg, dropping, thereby enabling trigger of chat egg dropping by the ‘New Year greeting red envelope’.
Second, personalized adjustment of the number and speed of dropping chat eggs may be supported.
When associating a specific message type with the emoji egg, a personalized configuration for display of egg dropping, such as personalized display of egg dropping, a speed and a number of dropping eggs, may be provided.
The monitoring operation may be implemented as follows. For an Apple iOS, a system UITouch control may be called to create an object having a tapCount attribute, monitor a number of screen touches, capture a clicking operation, and then trigger emoji egg dropping accordingly. For an Android system, a system “OneClickListener” may be called to monitor a number of screen touches, capture a clicking operation, and then trigger egg dropping accordingly.
Third, timing of chat egg dropping may be controlled.
Instead of using the default logic of triggering egg dropping upon entering a chat window, the terminal may monitor a specific operation on the chat window and set a timing of chat egg dropping after the specific operation.
An actual application scene may include that the terminal monitors a click on ‘open red envelope’ on the screen, which move serves as a trigger for egg dropping.
To sum up, the embodiments herein may apply to the scene of display of egg dropping, where eggs in a New Year greeting red envelope in a WeChat terminal are implemented as emoji expressions. A click on a red envelope bubble message in a chat window of WeChat may be monitored, after which chat egg dropping may be triggered. In addition, a timing, a pattern, a speed, etc., of dropping chat eggs may be adjusted, increasing the scope of applicable scenes, supporting trigger of chat egg dropping with different message types in a WeChat scene, increasing fun in WeChat communication, providing more flexible application scenes for emoji expressions.
An integrated module or unit according to embodiments herein, when implemented in form of a software functional module or unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, those skilled in the art shall understand that embodiments herein may be provided as a method, a system or a computer program product. Thus, the present disclosure may take on a form of complete hardware, complete software or a combination thereof. The present disclosure may take on a form of a computer program product implemented on one or more computer available storage media containing computer available program codes. The storage media may include, but are not limited to, a U disk, a mobile hard disk, a Read-Only Memory (ROM), a disk memory, a Compact Disc (CD)-ROM, an optical memory and the like.
The present disclosure has been described with reference to a flowchart and/or a block diagram of the method, device (system) and computer program product according to embodiments herein. It will be appreciated that each flow and/or block in the flowchart and/or the block diagram and a combination of the flows and/or the blocks in the flowchart and/or the block diagram may be implemented by computer program instructions. Such computer program instructions may be provided in a general-purpose computer, a dedicated computer, an embedded processor or a processor of another programmable data processing device to generate a machine, such that an apparatus for implementing functions designated in one or more flows in the flowchart and/or one or more blocks in the block diagram may be generated via instructions executed by the computer or the processor of the another programmable data processing device.
Such computer program instructions may also be stored in a computer readable memory capable of guiding a computer or another programmable data processing device to work in a specific mode, such that a manufactured product including an instruction apparatus is generated via the instructions stored in the computer readable memory, for implementing the functions designated in one or more flows of the flowchart and/or one or more blocks of the block diagram.
Such computer program instructions may also be loaded to a computer or another programmable data processing device, such that a series of operating steps are executed on the computer or the another programmable data processing device to generate computer implemented processing, such that the instructions executed on the computer or the another programmable device provide steps for implementing functions designated in one or more flows of the flowchart and/or one or more blocks of the block diagram.
Although embodiments herein have been described, once learning the basic creative concept herein, those skilled in the art may change and modify such embodiments. Thus, the appended claims are intended to be interpreted as covering the embodiments and all changes and modifications falling within the scope of the present disclosure.
An embodiment herein may also provide a non-transitory computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, cause the processor to execute the information processing method according to an embodiment herein.
With embodiments herein, it may be identified, according to a monitored first message and detection of an association logic, whether the first message supports display of specified information, such that display of specific information may be supported by various message types, expanding the scope of applying information display, meeting increasingly diversified user demands for displaying shared information.
Number | Date | Country | Kind |
---|---|---|---|
2015 1 0069810 | Feb 2015 | CN | national |
This is a continuation application of International Patent Application No. PCT/CN2016/072412, filed on Jan. 27, 2016, which claims priority to Chinese Application No. 201510069810.7 filed on Feb. 10, 2015, both disclosures being incorporated herein by reference in their entirety.
Number | Name | Date | Kind |
---|---|---|---|
7913176 | Blattner | Mar 2011 | B1 |
8131816 | Robinson | Mar 2012 | B2 |
8255810 | Moore | Aug 2012 | B2 |
20040111475 | Schultz | Jun 2004 | A1 |
20040179037 | Blattner | Sep 2004 | A1 |
20050234883 | Szeto | Oct 2005 | A1 |
20070036128 | Mori | Feb 2007 | A1 |
20080162438 | Szeto | Jul 2008 | A1 |
20110137895 | Petrou | Jun 2011 | A1 |
20110294467 | Kim | Dec 2011 | A1 |
20120105358 | Momeyer | May 2012 | A1 |
20130060875 | Burnett | Mar 2013 | A1 |
20140324414 | Zhang et al. | Oct 2014 | A1 |
20140344707 | Zhang et al. | Nov 2014 | A1 |
20150162003 | Zhai | Jun 2015 | A1 |
20170324693 | Xiao et al. | Nov 2017 | A1 |
Number | Date | Country |
---|---|---|
1965314 | May 2007 | CN |
102770862 | Nov 2012 | CN |
102779304 | Nov 2012 | CN |
103095553 | May 2013 | CN |
103201714 | Jul 2013 | CN |
103634700 | Mar 2014 | CN |
103647696 | Mar 2014 | CN |
104125139 | Oct 2014 | CN |
104579934 | Apr 2015 | CN |
104615747 | May 2015 | CN |
2014176803 | Nov 2014 | WO |
Entry |
---|
International Search Report in international application No. PCT/CN2016/072412, dated Apr. 28, 2016. |
English Translation of the Written Opinion of the International Search Authority in international application No. PCT/CN2016/072412, dated Apr. 28, 2016. |
Notification of the First Office Action of Chinese application No. 201510069810.7, dated Feb. 3, 2016. |
English translation of Notification of the First Office Action of Chinese application No. 201510069810.7, dated Feb. 3, 2016. |
International Search Report in international application No. PCT/CN2016/072503, dated Apr. 28, 2016. |
English Translation of the Written Opinion of the International Search Authority in international application No. PCT/CN2016/072503, dated Apr. 28, 2016. |
English Translation of the Notification of the First Office Action of Chinese application No. 201510073990.6 , dated Dec. 17, 2015. |
Number | Date | Country | |
---|---|---|---|
20170324859 A1 | Nov 2017 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2016/072412 | Jan 2016 | US |
Child | 15656155 | US |