WO2015007232A1 - Method, device and mobile terminal for checking message - Google Patents

Method, device and mobile terminal for checking message Download PDF

Info

Publication number
WO2015007232A1
WO2015007232A1 PCT/CN2014/082469 CN2014082469W WO2015007232A1 WO 2015007232 A1 WO2015007232 A1 WO 2015007232A1 CN 2014082469 W CN2014082469 W CN 2014082469W WO 2015007232 A1 WO2015007232 A1 WO 2015007232A1
Authority
WO
WIPO (PCT)
Prior art keywords
designated application
sensor information
message
unread message
mobile terminal
Prior art date
Application number
PCT/CN2014/082469
Other languages
French (fr)
Inventor
Tiancheng Liu
Hualin ZOU
Original Assignee
Tencent Technology (Shenzhen) Company Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2015007232A1 publication Critical patent/WO2015007232A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages

Definitions

  • the present disclosure relates to mobile terminal technologies, more particularly to a method, device and mobile terminal for checking a message.
  • an instant messaging software are used more and more frequently, and accordingly, performance requirements on the instant messaging software by users become more and more high.
  • all the messages are aggregated at the same message aggregation entrance by the smart mobile terminal.
  • the user would manually quit the current usage scenario, switch to the message aggregation entrance, and then open the message to be checked.
  • examples of the present disclosure provide a method, device and mobile terminal for checking a message.
  • a method for checking a message includes: obtaining sensor information of a mobile terminal in operational process of a designated application; detecting whether the sensor information is changed; when the sensor information is changed, determining whether a change rule of the sensor information complies with a predetermined rule; when it is detected that the change rule of the sensor information complies with the predetermined rule, displaying an unread message of the designated application.
  • a device for checking a message includes: an information obtaining module, configured to obtain sensor information of a mobile terminal in operational process of a designated application; a change detection module, configured to detect whether the sensor information is changed; a rule determining module, configured to, when the sensor information is changed, determine whether a change rule of the sensor information complies with a predetermined rule; a message displaying module, configured to, when it is detected that the change rule of the sensor information complies with the predetermined rule, display an unread message of the designated application.
  • a mobile terminal provided by examples of the present invention includes a memory, and one or more programs stored in the memory and configured for execution by the one or more processors, the one or more programs including instructions to: obtain sensor information of a mobile terminal in operational process of a designated application;
  • the unread message at the message aggregation entrance is automatically displayed, the manual display by the user is not needed, and the operation of the user is simplified.
  • FIG. 1 is a flow diagram illustrating a method for checking a message according to an example of the present disclosure.
  • FIG. 2 is a flow diagram illustrating a method for checking a message according to an example of the present disclosure.
  • FIG. 3 is a schematic diagram illustrating a display of an unread message list according to an example of the present disclosure.
  • FIG. 4 is a schematic diagram illustrating a structure of a device for checking a message according to an example of the present disclosure.
  • FIG. 5 is a schematic diagram illustrating a mobile terminal according to an example of the present disclosure.
  • FIG. 6 is a schematic diagram illustrating another structure of a device for checking a message according to an example of the present disclosure.
  • FIG. 1 is a flow diagram illustrating a method for checking a message according to an example of the present disclosure.
  • the implementation entity of the example is a mobile terminal. As shown in FIG. 1, the method may include the following operations.
  • Block 101 obtain sensor information of a mobile terminal in operational process of a designated application.
  • Block 102 detect whether the sensor information is changed.
  • Block 103 when the sensor information is changed, determine whether a change rule of the sensor information complies with a predetermined rule.
  • Block 104 when it is detected that the change rule of the sensor information complies with the predetermined rule, display an unread message of the designated application.
  • sensor information of the mobile terminal is obtained.
  • the change rule of the sensor information complies with the predetermined rule
  • the unread message of the designated application is displayed.
  • the unread message at the message aggregation entrance is automatically displayed, the manual display by the user is not needed, and the operation of the user is simplified.
  • determining whether a change rule of the sensor information complies with a predetermined rule includes: when the sensor information is an accelerated speed, determining whether the change interval of the accelerated speed is larger than a predetermined threshold. When the change interval of the accelerated speed is larger than the predetermined threshold, the change rule of the sensor information complies with the predetermined rule; or when the sensor information is an angular speed, determining whether the change curve of the angular speed matches with a predetermined curve. When the change curve matches with the predetermined curve, the change rule of the sensor information complies with the predetermined rule.
  • the method before obtaining sensor information of a mobile terminal in operational process of a designated application, the method further includes: when an open instruction of the designated application is received, detecting a quick identification state of the designated application, where the quick identification state is on state or off state.
  • obtaining sensor information of a mobile terminal in operational process of a designated application includes: when it is detected that the quick identification state of the designated application is on state, obtaining sensor information of a mobile terminal in operational process of a designated application.
  • displaying an unread message of the designated application includes: when it is detected that the change rule of the sensor information complies with the predetermined rule, determining whether an unread message is available in the designated application; when it is determined that an unread message is available in the designated application, displaying the unread message of the designated application.
  • displaying the unread message of the designated application includes: when it is determined that an unread message is available in the designated application, displaying a latest unread message of the designated application.
  • displaying the unread message of the designated application includes: when it is determined that an unread message is available in the designated application, displaying an unread message list of the designated application, where the unread message list includes at least one unread message and a message identification corresponding to the at least one unread message; when an open instruction of any one message identification in the unread message list is detected, displaying an unread message corresponding to the open instruction.
  • displaying an unread message of the designated application further includes: when a return instruction is received, switching an interface displayed currently to an interface displayed before displaying the unread message of the designated application.
  • obtaining sensor information of a mobile terminal in operational process of a designated application includes: in operational process of a designated application, by calling an Application Programming Interface (API) corresponding to at least one sensor configured in the mobile terminal, obtaining sensor information of at least one sensor configured in the mobile terminal.
  • API Application Programming Interface
  • the at least one sensor may be a gravity sensor or a gyroscope.
  • sensor information of the at least one sensor includes accelerated speed information and/or angular speed information of the mobile terminal.
  • the designated application may include one or multiple designated applications.
  • displaying the unread message of the designated application may include displaying the unread message of one designated application, or displaying the unread message of multiple designated applications simultaneously.
  • FIG. 2 is a flow diagram illustrating a method for checking a message according to an example of the present disclosure.
  • the implementation entity of the example is a mobile terminal. As shown in FIG. 2, the method may include the following operations.
  • Block 201 when a starting instruction of the designated application is received, detect a quick identification state, where the quick identification state is on state or off state.
  • the designated application may be an instant communication software, or a gravity game software, which is not defined in the examples of the present disclosure.
  • the quick identification state of the designated application is on state or off state.
  • the quick identification state of the designated application indicates that the user enables a function of message quick checking, then the following steps are performed.
  • the quick identification state of the designated application is off state, it indicates that the user closes the function of message quick checking, and then it ends.
  • the quick identification state of the designated application may be set by technicians when developing to be a default on state, or set by the users during usage, which is not defined in the examples of the present disclosure.
  • Block 202 when it is detected by the mobile terminal that the quick identification state of the designated application is on state, in operational process of a designated application, by calling an API corresponding to at least one sensor configured in the mobile terminal, obtain sensor information of at least one sensor configured in the mobile terminal.
  • the example is applied in the usage scenario of the mobile terminal configured with at least one sensor.
  • sensor information of the at least one sensor may be obtained.
  • the process of obtaining sensor information of at least one sensor in the mobile terminal may be performed in real time.
  • the quick identification state of the designated application is on state
  • in operational process of a designated application by calling an API corresponding to at least one sensor configured in the mobile terminal, obtain sensor information of at least one sensor configured in the mobile terminal in real time.
  • the at least one sensor may be a gravity sensor or a gyroscope.
  • sensor information of the at least one sensor includes accelerated speed information and/or angular speed information of the mobile terminal.
  • Block 202 it specifically includes: when it is detected that the quick identification state of the designated application is on state, in operational process of a designated application, by calling an API corresponding to a gravity sensor in the mobile terminal, obtaining accelerated speed information of the mobile terminal; or when it is detected that the quick identification state of the designated application is on state, in operational process of a designated application, by calling an API corresponding to a gyroscope in the mobile terminal, obtaining angular speed information of the mobile terminal; or when it is detected that the quick identification state of the designated application is on state, in operational process of a designated application, by calling an API corresponding to a gravity sensor in the mobile terminal and an API corresponding to a gyroscope in the mobile terminal, obtaining accelerated speed information and angular speed information of the mobile terminal, respectively.
  • Block 203 detect whether the sensor information is changed; the detection may be implemented by comparing the sensor information obtained currently with the sensor information obtained last time. In addition, the detection may also be implemented by supervising the sensor information.
  • Block 204 when the sensor information is changed, determine whether a change rule of the sensor information complies with a predetermined rule.
  • a change rule of the sensor information when the sensor information is an accelerated speed, determine whether the change interval of the accelerated speed is larger than a predetermined threshold. When the change interval of the accelerated speed is larger than the predetermined threshold, the change rule of the sensor information complies with the predetermined rule.
  • the predetermined operation corresponding to the predetermined rule is a shake operation.
  • the change interval is larger than the predetermined threshold, it is determined that the user triggers a shake operation.
  • the change rule of the sensor information complies with the predetermined rule
  • the sensor information is an angular speed
  • the change rule of the sensor information complies with the predetermined rule.
  • the predetermined operation corresponding to the predetermined rule is a user-defined operation.
  • the user may define a certain pose change of the mobile terminal to trigger displaying.
  • the pose change has a corresponding predetermined curve of the angular speed.
  • the change rule of the sensor information complies with the predetermined rule.
  • the predetermined rule may be different.
  • the predetermined rule may include a predetermined accelerated speed rule, a predetermined angular speed rule, etc.
  • the accelerated speed information determines whether the change rule of the accelerated speed information complies with a predetermined accelerated speed rule.
  • the angular speed information determines whether the change rule of the angular speed information complies with a predetermined angular speed rule.
  • the change rule of the accelerated speed information complies with the predetermined accelerated speed rule, or the change rule of the angular speed information complies with the predetermined angular speed rule, it can be determined that the change rule of the sensor information complies with the predetermined rule.
  • criteria of the predetermined accelerated speed rule may be a change direction of accelerated speed information, or a change interval of accelerated speed information, thus when determining whether the change rule of the accelerated speed information complies with a predetermined accelerated speed rule, it may determine whether the change direction of accelerated speed information complies with the change direction included in the predetermined accelerated speed rule, or determine whether the change interval of accelerated speed information complies with the change interval included in the predetermined accelerated speed rule.
  • Criteria of the predetermined angular speed rule may be a tilt angle of angular speed information, or number of rotations of angular speed information, thus when determining whether the change rule of the angular speed information complies with a predetermined angular speed rule, it may determine whether the tilt angle of angular speed information complies with the tilt angle included in the predetermined angular speed, or determine whether the number of rotations of angular speed information complies with the number of rotations included in the predetermined angular speed.
  • the specific criteria are not defined in the examples of the present disclosure.
  • the predetermined accelerated speed rule as the accelerated speed of the mobile terminal changed from 0 meter per square second to over 12 meters per square second.
  • the change rule of the accelerated speed information complies with the predetermined accelerated speed rule, i.e., the change rule of the sensor information complies with the predetermined rule.
  • the predetermined change curve of the angular speed is the change curve of the angular speed generated when the mobile terminal turns right for one time and then turns left until the original position.
  • the change curve of the angular speed matches with the predetermined change curve of the angular speed, it is determined that it is detected that the mobile terminal turns right for one time and then turns left until the original position, thus the change rule of the angular speed information matches with the predetermined angular speed rule, i.e., the change rule of the sensor information complies with the predetermined rule.
  • the method further includes: obtaining the predetermined rule.
  • the predetermined rule may be set by the technicians when developing; or when installing the designated application, enabling the function of setting the predetermined rule, obtaining the predetermined operation input by the user, and obtaining the change rule corresponding to the predetermined operation as the predetermined rule; or during usage by the user, triggering the instruction of setting the predetermined rule, performing the addition or cancelling operations, etc. to the predetermined rule, which is not defined in the examples of the present disclosure.
  • a type of a sensor can be determined, and the sensor information of a mobile terminal corresponding to the type can be obtained in operational process of a designated application. In particular, after the
  • predetermined rule is obtained, according to the predetermined operation included in the predetermined rule, it may determine the sensor corresponding to the predetermined operation is a gravity sensor, a gyroscope or others. Thus, in Block 202, it may obtain the sensor information only according to the sensor corresponding to the predetermined operation. This avoids obtaining the sensor information respectively corresponding to each sensor of the mobile terminal, thus the process is simplified, and the delay is reduced.
  • the predetermined operation included in the predetermined rule is a shake operation
  • Block 205 when it is detected that the change rule of the sensor information complies with the predetermined rule, determine whether there is an unread message available in the designated application.
  • all the messages of the designated application are stored in the message aggregator of the designated application. By receiving a checking instruction for the message aggregator, it may display the message corresponding to the checking instruction.
  • the Block 205 specifically includes: when it is detected that the change rule of the sensor information complies with the predetermined rule, determining whether there is an unread message available in the message aggregator of the designated application.
  • the reading identification may include a read identification or an unread identification; or it may determine according to a time when receiving the message in the message aggregator of the designated application and a time when the mobile terminal accesses the message aggregator, which is not defined in the examples of the present disclosure.
  • Block 206 when it is determined that there is an unread message available in the designated application, display an unread message of the designated application, and then perform Block 203.
  • Block 206 it may use any one of the following manners:
  • the message identification corresponding to the unread message may be the contact information corresponding to the unread message, or the keywords included in the unread message, or part of contents of the unread message, which is not defined in the examples of the present disclosure.
  • an unread message list of the designated application when displaying an unread message list of the designated application, it may display all the unread messages of the designated application, or display part of the unread messages of the designated application. In specific, it may include any one of the following manners:
  • the predetermined time interval, the predetermined contact, or the predetermined keyword as described in the above three manners may be set by the user, and be added, or cancelled, etc. during usage. And in the examples of the present disclosure, it is not limited to the above three manners, it also may selectively display according to the popularity or type of the unread message, which is not defined in the examples of the present disclosure.
  • the predetermined threshold may be set by technicians when developing, or set by the users during usage, which is not defined in the examples of the present disclosure.
  • the user may set the predetermined threshold, and check the predetermined threshold number of unread messages all together during usage according to his/her requirements of checking information. Compared with displaying only one unread message at one time, displaying the predetermined threshold number of unread messages can avoid the impact on the user's current usage scenario caused by frequently displaying unread messages.
  • the above-described manners (1) and (2) are both optional. It may be a default setting to display one of latest unread messages, or display a plurality of unread messages of the designated application, which is not defined in the examples of the present disclosure.
  • it may display all the contents of the unread message so as to make the user to check the complete unread message, or display the message identification corresponding to the unread message, i.e., display the contact information corresponding to the unread message or part of contents so as to show the user a message reminder.
  • the method further includes: when an open instruction of any one message identification in the unread message list is detected, displaying the unread message corresponding to the open instruction.
  • the mobile terminal provides the user an unread message reminder according to the unread message list.
  • the user needs to check any one of the unread messages in the unread message list, click the message identification of the unread message which needs to be checked, and trigger an open instruction of the message identification of the unread message which needs to be checked.
  • the open instruction is detected by the mobile terminal, display the unread message which needs to be checked.
  • the mobile terminal displays the unread message list, obtain a predetermined character number of contents of each unread message in the unread message list.
  • the open instruction is detected, obtain all the contents of the unread message corresponding to the open instruction, and display all the contents of the unread message corresponding to the open instruction.
  • Block 207 when a return instruction is received, the interface displayed currently is switched to the interface displayed before displaying the unread message of the designated application.
  • FIG. 3 is a schematic diagram illustrating a display of an unread message list according to an example of the present disclosure.
  • the predetermined rule is a shake operation.
  • an original interface may be any kind of interface displayed in the mobile terminal, for example, the original interface may be a common interface (e.g. a main interface, or a locked interface), or an interface of the designated application, which is different from the interface displaying the unread messages of the designated application, or an interface of another application different from the designated application.
  • the original interface is switched to the interface displaying the unread messages of the designated application.
  • the unread message list includes message identifications of three unread messages, i.e., an icon of contact "nickname 1", the nickname and part of contents of a first unread message and its received time, an icon of contact "nickname 2", the nickname and part of contents of a second unread message and its received time, and an icon of contact "nickname 3", the nickname and part of contents of a third unread message and its received time.
  • an icon of contact "nickname 1" the nickname and part of contents of a first unread message and its received time
  • an icon of contact "nickname 2" the nickname and part of contents of a second unread message and its received time
  • an icon of contact "nickname 3" the nickname and part of contents of a third unread message and its received time.
  • sensor information of the mobile terminal is obtained.
  • the change rule of the sensor information complies with the predetermined rule
  • the unread messages of the designated application are displayed.
  • the unread messages at the message aggregation entrance are automatically displayed, without any manual display by the user, and when a return instruction is received, the interface displayed currently is switched to the interface displayed before displaying the unread messages of the designated application, so that it avoids the user to manually return to the main interface of designated application in advance, and then manually switch to the interface displayed before displaying unread messages, hence it is simple and convenient to operate.
  • FIG. 4 is a schematic diagram illustrating a structure of a device for checking a message according to an example of the present disclosure.
  • the device includes: an information obtaining module 401, a change detection module 402, a rule determining module 403, a message displaying module 404.
  • the information obtaining module 401 is configured to obtain sensor information of a mobile terminal in operational process of a designated application;
  • the change detection module 402 is connected with the information obtaining module 401, and configured to detect whether the sensor information is changed;
  • the rule determining module 403 is connected with the change detection module 402, and configured to determine whether a change rule of the sensor information complies with a predetermined rule when the sensor information is changed;
  • the message displaying module 404 is connected with the rule determining module 403, and configured to display an unread message of the designated application when it is detected that the change rule of the sensor information complies with the predetermined rule.
  • the rule determining module 403 includes: a first rule determining unit, configured to determine whether the change interval of the accelerated speed is larger than a predetermined threshold. When the change interval of the accelerated speed is larger than the predetermined threshold, the change rule of the sensor information complies with the predetermined rule; or a second rule determining unit, configured to determine whether the change curve of the angular speed matches with a predetermined curve. When the change curve matches with the predetermined curve, the change rule of the sensor information complies with the predetermined rule.
  • the device further includes: an identification state detection module 410, configured to, when a starting instruction of the designated application is received, detect a quick identification state of the designated application, where the quick identification state is on state or off state.
  • an identification state detection module 410 configured to, when a starting instruction of the designated application is received, detect a quick identification state of the designated application, where the quick identification state is on state or off state.
  • the information obtaining module 401 is configured to, when it is detected that the quick identification state of the designated application is on state, obtain sensor information of a mobile terminal in operational process of a designated application.
  • the message displaying module 404 includes: a message determining unit, configured to, when it is detected that the change rule of the sensor information complies with the predetermined rule, determine whether an unread message is available in the designated application; and a message displaying unit, configured to, when it is determined that an unread message is available in the designated application, display an unread message of the designated application.
  • the message displaying unit is configured to, when it is determined that an unread message is available in the designated application, display a latest unread message of the designated application.
  • the message displaying unit is configured to, when it is determined that an unread message is available in the designated application, display an unread message list of the designated application, where the unread message list includes at least one unread message and a message identification corresponding to the at least one unread message; and when an open instruction of any one message identification in the unread message list is detected, display an unread message corresponding to the open instruction.
  • the device further includes: a return module 412, configured to, when a return instruction is received, switch the interface displayed currently to the interface displayed before displaying the unread message of the designated application.
  • a return module 412 configured to, when a return instruction is received, switch the interface displayed currently to the interface displayed before displaying the unread message of the designated application.
  • the information obtaining module 401 is configured to, in operational process of a designated application, by calling an API corresponding to at least one sensor configured in the mobile terminal, obtain sensor information of at least one sensor configured in the mobile terminal.
  • the at least one sensor may be a gravity sensor or a gyroscope.
  • sensor information of the at least one sensor includes accelerated speed information and/or angular speed information of the mobile terminal.
  • the designated application may include one or multiple designated applications.
  • the message displaying module 404 is configured to, when it is detected that the change rule of the sensor information complies with the predetermined rule, display the unread message of one designated application, or display the unread message of multiple designated applications simultaneously.
  • sensor information of the mobile terminal is obtained.
  • the change rule of the sensor information complies with the predetermined rule
  • the unread messages of the designated application are displayed.
  • the unread messages at the message aggregation entrance are automatically displayed without any manual display by the user, and when a return instruction is received, the interface displayed currently is switched to the interface displayed before displaying the unread messages of the designated application, so that it avoids the user to manually return to the main interface of designated application in advance, and then manually switch to the interface displayed before displaying unread messages, hence it is simple and convenient to operate.
  • the division of the above-described functional modules are only used as examples for description. In practical application, the division of the above functions can be achieved by different functional modules based on needs, i.e., the internal structure of the mobile terminal is divided into different functional modules to achieve part of all of the above-described functions. Furthermore, the device for checking a message provided by the above examples and the method for checking a message belong to the same idea, hence the implementation of the device may be referred to the method examples, which is not defined in detail herein.
  • FIG. 5 is a schematic diagram illustrating a mobile terminal according to an example of the present disclosure.
  • the mobile terminal may be used to implement the method for checking a message provided by the above-described examples.
  • a mobile terminal 500 may include: a radio frequency (RF) circuit 110, at least one computer-readable storage medium 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (WiFi) unit 170, at least one processor 180 and a power supply 190 and the like.
  • RF radio frequency
  • WiFi Wireless Fidelity
  • the RF circuit 110 is capable of sending and receiving signals during an information sending/receiving process or a communication process.
  • the RF circuit 110 may send downlink information received from a base station to the at least one processor 180 for further processing, and may send uplink data to the base station.
  • the RF circuit as a communication unit may generally include, but not limited to, an antenna, at least one amplifier, a tuner, at least one oscillator, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • SIM subscriber identity module
  • the RF circuit 110 may also perform wireless communications via a network with other devices.
  • the communications may be implemented by any communication standard or protocol including, but not limited to, Global System of Mobile (GSM) communication, General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and so on.
  • GSM Global System of Mobile
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the storage device 120 may store software programs and modules.
  • the processor 180 runs the software programs and modules stored in the storage device 120 to implement various functions and data processing.
  • the storage device 120 may include an area storing programs and an area storing data.
  • the area storing programs may store an operating system, at least one application program providing a function (e.g., audio playing function, video playing function and so on).
  • the area storing data may store data generated during operation of the mobile terminal 500 (e.g., audio data, a phone book, etc.) and so on.
  • the storage device 120 may include a high-speed random access memory, and may also include a non-transitory memory, e.g., at least one disk storage, flash memory or other non-transitory solid state storage device.
  • the storage device 120 may also include a storage controller to provide the processor 180 and the input unit 130 with access to the storage device 120.
  • the input unit 130 may receive the input digits or characters, and generate a keyboard input signal, a mouse input signal, a control lever input signal, an optical input signal, or a track ball input signal which is related with user settings and function controlling.
  • the input unit 130 may include a touch sensitive surface 131 and another input device 132.
  • the touch sensitive surface 131 also referred to as a touch screen or a touchpad, is capable of collecting touch operations performed by a user on the surface or near the surface (e.g., an operation performed on or near the touch sensitive surface 231 using any proper object or attachment such as a finger or a touch pen, etc.), and driving a connecting apparatus corresponding to the operation according to a pre-defined procedure.
  • the touch sensitive surface 131 may include a touch detecting apparatus and a touch controller.
  • the touch detecting apparatus detects the orientation touched by the user, detects a signal generated by the touch, and sends the signal to the touch controller.
  • the touch controller receives touch information from the touch detecting apparatus, converts the touch information into coordinates of the touch point, sends the coordinates to the processor 180, and receives a command sent by the processor 180 and executes the command.
  • the touch sensitive surface 131 may be implemented via various types of touch techniques such as resistive touch screen, capacitive touch screen, infrared touch screen and surface acoustic wave touch screen and so on.
  • the input unit 130 may include another input device 132 besides the touch sensitive surface 131.
  • the input device 132 may include, but not limited to, at least one of a physical keyboard, a function key (e.g., a volume control key, a power on/off key, etc.), a track ball, a mouse, a control lever and the like.
  • a function key e.g., a volume control key, a power on/off key, etc.
  • a track ball e.g., a mouse, a control lever and the like.
  • the display unit 140 is capable of displaying information input by the user, information provided for the user and various graphical user interfaces of the mobile terminal 500.
  • the graphical user interfaces may include graphics, texts, icons, videos, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured by Liquid Crystal Display (LCD), Organic Light- Emitting Diode (OLED) and the like.
  • the touch sensitive surface 131 may overlay the display panel 141.
  • the touch sensitive surface 131 When detecting a touch operation on or near the touch sensitive surface 131, the touch sensitive surface 131 sends the touch operation to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event.
  • the touch sensitive surface 131 and the display panel 141 may be two independent components respectively for input and output, they may also be integrated to provide input and output in some examples.
  • the mobile terminal 500 may also include at least one sensor 150, e.g., an optical sensor, a motion sensor, or other types of sensors.
  • the optical sensor may include an ambient light sensor and a proximity sensor.
  • the ambient light sensor may adjust the brightness of the display panel 141 according to the strength of ambient light.
  • the proximity sensor may close the display panel 141 and/or the backlight when the mobile terminal 500 is held close to an ear.
  • a gravity sensor is a type of motion sensor, and it may detect the amount of acceleration in multiple directions (typically in three axis), the amount and the direction of gravity when kept in stationary, and can be used in applications which need to identify phone postures (such as auto screen rotation, related games, magnetometer attitude calibration), functions related with vibration identify (such as a pedometer, percussion) and the like.
  • the mobile terminal 500 may be configured with other sensors, e.g., a gyroscope, a barometer, a hygrometer, a thermometer, infrared sensors and the like, which are not described in detail herein.
  • the audio circuit 160, the speaker 161 and the microphone 162 may provide an audio interface between the user and the mobile terminal 500.
  • the audio circuit 160 may convert received audio data into electrical signals, and then send to the speaker 161.
  • the speaker 161 converts the electrical signals into sound and outputs the sound.
  • the microphone 162 may convert collected sound signals into electrical signals which are received by the audio circuit 160.
  • the audio circuit 160 converts the electrical signals into audio data, and sends the electrical signals to the processor 180 for processing.
  • the processed audio data may be sent to another terminal device via the RF circuit 110, or output to the storage device 120 for further processing.
  • the audio circuit 160 may also include an ear jack providing communications between a peripheral earphone and the mobile terminal 500.
  • a WiFi module 170 may be configured in the mobile terminal.
  • WiFi belongs to a short-distance wireless communications technique.
  • the mobile terminal 500 may apply a WiFi module 170 to provide wireless broadband Internet access to enable a user to send and receive emails, browse webpages and access stream media and so on.
  • the WiFi module 170 is shown in FIG. 4, it should be appreciated that it is not intended to be a mandatory module of the mobile terminal 500, and may be omitted based on needs without changing the scope of the present disclosure.
  • the processor 180 is a control center of the mobile terminal 500, which interconnects all of the components in the phone using various interfaces and circuits, and monitors the phone completely by running or executing software programs and/or modules stored in the storage device 120, calling the data stored in the storage device 120, and performing various functions of the mobile terminal 500 and processing data.
  • the processor 180 may include one or more processing cores.
  • the processor 180 may integrate an application processor and a modem processor.
  • the application processor mainly handles the operating system, user interfaces and application programs, etc.
  • the modem processor mainly handles wireless communications. It should be appreciated that, the modem processor may not be integrated into the processor 180.
  • the mobile terminal 500 may also include a power supply 290 (e.g., a battery) providing power for various components.
  • a power supply 290 e.g., a battery
  • the power supply may be logically connected with the processor 180 via a power supply management system to implement functions such as charging, discharging, power consumption management and the like.
  • the power supply 190 may also include any components, such as one or more Direct Current (DC) or Alternating Current (AC) power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power state indicator and the like.
  • DC Direct Current
  • AC Alternating Current
  • the mobile terminal 500 may also include a camera, a Bluetooth module, etc., which are not described in detail herein.
  • the display unit of the mobile terminal is a touch screen
  • the mobile terminal also includes a processor and one or more programs stored in the memory and configured for execution by the one or more processors, the one or more programs at least including instructions to: obtain sensor information of a mobile terminal in operational process of a designated application; detect whether the sensor information is changed; when the sensor information is changed, determine whether a change rule of the sensor information complies with a predetermined rule; when it is detected that the change rule of the sensor information complies with the predetermined rule, display an unread message of the designated application.
  • FIG. 6 is a schematic diagram illustrating another structure of a device for checking a message in accordance with an example of the present disclosure.
  • the device 600 may include a memory 620, and a processor 610 in communication with memory 620.
  • Memory 620 may store the following instructions executable by processor 610, which are an information obtaining instruction 621, a change detection instruction 622, a rule determining instruction 623, and a message displaying instruction 624.
  • the information obtaining instruction 621 may indicate to obtain sensor information of a mobile terminal in operational process of a designated application.
  • the change detection instruction 622 may indicate to detect whether the sensor information is changed.
  • the rule determining instruction 623 may indicate to determine whether a change rule of the sensor information complies with a predetermined rule when the sensor information is changed.
  • the message displaying instruction 624 may indicate to display an unread message of the designated application when it is detected that the change rule of the sensor information complies with the predetermined rule.
  • the rule determining instruction 623 may further indicate to determine whether the change interval of the accelerated speed is larger than a predetermined threshold. When the change interval of the accelerated speed is larger than the predetermined threshold, the change rule of the sensor information complies with the predetermined rule; or, may indicate to determine whether the change curve of the angular speed matches with a predetermined curve. When the change curve matches with the predetermined curve, the change rule of the sensor information complies with the predetermined rule.
  • memory 620 may further store an identification state detection instruction 625, which may indicate to, when a starting instruction of the designated application is received, detect a quick identification state of the designated application, where the quick identification state is on state or off state.
  • the information obtaining instruction 621 may indicate to, when it is detected that the quick identification state of the designated application is on state, obtain sensor information of a mobile terminal in operational process of a designated application.
  • memory 620 may further store a return instruction 626, which may indicate to, when a return instruction is received, switch currently displayed interface to the interface displayed before displaying the unread message of the designated application.
  • the message displaying instruction 624 may further indicate to, when it is detected that the change rule of the sensor information complies with the predetermined rule, determine whether an unread message is available in the designated application; and indicate to, when it is determined that an unread message is available in the designated application, display an unread message of the designated application.
  • the message displaying instruction 624 may further indicate to, when it is determined that an unread message is available in the designated application, display a latest unread message of the designated application.
  • the message displaying instruction 624 may further indicate to, when it is determined that an unread message is available in the designated application, display an unread message list of the designated application, where the unread message list includes at least one unread message and a message identification corresponding to the at least one unread message; and when an open instruction of any one message identification in the unread message list is detected, display an unread message corresponding to the open instruction.
  • the information obtaining instruction 621 may further indicate to, in operational process of a designated application, by calling an API corresponding to at least one sensor configured in the mobile terminal, obtain sensor information of at least one sensor configured in the mobile terminal.
  • the programs may be stored within a computer-readable storage medium.
  • the computer-readable storage medium may be a readonly memory (ROM), magnetic disk, or light disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Examples of the present disclosure provide a method, device and mobile terminal for checking a message,which relates to mobile terminal technologies. The method includes: obtaining sensor information of a mobile terminal in operational process of a designated application; detecting whether the sensor information is changed; when the sensor information is changed, determining whether a change rule of the sensor information complies with a predetermined rule; when it is detected that the change rule of the sensor information complies with the predetermined rule, displaying an unread message of the designated application. According to the present disclosure, through detecting the change of the sensor information of the mobile terminal, the unread messages at the message aggregation entrance are automatically displayed, the manual display by the user is not needed, and the operation of the user is simplified.

