TWI520043B - Method, device and moving terminal for examining messages - Google Patents

Method, device and moving terminal for examining messages Download PDF

Info

Publication number
TWI520043B
TWI520043B TW103124859A TW103124859A TWI520043B TW I520043 B TWI520043 B TW I520043B TW 103124859 A TW103124859 A TW 103124859A TW 103124859 A TW103124859 A TW 103124859A TW I520043 B TWI520043 B TW I520043B
Authority
TW
Taiwan
Prior art keywords
specified application
unread message
sensor information
rule
message
Prior art date
Application number
TW103124859A
Other languages
Chinese (zh)
Other versions
TW201504918A (en
Inventor
劉天成
鄒華林
Original Assignee
騰訊科技(深圳)有限公司
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
Priority to CN201310306859.0A priority Critical patent/CN104301504A/en
Application filed by 騰訊科技(深圳)有限公司 filed Critical 騰訊科技(深圳)有限公司
Publication of TW201504918A publication Critical patent/TW201504918A/en
Application granted granted Critical
Publication of TWI520043B publication Critical patent/TWI520043B/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/00Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages
    • H04L51/24Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages with notification on incoming messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages
    • H04L51/02Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages with automatic reactions or user delegation, e.g. automatic replies or chatbot

Description

Message viewing method, device and mobile terminal

The present invention relates to the field of mobile terminal technologies, and in particular, to a message viewing method, apparatus, and mobile terminal.

With the rapid development of mobile terminal technology and the popularity of smart mobile terminals, many information acquisition devices, such as gravity sensors and gyroscopes, can be configured on smart mobile terminals to provide users with more abundant functions.

In addition, among the various application software provided by smart mobile terminals, the usage rate of instant messaging software is getting higher and higher, and accordingly, the performance requirements of users for instant messaging software are getting higher and higher. In the existing instant messaging software, the smart mobile terminal aggregates all the messages into a unified message aggregation entry. When the user needs to view the message, manually exit the current usage scenario, switch to the message aggregation portal, and then open the message to be viewed. In the process of implementing the present invention, the inventor has found that at least the following problems exist in the prior art: when viewing a message, the user needs to leave the current usage scenario, switch to the message aggregation entry, and requires manual intervention by the user, which is cumbersome to operate.

In order to solve the problem of the prior art, an embodiment of the present invention provides a message viewing method, apparatus, and mobile terminal. The technical solution is as follows: In a first aspect, a message viewing method is provided, the method includes: acquiring sensor information of a mobile terminal during execution of a specified application; and detecting whether the sensor information changes; Determining whether the change rule of the sensor information conforms to a preset rule when the sensor information changes; and displaying the specified application when detecting that the change rule of the sensor information conforms to a preset rule Unread message.

A second aspect provides a message viewing device, where the device includes: an information acquisition module, configured to acquire sensor information of the mobile terminal during execution of the specified application; and a change detection module, configured to detect the Whether the sensor information changes; the rule judging module is configured to judge whether the change rule of the sensor information conforms to a preset rule when the information of the sensor changes; the message display module is used to When it is detected that the change rule of the sensor information conforms to the preset rule, the unread message of the specified application is displayed.

A mobile terminal, comprising a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one by one or more processors Or more than one package program includes instructions for: obtaining sensor information of the mobile terminal during execution of the specified application; and detecting whether the sensor information changes; Determining whether the change rule of the sensor information conforms to a preset rule when the sensor information changes; and displaying the specified application when detecting that the change rule of the sensor information conforms to a preset rule Unread message.

The technical solution provided by the embodiment of the present invention has the beneficial effects that the method, the device, and the mobile terminal provided by the embodiment of the present invention automatically display the unread at the message aggregation entrance by detecting the change of the sensor information of the mobile terminal. The message, without the user's manual display, simplifies the user's operation.

101~104‧‧‧Steps

201~207‧‧‧Steps

110‧‧‧RF circuit

120‧‧‧ memory

130‧‧‧Input unit

131‧‧‧Touch-sensitive surface

132‧‧‧Input device

140‧‧‧Display unit

141‧‧‧ display panel

150‧‧‧ sensor

160‧‧‧ audio circuit

170‧‧‧WiFi module

180‧‧‧ processor

190‧‧‧Power supply

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only Some embodiments of the invention may also be used to obtain other figures from these figures without departing from the art.

1 is a flowchart of a message viewing method according to an embodiment of the present invention; FIG. 2 is a flowchart of a message viewing method according to an embodiment of the present invention; FIG. 2b is a schematic diagram of an unread message list display according to an embodiment of the present invention; 3 is a schematic structural diagram of a message viewing apparatus according to an embodiment of the present invention; and FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.

The present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention. The technical solutions in the embodiments are described clearly and completely, and it is obvious that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

FIG. 1 is a flowchart of a message viewing method according to an embodiment of the present invention. The executor of the embodiment of the present invention is a mobile terminal. Referring to FIG. 1, the method includes: Step 101: Acquire sensor information of the mobile terminal during execution of the specified application; Step 102: Detect whether the sensor information is a change occurs; Step 103: When the sensor information changes, it is determined whether the change rule of the sensor information conforms to a preset rule; and Step 104: when the change rule of the sensor information is detected to meet the preset rule Displays the unread message for the specified application.

The method provided by the embodiment of the present invention obtains the sensor information of the mobile terminal during the execution of the specified application, and displays the unread message of the specified application when the change rule of the information of the sensor conforms to the preset rule. By detecting the change of the sensor information of the mobile terminal, the unread message at the message aggregation entrance is automatically displayed, and the user's operation is simplified without the user's manual display.

Alternatively, when the information of the sensor changes, it is determined whether the change rule of the sensor information conforms to a preset rule, including: the sensor information is an acceleration, and determining whether the change interval of the acceleration is greater than a preset threshold When the change interval of the acceleration is greater than a preset threshold, the change rule of the sensor information conforms to a preset rule; or, the sensing The information of the device is an angular velocity, and it is determined whether the variation curve of the angular velocity matches the preset variation curve. When the variation curve matches the preset variation curve, the change rule of the sensor information conforms to the preset rule.

Alternatively, before acquiring the sensor information of the mobile terminal during the execution of the specified application, the method further includes: when receiving the startup instruction of the specified application, detecting a shortcut identifier status of the specified application, the designated shortcut The identifier status is the on state or the off state; correspondingly, in the execution process of the specified application, acquiring the sensor information of the mobile terminal includes: when detecting that the shortcut identifier status of the specified application is the on state, in the specified application During the execution process, the sensor information of the mobile terminal is obtained.

Alternatively, when it is detected that the change rule of the sensor information conforms to the preset rule, displaying the unread message of the specified application includes: when detecting that the change rule of the sensor information conforms to the preset rule, Determining whether the specified application has an unread message; when it is determined that the specified application has an unread message, displaying the unread message of the specified application.

Alternatively, when it is determined that the specified application has an unread message, displaying the unread message of the specified application includes: displaying the latest unread message of the specified application when it is determined that the specified application has an unread message.

Alternatively, when it is determined that the specified application has an unread message, displaying the unread message of the specified application, including: displaying the designation when it is determined that the specified application has an unread message a list of unread messages of the application, the unread message list including at least one unread message and a message identifier corresponding to the at least one unread message; when an open command for identifying any of the unread message lists is detected, the display is displayed The unread message corresponding to the open command.

Alternatively, after detecting that the change rule of the sensor information conforms to the preset rule, after displaying the unread message of the specified application, the method further includes: when receiving the return instruction, switching the currently displayed interface to Displays the display interface before the unread message for the specified app.

Alternatively, the sensor information of the mobile terminal is acquired during the execution of the specified application, and includes: an API corresponding to the at least one sensor configured by the mobile terminal during the execution of the specified application (Application) Programming Interface, an application design development interface, for obtaining sensor information of at least one sensor configured in the mobile terminal.

Alternatively, the at least one sensor is a gravity sensor and/or a gyroscope; accordingly, the sensor information of the at least one sensor includes acceleration information and/or angular velocity information of the mobile terminal.

All of the above optional technical solutions may be used in any combination to form an optional embodiment of the present invention, and will not be further described herein.

FIG. 2 is a flowchart of a message viewing method according to an embodiment of the present invention. The execution subject of the embodiment of the present invention is a mobile terminal. Referring to FIG. 2a, the method includes: Step 201: When the mobile terminal receives the startup instruction of the specified application, detecting a shortcut identifier status of the specified application, the designated shortcut identifier status Is turned on or off; In the embodiment of the present invention, the specified application may be an instant messaging software, and may also be a gravity game software or the like, which is not limited by the embodiment of the present invention.

The shortcut identifier status of the specified application is an open state or a closed state. When it is detected that the shortcut identifier status of the specified application is the on state, indicating that the user starts the function of the message quick view, the subsequent step is performed; when the shortcut identifier status of the specified application is detected to be the off state, the user is turned off. The function of the message quick view ends. The state of the shortcut identifier of the specified application may be preset to the on state by the technician during the development, and may also be set by the user during use, which is not limited by the embodiment of the present invention.

Step 202: When the mobile terminal detects that the shortcut identifier status of the specified application is the on state, during the execution of the specified application, the API corresponding to the at least one sensor configured in the mobile terminal is configured to be configured. The sensor information of the at least one sensor of the mobile terminal is applied to the application scenario in which the mobile terminal is configured with at least one sensor, and the at least one sensor can obtain the at least one Sensor information for the sensor.

It should be noted that the process of acquiring sensor information of at least one sensor of the mobile terminal can be performed instantaneously. Preferably, when it is detected that the shortcut identifier state of the specified application is the on state, during the execution of the specified application, the API corresponding to the at least one sensor configured by the mobile terminal is acquired by the call, and the configuration is immediately acquired. Sensor information of at least one sensor of the mobile terminal.

Alternatively, the at least one sensor is a gravity sensor and/or a gyroscope, and correspondingly, the sensor information of the at least one sensor includes acceleration information and/or angular velocity information of the mobile terminal.

Correspondingly, the step 202 includes: when detecting that the shortcut identifier state of the specified application is the on state, acquiring the API corresponding to the gravity sensor of the mobile terminal by using the call during the execution of the specified application The acceleration information of the mobile terminal; or, when it is detected that the shortcut identifier state of the specified application is the on state, during the execution of the specified application, acquiring the mobile terminal by calling an API corresponding to the gyroscope of the mobile terminal Or the angular velocity information; or, when detecting that the shortcut identifier state of the specified application is the on state, during the execution of the specified application, the API corresponding to the gravity sensor configured on the mobile terminal and configured on the mobile The API corresponding to the gyroscope of the terminal respectively acquires acceleration information and angular velocity information of the mobile terminal.

Step 203: Detect whether the sensor information changes. The detection may be performed by comparing the currently acquired sensor information with the last acquired sensor information. In addition, the detection can also be implemented by monitoring the sensor information.

Step 204: When the information of the sensor changes, determine whether the change rule of the sensor information conforms to a preset rule; alternatively, the sensor information is acceleration, and determine whether the change interval of the acceleration is greater than a preset. a threshold value, when the change interval of the acceleration is greater than a preset threshold, the change rule of the sensor information conforms to a preset rule; and the preset operation corresponding to the preset rule is a panning operation, for example, when the acceleration changes, and When the change interval is greater than the preset threshold, it is considered that the user triggers a panning operation. At this time, the change rule of the sensor information conforms to the preset rule.

Further alternatively, the sensor information is an angular velocity, and determining whether the change curve of the angular velocity matches the preset variation curve, when the change curve When the line matches the preset variation curve, the change rule of the sensor information conforms to the preset rule.

Taking the preset operation corresponding to the preset rule as a custom operation, the user may define a certain posture change of the mobile terminal to trigger the display, and the posture change has a matching angular velocity preset change curve and a current angular velocity change curve. When the angular velocity preset change curve is matched, it is determined that the custom operation is detected. At this time, the change rule of the sensor information conforms to the preset rule.

The preset rule is also different for different types of sensors configured on the mobile terminal. In the embodiment of the present invention, the preset rule may include a preset acceleration rule, a preset angular velocity rule, and the like.

Specifically, when the acceleration information changes, it is determined whether the change rule of the acceleration information conforms to a preset acceleration rule; when the angular velocity information changes, it is determined whether the change rule of the angular velocity information conforms to a preset angular velocity rule. When the variation law of the acceleration information conforms to the preset acceleration rule, or the variation law of the angular velocity information conforms to the preset angular velocity rule, the sensor information may be considered to conform to the preset rule.

The determining criterion of the preset acceleration rule may be a change direction of the acceleration information, or may be a change interval of the acceleration information, and determining the acceleration when determining whether the change rule of the acceleration information conforms to a preset acceleration rule Whether the change direction of the information conforms to the change direction included in the preset acceleration rule, and whether the change interval of the acceleration information meets the change interval included in the preset acceleration rule. The criterion for determining the preset angular velocity rule may be the tilt angle of the angular velocity information, or the number of rotations of the angular velocity information, and the tilt of the angular velocity information may be determined when determining whether the change rule of the angular velocity information conforms to the preset angular velocity rule. Whether the angle conforms to the tilt angle included in the preset angular velocity, and whether the number of rotations of the angular velocity information meets the number of rotations included in the preset angular velocity is also determined. The specific judgment standard is not limited in the embodiment of the present invention.

For example, if the preset acceleration rule is that the acceleration of the mobile terminal changes from 0 meters per square second to more than 12 meters per square second, when the acceleration is detected to change, the acceleration changes from 0 meters per square second to 15 meters. Every square second, it is determined that the change rule of the acceleration information conforms to the preset acceleration rule, that is, the change rule of the sensor information conforms to the preset rule.

For another example, if the angular velocity preset change curve is an angular velocity change curve generated when the mobile terminal rotates to the right once and then rotates to the left position to the original position, when the detected angular velocity information changes, the angular velocity change curve and the angular velocity are detected. When the preset change curve is matched, it is determined that the mobile terminal is rotated to the right and then rotated to the left and then rotated to the original position, and the change rule of the angular velocity information conforms to the preset angular velocity rule, that is, the change rule of the sensor information. Meet the preset rules.

Before the step 204, the method further includes: acquiring the preset rule.

The preset rule can be set by the technician during development, and when the specified application is installed, the preset rule function is activated, the preset operation input by the user is obtained, and the change rule corresponding to the preset operation is obtained. For the preset rule, the user may trigger the setting of the preset rule instruction during the use process, and add or delete the preset rule. The embodiment of the present invention does not limit the acquisition of the preset rule.

It should be noted that, after the preset rule is obtained, the sensor corresponding to the preset operation may be determined as a gravity sensor, a gyroscope or other sensors according to a preset operation included in the preset rule. Then in step 202, The sensor information can be obtained only according to the sensor corresponding to the preset operation, and the corresponding sensor information is obtained according to all the sensors configured in the mobile terminal, which simplifies the process and reduces the delay.

For example, when the preset operation included in the preset rule is a panning operation, it may be determined that the sensor corresponding to the panning operation is a gravity sensor, then in step 202, in the specified application During the execution process, the acceleration information of the mobile terminal is obtained by calling the API corresponding to the gravity sensor of the mobile terminal, and the API corresponding to the gyroscope of the mobile terminal is not required to be obtained through the call, and the mobile terminal is acquired. Angular velocity information.

Step 205: When it is detected that the change rule of the sensor information conforms to the preset rule, determine whether the specified application has an unread message. In the embodiment of the present invention, the message of the specified application is saved in the message of the specified application. In the aggregator, by receiving a view instruction to the message aggregator, a message corresponding to the view instruction may be displayed. Correspondingly, the step 205 is specifically: when it is detected that the change rule of the sensor information conforms to the preset rule, determining whether an unread message exists in the message aggregator of the specified application.

Further, when determining whether there is an unread message in the message aggregator of the specified application, determining, according to the read identifier of the message in the message aggregator of the specified application, the read identifier includes the read identifier and the unread identifier; The determining time of the message in the message aggregator of the specified application and the access time of the message aggregator of the mobile terminal may be determined by the embodiment of the present invention. Preferably, the read identifier of each message in the message aggregator of the specified application is traversed, and when it is detected that the read identifier of any message is an unread identifier, it is determined that there is an unread message in the message aggregator.

Step 206: When it is determined that the specified application has an unread message, the unread message of the specified application is displayed, and step 203 is continued; In the embodiment of the present invention, when it is detected that the change rule of the sensor information conforms to the preset rule, and the specified application has an unread message, the unread message existing in the message aggregator is automatically displayed, without the user manually Switching the display interface simplifies the user's operation.

The step 206 can adopt any one of the following modes (1) or (2):

(1) When it is determined that the specified application has an unread message, the latest unread message of the specified application is displayed.

Specifically, when it is determined that the specified application exists in the message aggregator When the message is not read, the latest unread message of the specified application is obtained, and the latest unread message is displayed. Alternatively, when it is determined that there is an unread message in the message aggregator of the specified application, part of the latest unread message of the specified application is obtained, and part of the latest unread message is displayed.

(2) displaying a list of unread messages of the specified application when it is determined that the specified application has an unread message, the unread message list including at least one unread message and a message identifier corresponding to the at least one unread message.

The message identifier corresponding to the unread message may be the contact information corresponding to the unread message, or the keyword included in the unread message, and may also be part of the content of the unread message. This embodiment of the present invention does not limit this.

Specifically, when the unread message list of the specified application is displayed, all the unread messages of the specified application may be displayed, and some unread messages in the unread message of the specified application may be displayed, specifically, any of the following Mode: (1) Display the current time in the unread message of the specified application The unread message received in the previous preset time interval; (2) the unread message sent by the preset contact in the unread message of the specified application is displayed; (3) the unread message indicating the specified application includes the pre-read message. Set the unread message for the keyword.

The preset time interval, the preset contact person, and the preset keyword in the above three modes may be set by the user, and operations such as adding or deleting are performed during use. The embodiment of the present invention is not limited to the foregoing three modes, and may be selectively displayed according to the heat or type of the unread message, which is not limited by the embodiment of the present invention.

Alternatively, when it is determined that the specified application has an unread message and the number of existing unread messages reaches a preset threshold, an unread message list of the specified application is displayed. The preset threshold may be set by the technician at the time of development, or may be set by the user during use, which is not limited by the embodiment of the present invention. The preset threshold is set according to the requirement of the user to view the information, and the unread message of the preset threshold number is uniformly viewed. Compared with displaying only one unread message at a time, displaying a preset threshold number of unread messages avoids the effect of frequently displaying unread messages on the user's current usage scenario.

The above steps (1) and (2) are optional steps, and may be preset to display the latest unread message, or display multiple unread messages of the specified application. This embodiment of the present invention does not limit this. The content of the unread message may be completely displayed when the unread message of the specified application is displayed, so that the user can view the complete unread message, and display the message identifier corresponding to the unread message, that is, display the The contact information or part of the content corresponding to the unread message is prompted by the user.

Correspondingly, after the step (2), the method further comprises: when detecting the opening instruction of the message identifier in the unread message list, displaying the unread message corresponding to the opening instruction.

Specifically, the mobile terminal prompts the user to read the unread message through the unread message list, and clicks the message of the unread message to be viewed when the user needs to view any unread message in the unread message list. And an opening instruction for triggering the message identifier of the unread message to be viewed, and when the mobile terminal detects the opening instruction, displaying the unread message to be viewed.

Alternatively, when the mobile terminal displays the unread message list, the content of the preset number of characters of each unread message in the unread message list is obtained, and when the open command is detected, the open command is acquired. The entire contents of the unread message, and display the entire contents of the unread message corresponding to the open command.

Step 207: When receiving the return instruction, switch the currently displayed interface to the display interface before the unread message of the specified application is displayed.

The difference between the prior art and the prior art is that when the unread message is viewed during the execution of the specified application, when the user needs to return to the display interface before the unread message is displayed, the return instruction is triggered, which is avoided in the embodiment of the present invention. The user needs to manually return to the main interface of the specified application, and then manually jump to the display interface before the unread message is displayed, which is easy to operate.

FIG. 2b is a schematic diagram showing the display of an unread message list according to an embodiment of the present invention. Referring to FIG. 2b, it is assumed that the preset rule is a panning operation, and when it is detected that the user triggers a panning operation, a list of unread messages as shown in FIG. 2b is displayed. The unread message list includes message identifiers of three unread messages, which are respectively the avatar, nickname, and part of the first unread message of the contact person "nickname 1" Content and reception time, contact person nickname 2 nickname, nickname and part of the second unread message and receiving time, contact person nickname 3 avatar, nickname and part of the third unread message and Receive time. When the user needs to view the first unread message, the message identifier of the first unread message is clicked, and the mobile terminal displays the complete information of the first unread message. For the instant messaging software, when the user clicks on the message identifier of the first unread message, the user enters the conversation interface of the user and the contact person "nickname 1", and the user can talk with the contact person "nickname 1". When the user needs to return to the display interface before displaying the unread message list, the return command is triggered by clicking on the "return" button at the lower left corner, and the currently displayed interface is switched to display before the unread message list is displayed. Display interface.

The method provided by the embodiment of the present invention obtains the sensor information of the mobile terminal during the execution of the specified application, and displays the unread message of the specified application when the change rule of the information of the sensor conforms to the preset rule. Automatically displaying the unread message at the message aggregation entry by detecting the change of the sensor information of the mobile terminal, without the user manually displaying, and when receiving the return instruction, switching the currently displayed interface to display the specified application. The display interface before the unread message avoids the user having to manually return to the main interface of the specified application, and then manually jumps to the display interface before the unread message is displayed, which is easy to operate.

3 is a schematic structural diagram of a message viewing apparatus according to an embodiment of the present invention. Referring to FIG. 3, the apparatus includes: an information acquiring module 301, a change detecting module 302, a rule determining module 303, and a message display module 304; The information acquisition module 301 is configured to acquire the sensor information of the mobile terminal during the execution of the specified application. The change detection module 302 is connected to the information acquisition module 301 for detecting whether the sensor information changes. The rule determination module 303 is connected to the change detection module 302, and is configured to determine whether the change rule of the sensor information conforms to a preset rule when the sensor information changes; the message display module 304 and the rule judgment The module 303 is connected to display an unread message of the specified application when it is detected that the change rule of the sensor information conforms to the preset rule.

Alternatively, the rule determination module 303 includes: a first rule determining unit, configured to determine whether the change interval of the acceleration is greater than a preset threshold, and when the change interval of the acceleration is greater than a preset threshold, the sensor information is The change rule conforms to the preset rule; or the second rule determining unit is configured to determine whether the change curve of the angular velocity matches the preset change curve, and when the change curve matches the preset change curve, the sensor information is The law of change conforms to the preset rules.

Alternatively, the device further includes: an identifier status detecting module, configured to detect a shortcut identifier status of the specified application when the startup instruction of the specified application is received, where the shortcut identifier status of the specified application is an open state or a closed state Correspondingly, the information obtaining module 301 is configured to acquire sensor information of the mobile terminal during execution of the specified application when detecting that the shortcut identifier state of the specified application is the on state.

Alternatively, the message display module 304 includes: a message determining unit, configured to: when it is detected that the change rule of the sensor information conforms to the preset rule, determine whether the specified application has an unread message; the message display unit, For displaying an unread message of the specified application when it is determined that the specified application has an unread message.

Alternatively, the message display unit is configured to determine that the designation should be Displays the latest unread message for the specified application when there is an unread message.

Alternatively, the message display unit is configured to display an unread message list of the specified application when it is determined that the specified application has an unread message, the unread message list including at least one unread message corresponding to the at least one unread message The message identifier; when an open command for identifying any one of the unread message lists is detected, an unread message corresponding to the open command is displayed.

Alternatively, the apparatus further includes: a return module configured to, when receiving the return instruction, switch the currently displayed interface to a display interface prior to displaying the unread message of the specified application.

Alternatively, the information acquisition module 301 is configured to: during the execution of the specified application, acquire an application design development interface API corresponding to the at least one sensor configured on the mobile terminal, and obtain the configuration on the mobile terminal. Sensor information of at least one sensor.

Alternatively, the at least one sensor is a gravity sensor and/or a gyroscope; accordingly, the sensor information of the at least one sensor includes acceleration information and/or angular velocity information of the mobile terminal.

The device provided by the embodiment of the present invention obtains the sensor information of the mobile terminal during the execution of the specified application, and displays the unread message of the specified application when the change rule of the information of the sensor conforms to the preset rule. Automatically displaying the unread message at the message aggregation entry by detecting the change of the sensor information of the mobile terminal, without the user manually displaying, and when receiving the return instruction, switching the currently displayed interface to display the specified application. The display interface before the unread message avoids the user having to manually return to the main interface of the specified application, and then manually jumps to the display interface before the unread message is displayed, which is easy to operate.

It should be noted that the message viewing device provided in the above embodiment is installed. When the message is viewed, only the division of the above functional modules is illustrated. In practical applications, the above function assignment can be completed by different functional modules according to requirements, that is, the internal structure of the mobile terminal is divided into different functions. Modules to perform all or part of the functions described above. In addition, the device for viewing the message provided by the foregoing embodiment is the same as the method for the method for viewing the message. For the specific implementation process, refer to the method embodiment, and details are not described herein again.

FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. The mobile terminal can be used to implement the message viewing method provided in the above embodiments. Specifically, the mobile terminal 400 can include a radio frequency circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi module 170. A processor 180 having one or more processing cores, and a power supply 190 and the like are included. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 4 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.

The radio frequency circuit 110 can be used for transmitting and receiving information and receiving and transmitting signals during a call. Specifically, the radio frequency circuit 110 receives the downlink information of the base station and then processes it by one or more processors 180; in addition, transmits the data related to the uplink to the base station. Generally, the radio frequency circuit as a communication unit includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a user identity module (SIM) card, a transceiver, a coupler, and an LNA (Low Noise Amplifier). , low noise amplifier), duplexer, etc. In addition, the RF circuit 110 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , code division multiple access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like. The memory 120 can be used to store software programs and modules. The processor 180 executes various function applications and data processing by executing software programs and modules stored in the memory 120. The memory 120 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, at least one function required application (such as a sound playing function, an image playing function, etc.); The data (such as audio data, phone book, etc.) created according to the use of the mobile terminal 400 is stored. In addition, the memory 120 may include a high speed random access memory, and may also include a non-volatile memory such as at least one disk memory device, a flash memory device, or other volatile solid memory device. Accordingly, the memory 120 can also include a memory controller to provide access to the memory 120 by the processor 180 and the input unit 130.

