Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not intended to limit the disclosure.
A mobile terminal implementing various embodiments of the present disclosure will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present disclosure, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present disclosure may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present disclosure can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware structure of an alternative mobile terminal implementing various embodiments of the present disclosure.
Themobile terminal 100 may include awireless communication unit 110, an a/V (audio/video)input unit 120, auser input unit 130, asensing unit 140, anoutput unit 150, amemory 160, aninterface unit 170, acontroller 180, and apower supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
Thewireless communication unit 110 typically includes one or more components that allow radio communication between themobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of abroadcast receiving module 111, amobile communication module 112, awireless internet module 113, a short-range communication module 114, and alocation information module 115.
Thebroadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by themobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. Thebroadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, thebroadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a data broadcasting system of multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO @), terrestrial digital broadcasting integrated service (ISDB-T), and the like. Thebroadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via thebroadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
Themobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
Thewireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth (TM), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbee (TM), and the like.
Thelocation information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, theGPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, theGPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include acamera 121 and amicrophone 122, and thecamera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on thedisplay unit 151. The image frames processed by thecameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via thewireless communication unit 110, and two ormore cameras 121 may be provided according to the construction of the mobile terminal. Themicrophone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via themobile communication module 112 in case of a phone call mode. Themicrophone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
Theuser input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. Theuser input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on thedisplay unit 151 in the form of a layer, a touch screen may be formed.
Thesensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of themobile terminal 100, presence or absence of contact (i.e., touch input) by a user with themobile terminal 100, an orientation of themobile terminal 100, acceleration or deceleration movement and direction of themobile terminal 100, and the like, and generates a command or signal for controlling an operation of themobile terminal 100. For example, when themobile terminal 100 is implemented as a slide-type mobile phone, thesensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, thesensing unit 140 can detect whether thepower supply unit 190 supplies power or whether theinterface unit 170 is coupled with an external device.
Theinterface unit 170 serves as an interface through which at least one external device is connected to themobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using themobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with themobile terminal 100 via a port or other connection means. Theinterface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within themobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when themobile terminal 100 is connected with an external cradle, theinterface unit 170 may serve as a path through which power is supplied from the cradle to themobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. Theoutput unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. Theoutput unit 150 may include adisplay unit 151, anaudio output module 152, analarm unit 153, and the like.
Thedisplay unit 151 may display information processed in themobile terminal 100. For example, when themobile terminal 100 is in a phone call mode, thedisplay unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When themobile terminal 100 is in a video call mode or an image capturing mode, thedisplay unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when thedisplay unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, thedisplay unit 151 may serve as an input device and an output device. Thedisplay unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, themobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
Theaudio output module 152 may convert audio data received by thewireless communication unit 110 or stored in thememory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, theaudio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). Theaudio output module 152 may include a speaker, a buzzer, and the like.
Thealarm unit 153 may provide an output to notify themobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, thealarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, thealarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (communicating communication) is received, thealarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. Thealarm unit 153 may also provide an output notifying the occurrence of an event via thedisplay unit 151 or theaudio output module 152.
Thememory 160 may store software programs and the like for processing and controlling operations performed by thecontroller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, thememory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
Thememory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, themobile terminal 100 may cooperate with a network storage device that performs a storage function of thememory 160 through a network connection.
Thecontroller 180 generally controls the overall operation of the mobile terminal. For example, thecontroller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, thecontroller 180 may include amultimedia module 181 for reproducing (or playing back) multimedia data, and themultimedia module 181 may be constructed within thecontroller 180 or may be constructed separately from thecontroller 180. Thecontroller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
Thepower supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of thecontroller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in thecontroller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in thememory 160 and executed by thecontroller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present disclosure can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
Themobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present disclosure is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality ofmobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to thebase station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may includemultiple BSCs 275.
Each BS270 may serve one or more areas (or regions), each area covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from theBS 270. Alternatively, each area may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz, 5MHz, etc.).
The intersection of a region with a frequency assignment may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least oneBS 270. The base stations may also be referred to as "cells". Alternatively, each area of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to themobile terminal 100 operating within the system. Abroadcast receiving module 111 as shown in fig. 1 is provided at themobile terminal 100 to receive a broadcast signal transmitted by theBT 295. In fig. 2, several Global Positioning System (GPS)satellites 300 are shown. Thesatellite 300 assists in locating at least one of the plurality ofmobile terminals 100.
In fig. 2, a plurality ofsatellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. TheGPS module 115 as shown in fig. 1 is generally configured to cooperate withsatellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least oneGPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from variousmobile terminals 100. Themobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by aparticular base station 270 is processed within theparticular BS 270. The obtained data is forwarded to the associatedBSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures betweenBSs 270. TheBSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with thePSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with theBSCs 275, and theBSCs 275 accordingly control the BS270 to transmit forward link signals to themobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, various embodiments of the method of the present disclosure are proposed.
As shown in fig. 3, a first embodiment of the present disclosure provides a method for updating an unread message alert identifier, which includes the following specific steps:
step S301: and detecting an operation instruction of the update unread message prompt identifier aiming at any application program on the terminal application desktop.
The terminal described in this embodiment is a terminal in which a communication program and an application program are installed, and the terminal can normally run the installed communication program and the installed application program.
As shown in fig. 4, the terminal application desktop includes icons of each application program downloaded and installed by a terminal user, where the application programs include: WeChat, QQ, microblog, Paibao, etc.
The terminal application desktop may further include icons of communication programs installed in the terminal when the terminal leaves a factory, where the communication programs include: call log, short message, email, etc.
For a certain application program, for example, a WeChat, on the terminal, when the WeChat program on the terminal receives a message sent by a friend and a terminal user does not read the message yet, an unread message reminding identifier is displayed on a WeChat icon on a terminal application desktop, as shown in FIG. 4, the unread message reminding identifier generally displays the number of unread messages in a bubble form to remind the terminal user to read the unread messages.
When a terminal user needs to clear the unread message reminding identification on the terminal application desktop, the purpose of clearing the unread message reminding identification can be achieved by executing an operation instruction for updating the unread message reminding identification. The operation instruction can be understood that the terminal user does not read the unread message according to the normal operation of reading the unread message, but directly cancels the unread message reminding identification on the terminal application desktop. The normal operation of reading the unread message by the terminal user is as follows: and the terminal user enters an operation interface of the application program by clicking an icon of the application program displaying the unread message reminding mark, and reads the unread message in the operation interface.
Specifically, the operation instruction includes: a delete group message instruction, a delete common message instruction, and a delete all messages instruction.
Further, the method further comprises:
and defining gesture tracks corresponding to different operation instructions.
For example, as shown in fig. 5, the mobile phone trajectory for deleting the group message command continuously slides from a lower left point to an upper right point in the set area, and the time difference between the time for triggering the lower left point and the time for triggering the upper right point is within the preset time range. The setting area is an icon area of the any application program on the terminal application desktop.
As shown in fig. 6, the mobile phone trajectory for deleting the common message command continuously slides from a point at the upper right in the set area to a point at the lower left in the set area, and the time difference between the time for triggering the point at the upper right and the time for triggering the point at the lower left is within the preset time range. The setting area is an icon area of the any application program on the terminal application desktop.
As shown in fig. 7, the mobile phone trajectory for deleting all message commands is to continuously slide from a lower left point in a set area to an upper right point of the area and then to a lower left point of the area, and a time difference between a time point for triggering the lower left point for the first time and a time point for triggering the lower left point for the second time is within a preset time range. The setting area is an icon area of the any application program on the terminal application desktop.
Step S302: and when the operation instruction is detected, updating the unread message reminding identification of any application program on the terminal application desktop.
Specifically, step S302 includes:
1) and when the group message deleting instruction is detected, updating the unread message reminding identifications of any application program on the terminal application desktop according to the unread message reminding identifications of all the group classes in any application program.
And the number of unread messages in the unread message prompt identifier of any application program on the terminal application desktop after updating is the difference value between the number of unread messages in the unread message prompt identifier before updating and the total number of unread messages of all the group classes in any application program before updating. For example, the wechat program has 16 unread message reminder identifications on the terminal application desktop, wherein 10 unread messages from the wechat group are updated to 6 unread messages when the wechat program detects the delete group message instruction in the icon area on the terminal application desktop.
2) And when a public message deleting instruction is detected, updating the unread message reminding identifications of any application program on the terminal application desktop according to the unread message reminding identifications of all public classes in any application program.
And the number of unread messages in the unread message prompt identifier of any application program on the terminal application desktop after updating is the difference between the number of unread messages in the unread message prompt identifier before updating and the total number of unread messages of all public classes in any application program before updating. For example, the wechat program has 16 unread message reminder identifications on the terminal application desktop, wherein 3 unread messages are from the public number, and when the instruction for deleting the public message is detected in the icon area of the wechat program on the terminal application desktop, the unread message reminder identifications of the wechat program on the terminal application desktop are updated to 13 unread messages.
3) And when detecting that all message instructions are deleted, clearing the unread message reminding identification of any application program on the terminal application desktop.
For example, as shown in fig. 8, the wechat program has 16 unread message alert identifiers on the terminal application desktop, and when the delete all message instruction is detected in the icon area of the wechat program on the terminal application desktop, the unread message alert identifier of the wechat program on the terminal application desktop is deleted.
Further, the method further comprises the following steps:
and when the operation instruction is detected, updating the unread record of any application program in a message notification interface, and/or updating the unread message reminding identification in the operation interface of any application program.
The message notification interface is an interface used for reminding a terminal user of an unread message on the terminal, the message notification interface is generally displayed in a pull-down interface mode, and the pull-down interface comprises unread records of all application programs with unread message reminding marks on the terminal. As shown in fig. 9, the message notification interface includes icons of all applications with the unread message alert identifications on the terminal.
The operation interface of any application program is an interface entered by clicking an icon of any application program on the terminal application desktop, as shown in fig. 10, the operation interface is an operation interface of the wechat program, and includes a head portrait, a nickname, and a communication message of each contact person.
And if the operation instruction occurs in the icon area of any application program, updating the unread record of the any application program in the message notification interface, and/or updating the unread message reminding identification in the operation interface of the any application program.
Further, when the operation instruction is detected, updating an unread record of the application program in a message notification interface, and/or updating an unread message reminder identifier in an operation interface of the application program, includes:
1) and when detecting the group message deleting instruction, clearing the unread records of all the group classes in the message notification interface of any application program, and/or clearing the unread message reminding identifications of all the group classes in the operation interface of any application program.
For example, the wechat program has 16 unread message reminder identifications on the terminal application desktop, wherein 10 unread messages from the wechat group, when the delete group message instruction is detected in the icon area of the wechat program on the terminal application desktop, 10 unread records from the wechat group in the message notification interface of the wechat program are cleared, and 10 unread message reminder identifications from the wechat group in the operation interface of the wechat program are cleared.
2) And when detecting that the common message deleting instruction is detected, clearing unread records of all common classes in a message notification interface of any application program, and/or clearing unread message reminding identifications of all common classes in an operation interface of any application program.
For example, the wechat program has 16 unread message reminder identifications on the terminal application desktop, wherein 3 unread messages from the public number, when the instruction for deleting the public message is detected in the icon area on the terminal application desktop, 3 unread records from the public number in the message notification interface of the wechat program are cleared, and 3 unread message reminder identifications from the public number in the operation interface of the wechat program are cleared.
3) And when detecting an instruction of deleting all messages, clearing all unread records of any application program in a message notification interface, and/or clearing all unread message reminding identifications in an operation interface of any application program.
For example, the wechat program has 16 unread message reminder identifiers on the terminal application desktop, and when the instruction for deleting all messages is detected in the icon area of the wechat program on the terminal application desktop, all unread records in the message notification interface of the wechat program are cleared, and all unread message reminder identifiers in the operation interface of the wechat program are cleared.
As shown in fig. 11, a second embodiment of the present disclosure provides an apparatus for updating an unread message alert identifier, where the apparatus specifically includes the following components:
the instruction detection module 1101 is configured to detect an operation instruction of the update unread message alert identifier for any application program on the terminal application desktop.
The terminal described in this embodiment is a terminal in which a communication program and an application program are installed, and the terminal can normally run the installed communication program and the installed application program.
As shown in fig. 4, the terminal application desktop includes icons of each application program downloaded and installed by a terminal user, where the application programs include: WeChat, QQ, microblog, Paibao, etc.
The terminal application desktop may further include icons of communication programs installed in the terminal when the terminal leaves a factory, where the communication programs include: call log, short message, email, etc.
For a certain application program, for example, a WeChat, on the terminal, when the WeChat program on the terminal receives a message sent by a friend and a terminal user does not read the message yet, an unread message reminding identifier is displayed on a WeChat icon on a terminal application desktop, as shown in FIG. 4, the unread message reminding identifier generally displays the number of unread messages in a bubble form to remind the terminal user to read the unread messages.
When a terminal user needs to clear the unread message reminding identification on the terminal application desktop, the purpose of clearing the unread message reminding identification can be achieved by executing an operation instruction for updating the unread message reminding identification. The operation instruction can be understood that the terminal user does not read the unread message according to the normal operation of reading the unread message, but directly cancels the unread message reminding identification on the terminal application desktop. The normal operation of reading the unread message by the terminal user is as follows: and the terminal user enters an operation interface of the application program by clicking an icon of the application program displaying the unread message reminding mark, and reads the unread message in the operation interface.
Specifically, the operation instruction includes: a delete group message instruction, a delete common message instruction, and a delete all messages instruction.
Further, the apparatus further comprises:
and the definition module is used for defining gesture tracks corresponding to different operation instructions.
For example, as shown in fig. 5, the mobile phone trajectory for deleting the group message command continuously slides from a lower left point to an upper right point in the set area, and the time difference between the time for triggering the lower left point and the time for triggering the upper right point is within the preset time range. The setting area is an icon area of the any application program on the terminal application desktop.
As shown in fig. 6, the mobile phone trajectory for deleting the common message command continuously slides from a point at the upper right in the set area to a point at the lower left in the set area, and the time difference between the time for triggering the point at the upper right and the time for triggering the point at the lower left is within the preset time range. The setting area is an icon area of the any application program on the terminal application desktop.
As shown in fig. 7, the mobile phone trajectory for deleting all message commands is to continuously slide from a lower left point in a set area to an upper right point of the area and then to a lower left point of the area, and a time difference between a time point for triggering the lower left point for the first time and a time point for triggering the lower left point for the second time is within a preset time range. The setting area is an icon area of the any application program on the terminal application desktop.
And the identifier updating module 1102 is configured to update the unread message reminder identifier of the any application program on the terminal application desktop when the operation instruction is detected.
Specifically, the identifier updating module 1102 is configured to:
1) and when the group message deleting instruction is detected, updating the unread message reminding identifications of any application program on the terminal application desktop according to the unread message reminding identifications of all the group classes in any application program.
And the number of unread messages in the unread message prompt identifier of any application program on the terminal application desktop after updating is the difference value between the number of unread messages in the unread message prompt identifier before updating and the total number of unread messages of all the group classes in any application program before updating. For example, the wechat program has 16 unread message reminder identifications on the terminal application desktop, wherein 10 unread messages from the wechat group are updated to 6 unread messages when the wechat program detects the delete group message instruction in the icon area on the terminal application desktop.
2) And when a public message deleting instruction is detected, updating the unread message reminding identifications of any application program on the terminal application desktop according to the unread message reminding identifications of all public classes in any application program.
And the number of unread messages in the unread message prompt identifier of any application program on the terminal application desktop after updating is the difference between the number of unread messages in the unread message prompt identifier before updating and the total number of unread messages of all public classes in any application program before updating. For example, the wechat program has 16 unread message reminder identifications on the terminal application desktop, wherein 3 unread messages are from the public number, and when the instruction for deleting the public message is detected in the icon area of the wechat program on the terminal application desktop, the unread message reminder identifications of the wechat program on the terminal application desktop are updated to 13 unread messages.
3) And when detecting that all message instructions are deleted, clearing the unread message reminding identification of any application program on the terminal application desktop.
For example, as shown in fig. 8, the wechat program has 16 unread message alert identifiers on the terminal application desktop, and when the delete all message instruction is detected in the icon area of the wechat program on the terminal application desktop, the unread message alert identifier of the wechat program on the terminal application desktop is deleted.
Further, the apparatus further comprises:
and the content updating module is used for updating the unread record of any application program in the message notification interface and/or updating the unread message reminding identification in the operation interface of any application program when the operation instruction is detected.
The message notification interface is an interface used for reminding a terminal user of an unread message on the terminal, the message notification interface is generally displayed in a pull-down interface mode, and the pull-down interface comprises unread records of all application programs with unread message reminding marks on the terminal. As shown in fig. 9, the message notification interface includes icons of all applications with the unread message alert identifications on the terminal.
The operation interface of any application program is an interface entered by clicking an icon of any application program on the terminal application desktop, as shown in fig. 10, the operation interface is an operation interface of the wechat program, and includes a head portrait, a nickname, and a communication message of each contact person.
And if the operation instruction occurs in the icon area of any application program, updating the unread record of the any application program in the message notification interface, and/or updating the unread message reminding identification in the operation interface of the any application program.
Further, the content update module is specifically configured to:
1) and when detecting the group message deleting instruction, clearing the unread records of all the group classes in the message notification interface of any application program, and/or clearing the unread message reminding identifications of all the group classes in the operation interface of any application program.
For example, the wechat program has 16 unread message reminder identifications on the terminal application desktop, wherein 10 unread messages from the wechat group, when the delete group message instruction is detected in the icon area of the wechat program on the terminal application desktop, 10 unread records from the wechat group in the message notification interface of the wechat program are cleared, and 10 unread message reminder identifications from the wechat group in the operation interface of the wechat program are cleared.
2) And when detecting that the common message deleting instruction is detected, clearing unread records of all common classes in a message notification interface of any application program, and/or clearing unread message reminding identifications of all common classes in an operation interface of any application program.
For example, the wechat program has 16 unread message reminder identifications on the terminal application desktop, wherein 3 unread messages from the public number, when the instruction for deleting the public message is detected in the icon area on the terminal application desktop, 3 unread records from the public number in the message notification interface of the wechat program are cleared, and 3 unread message reminder identifications from the public number in the operation interface of the wechat program are cleared.
3) And when detecting an instruction of deleting all messages, clearing all unread records of any application program in a message notification interface, and/or clearing all unread message reminding identifications in an operation interface of any application program.
For example, the wechat program has 16 unread message reminder identifiers on the terminal application desktop, and when the instruction for deleting all messages is detected in the icon area of the wechat program on the terminal application desktop, all unread records in the message notification interface of the wechat program are cleared, and all unread message reminder identifiers in the operation interface of the wechat program are cleared.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present disclosure are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present disclosure.
The above description is only a preferred embodiment of the present disclosure, and not intended to limit the scope of the present disclosure, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present disclosure and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present disclosure.