Description

METHOD, DEVICE AND MOBILE TERMINAL FOR CHECKING MESSAGE
PRIORITY STATEMENT
[0001] This application claims the benefit of Chinese Patent Application No. 201310306859.0, filed on July 19, 2013, the disclosure of which is incorporated herein in its entirety by reference.
FIELD
[0002] The present disclosure relates to mobile terminal technologies, more particularly to a method, device and mobile terminal for checking a message.
BACKGROUND
[0003] With the rapid development of mobile terminal technologies and popularity of smart mobile terminals, many information collection devices may be configured in the smart mobile terminals, e.g., a gravity sensor, a gyroscope, which are able to provide users more rich functions.
[0004] Furthermore, among a plurality of application softwares provided by a smart mobile terminal, an instant messaging software are used more and more frequently, and accordingly, performance requirements on the instant messaging software by users become more and more high. However, in current instant messaging software, all the messages are aggregated at the same message aggregation entrance by the smart mobile terminal. When a user needs to check a message, the user would manually quit the current usage scenario, switch to the message aggregation entrance, and then open the message to be checked.
SUMMARY
[0005] In order to solve the problems of the prior art, examples of the present disclosure provide a method, device and mobile terminal for checking a message.
[0006] In a first aspect, a method for checking a message provided by examples of the present invention includes: obtaining sensor information of a mobile terminal in operational process of a designated application; detecting whether the sensor information is changed; when the sensor information is changed, determining whether a change rule of the sensor information complies with a predetermined rule; when it is detected that the change rule of the sensor information complies with the predetermined rule, displaying an unread message of the designated application.
[0007] In a second aspect, a device for checking a message provided by examples of the present invention includes: an information obtaining module, configured to obtain sensor information of a mobile terminal in operational process of a designated application; a change detection module, configured to detect whether the sensor information is changed; a rule determining module, configured to, when the sensor information is changed, determine whether a change rule of the sensor information complies with a predetermined rule; a message displaying module, configured to, when it is detected that the change rule of the sensor information complies with the predetermined rule, display an unread message of the designated application.
[0008] In a third aspect, a mobile terminal provided by examples of the present invention includes a memory, and one or more programs stored in the memory and configured for execution by the one or more processors, the one or more programs including instructions to: obtain sensor information of a mobile terminal in operational process of a designated application;
detect whether the sensor information is changed;
when the sensor information is changed, determine whether a change rule of the sensor information complies with a predetermined rule; when it is detected that the change rule of the sensor information complies with the predetermined rule, display an unread message of the designated application.
[0009] The benefits achieved by the examples of the present disclosure are:
According to the method, device and mobile terminal for checking a message provided by present disclosure, through detecting the change of the sensor information of the mobile terminal, the unread message at the message aggregation entrance is automatically displayed, the manual display by the user is not needed, and the operation of the user is simplified.
BRIEF DESCRIPTION OF THE DRAWINGS
[0010] For a better understanding of the present disclosure, accompanying drawings to be used in description of the examples will be simply introduced hereinafter. Obviously, the accompanying drawings to be described hereinafter are only some examples of the present invention. Those skilled in the art may obtain other drawings according to these accompanying drawings without creative labor.
[0011] FIG. 1 is a flow diagram illustrating a method for checking a message according to an example of the present disclosure.
[0012] FIG. 2 is a flow diagram illustrating a method for checking a message according to an example of the present disclosure.
[0013] FIG. 3 is a schematic diagram illustrating a display of an unread message list according to an example of the present disclosure.
[0014] FIG. 4 is a schematic diagram illustrating a structure of a device for checking a message according to an example of the present disclosure.
[0015] FIG. 5 is a schematic diagram illustrating a mobile terminal according to an example of the present disclosure.
[0016] FIG. 6 is a schematic diagram illustrating another structure of a device for checking a message according to an example of the present disclosure. DETAILED DESCRIPTION
[0017] The present disclosure is hereinafter described in detail with reference to the accompanying drawings. Obviously, the examples to be described hereinafter are only some examples of the present invention. According to these examples, those skilled in the art may obtain other examples without creative labor, which all belong to the scope protected by the present disclosure.
[0018] FIG. 1 is a flow diagram illustrating a method for checking a message according to an example of the present disclosure. The implementation entity of the example is a mobile terminal. As shown in FIG. 1, the method may include the following operations.
[0019] In Block 101, obtain sensor information of a mobile terminal in operational process of a designated application.
[0020] In Block 102, detect whether the sensor information is changed.
[0021] In Block 103, when the sensor information is changed, determine whether a change rule of the sensor information complies with a predetermined rule.
[0022] In Block 104, when it is detected that the change rule of the sensor information complies with the predetermined rule, display an unread message of the designated application.
[0023] In an example, in operational process of the designated application, sensor information of the mobile terminal is obtained. When the change rule of the sensor information complies with the predetermined rule, the unread message of the designated application is displayed. Through detecting the change of the sensor information of the mobile terminal, the unread message at the message aggregation entrance is automatically displayed, the manual display by the user is not needed, and the operation of the user is simplified.
[0024] Optionally, when the sensor information is changed, determining whether a change rule of the sensor information complies with a predetermined rule, includes: when the sensor information is an accelerated speed, determining whether the change interval of the accelerated speed is larger than a predetermined threshold. When the change interval of the accelerated speed is larger than the predetermined threshold, the change rule of the sensor information complies with the predetermined rule; or when the sensor information is an angular speed, determining whether the change curve of the angular speed matches with a predetermined curve. When the change curve matches with the predetermined curve, the change rule of the sensor information complies with the predetermined rule.
[0025] Optionally, before obtaining sensor information of a mobile terminal in operational process of a designated application, the method further includes: when an open instruction of the designated application is received, detecting a quick identification state of the designated application, where the quick identification state is on state or off state.
[0026] Correspondingly, obtaining sensor information of a mobile terminal in operational process of a designated application, includes: when it is detected that the quick identification state of the designated application is on state, obtaining sensor information of a mobile terminal in operational process of a designated application.
[0027] Optionally, when the change rule of the sensor information complies with the predetermined rule, displaying an unread message of the designated application, includes: when it is detected that the change rule of the sensor information complies with the predetermined rule, determining whether an unread message is available in the designated application; when it is determined that an unread message is available in the designated application, displaying the unread message of the designated application.
[0028] Optionally, when it is determined that an unread message is available in the designated application, displaying the unread message of the designated application, includes: when it is determined that an unread message is available in the designated application, displaying a latest unread message of the designated application.
[0029] Optionally, when it is determined that an unread message is available in the designated application, displaying the unread message of the designated application, includes: when it is determined that an unread message is available in the designated application, displaying an unread message list of the designated application, where the unread message list includes at least one unread message and a message identification corresponding to the at least one unread message; when an open instruction of any one message identification in the unread message list is detected, displaying an unread message corresponding to the open instruction.
[0030] Optionally, when the change rule of the sensor information complies with the predetermined rule, displaying an unread message of the designated application, further includes: when a return instruction is received, switching an interface displayed currently to an interface displayed before displaying the unread message of the designated application.
[0031] Optionally, obtaining sensor information of a mobile terminal in operational process of a designated application, includes: in operational process of a designated application, by calling an Application Programming Interface (API) corresponding to at least one sensor configured in the mobile terminal, obtaining sensor information of at least one sensor configured in the mobile terminal.
[0032] Optionally, the at least one sensor may be a gravity sensor or a gyroscope. Correspondingly, sensor information of the at least one sensor includes accelerated speed information and/or angular speed information of the mobile terminal.
[0033] Optionally, the designated application may include one or multiple designated applications. Correspondingly, displaying the unread message of the designated application may include displaying the unread message of one designated application, or displaying the unread message of multiple designated applications simultaneously.
[0034] Any combination of all the above optional solutions may be used to form an optional example of the present disclosure, which is not described in detail herein.
[0035] FIG. 2 is a flow diagram illustrating a method for checking a message according to an example of the present disclosure. The implementation entity of the example is a mobile terminal. As shown in FIG. 2, the method may include the following operations.
[0036] In Block 201, when a starting instruction of the designated application is received, detect a quick identification state, where the quick identification state is on state or off state.
[0037] In an example, the designated application may be an instant communication software, or a gravity game software, which is not defined in the examples of the present disclosure.
[0038] Here, the quick identification state of the designated application is on state or off state. When it is detected that the quick identification state of the designated application is on state, it indicates that the user enables a function of message quick checking, then the following steps are performed. When it is detected that the quick identification state of the designated application is off state, it indicates that the user closes the function of message quick checking, and then it ends. The quick identification state of the designated application may be set by technicians when developing to be a default on state, or set by the users during usage, which is not defined in the examples of the present disclosure.
[0039] In Block 202, when it is detected by the mobile terminal that the quick identification state of the designated application is on state, in operational process of a designated application, by calling an API corresponding to at least one sensor configured in the mobile terminal, obtain sensor information of at least one sensor configured in the mobile terminal.
[0040] The example is applied in the usage scenario of the mobile terminal configured with at least one sensor. By applying the at least one sensor, sensor information of the at least one sensor may be obtained.
[0041] It should be noted that, the process of obtaining sensor information of at least one sensor in the mobile terminal may be performed in real time. Preferably, when it is detected that the quick identification state of the designated application is on state, in operational process of a designated application, by calling an API corresponding to at least one sensor configured in the mobile terminal, obtain sensor information of at least one sensor configured in the mobile terminal in real time.
[0042] Optionally, the at least one sensor may be a gravity sensor or a gyroscope. Correspondingly, sensor information of the at least one sensor includes accelerated speed information and/or angular speed information of the mobile terminal.
[0043] Correspondingly, in Block 202, it specifically includes: when it is detected that the quick identification state of the designated application is on state, in operational process of a designated application, by calling an API corresponding to a gravity sensor in the mobile terminal, obtaining accelerated speed information of the mobile terminal; or when it is detected that the quick identification state of the designated application is on state, in operational process of a designated application, by calling an API corresponding to a gyroscope in the mobile terminal, obtaining angular speed information of the mobile terminal; or when it is detected that the quick identification state of the designated application is on state, in operational process of a designated application, by calling an API corresponding to a gravity sensor in the mobile terminal and an API corresponding to a gyroscope in the mobile terminal, obtaining accelerated speed information and angular speed information of the mobile terminal, respectively.
[0044] In Block 203, detect whether the sensor information is changed; the detection may be implemented by comparing the sensor information obtained currently with the sensor information obtained last time. In addition, the detection may also be implemented by supervising the sensor information.
[0045] In Block 204, when the sensor information is changed, determine whether a change rule of the sensor information complies with a predetermined rule. [0046] Optionally, when the sensor information is an accelerated speed, determine whether the change interval of the accelerated speed is larger than a predetermined threshold. When the change interval of the accelerated speed is larger than the predetermined threshold, the change rule of the sensor information complies with the predetermined rule.
[0047] In an example, the predetermined operation corresponding to the predetermined rule is a shake operation. When the accelerated speed is changed, and the change interval is larger than the predetermined threshold, it is determined that the user triggers a shake operation. At this time, the change rule of the sensor information complies with the predetermined rule
[0048] Further optionally, when the sensor information is an angular speed, determine whether the change curve of the angular speed matches with a predetermined curve. When the change curve of the angular speed matches with the predetermined curve, the change rule of the sensor information complies with the predetermined rule.
[0049] In an example, the predetermined operation corresponding to the predetermined rule is a user-defined operation. The user may define a certain pose change of the mobile terminal to trigger displaying. The pose change has a corresponding predetermined curve of the angular speed. When the current change curve of the angular speed matches with the predetermined curve of the angular speed, it is determined that the user-defined operation is detected. At this time, the change rule of the sensor information complies with the predetermined rule.
[0050] Here, with respect to different types of sensors in the mobile terminal, the predetermined rule may be different. In an example, the predetermined rule may include a predetermined accelerated speed rule, a predetermined angular speed rule, etc.
[0051] Specifically, when the accelerated speed information is changed, determine whether the change rule of the accelerated speed information complies with a predetermined accelerated speed rule. When the angular speed information is changed, determine whether the change rule of the angular speed information complies with a predetermined angular speed rule. When the change rule of the accelerated speed information complies with the predetermined accelerated speed rule, or the change rule of the angular speed information complies with the predetermined angular speed rule, it can be determined that the change rule of the sensor information complies with the predetermined rule.
[0052] Here, criteria of the predetermined accelerated speed rule may be a change direction of accelerated speed information, or a change interval of accelerated speed information, thus when determining whether the change rule of the accelerated speed information complies with a predetermined accelerated speed rule, it may determine whether the change direction of accelerated speed information complies with the change direction included in the predetermined accelerated speed rule, or determine whether the change interval of accelerated speed information complies with the change interval included in the predetermined accelerated speed rule. Criteria of the predetermined angular speed rule may be a tilt angle of angular speed information, or number of rotations of angular speed information, thus when determining whether the change rule of the angular speed information complies with a predetermined angular speed rule, it may determine whether the tilt angle of angular speed information complies with the tilt angle included in the predetermined angular speed, or determine whether the number of rotations of angular speed information complies with the number of rotations included in the predetermined angular speed. The specific criteria are not defined in the examples of the present disclosure.
[0053] For example, assume the predetermined accelerated speed rule as the accelerated speed of the mobile terminal changed from 0 meter per square second to over 12 meters per square second. When it is detected that the accelerated speed is changed, and the accelerated speed is changed from 0 meter per square second to 15 meters per square second, it is determined that the change rule of the accelerated speed information complies with the predetermined accelerated speed rule, i.e., the change rule of the sensor information complies with the predetermined rule.
[0054] For another example, assume the predetermined change curve of the angular speed is the change curve of the angular speed generated when the mobile terminal turns right for one time and then turns left until the original position. When it is detected that the angular speed information is changed, and the change curve of the angular speed matches with the predetermined change curve of the angular speed, it is determined that it is detected that the mobile terminal turns right for one time and then turns left until the original position, thus the change rule of the angular speed information matches with the predetermined angular speed rule, i.e., the change rule of the sensor information complies with the predetermined rule.
[0055] Before Block 204, the method further includes: obtaining the predetermined rule.
[0056] Here, the predetermined rule may be set by the technicians when developing; or when installing the designated application, enabling the function of setting the predetermined rule, obtaining the predetermined operation input by the user, and obtaining the change rule corresponding to the predetermined operation as the predetermined rule; or during usage by the user, triggering the instruction of setting the predetermined rule, performing the addition or cancelling operations, etc. to the predetermined rule, which is not defined in the examples of the present disclosure.
[0057] It should be noted that, according to the predetermined rule, a type of a sensor can be determined, and the sensor information of a mobile terminal corresponding to the type can be obtained in operational process of a designated application. In particular, after the
predetermined rule is obtained, according to the predetermined operation included in the predetermined rule, it may determine the sensor corresponding to the predetermined operation is a gravity sensor, a gyroscope or others. Thus, in Block 202, it may obtain the sensor information only according to the sensor corresponding to the predetermined operation. This avoids obtaining the sensor information respectively corresponding to each sensor of the mobile terminal, thus the process is simplified, and the delay is reduced.
[0058] For example, when it is obtained that the predetermined operation included in the predetermined rule is a shake operation, it may be determined that the sensor corresponding to the shake operation is a gravity sensor, thus in Block 202, in operational process of a designated application, by calling an API corresponding to a gravity sensor in the mobile terminal, obtain accelerated speed information of the mobile terminal, without obtaining the angular speed information of the mobile terminal by calling an API corresponding to a gyroscope in the mobile terminal.
[0059] In Block 205, when it is detected that the change rule of the sensor information complies with the predetermined rule, determine whether there is an unread message available in the designated application. [0060] In an example, all the messages of the designated application are stored in the message aggregator of the designated application. By receiving a checking instruction for the message aggregator, it may display the message corresponding to the checking instruction. Correspondingly, the Block 205 specifically includes: when it is detected that the change rule of the sensor information complies with the predetermined rule, determining whether there is an unread message available in the message aggregator of the designated application.
[0061] Further, when determining whether there is an unread message available in the message aggregator of the designated application, it may determine according to a reading identification of the message in the message aggregator of the designated application. The reading identification may include a read identification or an unread identification; or it may determine according to a time when receiving the message in the message aggregator of the designated application and a time when the mobile terminal accesses the message aggregator, which is not defined in the examples of the present disclosure. Preferably, traverse the reading identification of each message in the message aggregator of the designated application. When it is detected that the reading identification of any one message is the unread identification, it is determined that an unread message is available in the message aggregator.
[0062] In Block 206, when it is determined that there is an unread message available in the designated application, display an unread message of the designated application, and then perform Block 203.
[0063] In an example, when it is detected that the change rule of the sensor information complies with the predetermined rule, and there is an unread message available in the designated application, automatically display the unread message in the message aggregator, without manually switch the display interface by the user, thus the operation of the user is simplified.
[0064] In Block 206, it may use any one of the following manners:
[0065] (1) when it is determined that an unread message is available in the designated application, display a latest unread message of the designated application. [0066] In specific, when it is determined that an unread message is available in the message aggregator of the designated application, obtain a latest unread message of the designated application, and display the latest unread message; or, when it is determined that an unread message is available in the message aggregator of the designated application, obtain part of contents of a latest unread message of the designated application, and display the part of contents of the latest unread message.
[0067] (2) when it is determined that an unread message is available in the designated application, display an unread message list of the designated application, where the unread message list includes at least one unread message and a message identification corresponding to the at least one unread message.
[0068] Here, the message identification corresponding to the unread message may be the contact information corresponding to the unread message, or the keywords included in the unread message, or part of contents of the unread message, which is not defined in the examples of the present disclosure.
[0069] In specific, when displaying an unread message list of the designated application, it may display all the unread messages of the designated application, or display part of the unread messages of the designated application. In specific, it may include any one of the following manners:
(a) display an unread message received in a predetermined time interval before the present moment, among the unread messages of the designated application;
(b) display an unread message sent by a predetermined contact, among the unread messages of the designated application;
(c) display an unread message including a predetermined keyword, among the unread messages of the designated application;
[0070] Here, the predetermined time interval, the predetermined contact, or the predetermined keyword as described in the above three manners may be set by the user, and be added, or cancelled, etc. during usage. And in the examples of the present disclosure, it is not limited to the above three manners, it also may selectively display according to the popularity or type of the unread message, which is not defined in the examples of the present disclosure.
[0071] Optionally, when it is determined that there is an unread message available in the designated application, and the number of the unread messages reaches a predetermined threshold, display an unread message list of the designated application. The predetermined threshold may be set by technicians when developing, or set by the users during usage, which is not defined in the examples of the present disclosure. Here, the user may set the predetermined threshold, and check the predetermined threshold number of unread messages all together during usage according to his/her requirements of checking information. Compared with displaying only one unread message at one time, displaying the predetermined threshold number of unread messages can avoid the impact on the user's current usage scenario caused by frequently displaying unread messages.
[0072] The above-described manners (1) and (2) are both optional. It may be a default setting to display one of latest unread messages, or display a plurality of unread messages of the designated application, which is not defined in the examples of the present disclosure. Here, when displaying an unread message of the designated application, it may display all the contents of the unread message so as to make the user to check the complete unread message, or display the message identification corresponding to the unread message, i.e., display the contact information corresponding to the unread message or part of contents so as to show the user a message reminder.
[0073] Correspondingly, after performing the above-described (2), the method further includes: when an open instruction of any one message identification in the unread message list is detected, displaying the unread message corresponding to the open instruction.
[0074] In specific, the mobile terminal provides the user an unread message reminder according to the unread message list. When the user needs to check any one of the unread messages in the unread message list, click the message identification of the unread message which needs to be checked, and trigger an open instruction of the message identification of the unread message which needs to be checked. When the open instruction is detected by the mobile terminal, display the unread message which needs to be checked. [0075] Optionally, when the mobile terminal displays the unread message list, obtain a predetermined character number of contents of each unread message in the unread message list. When the open instruction is detected, obtain all the contents of the unread message corresponding to the open instruction, and display all the contents of the unread message corresponding to the open instruction.
[0076] In Block 207, when a return instruction is received, the interface displayed currently is switched to the interface displayed before displaying the unread message of the designated application.
[0077] The difference from the prior art is that, when checking an unread message in operation process of the designated application, and the user needs to return to the interface displayed before displaying the unread message, the user only needs to trigger the return instruction. In the examples, it avoids the user to manually return to the main interface of designated application in advance, and then manually switch to the interface displayed before displaying an unread message. Hence, it is simple and convenient to operate.
[0078] FIG. 3 is a schematic diagram illustrating a display of an unread message list according to an example of the present disclosure. As shown in FIG. 3, assume the predetermined rule is a shake operation. When it is detected that the user triggers a shake operation, display an unread message list shown in FIG. 3. Before displaying the unread message list, an original interface may be any kind of interface displayed in the mobile terminal, for example, the original interface may be a common interface (e.g. a main interface, or a locked interface), or an interface of the designated application, which is different from the interface displaying the unread messages of the designated application, or an interface of another application different from the designated application. When displaying the unread message list, the original interface is switched to the interface displaying the unread messages of the designated application.
[0079] The unread message list includes message identifications of three unread messages, i.e., an icon of contact "nickname 1", the nickname and part of contents of a first unread message and its received time, an icon of contact "nickname 2", the nickname and part of contents of a second unread message and its received time, and an icon of contact "nickname 3", the nickname and part of contents of a third unread message and its received time. When the user needs to check the first unread message, click the message identification of the first unread message, and display complete information of the first unread message in the mobile terminal. For the instant communication software, when the user clicks the message identification of the first unread message, enter the conversation interface of the user and contact "nickname 1", so that the user may make a conversation with contact "nickname 1".
[0080] When the user needs to return to the interface displayed before displaying the unread message of the designated application, by clicking the 'return' button at the left bottom, trigger the return instruction, and the interface displayed currently is switched to the displayed interface before displaying the unread message of the designated application.
[0081] According to the method provided by the present disclosure, in the operational process of a designated application, sensor information of the mobile terminal is obtained. When the change rule of the sensor information complies with the predetermined rule, the unread messages of the designated application are displayed. Through detecting the change of the sensor information of the mobile terminal, the unread messages at the message aggregation entrance are automatically displayed, without any manual display by the user, and when a return instruction is received, the interface displayed currently is switched to the interface displayed before displaying the unread messages of the designated application, so that it avoids the user to manually return to the main interface of designated application in advance, and then manually switch to the interface displayed before displaying unread messages, hence it is simple and convenient to operate.
[0082] FIG. 4 is a schematic diagram illustrating a structure of a device for checking a message according to an example of the present disclosure. As shown in FIG. 4, the device includes: an information obtaining module 401, a change detection module 402, a rule determining module 403, a message displaying module 404.
[0083] Here, the information obtaining module 401 is configured to obtain sensor information of a mobile terminal in operational process of a designated application; the change detection module 402 is connected with the information obtaining module 401, and configured to detect whether the sensor information is changed; the rule determining module 403 is connected with the change detection module 402, and configured to determine whether a change rule of the sensor information complies with a predetermined rule when the sensor information is changed; the message displaying module 404 is connected with the rule determining module 403, and configured to display an unread message of the designated application when it is detected that the change rule of the sensor information complies with the predetermined rule.
[0084] Optionally, the rule determining module 403 includes: a first rule determining unit, configured to determine whether the change interval of the accelerated speed is larger than a predetermined threshold. When the change interval of the accelerated speed is larger than the predetermined threshold, the change rule of the sensor information complies with the predetermined rule; or a second rule determining unit, configured to determine whether the change curve of the angular speed matches with a predetermined curve. When the change curve matches with the predetermined curve, the change rule of the sensor information complies with the predetermined rule.
[0085] Optionally, the device further includes: an identification state detection module 410, configured to, when a starting instruction of the designated application is received, detect a quick identification state of the designated application, where the quick identification state is on state or off state.
[0086] Correspondingly, the information obtaining module 401 is configured to, when it is detected that the quick identification state of the designated application is on state, obtain sensor information of a mobile terminal in operational process of a designated application.
[0087] Optionally, the message displaying module 404 includes: a message determining unit, configured to, when it is detected that the change rule of the sensor information complies with the predetermined rule, determine whether an unread message is available in the designated application; and a message displaying unit, configured to, when it is determined that an unread message is available in the designated application, display an unread message of the designated application. [0088] Optionally, the message displaying unit is configured to, when it is determined that an unread message is available in the designated application, display a latest unread message of the designated application.
[0089] Optionally, the message displaying unit is configured to, when it is determined that an unread message is available in the designated application, display an unread message list of the designated application, where the unread message list includes at least one unread message and a message identification corresponding to the at least one unread message; and when an open instruction of any one message identification in the unread message list is detected, display an unread message corresponding to the open instruction.
[0090] Optionally, the device further includes: a return module 412, configured to, when a return instruction is received, switch the interface displayed currently to the interface displayed before displaying the unread message of the designated application.
[0091] Optionally, the information obtaining module 401 is configured to, in operational process of a designated application, by calling an API corresponding to at least one sensor configured in the mobile terminal, obtain sensor information of at least one sensor configured in the mobile terminal.
[0092] Optionally, the at least one sensor may be a gravity sensor or a gyroscope. Correspondingly, sensor information of the at least one sensor includes accelerated speed information and/or angular speed information of the mobile terminal.
[0093] Optionally, the designated application may include one or multiple designated applications. Correspondingly, the message displaying module 404 is configured to, when it is detected that the change rule of the sensor information complies with the predetermined rule, display the unread message of one designated application, or display the unread message of multiple designated applications simultaneously.
[0094] According to the device provided by the present disclosure, in the operational process of a designated application, sensor information of the mobile terminal is obtained. When the change rule of the sensor information complies with the predetermined rule, the unread messages of the designated application are displayed. Through detecting the change of the sensor information of the mobile terminal, the unread messages at the message aggregation entrance are automatically displayed without any manual display by the user, and when a return instruction is received, the interface displayed currently is switched to the interface displayed before displaying the unread messages of the designated application, so that it avoids the user to manually return to the main interface of designated application in advance, and then manually switch to the interface displayed before displaying unread messages, hence it is simple and convenient to operate.
[0095] It should be noted that when checking a message by the device provided by the above-described examples, the division of the above-described functional modules are only used as examples for description. In practical application, the division of the above functions can be achieved by different functional modules based on needs, i.e., the internal structure of the mobile terminal is divided into different functional modules to achieve part of all of the above-described functions. Furthermore, the device for checking a message provided by the above examples and the method for checking a message belong to the same idea, hence the implementation of the device may be referred to the method examples, which is not defined in detail herein.
[0096] FIG. 5 is a schematic diagram illustrating a mobile terminal according to an example of the present disclosure. The mobile terminal may be used to implement the method for checking a message provided by the above-described examples.
[0097] A mobile terminal 500 may include: a radio frequency (RF) circuit 110, at least one computer-readable storage medium 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (WiFi) unit 170, at least one processor 180 and a power supply 190 and the like. Those skilled in the art may appreciate that, the structure of the mobile terminal shown in FIG. 5 is not intended to limit the mobile terminal, and may include more or less units than the units shown in FIG. 5, or combinations of some units, or different layout of the units.
[0098] Here, the RF circuit 110 is capable of sending and receiving signals during an information sending/receiving process or a communication process. In particular, the RF circuit 110 may send downlink information received from a base station to the at least one processor 180 for further processing, and may send uplink data to the base station. The RF circuit as a communication unit may generally include, but not limited to, an antenna, at least one amplifier, a tuner, at least one oscillator, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like. Furthermore, the RF circuit 110 may also perform wireless communications via a network with other devices. The communications may be implemented by any communication standard or protocol including, but not limited to, Global System of Mobile (GSM) communication, General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and so on.
[0099] The storage device 120 may store software programs and modules. The processor 180 runs the software programs and modules stored in the storage device 120 to implement various functions and data processing. The storage device 120 may include an area storing programs and an area storing data. The area storing programs may store an operating system, at least one application program providing a function (e.g., audio playing function, video playing function and so on). The area storing data may store data generated during operation of the mobile terminal 500 (e.g., audio data, a phone book, etc.) and so on. The storage device 120 may include a high-speed random access memory, and may also include a non-transitory memory, e.g., at least one disk storage, flash memory or other non-transitory solid state storage device. Correspondingly, the storage device 120 may also include a storage controller to provide the processor 180 and the input unit 130 with access to the storage device 120.
[00100] The input unit 130 may receive the input digits or characters, and generate a keyboard input signal, a mouse input signal, a control lever input signal, an optical input signal, or a track ball input signal which is related with user settings and function controlling. In particular, the input unit 130 may include a touch sensitive surface 131 and another input device 132. The touch sensitive surface 131, also referred to as a touch screen or a touchpad, is capable of collecting touch operations performed by a user on the surface or near the surface (e.g., an operation performed on or near the touch sensitive surface 231 using any proper object or attachment such as a finger or a touch pen, etc.), and driving a connecting apparatus corresponding to the operation according to a pre-defined procedure. Optionally, the touch sensitive surface 131 may include a touch detecting apparatus and a touch controller. The touch detecting apparatus detects the orientation touched by the user, detects a signal generated by the touch, and sends the signal to the touch controller. The touch controller receives touch information from the touch detecting apparatus, converts the touch information into coordinates of the touch point, sends the coordinates to the processor 180, and receives a command sent by the processor 180 and executes the command. In addition, the touch sensitive surface 131 may be implemented via various types of touch techniques such as resistive touch screen, capacitive touch screen, infrared touch screen and surface acoustic wave touch screen and so on. In particular, the input unit 130 may include another input device 132 besides the touch sensitive surface 131. In particular, the input device 132 may include, but not limited to, at least one of a physical keyboard, a function key (e.g., a volume control key, a power on/off key, etc.), a track ball, a mouse, a control lever and the like.
[00101] The display unit 140 is capable of displaying information input by the user, information provided for the user and various graphical user interfaces of the mobile terminal 500. The graphical user interfaces may include graphics, texts, icons, videos, and any combination thereof. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured by Liquid Crystal Display (LCD), Organic Light- Emitting Diode (OLED) and the like. Further, the touch sensitive surface 131 may overlay the display panel 141. When detecting a touch operation on or near the touch sensitive surface 131, the touch sensitive surface 131 sends the touch operation to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 4, the touch sensitive surface 131 and the display panel 141 may be two independent components respectively for input and output, they may also be integrated to provide input and output in some examples.
[00102] The mobile terminal 500 may also include at least one sensor 150, e.g., an optical sensor, a motion sensor, or other types of sensors. In particular, the optical sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor may adjust the brightness of the display panel 141 according to the strength of ambient light. The proximity sensor may close the display panel 141 and/or the backlight when the mobile terminal 500 is held close to an ear. A gravity sensor is a type of motion sensor, and it may detect the amount of acceleration in multiple directions (typically in three axis), the amount and the direction of gravity when kept in stationary, and can be used in applications which need to identify phone postures (such as auto screen rotation, related games, magnetometer attitude calibration), functions related with vibration identify (such as a pedometer, percussion) and the like. The mobile terminal 500 may be configured with other sensors, e.g., a gyroscope, a barometer, a hygrometer, a thermometer, infrared sensors and the like, which are not described in detail herein.
[00103] The audio circuit 160, the speaker 161 and the microphone 162 may provide an audio interface between the user and the mobile terminal 500. The audio circuit 160 may convert received audio data into electrical signals, and then send to the speaker 161. The speaker 161 converts the electrical signals into sound and outputs the sound. The microphone 162 may convert collected sound signals into electrical signals which are received by the audio circuit 160. The audio circuit 160 converts the electrical signals into audio data, and sends the electrical signals to the processor 180 for processing. The processed audio data may be sent to another terminal device via the RF circuit 110, or output to the storage device 120 for further processing. The audio circuit 160 may also include an ear jack providing communications between a peripheral earphone and the mobile terminal 500.
[00104] In order to perform the wireless communication, a WiFi module 170 may be configured in the mobile terminal. WiFi belongs to a short-distance wireless communications technique. The mobile terminal 500 may apply a WiFi module 170 to provide wireless broadband Internet access to enable a user to send and receive emails, browse webpages and access stream media and so on. Although the WiFi module 170 is shown in FIG. 4, it should be appreciated that it is not intended to be a mandatory module of the mobile terminal 500, and may be omitted based on needs without changing the scope of the present disclosure.
[00105] The processor 180 is a control center of the mobile terminal 500, which interconnects all of the components in the phone using various interfaces and circuits, and monitors the phone completely by running or executing software programs and/or modules stored in the storage device 120, calling the data stored in the storage device 120, and performing various functions of the mobile terminal 500 and processing data. Optionally, the processor 180 may include one or more processing cores. Preferably, the processor 180 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interfaces and application programs, etc., and the modem processor mainly handles wireless communications. It should be appreciated that, the modem processor may not be integrated into the processor 180.
[00106] The mobile terminal 500 may also include a power supply 290 (e.g., a battery) providing power for various components. Preferably, the power supply may be logically connected with the processor 180 via a power supply management system to implement functions such as charging, discharging, power consumption management and the like. The power supply 190 may also include any components, such as one or more Direct Current (DC) or Alternating Current (AC) power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power state indicator and the like.
[00107] Although not shown, the mobile terminal 500 may also include a camera, a Bluetooth module, etc., which are not described in detail herein. In an example, the display unit of the mobile terminal is a touch screen, and the mobile terminal also includes a processor and one or more programs stored in the memory and configured for execution by the one or more processors, the one or more programs at least including instructions to: obtain sensor information of a mobile terminal in operational process of a designated application; detect whether the sensor information is changed; when the sensor information is changed, determine whether a change rule of the sensor information complies with a predetermined rule; when it is detected that the change rule of the sensor information complies with the predetermined rule, display an unread message of the designated application.
[00108] FIG. 6 is a schematic diagram illustrating another structure of a device for checking a message in accordance with an example of the present disclosure.
[00109] As shown in FIG. 6, the device 600 may include a memory 620, and a processor 610 in communication with memory 620. Memory 620 may store the following instructions executable by processor 610, which are an information obtaining instruction 621, a change detection instruction 622, a rule determining instruction 623, and a message displaying instruction 624.
[00110] The information obtaining instruction 621 may indicate to obtain sensor information of a mobile terminal in operational process of a designated application.
[00111] The change detection instruction 622 may indicate to detect whether the sensor information is changed.
[00112] The rule determining instruction 623 may indicate to determine whether a change rule of the sensor information complies with a predetermined rule when the sensor information is changed.
[00113] The message displaying instruction 624 may indicate to display an unread message of the designated application when it is detected that the change rule of the sensor information complies with the predetermined rule.
[00114] The rule determining instruction 623 may further indicate to determine whether the change interval of the accelerated speed is larger than a predetermined threshold. When the change interval of the accelerated speed is larger than the predetermined threshold, the change rule of the sensor information complies with the predetermined rule; or, may indicate to determine whether the change curve of the angular speed matches with a predetermined curve. When the change curve matches with the predetermined curve, the change rule of the sensor information complies with the predetermined rule.
[00115] Optionally, memory 620 may further store an identification state detection instruction 625, which may indicate to, when a starting instruction of the designated application is received, detect a quick identification state of the designated application, where the quick identification state is on state or off state.
[00116] Correspondingly, the information obtaining instruction 621 may indicate to, when it is detected that the quick identification state of the designated application is on state, obtain sensor information of a mobile terminal in operational process of a designated application. [00117] Optionally, memory 620 may further store a return instruction 626, which may indicate to, when a return instruction is received, switch currently displayed interface to the interface displayed before displaying the unread message of the designated application.
[00118] The message displaying instruction 624 may further indicate to, when it is detected that the change rule of the sensor information complies with the predetermined rule, determine whether an unread message is available in the designated application; and indicate to, when it is determined that an unread message is available in the designated application, display an unread message of the designated application.
[00119] The message displaying instruction 624 may further indicate to, when it is determined that an unread message is available in the designated application, display a latest unread message of the designated application.
[00120] The message displaying instruction 624 may further indicate to, when it is determined that an unread message is available in the designated application, display an unread message list of the designated application, where the unread message list includes at least one unread message and a message identification corresponding to the at least one unread message; and when an open instruction of any one message identification in the unread message list is detected, display an unread message corresponding to the open instruction.
[00121] The information obtaining instruction 621 may further indicate to, in operational process of a designated application, by calling an API corresponding to at least one sensor configured in the mobile terminal, obtain sensor information of at least one sensor configured in the mobile terminal.
[00122] Those skilled in the art may understand that part of all of the steps to implement the above-described examples may be accomplished by hardwares, and also may be accomplished by hardwares instructed by the programs. The programs may be stored within a computer-readable storage medium. The computer-readable storage medium may be a readonly memory (ROM), magnetic disk, or light disk, etc.
[00123] The foregoing is preferred examples of the present disclosure, which is not used for limiting the protection scope of the present disclosure. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present disclosure, should be covered by the protection scope of the present disclosure.