The input unit 130 can be configured to receive input digit or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. In particular, input unit 130 can include touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., any suitable object or accessory on the touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program. Alternatively, the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into a contact coordinate, The processor 180 is sent to the processor 180 and can receive commands from the processor 180 and execute them. In addition, resistive, capacitive, infrared, and surface acoustic waves can be used to achieve touch-sensitive surfaces. 131. In addition to the touch-sensitive surface 131, the input unit 130 can also include other input devices 132. Specifically, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.

The display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the mobile terminal 400, which can be composed of graphics, text, graphics, video, and any combination thereof. Composition. The display unit 140 may include a display panel 141. Alternatively, the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141. Although in FIG. 4, touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 to achieve Input and output functions.

The mobile terminal 400 can also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may be at the mobile terminal 400. When moving to the ear, the display panel 141 and/or the backlight are turned off. As a kind of motion sensor, the gravity acceleration sensor can detect the acceleration of each direction (usually three axes), and the magnitude and direction of gravity can be detected at rest, which can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen). Switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile terminal 400, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. Other sensors, here No longer.

The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile terminal 400. The audio circuit 160 can transmit the received electrical signal converted by the audio data to the speaker 161 and be converted into a sound signal output by the speaker 161. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, and the audio circuit 160 is used by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, sent to the mobile terminal 110 via the RF circuit 110, or output the audio data to the memory 120 for further processing. The audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the mobile terminal 400.

