Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
In the following description, suffixes such as "module", "part", or "unit" used to indicate elements are used only for facilitating the description of the present invention, and have no particular meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following specifically describes the components of the mobile terminal with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division multiplexing-Long Term Evolution), and TDD-LTE (Time Division multiplexing-Long Term Evolution), etc.
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 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, the audio output unit 103 may also 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.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing 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 the radio frequency unit 101 in case of a phone call mode. The microphone 1042 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.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing gestures of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometers and taps), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of a user on the touch panel 1071 or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory) thereon or nearby and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, without limitation.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile 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 interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs and various data, and the memory 109 may be a computer storage medium, and the memory 109 stores the screen locking interface message processing program according to the present invention. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. For example, the processor 110 executes the lock screen interface message processing program in the memory 109 to implement the steps of the various embodiments of the lock screen interface message processing method of the present invention.
Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module and the like, which will not be described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an epc (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 with access to the EPC 203.
The EPC203 may include MME (Mobility Management Entity) 2031, hss (Home Subscriber Server) 2032, other MME2033, SGW (Serving GateWay) 2034, pgw (PDN GateWay) 2035, PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Referring to fig. 3, in a first embodiment of the method for processing a lock screen interface message, the method for processing a lock screen interface message includes:
step S10, obtaining unread messages currently received by the terminal and extracting all receiving information corresponding to all the unread messages;
in the screen locking state, when a newly received unread message exists in the application program, the terminal can detect the unread message of each application program and acquire each unread message of each application program and each piece of receiving information corresponding to each unread message. Where the unread messages may be from one or more different applications. The user can select an application program for displaying the message on the screen locking interface when the terminal is in the screen locking state through setting; the user can set the application program which can not display the message on the screen locking interface as the application program which can not display the message on the screen locking interface, and also can set the application program which can display the message on the screen locking interface as the application program which can not display the message on the screen locking interface.
The unread message refers to a message that is newly received or added by each application program of each terminal and is unread by the user. Including push messages for the application, messages sent by senders or contacts in the application.
The corresponding receiving information refers to an application program for receiving the unread message, a sending object for sending the unread message, receiving time of the unread message and the like when the terminal detects the unread message; the information of the application program, the sending object, the receiving time and the like corresponding to the unread message is the receiving information.
Step S20, determining each application program, each delivery object and each receiving time corresponding to each unread message according to each receiving information;
the application program refers to an application program that receives an unread message. The sender object refers to a sender sending an unread message in an application program. Such as friends or groups in the WeChat, senders in the SMS, etc. The receiving time refers to the time when the unread message is received.
After the unread messages of the application programs and the receiving information corresponding to the unread messages are obtained, determining the application programs corresponding to the unread messages, the sending objects corresponding to the unread messages and the receiving time corresponding to the unread messages according to the receiving information corresponding to the unread messages.
For ease of understanding, this is illustrated by way of example. For example, in the lock screen state, the terminal receives:
sending an unread message 1 sent by a sending object a of an application A at 10;
sending an unread message 3 by the sending object b of the application A at 10;
sending an unread message 5 sent by the sending object c of the application B at 10 at 05, and sending an unread message 6 sent by the sending object c of the application B at 10 at 07;
unread message 7 sent by the application B at 10, unread message 8 sent by the application B at 10.
Then, after the terminal acquires each unread message and each piece of addressee information corresponding to each unread message, the following information can be determined:
the message 1 is unread, the corresponding application program is an application program A, the sending object is a sending object a, and the receiving time is 10;
the unread message 2, wherein the corresponding application program is an application program A, the sending object is a sending object a, and the receiving time is 10;
unread message 3, corresponding application program is application program A, sending object is sending object b, and receiving time is 10;
unread message 4, the corresponding application program is application program a, the sending object is sending object b, and the receiving time is 10;
the unread message 5, wherein the corresponding application program is an application program B, the sending object is a sending object c, and the receiving time is 10;
the unread message 6, the corresponding application program is application program B, the sending object is sending object c, and the receiving time is 10;
the unread message 7, the corresponding application program is application program B, the sending object is sending object d, and the receiving time is 10;
the unread message 8 corresponds to the application program B, the delivery object d, and the receiving time 10.
And S30, displaying each unread message in a partition mode on a terminal screen locking interface according to each application program, each sending object and each receiving time.
And determining the display mode of the unread message to be displayed according to the sending object or the application program according to each application program, each sending object and each receiving time. Then, dividing the screen according to the sending objects on a terminal screen locking interface, and displaying the unread messages of all the sending objects; or displaying the unread message number of each sender object of each application program according to the application program partition on the terminal screen locking interface.
In this embodiment, in the screen locking state, when there is a newly received unread message in an application, the terminal may detect and acquire the unread message of each application; determining the display mode of the unread message according to each application program, each sending object and each receiving time corresponding to each unread message; and displaying each unread message on a terminal screen locking interface according to an application program or a sending object partition. The unread messages on the screen locking interface are classified clearly, and display disorder of the unread messages is avoided, so that a user can selectively and quickly view the messages, and the message reading efficiency of the user is greatly improved.
Optionally, step S30 includes:
step S31, determining the total number of unread messages and the important marks of each sending object according to each application program and each sending object;
the total number of unread messages refers to the total number of the unread messages currently in the terminal. Including the sum of the number of unread messages in all applications, or the sum of the number of unread messages sent by all the sender objects. If the number of unread messages of the sending object a in the application program A is 2 and the number of unread messages of the sending object a in the application program B is 5, the total number of the unread messages is 7.
The important mark is an important grade mark of a sender object needing to highlight the message. The importance level indicia of a hair object may be divided into multiple levels.
And counting the total number of the current unread messages of the terminal, determining whether each sending object has an important mark, and determining the importance level of the sending object with the important mark.
Step S32, determining the display mode of the unread messages according to the total number of the unread messages and the important marks;
and if the total number of the current unread messages of the terminal is greater than or equal to the preset number and the sending object has the important mark, determining that the display mode of the unread messages is displayed according to the sending object. And if the total number of the current unread messages of the terminal is less than the preset number, determining the display mode of the unread messages to be displayed according to the application program. And if the total number of the current unread messages of the terminal is greater than or equal to the preset number, but no important mark exists in the sending object, determining the display mode of the unread messages to be displayed according to the application program.
And S33, displaying each unread message in a partition mode on a terminal screen locking interface according to the display mode and each receiving time.
If the display mode of the unread messages is according to the sending objects, when the unread messages of all the sending objects are displayed on the screen locking interface, the display sequence of the sending objects can be arranged according to the sending time of the latest unread message of all the sending objects, and the unread messages of all the sending objects are displayed on the screen locking interface of the terminal. If the display mode of the unread messages is according to the application programs, the display sequence of the application programs can be arranged according to the latest sending time of one unread message of each application program, and the number of the unread messages of each sending object of each application program is displayed on the terminal screen locking interface.
In this embodiment, whether the display mode of the unread message is displayed according to the sending object or the application program can be determined according to the receiving information of the unread message, and the display mode can be selected according to the user requirement and the importance of the sending object of the unread message, so that the unread message displayed on the screen locking interface is clear, organized and clear at a glance, the user can quickly distinguish the importance of the unread message, the unread message is effectively processed in a targeted manner, and the transaction processing rate of the user is greatly improved.
Optionally, step S30 is followed by:
detecting and judging whether each unread message is in a read state; and when the unread message is detected to be in the read state, eliminating the display of the unread message in the read state on the screen locking interface of the terminal.
The read state refers to an unread message displayed on the screen locking interface, the user marks the unread message as read after the user reads the unread message in the screen locking state, and the unread message displayed on the screen locking interface is the read state; or after the user enters a corresponding interface to read through the unlocking terminal, the unread message displayed on the screen locking interface is in a read state.
After reading the unread message displayed on the terminal screen locking interface, the user does not need to keep displaying on the screen locking interface; otherwise, the user needs to continuously read all the unread messages displayed on the screen locking interface, and some of the unread messages displayed on the screen locking interface are already read by the user, which wastes the time of the user and affects the processing speed of the user on the messages or transactions. Detecting and judging whether each unread message is in a read state, namely whether the unread message is read by a user; and when the unread messages displayed on the terminal screen locking interface are detected to be read by the user and are displayed in a read state, the display of the unread messages in the read state on the terminal screen locking interface is eliminated. The problem that the reading and processing efficiency of the user is influenced because the user repeatedly reads the read message and wastes the time of the user is avoided; the method and the device have the advantages that the unread messages are displayed clearly and orderly on the screen locking interface, the display efficiency of the unread messages on the screen locking interface is improved, and the message reading and processing efficiency of a user is greatly improved.
Further, in the second embodiment of the method for processing a message on a lock screen interface of the present invention, step S33 includes:
a1, judging whether the total number of unread messages is greater than or equal to a preset number;
the total number of the current unread messages of the terminal is more than or equal to the preset number and is used as a condition for judging whether the unread messages are displayed according to the sending object or not; the preset number is a designated number of the total number of unread messages of the sender object.
Acquiring the total number of the current unread messages of the terminal and the important mark of a sending object; and then judging whether the total number of the current unread messages of the terminal is greater than or equal to a preset number.
Step A2, if the total number of the unread messages is greater than or equal to the preset number, judging whether an important mark exists in a sending object corresponding to the unread messages or not;
if the total number of the current unread messages of the terminal is greater than or equal to the preset number, judging whether each sending object corresponding to the unread messages has an important mark or not, and determining the importance level of the sending object with the important mark. The corresponding sender object refers to the sender object sending the unread message.
And step A3, if the sending object corresponding to the unread message has the important mark, determining that the display mode of the unread message is to be displayed according to the sending object.
And if the total number of the current unread messages of the terminal is greater than or equal to the preset number and each sending object corresponding to the unread messages has an important mark, determining that the display mode of the unread messages is displayed according to the sending objects. The step of displaying according to the sending objects refers to dividing display areas according to the sending objects on a screen locking interface, putting the unread messages of all the sending objects into the respective display areas, and then sequencing and displaying the unread messages in all the display areas according to the receiving time.
In this embodiment, if the total number of the current unread messages of the terminal is greater than or equal to the preset number and each sender object has an important mark, determining the display mode of the unread messages as displaying according to the sender object; the unread messages of the sending objects can be selected in a targeted manner, and the unread messages of the important sending objects are displayed in a regional and focused manner on the screen locking interface, so that a user can quickly see the important unread messages.
Optionally, step S34 includes:
step B1, after the display mode of the unread message is determined to be the display according to the sending objects, determining the number of first display areas on the terminal screen locking interface according to the number of the sending objects;
the first display area is a display area of an unread message of a sender object. The number of the sending objects refers to the number of the sending objects of all unread messages currently sent by the terminal.
And after the display mode of the unread message is determined to be according to the sending objects, determining the number of the first display areas on the terminal screen locking interface according to the number of all the sending objects. If, the terminal receives: sending object a of application A sends unread message 1 at 10; unread message 3 sent by the application a's sendee b at 10 00, unread message 4 sent by the application a's sendee b at 10. Then, the number of the sender objects is 2, and the number of the first display areas on the terminal screen locking interface is 2
B2, distributing the position and the size of a first display area of each sending object according to the important marks and the quantity of the unread messages of each sending object;
the higher the importance indicia rating of the hair object, the more forward or significantly more prominent the first display region location at which the hair object is assigned. The larger the number of unread messages of the sender object, the larger the first display area to which the sender object is allocated. The number of unread messages of a sending object refers to the number of all unread messages of the same sending object, and may be the unread messages of the same sending object from different application programs.
For ease of understanding, the description is continued with an example of step B1. For example, the important mark exists in both the sender object a and the sender object b, the important mark level of the sender object a is 1 grade, the important mark level of the sender object b is 2 grade, that is, the important mark level of the sender object b is higher than that of the sender object a. The importance mark level of the sending object a is level 1, and the number of unread messages is 2; the importance mark level of the sender object b is 2 levels, and the number of unread messages is 3; because the importance mark level of the hair object b is higher than that of the hair object a, the position of the first display area assigned to the hair object b is front or obvious relative to that of the hair object b; the number 3 of unread messages of the sender object b is greater than the number 2 of unread messages of the sender object a, so that the first display area allocated to the sender object b is larger than the first display area of the sender object b.
And acquiring corresponding unread messages of all the sending objects, and dividing the corresponding unread messages of all the sending objects into corresponding first display areas. The corresponding unread message refers to all unread messages of the same sender object, including unread messages of all programs.
And step B3, dividing the unread messages into the first display areas of the corresponding sending objects, and sequencing and displaying the unread messages in each first display area according to the receiving time.
Referring to fig. 4, fig. 4 is a schematic view of a scene in which the unread message is displayed by a sender object. Classifying the unread messages according to the sending objects, dividing the unread messages into first display areas of the corresponding sending objects, and then sequentially sequencing and displaying the unread messages in the first display areas according to the receiving time. Wherein, the corresponding sender object is the sender object sending the unread message. Namely, putting the unread messages of each sending object into a designated display area, and sequentially sequencing and displaying the unread messages according to the receiving time. For example, an unread message with a previous receive time is placed after an unread message with a subsequent receive time; and finally, forming all unread messages in a certain arrangement sequence, and respectively displaying all the unread messages under all the sender object lists. For ease of understanding, the description is continued following the example in step S20 above. For example, after receiving a plurality of unread messages, the terminal displays each unread message according to a sending object to form:
the sending object a, the receiving time is 10, and the message is unread 1; the receiving time is 10;
sending object b, the receiving time is 10; the receiving time is 10;
the sending object c, the receiving time is 10, and the message 5 is unread; the receiving time is 10;
sending object d, receiving time 10, unread message 7; the time to receipt is 10.
Further, in a third embodiment of the method for processing a lock screen interface message according to the present invention, after step A1, the method further includes:
and step A4, if the total number of the unread messages is less than the preset number, determining that the display mode of the unread messages is display according to the application program.
And if the total number of the current unread messages of the terminal is less than the preset number, determining that the display mode of the unread messages is displayed according to the application program. And if the total number of the current unread messages of the terminal is greater than or equal to the preset number and each sending object corresponding to the unread messages does not have an important mark, determining that the display mode of the unread messages is displayed according to the application program. The display according to the application program means that display areas are divided according to the application program on a screen locking interface, and unread messages of all the application programs are placed in the respective display areas; and then displaying the quantity of the unread messages of each sending object of each application program in the display area of each application program.
In addition, the display according to the application program and the display according to the sender object can be adopted at the same time, or one of the two display modes can be adopted. For example, when there is an important mark in only one part of the sender object and there is no important mark in some sender objects, part of the unread messages may be displayed according to the application program and part of the unread messages may be displayed according to the sender object.
In this embodiment, if there is no sending object with an important mark, the display mode displayed according to the application program is adopted, and the number of unread messages of the sending object of each application program is displayed on the lock screen interface, so that a user can clearly see the unread messages of each application program.
Optionally, step S34 includes:
step C1, after the display mode of the unread messages is determined to be display according to the application programs, determining the number of second display areas on the screen locking interface of the terminal according to the number of the application programs;
the second display area refers to a display area of an unread message of an application program. The number of the application programs refers to the number of the application programs of the current unread messages of the receiving terminal.
And after the display mode of the unread message is determined to be displayed according to the application programs, determining the number of second display areas on the terminal screen locking interface according to the number of all the application programs. In this embodiment, the number of the second display areas is the number of the application programs. If, the terminal receives: sending an unread message 1 sent by a sending object a of an application A at 10; unread message 3 sent by the application a's sendee object b at 10 00, unread message 4 sent by the application a's sendee object b at 10. Then, the number of the application programs is 2, and the number of the second display areas on the terminal screen locking interface is 2.
The larger the number of objects to be sent from the application, the larger the display area allocated to the application. The more forward or apparent the display area location assigned to the delivery object is if the time of receipt of the latest unread message in the application program is closer to the current time.
And C2, distributing the position and the size of the second display area of each application program according to the latest receiving time and the number of the sending objects of each application program.
The latest receiving time refers to the receiving time of an unread message closest to the current time in the application program. The number of the sending objects refers to the number of the current sending objects in the application program; if the WeChat has unread messages of 5 friends, and the QQ has unread messages of 3 friends; then the number of WeChat sender objects is 5 and the number of QQ sender objects is 3.
The terminal may receive unread messages of different application programs and a plurality of sending objects in the same time period; the method comprises the steps of obtaining the number of sending objects of each application program and the latest receiving time of each application program, namely the receiving time of an unread message closest to the current time in the application programs. Then distributing a second display area position of each application program according to the latest receiving time of each application program; in this embodiment, the closer the latest receiving time of the application program is to the current time, the more forward or obviously the second display area of the application program is positioned. Distributing the size of a second display area of each application program according to the number of the sending objects of each application program; in this embodiment, the larger the number of the object to be delivered of the application program, the larger the second display area to which the application program is assigned.
And step C3, dividing the unread messages into second display areas of the corresponding application programs, and displaying each sending object and the quantity of the unread messages corresponding to each sending object in each second display area.
Referring to fig. 5, fig. 5 is a schematic view of a scenario in which unread messages are displayed by an application. And classifying the unread messages according to the application programs and dividing the unread messages into second display areas of the corresponding application programs. The corresponding application program refers to an application program that receives the unread message. And counting the unread messages in the second display area according to the sending objects to obtain the number of the unread messages corresponding to each sending object. The corresponding unread message refers to an unread message sent by the same sender object in the same application program. And finally, respectively displaying each sending object corresponding to each application program and the quantity of unread messages corresponding to each sending object in each second display area corresponding to each application program on the terminal screen locking interface. For ease of understanding, the description is continued with the example in step S20 above. For example, after receiving multiple unread messages, the terminal forms, according to application display:
an application program A, a sending object a and an unread 2, and a sending object b and an unread 2;
application program B, a sending object c, unread 2, a sending object d, unread 2.
For ease of understanding, reference may be made to fig. 4; optionally, when the user clicks a sender object displayed in the second display area of an application, each unread message of the sender object in the application may be displayed on the terminal lock screen interface.
Optionally, when multiple applications have unread messages simultaneously, the unread messages of all the applications may not be displayed at one time on the terminal screen locking interface, and paging display is required. However, if the page is displayed, the unread message that the user first sees may be less important, and the important unread message needs to be viewed by turning the page; this affects the reading efficiency of the user. The user may set the priority of the application when setting the application that selects the message to be displayed on the lock screen interface. And when a plurality of application programs have unread messages at the same time, judging whether the number of the application programs exceeds the preset number. And if the plurality of application programs simultaneously have unread messages when the terminal receives the unread messages, and the number of the application programs with the unread messages exceeds the preset number, the unread messages corresponding to the application programs are sequentially displayed according to the priority of the application programs when the current screen locking interface cannot display all the applied messages at one time. The method avoids missing important messages when a plurality of application programs have unread messages and relatively unimportant unread messages which can be seen most directly by a user; relatively important unread messages are not displayed obviously or need to be turned for viewing, so that the reading efficiency of a user is influenced; therefore, the user can quickly check the unread messages in a targeted manner, and the reading efficiency of the user is greatly improved.
In the embodiment, the unread message quantity of each sender object of each application program is displayed on a terminal screen locking interface by displaying according to the application program; the display of the unread messages is clear and ordered, and the display of the unread messages is avoided to be disordered, so that the user can efficiently view the messages, and the message reading efficiency of the user is greatly improved.
Further, in a fourth embodiment of the method for processing a lock screen interface message according to the present invention, based on the embodiment shown in fig. 3, after step S30, the method further includes:
optionally, step S30 is followed by:
when a display instruction for displaying a history message of a sender object is detected;
the display instruction means that the terminal receives the instruction when the user pulls the historical message of the sending object corresponding to the unread message; after receiving the instruction, the terminal needs to obtain the history message of the corresponding sending object from the application program corresponding to the unread message, and display the history message on the terminal screen locking interface.
The history message refers to a message which is sent before the unread message and is read by the user, and a sender object corresponding to the unread message.
Step S40, acquiring historical information from a corresponding application program according to the display instruction;
after a user reads a new unread message on the screen locking interface, the user may need to read a history message that has been read. However, according to the message display mode of the existing screen locking interface, historical messages cannot be read; the user can only unlock the terminal when reading the historical information, enter the corresponding application program in the terminal, search and read the historical information, the process is very complicated, and the time of the user is wasted. The embodiment of the invention provides a method for reading corresponding historical information on a screen locking interface after reading unread information. After reading the unread message of an application program, the user can choose to continue to pull the historical message of the sending object corresponding to the unread message, and at this time, the terminal can receive the display instruction for displaying the historical message of the sending object. When the terminal detects a display instruction for displaying the historical information of the sending object, determining the sending object corresponding to the historical information pulled by the user and the corresponding application program; and then acquiring the historical information of the corresponding sending object from the corresponding application program.
Optionally, step S40 includes:
acquiring verification information input by a user according to the display instruction; judging whether the verification information meets the preset condition for acquiring the historical information or not; and if the verification information meets the preset condition for acquiring the history information, acquiring the history information from the corresponding application program.
The user can directly pull the history information on the screen locking interface, thereby providing great convenience for the user; meanwhile, history information may be leaked, and whether the user can pull the history information can be determined in a verification mode, so that the safety of the user information is ensured. If the verification information input by the user is acquired, whether the verification information input by the user meets the preset condition for acquiring the history message is judged. The verification information can be a fingerprint input by a user in a screen or a fingerprint identification area when the user selects to pull the history information by using a fingertip; or the user can trigger information through a sliding track input in the screen locking interface, a screen knocking mode and the like. And if the verification information meets the preset condition of obtaining the history information, obtaining the history information of the corresponding sending object from the application program corresponding to the unread message.
In the embodiment, the history message can be directly pulled through the screen locking interface by the user, and meanwhile, the setting that the history message can be pulled only through the verification information is carried out; the method avoids the complex operation required for reading the historical information and the waste of a large amount of time of the user; the speed of reading and processing messages and transactions of the user is greatly improved, and great convenience is provided for the user. Meanwhile, the historical information of the user is prevented from being leaked, and the historical information and privacy of the user are protected.
And S50, displaying the history information on the screen locking interface of the terminal.
And after acquiring the historical information of the corresponding sending object from the corresponding application program, the terminal continuously displays the historical information of the sending object on an unread message display interface corresponding to the sending object.
In this embodiment, after reading the unread message on the lock screen interface, the user can directly continue to pull the history message of the corresponding sender object on the lock screen interface, and the user can quickly read the message and effectively and quickly process the transaction; the complicated operations of unlocking the terminal, clicking a corresponding application program, searching a corresponding sending object, searching a corresponding historical message and the like for checking the message are avoided, and a large amount of time is wasted by a user; the speed of reading and processing the messages and the transactions of the user is greatly improved, and great convenience is provided for the user.
In addition, an embodiment of the present invention further provides a device for processing a screen locking interface message, where the device for processing a screen locking interface message includes:
the first acquisition module is used for acquiring unread messages currently received by the terminal and extracting all receiving information corresponding to the unread messages;
the second acquisition module is used for determining each application program, each delivery object and each delivery time corresponding to each unread message according to each delivery information;
and the display module is used for displaying each unread message in a partition mode on a terminal screen locking interface according to each application program, each sending object and each receiving time.
Optionally, the display module is further configured to:
determining the total number of the unread messages and the important marks of the sending objects according to the application programs and the sending objects;
determining a display mode of the unread messages according to the total number of the unread messages and the important marks;
and displaying each unread message in a partition mode on a terminal screen locking interface according to the display mode and each receiving time.
Optionally, the device for processing a screen locking interface message further includes a determining module, where the determining module is configured to:
judging whether the total number of the unread messages is greater than or equal to a preset number or not;
if the total number of the unread messages is greater than or equal to the preset number, judging whether an important mark exists in a sending object corresponding to the unread messages;
and if the sending object corresponding to the unread message has the important mark, determining that the display mode of the unread message is displayed according to the sending object.
Optionally, the display module is further configured to:
after the display mode of the unread messages is determined to be displayed according to the sending objects, determining the number of first display areas on a terminal screen locking interface according to the number of the sending objects;
distributing the position and the size of a first display area of each sending object according to the important marks and the quantity of the unread messages of each sending object;
dividing the unread messages into corresponding first display areas of the sending objects, and displaying the unread messages in each first display area according to the receiving time sequence.
Optionally, the determining module is further configured to:
and if the total number of the unread messages is less than the preset number, determining that the display mode of the unread messages is displayed according to an application program.
Optionally, the display module is further configured to:
after the display mode of the unread messages is determined to be displayed according to the application programs, determining the number of second display areas on a terminal screen locking interface according to the number of the application programs;
distributing the position and the size of a second display area of each application program according to the latest receiving time and the number of the sending objects of each application program;
dividing the unread messages into second display areas of corresponding application programs, and displaying each sending object and the quantity of the unread messages corresponding to each sending object in each second display area.
Optionally, the display module is further configured to:
when a display instruction for displaying a history message of the sender object is detected;
acquiring the historical information from the corresponding application program according to the display instruction;
and displaying the history message on a terminal screen locking interface.
In addition, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: the memory 109, the processor 110, and the lock screen interface message processing program stored on the memory 109 and operable on the processor 110, when executed by the processor 110, implement the steps of the embodiments of the lock screen interface message processing method described above.
In addition, the present invention also provides a storage medium, where one or more programs are stored, and the one or more programs can be further executed by one or more processors to implement the steps of the embodiments of the lock screen interface message processing method.
The expanded contents of the specific implementation of the mobile terminal and the storage medium (i.e., the computer-readable storage medium) of the present invention are substantially the same as those of the embodiments of the above-described lock screen interface message processing method, and are not described herein again.
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 phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention 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 invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.