Claims

CLAIMS WHAT IS CLAIMED IS:
1. A method for checking a message, comprising:
obtaining sensor information of a mobile terminal in operational process of a designated application;
detecting whether the sensor information is changed;
when the sensor information is changed, determining whether a change rule of the sensor information complies with a predetermined rule; and
when it is detected that the change rule of the sensor information complies with the predetermined rule, displaying an unread message of the designated application.
2. The method according to claim 1, wherein when the sensor information is changed, determining whether the change rule of the sensor information complies with the predetermined rule comprises:
when the sensor information is an accelerated speed, determining whether a change interval of the accelerated speed is larger than a predetermined threshold, and determining that the change rule of the sensor information complies with the predetermined rule when the change interval of the accelerated speed is larger than the predetermined threshold; or
when the sensor information is an angular speed, determining whether a change curve of the angular speed matches with a predetermined curve, and determining that the change rule of the sensor information complies with the predetermined rule when the change curve matches with the predetermined curve.
3. The method according to claim 1, further comprising:
when a starting instruction of the designated application is received, detecting a quick identification state of the designated application, wherein the quick identification state is on state or off state; and
wherein obtaining sensor information of a mobile terminal in operational process of a designated application comprises:
when it is detected that the quick identification state of the designated application is on state, obtaining the sensor information of the mobile terminal in the operational process of the designated application.
4. The method according to claim 1, wherein obtaining sensor information of a mobile terminal in operational process of a designated application comprises:
determining a type of a sensor according to the predetermined rule, and obtaining the sensor information of a mobile terminal corresponding to the type in operational process of a designated application.
5. The method according to claim 1, wherein displaying an unread message of the designated application comprises:
determining whether an unread message is available in the designated application; when it is determined that an unread message is available in the designated application, displaying the unread message of the designated application.
6. The method according to claim 5, wherein displaying the unread message of the designated application comprises:
when it is determined that an unread message is available in the designated application, displaying a latest unread message of the designated application.
7. The method according to claim 5, wherein displaying the unread message of the designated application comprises:
displaying an unread message list of the designated application, wherein the unread message list includes at least one unread message and a message identification corresponding to the at least one unread message;
when an open instruction of any one message identification in the unread message list is detected, displaying an unread message corresponding to the open instruction.
8. The method according to claim 5, wherein displaying the unread message of the designated application comprises:
switching an original interface to an interface displaying the unread messages of the designated application, wherein the original interface comprises a common interface, or an interface of the designated application, which is different from the interface displaying the unread messages of the designated application, or an interface of another application different from the designated application.
9. The method according to any one of claims 1-8, wherein displaying an unread message of the designated application further comprises:
when a return instruction is received, switching an interface displayed currently to an interface displayed before displaying the unread message of the designated application.
10. The method according to any one of claims 1-8, wherein obtaining sensor information of a mobile terminal in operational process of a designated application comprises: in the operational process of the designated application, by calling an Application Programming Interface (API) corresponding to at least one sensor configured in the mobile terminal, obtaining sensor information of at least one sensor configured in the mobile terminal.
11. The method according to claim 10, wherein the at least one sensor comprises a gravity sensor or a gyroscope; and
the sensor information of the at least one sensor comprises accelerated speed information and/or angular speed information of the mobile terminal.
12. The method according to any one of claims 1-11, wherein the designated application comprises one or multiple designated applications;
displaying the unread message of the designated application comprises: displaying the unread message of one designated application, or displaying the unread message of multiple designated applications simultaneously.
13. A device for checking a message, comprising:
an information obtaining module, configured to obtain sensor information of a mobile terminal in operational process of a designated application;
a change detection module, configured to detect whether the sensor information is changed;
a rule determining module, configured to, when the sensor information is changed, determine whether a change rule of the sensor information complies with a predetermined rule;
a message displaying module, configured to, when it is detected that the change rule of the sensor information complies with the predetermined rule, display an unread message of the designated application.
14. The device according to claim 13, wherein the rule determining module comprises: a first rule determining unit, configured to, when the sensor information is an accelerated speed, determine whether a change interval of the accelerated speed is larger than a predetermined threshold; when the change interval of the accelerated speed is larger than the predetermined threshold, determine that the change rule of the sensor information complies with the predetermined rule; or
a second rule determining unit, configured to, when the sensor information is an angular speed, determine whether a change curve of the angular speed matches with a predetermined curve; when the change curve matches with the predetermined curve, determine that the change rule of the sensor information complies with the predetermined rule.
15. The device according to claim 13, wherein the device further comprises:
an identification state detection module, configured to, when a starting instruction of the designated application is received, detect a quick identification state of the designated application, wherein the quick identification state is on state or off state;
the information obtaining module, configured to, when it is detected that the quick identification state of the designated application is on state, obtain sensor information of a mobile terminal in operational process of a designated application.
16. The device according to claim 13, wherein the information obtaining module is configured to, determine a type of a sensor according to the predetermined rule, and obtain the sensor information of a mobile terminal corresponding to the type in operational process of a designated application.
17. The device according to claim 13, wherein the message displaying module comprises:
a message determining unit, configured to, when it is detected that the change rule of the sensor information complies with the predetermined rule, determine whether an unread message is available in the designated application;
a message displaying unit, configured to, when it is determined that an unread message is available in the designated application, display the unread message of the designated application.
18. The device according to claim 17, wherein the message displaying unit is configured to, when it is determined that an unread message is available in the designated application, display a latest unread message of the designated application.
19. The device according to claim 17, wherein the message displaying unit is configured to, display an unread message list of the designated application, wherein the unread message list includes at least one unread message and a message identification corresponding to the at least one unread message;
when an open instruction of any one message identification in the unread message list is detected, display an unread message corresponding to the open instruction.
20. The device according to claim 17, wherein the message displaying unit is configured to, switch an original interface to an interface displaying the unread messages of the designated application, wherein the original interface comprises a common interface, or an interface of the designated application, which is different from the interface displaying the unread messages of the designated application, or an interface of another application different from the designated application.
21. The device according to any one of claims 13-20, wherein the device further comprises:
a return module, configured to, when a return instruction is received, switch an interface displayed currently to an interface displayed before displaying the unread message of the designated application.
22. The device according to any one of claims 13-20, wherein the information obtaining module is configured to, in operational process of a designated application, by calling an Application Programming Interface (API) corresponding to at least one sensor configured in the mobile terminal, obtain sensor information of at least one sensor configured in the mobile terminal.
23. The device according to claim 22, wherein the at least one sensor comprises a gravity sensor or a gyroscope; and the sensor information of the at least one sensor comprises accelerated speed information and/or angular speed information of the mobile terminal.
24. The device according to any one of claims 13-23, wherein the designated application comprises one or multiple designated applications;
the message displaying module is configured to, when it is detected that the change rule of the sensor information complies with the predetermined rule, display the unread message of one designated application, or display the unread message of multiple designated applications simultaneously.
25. A mobile terminal, comprises a memory, and one or more programs stored in the memory and configured for execution by the one or more processors, the one or more programs including instructions to:
obtain sensor information of a mobile terminal in operational process of a designated application;
detect whether the sensor information is changed;
when the sensor information is changed, determine whether a change rule of the sensor information complies with a predetermined rule;
when it is detected that the change rule of the sensor information complies with the predetermined rule, display an unread message of the designated application.
PCT/CN2014/082469 2013-07-19 2014-07-18 Method, device and mobile terminal for checking message WO2015007232A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310306859.0A CN104301504A (en) 2013-07-19 2013-07-19 Message viewing method and device and mobile terminal
CN201310306859.0 2013-07-19