In order to implement wireless communication, the mobile terminal may be configured with a WiFi module 170. WiFi is a short-range wireless transmission technology, and the mobile terminal 400 can describe the user to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users. Although FIG. 4 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the mobile terminal 400, and may be omitted as needed within the scope of not changing the essence of the invention.

The processor 180 is a control center of the mobile terminal 400, and connects various parts of the entire mobile phone by using various interfaces and lines, by executing software programs and/or modules stored in the memory 120, and calling data stored in the memory 120. The various functions and processing data of the mobile terminal 400 are executed to perform overall monitoring of the mobile phone. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, the user interface, and the application. Programs, etc., the modem processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the processor 180.

The mobile terminal 400 also includes a power source 190 (such as a battery) that supplies power to the various components. Preferably, the power source can pass through the power management system and the processor. The 180 logic is connected to manage charging, discharging, and power management functions through the power management system. Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.

Although not shown, the mobile terminal 400 may further include a camera, a Bluetooth module, and the like, and details are not described herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, and the mobile terminal further includes a memory and one or more programs, wherein one or more programs are stored in the memory and configured. Executing the one or more package programs by one or more processors includes instructions for: acquiring sensor information of the mobile terminal during execution of the specified application; detecting the sensor information Whether a change occurs; when the sensor information changes, it is determined whether the change rule of the sensor information conforms to a preset rule; when it is detected that the change rule of the sensor information conforms to a preset rule, the display The unread message of the specified application.

Optionally, the method further includes: the sensor information is acceleration, determining whether the change interval of the acceleration is greater than a preset threshold, and when the change interval of the acceleration is greater than a preset threshold, the sense The change rule of the tester information conforms to a preset rule; or the sensor information is an angular velocity, and it is determined whether the change curve of the angular velocity matches a preset change curve, and when the change curve matches the preset change curve The change rule of the sensor information conforms to a preset rule.

Alternatively, the method further includes: when receiving the startup instruction of the specified application, detecting a shortcut identifier status of the specified application, where the shortcut identifier status of the specified application is An open state or a closed state; correspondingly, an instruction to: acquire a sensor of the mobile terminal during execution of the specified application when detecting that the shortcut identifier state of the specified application is an open state News.

Alternatively, the method further includes: when detecting that the change rule of the sensor information conforms to the preset rule, determining whether the specified application has an unread message; when determining that the specified application exists When the message is not read, an unread message of the specified application is displayed.

Alternatively, an instruction is further included to: display an up-to-date unread message of the specified application when it is determined that the specified application has an unread message.

Alternatively, an instruction is further included to: display an unread message list of the specified application when it is determined that the specified application has an unread message, the unread message list including at least one unread message and the The message identifier corresponding to the at least one unread message; when an open command for identifying any of the unread message lists is detected, the unread message corresponding to the open command is displayed.