Publications (1)

Publication Number Publication Date
WO2015007232A1 true WO2015007232A1 (en) 2015-01-22

Family

ID=52321060

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/082469 WO2015007232A1 (en) 2013-07-19 2014-07-18 Method, device and mobile terminal for checking message

Country Status (3)

Country Link
CN (1) CN104301504A (en)
TW (1) TWI520043B (en)
WO (1) WO2015007232A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915711A (en) * 2016-04-19 2016-08-31 青岛海信移动通信技术股份有限公司 Method and device for message prompt in mobile equipment
CN109195153A (en) * 2018-08-01 2019-01-11 Oppo广东移动通信有限公司 Data processing method, device, electronic equipment and computer readable storage medium
US10404845B2 (en) 2015-05-14 2019-09-03 Oneplus Technology (Shenzhen) Co., Ltd. Method and device for controlling notification content preview on mobile terminal, and storage medium

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967738A (en) * 2015-06-11 2015-10-07 上海锳科迩电子股份有限公司 Method for controlling vehicle theft prevention using gravity sensor of intelligent terminal equipment
CN104992102A (en) * 2015-07-23 2015-10-21 京东方科技集团股份有限公司 Message display method and apparatus
CN106484213B (en) * 2015-08-31 2019-11-01 深圳富泰宏精密工业有限公司 Application icon operating system and method
CN106060251A (en) * 2016-05-26 2016-10-26 深圳天珑无线科技有限公司 Short message enquiry and reading method, short message enquiry and reading device and related equipment
CN106126079A (en) * 2016-06-15 2016-11-16 珠海市魅族科技有限公司 A kind of information processing method and information processor
CN106550086B (en) * 2016-09-29 2021-08-17 宇龙计算机通信科技(深圳)有限公司 Terminal and push information prompting method
CN106921796A (en) * 2017-02-13 2017-07-04 上海斐讯数据通信技术有限公司 A kind of method for controlling mobile terminal based on gyroscope
CN110368286A (en) * 2018-04-12 2019-10-25 西安瑞新康达医疗科技有限公司 A kind of wireless CPR guiding device
CN110275750A (en) * 2019-06-19 2019-09-24 维沃移动通信有限公司 A kind of notification message inspection method and terminal
CN113452596A (en) * 2020-03-25 2021-09-28 福建天泉教育科技有限公司 Method for quickly checking unread messages in instant messaging application and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012774A (en) * 2009-09-08 2011-04-13 中兴通讯股份有限公司 Page turning method, device and terminal for terminal reading contents
CN102170497A (en) * 2011-04-21 2011-08-31 宇龙计算机通信科技(深圳)有限公司 Unprocessed event indicating method, system and terminal
CN103067586A (en) * 2012-12-26 2013-04-24 广东欧珀移动通信有限公司 Method and system of receiving and sending of short message service of mobile terminal
CN103118168A (en) * 2012-12-26 2013-05-22 珠海市魅族科技有限公司 Display control method and terminal of unprocessed information
CN103685694A (en) * 2012-09-11 2014-03-26 联想(北京)有限公司 Prompt method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201937679U (en) * 2010-12-02 2011-08-17 上海华勤通讯技术有限公司 Mobile phone for switching themes through monitoring mobile phone acceleration
CN102830931B (en) * 2012-08-17 2015-07-08 广东欧珀移动通信有限公司 Method for checking notification information of smart terminal by shaking
CN103049172B (en) * 2012-12-20 2015-11-25 小米科技有限责任公司 Sidebar display packing, device and terminal
CN103116412A (en) * 2013-02-05 2013-05-22 广东欧珀移动通信有限公司 Method and system for starting music player

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012774A (en) * 2009-09-08 2011-04-13 中兴通讯股份有限公司 Page turning method, device and terminal for terminal reading contents
CN102170497A (en) * 2011-04-21 2011-08-31 宇龙计算机通信科技(深圳)有限公司 Unprocessed event indicating method, system and terminal
CN103685694A (en) * 2012-09-11 2014-03-26 联想(北京)有限公司 Prompt method and electronic equipment
CN103067586A (en) * 2012-12-26 2013-04-24 广东欧珀移动通信有限公司 Method and system of receiving and sending of short message service of mobile terminal
CN103118168A (en) * 2012-12-26 2013-05-22 珠海市魅族科技有限公司 Display control method and terminal of unprocessed information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10404845B2 (en) 2015-05-14 2019-09-03 Oneplus Technology (Shenzhen) Co., Ltd. Method and device for controlling notification content preview on mobile terminal, and storage medium
CN105915711A (en) * 2016-04-19 2016-08-31 青岛海信移动通信技术股份有限公司 Method and device for message prompt in mobile equipment
CN109195153A (en) * 2018-08-01 2019-01-11 Oppo广东移动通信有限公司 Data processing method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN104301504A (en) 2015-01-21
TW201504918A (en) 2015-02-01
TWI520043B (en) 2016-02-01