Alternatively, instructions are also included that, when a return instruction is received, switches the currently displayed interface to a display interface prior to displaying the unread message of the specified application.

Alternatively, the method further includes: an application design development interface API corresponding to the at least one sensor configured on the mobile terminal by the call during the execution of the specified application, and acquiring the configuration in the Sensor information of at least one sensor of the mobile terminal.

Alternatively, the at least one sensor is a gravity sensor and And/or a gyroscope; correspondingly, the sensor information of the at least one sensor includes acceleration information and/or angular velocity information of the mobile terminal.

A person skilled in the art can understand that all or part of the steps of implementing the foregoing embodiments may be implemented by hardware, or may be executed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned above may be a read only memory, a magnetic sheet or a compact disc or the like.

The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

101~104‧‧‧Steps

Claims (17)

  1. A message viewing method, the method comprising the steps of: acquiring sensor information of a mobile terminal during execution of the specified application, and configuring at least one of the mobile terminal by using a call during execution of the specified application The application corresponding to the sensor design development interface API acquires sensor information of at least one sensor disposed in the mobile terminal; detects whether the sensor information changes; when the sensor information occurs When the change is made, it is determined whether the change rule of the sensor information conforms to the preset rule; and when it is detected that the change rule of the sensor information conforms to the preset rule, the unread message of the specified application is displayed.
  2. The method of claim 1, wherein when the sensor information changes, determining whether the change rule of the sensor information conforms to a preset rule comprises the following steps: the sensor information For the acceleration, determining whether the change interval of the acceleration is greater than a preset threshold, when the change interval of the acceleration is greater than a preset threshold, the change rule of the sensor information conforms to a preset rule; or, the sensor The information is an angular velocity, and it is determined whether the change curve of the angular velocity matches a preset change curve. When the change curve matches the preset change curve, the change rule of the sensor information conforms to a preset rule.
  3. The method of claim 1, wherein the method further comprises: before acquiring the sensor information of the mobile terminal during execution of the specified application The method includes the following steps: when receiving the startup instruction of the specified application, detecting a shortcut identifier status of the specified application, where the shortcut identifier status of the specified application is an open state or a closed state; and correspondingly, performing an execution process of the specified application The obtaining the sensor information of the mobile terminal includes the following steps: when detecting that the shortcut identifier status of the specified application is the on state, acquiring sensor information of the mobile terminal during execution of the specified application.
  4. The method of claim 1, wherein when detecting that the change rule of the sensor information conforms to a preset rule, displaying the unread message of the specified application includes the following steps: when detecting the When the change rule of the sensor information conforms to the preset rule, determining whether the specified application has an unread message; and when determining that the specified application has an unread message, displaying the unread message of the specified application.
  5. The method of claim 4, wherein when it is determined that the specified application has an unread message, displaying the unread message of the specified application includes the following steps: when it is determined that the specified application has an unread message , displaying the latest unread message for the specified application.
  6. The method of claim 4, wherein when it is determined that the specified application has an unread message, the unread message of the specified application is displayed, And including the following steps: displaying, when the specified application has an unread message, displaying an unread message list of the specified application, the unread message list including at least one unread message and a message corresponding to the at least one unread message An identifier; and when an open command for identifying any one of the unread message lists is detected, an unread message corresponding to the open command is displayed.
  7. The method of any one of claims 1-6, wherein, after detecting that the change rule of the sensor information conforms to a preset rule, after displaying the unread message of the specified application, the method The method further includes the step of switching the currently displayed interface to a display interface prior to displaying the unread message of the specified application when a return instruction is received.
  8. The method of claim 1, wherein the at least one sensor is a gravity sensor and/or a gyroscope; accordingly, sensor information of the at least one sensor includes the movement Acceleration information and/or angular velocity information of the terminal.
  9. A message viewing device, the device comprising: an information acquisition module, configured to acquire sensor information of the mobile terminal during execution of the specified application, wherein the information acquisition module is configured to execute in the specified application In the process, the application design development interface API corresponding to the at least one sensor of the mobile terminal is configured to acquire sensor information of at least one sensor disposed in the mobile terminal; the change detection module, Used to detect whether the sensor information changes; a rule determining module, configured to determine, when the sensor information changes, whether the change rule of the sensor information conforms to a preset rule; and a message display module, when the sensor is detected When the change rule of the information conforms to the preset rule, the unread message of the specified application is displayed.
  10. The device of claim 9, wherein the rule determining module comprises: a first rule determining unit, configured to determine whether the change interval of the acceleration is greater than a preset threshold, and when the change interval of the acceleration is greater than When the threshold is preset, the change rule of the sensor information conforms to the preset rule; or the second rule determining unit is configured to determine whether the curve of the angular velocity matches the preset change curve, when the change curve is When the preset change curve is matched, the change rule of the sensor information conforms to a preset rule.
  11. The device of claim 9, wherein the device further comprises: an identification state detecting module, configured to detect a shortcut identifier state of the specified application when receiving the startup instruction of the specified application, And the information obtaining module is configured to: when detecting that the shortcut identifier state of the specified application is in an open state, during execution of the specified application, Obtain sensor information of the mobile terminal.
  12. The device of claim 9, wherein the message display module comprises: a message determining unit, configured to determine, when it is detected that the change rule of the sensor information conforms to the preset rule Specify whether the app has unread a message display unit, configured to display an unread message of the specified application when it is determined that the specified application has an unread message.
  13. The device of claim 12, wherein the message display unit is configured to display a latest unread message of the specified application when it is determined that the specified application has an unread message.
  14. The device of claim 12, wherein the message display unit is configured to display an unread message list of the specified application when it is determined that the specified application has an unread message, the unread message list includes a message identifier corresponding to the at least one unread message and the at least one unread message; when an open command for identifying any of the unread message lists is detected, an unread message corresponding to the open command is displayed.
  15. The device of any one of claims 9-14, wherein the device further comprises: a return module, configured to switch the currently displayed interface to display the specified application when receiving the return instruction The display interface before the unread message.
  16. The device of claim 9, wherein the at least one sensor is a gravity sensor and/or a gyroscope; accordingly, sensor information of the at least one sensor includes the movement Acceleration information and/or angular velocity information of the terminal.
  17. A mobile terminal comprising a memory and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one or more package programs by one or more processors An instruction for: acquiring sensor information of the mobile terminal during execution of the specified application, and corresponding to at least one sensor configured on the mobile terminal by calling during execution of the specified application The application design development interface API acquires sensor information of at least one sensor disposed in the mobile terminal; detects whether the sensor information changes; when the sensor information changes, determines Whether the change rule of the sensor information conforms to the preset rule; and when it is detected that the change rule of the sensor information conforms to the preset rule, the unread message of the specified application is displayed.
TW103124859A 2013-07-19 2014-07-18 Method, device and moving terminal for examining messages TWI520043B (en)

Priority Applications (1)

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

Publications (2)

Publication Number Publication Date
TW201504918A TW201504918A (en) 2015-02-01
TWI520043B true TWI520043B (en) 2016-02-01

Family

ID=52321060

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103124859A TWI520043B (en) 2013-07-19 2014-07-18 Method, device and moving terminal for examining messages

Country Status (3)

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

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898923A (en) * 2015-05-14 2015-09-09 深圳市万普拉斯科技有限公司 Notification content preview control method and device in mobile terminal
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
CN105915711B (en) * 2016-04-19 2019-12-20 青岛海信移动通信技术股份有限公司 Method and device for prompting message in mobile equipment
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
CN106921796A (en) * 2017-02-13 2017-07-04 上海斐讯数据通信技术有限公司 A kind of method for controlling mobile terminal based on gyroscope

Family Cites Families (9)

* 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
CN201937679U (en) * 2010-12-02 2011-08-17 上海华勤通讯技术有限公司 Mobile phone for switching themes through monitoring mobile phone acceleration
CN102170497B (en) * 2011-04-21 2013-07-31 宇龙计算机通信科技(深圳)有限公司 Unprocessed event indicating method, system and terminal
CN102830931B (en) * 2012-08-17 2015-07-08 广东欧珀移动通信有限公司 Method for checking notification information of smart terminal by shaking
CN103685694A (en) * 2012-09-11 2014-03-26 联想(北京)有限公司 Prompt method and electronic equipment
CN103049172B (en) * 2012-12-20 2015-11-25 小米科技有限责任公司 Sidebar display packing, device and terminal
CN103067586A (en) * 2012-12-26 2013-04-24 广东欧珀移动通信有限公司 Method and system of receiving and sending of short message service of mobile terminal
CN103118168B (en) * 2012-12-26 2017-06-20 魅族科技(中国)有限公司 The display control method and terminal of a kind of unprocessed information
CN103116412A (en) * 2013-02-05 2013-05-22 广东欧珀移动通信有限公司 Method and system for starting music player