Similar Documents

Publication Publication Date Title
WO2015007232A1 (en) Method, device and mobile terminal for checking message
US10635449B2 (en) Method and apparatus for running game client
JP6467526B2 (en) Communication message transmission method and wearable device
CN104852885B (en) Method, device and system for verifying verification code
CN104967896A (en) Method for displaying bulletscreen comment information, and apparatus thereof
US20150082231A1 (en) Method and terminal for displaying desktop
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
US20170147187A1 (en) To-be-shared interface processing method, and terminal
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN104598476A (en) Message aggregation display method and information display method and relevant device
CN104965722B (en) A kind of method and device of display information
CN105022552A (en) Message list display method and apparatus
WO2015172705A1 (en) Method and system for collecting statistics on streaming media data, and related apparatus
CN104915091A (en) Method and device for displaying status bar prompt message
CN104571979A (en) Method and device for realizing split-screen views
CN105526944B (en) Information cuing method and device
US10298590B2 (en) Application-based service providing method, apparatus, and system
CN107104930A (en) It is a kind of that the methods, devices and systems for checking authority are set
CN105630376A (en) Terminal control method and device
CN106339391B (en) Webpage display method and terminal equipment
CN106302101B (en) Message reminding method, terminal and server
US20160119695A1 (en) Method, apparatus, and system for sending and playing multimedia information
US9742901B2 (en) Method, apparatus and terminal device for obtaining call log
US11327639B2 (en) Split view exiting method, split view exiting device, and electronic device
US20150070360A1 (en) Method and mobile terminal for drawing sliding trace

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14826956

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02.05.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14826956

Country of ref document: EP

Kind code of ref document: A1