Also Published As

Publication number Publication date
TW201504918A (en) 2015-02-01
WO2015007232A1 (en) 2015-01-22
CN104301504A (en) 2015-01-21

Similar Documents

Publication Publication Date Title
EP2720135B1 (en) Data transmission method, data transmission device and terminal provided with touch screen
CN103281687A (en) Network flow management method and device of double-card terminal
TWI606416B (en) Method, terminal and system for sharing geographic position
JP6130926B2 (en) Gesture conversation processing method, apparatus, terminal device, program, and recording medium
US10057627B2 (en) Method, apparatus and system for displaying bullet screen information
WO2015027714A1 (en) Video playing method and apparatus, terminal device and server
US20170195720A1 (en) Bullet screen posting method and mobile terminal
WO2015100569A1 (en) Sidebar menu display method, device and terminal
WO2015124033A1 (en) Video interaction method, terminal, server and system
WO2015035796A1 (en) Tabletop display method, apparatus, and terminal
KR20150047451A (en) Method, apparatus and terminal device for displaying messages
WO2017206916A1 (en) Method for determining kernel running configuration in processor and related product
WO2016107501A1 (en) Intelligent device control method and device
CN103309562A (en) Desktop display method, desktop display device and mobile terminal
WO2014201863A1 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
CN104518953B (en) Method for deleting message, instant communication terminal and system
CN103442330A (en) Position notification method and device
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
US10033920B2 (en) Method for controlling cameras, non-transitory storage medium and terminal
KR102006562B1 (en) Method and device for message processing
US10069818B2 (en) Method, system, device, and terminal for network initialization of multimedia playback device
CN103310004A (en) Method, device and equipment for displaying number of unread messages
CN103399633B (en) A kind of wireless remote control method and mobile terminal
TWI525522B (en) Target element moving method, device and electronic equipment thereof
US20180308182A1 (en) Information processing method and apparatus