CN107835495B - Message prompting method and device and mobile terminal - Google Patents
Message prompting method and device and mobile terminal Download PDFInfo
- Publication number
- CN107835495B CN107835495B CN201711293809.8A CN201711293809A CN107835495B CN 107835495 B CN107835495 B CN 107835495B CN 201711293809 A CN201711293809 A CN 201711293809A CN 107835495 B CN107835495 B CN 107835495B
- Authority
- CN
- China
- Prior art keywords
- message
- priority
- contact
- mobile terminal
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a message prompting method, a message prompting device and a mobile terminal, wherein the method comprises the following steps: receiving a message, and acquiring priority information of a sender of the message; determining a prompt mode corresponding to the message according to the priority information and the use scene of the mobile terminal; and prompting a message to the user according to a prompting mode. The invention prompts the message to the user according to the using scene and the priority information of the sender, so that the user can more conveniently know the message and avoid missing important messages.
Description
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a message prompting method, an apparatus, and a mobile terminal.
Background
With the popularization and development of intelligent mobile terminals, mobile phones have become the most commonly used communication tools, and users receive a great amount of messages of various applications on the mobile phones every day. When a mobile phone receives a message, the prior art basically pops up a notification in a status bar, and a user needs to click manually to see the content. In some scenarios, such as when a user is driving a car and using a mobile phone to navigate or watch a video or play a game, the user may not be convenient to view the message, so that the user may miss some important messages.
Disclosure of Invention
The embodiment of the invention provides a message prompting method, a message prompting device and a mobile terminal, and aims to solve the problem that some important messages may be missed when a user is inconvenient to view the messages in the prior art.
In order to solve the technical problem, the invention is realized as follows: a message prompting method is applied to a mobile terminal, and comprises the following steps:
receiving a message, and acquiring priority information of a sender of the message;
determining a prompt mode corresponding to the message according to the priority information and the use scene of the mobile terminal;
and prompting the message to the user according to the prompting mode.
In a first aspect, an embodiment of the present invention further provides a message prompting apparatus, which is applied to a mobile terminal, and the apparatus includes:
the acquisition module is used for receiving the message and acquiring the priority information of the sender of the message;
a determining module, configured to determine, according to the priority information and a usage scenario of the mobile terminal, a prompt manner corresponding to the message;
and the prompting module is used for prompting the message to the user according to the prompting mode.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the message prompting method according to any one of the above.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the message prompting method according to any one of the above.
In the embodiment of the invention, the message is prompted to the user according to the using scene and the priority information of the sender, so that the user can more conveniently know the message, and the user is prevented from missing important messages.
Drawings
Fig. 1 is a flowchart of a message prompting method according to an embodiment of the present invention;
fig. 2 is another flowchart of a message prompting method according to an embodiment of the present invention;
fig. 3 is another flowchart of a message prompting method according to an embodiment of the present invention;
fig. 4 is another flowchart of a message prompting method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a message prompt apparatus according to an embodiment of the present invention;
fig. 6 is another schematic structural diagram of a message prompt apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In some embodiments of the present invention, a message prompting method is provided, which is applied to a mobile terminal, and as shown in fig. 1, the method includes:
Generally, the more important messages come from contacts that are more intimate with the user or have more frequent contact with the user, such as family, friends, boss, etc., so that by identifying the sender of the message (i.e., the target sending contact), it can be determined whether the received message is more important.
Here, after receiving the message, the importance of the message can be determined by acquiring the priority information of the sender of the message.
In order to quickly acquire the priority information of the sender of the message, a message importance priority list can be established in advance, and the priority corresponding to one or more contacts is stored in the list. Or when the message is received, determining the corresponding priority of the sender in real time according to the social relationship and the contact frequency of the sender and the user.
And step 102, determining a prompting mode corresponding to the message according to the priority information and the use scene of the mobile terminal.
The prompting mode corresponding to the message is determined according to the priority information of the sender and the use scene of the mobile terminal, and the prompting mode can be matched with the importance of the message and the current application scene, so that the aims of avoiding missing important messages and not interfering the normal operation and use of the current application scene are fulfilled.
And 103, prompting the message to the user according to the prompting mode.
The content of the message is automatically prompted according to the prompting mode corresponding to the current application scene, a user does not need to check the content through manual operation, convenience is achieved, important messages are prevented from being missed, the prompting mode is matched with the current application scene, and normal operation and use of the current application scene cannot be interfered.
The message prompting method of the embodiment of the invention prompts the message to the user according to the using scene and the priority information of the sender, so that the user can more conveniently know the message and avoid missing important messages.
As an optional implementation manner, the step 102 includes:
step 1021, judging whether the priority of the sender is higher than a preset priority according to the priority information.
Here, whether the message belongs to the important message is determined by determining whether the priority of the sender is higher than a preset priority to determine whether the contact sending the message is the important contact.
And step 1022, if yes, determining a prompting mode corresponding to the message according to the use scene of the mobile terminal.
Here, if the priority of the sender is higher than the preset priority, it may be determined that the sender is a relatively important contact, and the received message is a relatively important message, a prompt manner corresponding to the current application scenario of the mobile terminal is obtained, so as to prompt the content of the message according to the prompt manner corresponding to the current application scenario, and avoid missing an important message.
The user can preset the prompting mode corresponding to each application scene according to the application habit of the user. If the navigation scene is set, prompt is carried out through voice broadcast, and prompt is carried out on the screen of the mobile terminal in a bullet screen mode when the navigation scene is set and the game scene is played.
The preset priority can be set according to requirements. For example, there are 10 priorities, and the preset priority may be a third priority or a fourth priority, etc.
For example, a message sent by zhang san is received, priority information corresponding to zhang san is obtained, a prompt mode corresponding to the current application scene of the mobile terminal is obtained on the assumption that the priority corresponding to zhang san is the second priority, the preset priority is the fourth priority, and the priority corresponding to zhang san is higher than the preset priority, and the received message is prompted to the user in a voice broadcast prompt mode on the assumption that the current application scene of the mobile terminal is a navigation scene and the prompt mode corresponding to navigation is prompt through voice broadcast.
As another optional implementation manner, the step 102 includes:
and 1023, acquiring the corresponding relation among the pre-stored contact priority, the use scene and the prompting mode.
Here, the corresponding relation among the contact priority, the use scene and the prompting mode is established and stored in advance so as to be convenient for calling at any time.
And step 1024, determining a prompt mode corresponding to the message according to the corresponding relation, the priority information and the use scene of the mobile terminal.
Here, according to the correspondence, the priority of the sender and the usage scenario of the mobile terminal, the prompt mode corresponding to the message can be quickly determined, so as to prompt the message, and also avoid missing important messages.
For example, the second priority, the navigation scene and the voice playing prompt in the corresponding relationship correspond to each other. And receiving a message sent by Zhang III, acquiring priority information corresponding to Zhang III, and prompting the received message to a user in a voice broadcast prompting mode if the priority corresponding to Zhang III is a second priority and the current application scene of the mobile terminal is a navigation scene according to the corresponding relation and the prompting mode can be determined to be a voice broadcast prompting mode.
Further, before acquiring the priority information of the sender of the message, the method further includes:
judging whether the use scene of the mobile terminal belongs to a preset scene or not; and if the message belongs to the group, executing the step of acquiring the priority information of the sender of the message.
Here, the general user may have a situation that it is inconvenient to view the message in some specific scenarios, such as using the mobile terminal to navigate when driving, or using the mobile terminal to watch a video, play a game, and the like. In this step, when the usage scenario of the mobile terminal belongs to the preset scenario, that is, when the user is inconvenient to view the message, the method flow of the embodiment of the present invention is started, the content of the important message is automatically prompted to the user, and the other scenarios are not automatically prompted, so that the power consumption is saved under the condition that the user does not miss the important message.
Optionally, as shown in fig. 2, in the step 101, the step of acquiring the priority information of the sender of the message includes:
Here, a message importance priority list associated with the contacts is pre-established so that when a message is received, the priority of the sender can be quickly determined.
Wherein, the message importance priority list comprises the corresponding priority of one or more contacts.
Here, the priority information corresponding to the sender can be accurately and quickly acquired from the message importance priority list.
For example, the message importance priority list includes priorities corresponding to all locally stored contacts, and when a message sent by zhang san is received, priority information corresponding to zhang san can be accurately and quickly acquired from the message importance priority list.
Optionally, as shown in fig. 3, the step 1011 includes:
Here, generally, the more important messages are all from contacts that are more intimate with the user relationship or that are more frequently contacted with the user, so by acquiring the tags indicating the social relationship between the contacts and the user and the contact frequency between the contacts and the user, the priority corresponding to the contacts can be accurately determined.
In order to facilitate management and improve efficiency, labels corresponding to the contacts are generated in advance, and the labels are used for indicating social relations between the contacts and the mobile terminal user. The social relationship between the contact and the user includes, for example, family, boss, friend, colleague, general friend, etc., wherein the priorities corresponding to the family, boss, friend, colleague and general friend are sequentially reduced.
Here, according to the tag and the contact frequency corresponding to the contact person, the priority corresponding to the contact person can be accurately determined.
Specifically, the step 10112 includes:
and 101121, determining the value of the degree of affinity parameter M corresponding to the label according to the social relationship indicated by the label.
Here, according to the social relationship indicated by the tag, the affinity and sparseness parameter corresponding to the tag is determined so as to calculate the priority corresponding to the contact.
Step 101122, determining the value of the message importance parameter W corresponding to the contact according to the following formula:
W=M*x+N*y;
wherein M is the affinity and sparseness parameter, N is the contact frequency, x is the weight value of the affinity and sparseness parameter, and y is the weight value of the contact frequency.
Here, the affinity and sparseness parameter corresponding to the contact and the contact frequency corresponding to the contact are weighted and calculated through the above formula, and the value of the message importance parameter W corresponding to the contact is obtained.
The weight value x of the affinity and sparseness degree parameter and the weight value y of the contact frequency can be set according to requirements.
Step 101123, determining the priority corresponding to the contact according to the value of the message importance parameter W corresponding to the contact and the threshold values of the message importance parameters W corresponding to the preset multiple priorities.
Wherein the threshold value of the message importance parameter corresponding to the lower priority is smaller than the threshold value of the message importance parameter corresponding to the higher priority.
Here, threshold values of the message importance parameters corresponding to the plurality of priorities are preset, and after the value of the message importance parameter W corresponding to the contact is acquired, the priority corresponding to the contact can be accurately determined based on the threshold values of the message importance parameters corresponding to the priorities.
When the value of W corresponding to the contact is larger than the threshold value corresponding to a certain priority, the priority is determined to be the priority corresponding to the contact. And when the value of W corresponding to the contact is larger than the threshold values corresponding to the priorities, selecting the priority of the highest level in the priorities as the priority corresponding to the contact.
Here, after acquiring the priority corresponding to one or more contacts, a message importance priority list is generated, which is convenient for subsequent calling at any time.
Optionally, the step 103 includes:
and step 1031, prompting the message to the user according to a voice broadcast prompting mode or a mode of prompting in a bullet screen mode on a screen of the mobile terminal.
At this moment, the voice broadcasting prompt can be carried out on the content of the message or the prompt can be carried out on the screen of the mobile terminal in a bullet screen mode, and the current use of the mobile terminal by a user can not be influenced.
Optionally, the step 103 includes:
step 1032, acquiring a face image, and performing face recognition according to the acquired face image;
and 1033, when the face recognition is successful, prompting the message to the user according to the prompting mode.
At the moment, before the content of the message is prompted, the face recognition is carried out on the user, and the safety is guaranteed.
A specific application flow of the message prompting method according to the embodiment of the present invention is described below as an example.
As shown in fig. 4, the message prompting method according to the embodiment of the present invention includes:
The message importance priority list comprises priorities corresponding to one or more contacts.
And 405, judging whether the priority of the sender is higher than the preset priority, if so, jumping to 406, and if not, jumping to 408.
And 406, acquiring a prompt mode corresponding to the current application scene of the mobile terminal.
And step 408, ending.
The message prompting method of the embodiment of the invention combines the message importance degree and the current application scene (such as navigation, video watching or game), automatically prompts the content of the important message to the user, and does not need the user to check through manual operation, thereby providing a more friendly and more convenient message prompting method, and ensuring that the user does not miss the important message.
In some embodiments of the present invention, there is also provided a message prompting apparatus applied to a mobile terminal, and as shown in fig. 5, the apparatus includes:
an obtaining module 501, configured to receive a message and obtain priority information of a sender of the message;
a determining module 502, configured to determine, according to the priority information and a usage scenario of the mobile terminal, a prompt manner corresponding to the message;
a prompting module 503, configured to prompt the message to the user according to the prompting manner.
The message prompting device of the embodiment of the invention prompts the message to the user according to the using scene and the priority information of the sender, so that the user can more conveniently know the message and avoid missing important messages.
Optionally, referring to fig. 6, the determining module 502 includes:
the judging submodule 5021 is used for judging whether the priority of the sender is higher than a preset priority or not according to the priority information;
and the first determining submodule 5022 is used for determining a prompting mode corresponding to the message according to the use scene of the mobile terminal if the message is true.
Optionally, the determining module 502 includes:
the first acquisition submodule is used for acquiring the corresponding relation among the pre-stored contact priority, the pre-stored use scene and the pre-stored prompt mode;
and the second determining submodule is used for determining a prompting mode corresponding to the message according to the corresponding relation, the priority information and the use scene of the mobile terminal.
Optionally, the obtaining module 501 includes:
the second obtaining submodule 5011 is configured to obtain a message importance priority list;
the third obtaining submodule 5012 is configured to obtain priority information corresponding to a sender of the message from the message importance priority list;
wherein, the message importance priority list comprises the corresponding priority of one or more contacts.
Optionally, the second obtaining submodule 5011 includes:
the obtaining unit 50111 is configured to obtain tags and contact frequencies corresponding to one or more contacts; the tag is used for indicating the social relationship between the contact and a user of the mobile terminal, and the contact frequency is the contact frequency between the user of the mobile terminal and the contact in a preset time period;
the determining unit 50112 is configured to determine a priority corresponding to the contact according to the tag and the contact frequency corresponding to the contact;
the generating unit 50113 is configured to generate the message importance priority list according to the priority corresponding to the contact.
Optionally, the determining unit 50112 includes:
a first determining subunit 501121, configured to determine, according to the social relationship indicated by the tag, a value of the affinity and sparseness parameter M corresponding to the tag;
a second determining subunit 501122, configured to determine the value of the message importance parameter W corresponding to the contact according to the following formula:
W=M*x+N*y;
wherein M is the affinity and sparseness parameter, N is the contact frequency, x is the weight value of the affinity and sparseness parameter, and y is the weight value of the contact frequency;
a third determining subunit 501123, configured to determine the priority corresponding to the contact according to the value of the message importance parameter W corresponding to the contact and threshold values of the message importance parameters W corresponding to the preset multiple priorities, respectively.
Optionally, the prompting module 503 includes:
the first prompting sub-module 5031 is configured to prompt the message to a user according to a voice broadcast prompting manner or a manner of prompting on a screen of the mobile terminal in a bullet screen manner.
Optionally, the prompting module 503 includes:
a face recognition sub-module 5032, configured to obtain a face image and perform face recognition according to the obtained face image;
the second prompting sub-module 5033 is configured to prompt the user for the message according to the prompting manner when the face recognition is successful.
The message prompting device provided by the embodiment of the invention can realize each process in the method embodiments of fig. 1 to fig. 4, and is not described herein again in order to avoid repetition. The message prompting device of the embodiment of the invention combines the message importance degree and the current application scene (such as navigation, video watching or game), automatically prompts the content of the important message to the user, and does not need the user to check the content through manual operation, thereby providing a more friendly and more convenient message prompting mode and ensuring that the user does not miss the important message.
Fig. 7 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 7 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 710 is configured to receive a message and obtain priority information of a sender of the message; determining a prompt mode corresponding to the message according to the priority information and the use scene of the mobile terminal; and prompting the message to the user according to the prompting mode.
The mobile terminal 700 automatically prompts the content of the important message to the user by combining the message importance with the current application scene (such as navigation, video watching or game playing), and does not need the user to check the content through manual operation, thereby providing a more friendly and more convenient message prompting mode and preventing the user from missing the important message.
Optionally, the processor 710 is further configured to: judging whether the priority of the sender is higher than a preset priority or not according to the priority information; and if so, determining a prompt mode corresponding to the message according to the use scene of the mobile terminal.
Optionally, the processor 710 is further configured to: acquiring the corresponding relation among the pre-stored contact priority, the use scene and the prompt mode; and determining a prompt mode corresponding to the message according to the corresponding relation, the priority information and the use scene of the mobile terminal.
Optionally, the processor 710 is further configured to: acquiring a message importance priority list; acquiring priority information corresponding to a sender of the message from the message importance priority list; wherein, the message importance priority list comprises the corresponding priority of one or more contacts.
Optionally, the processor 710 is further configured to: acquiring labels and contact frequency corresponding to one or more contacts; the tag is used for indicating the social relationship between the contact and a user of the mobile terminal, and the contact frequency is the contact frequency between the user of the mobile terminal and the contact in a preset time period; determining the priority corresponding to the contact person according to the label and the contact frequency corresponding to the contact person; and generating the message importance priority list according to the priority corresponding to the contact.
Optionally, the processor 710 is further configured to: determining the value of the affinity and sparseness parameter M corresponding to the label according to the social relationship indicated by the label; determining the value of the message importance parameter W corresponding to the contact person through the following formula:
W=M*x+N*y;
wherein M is the affinity and sparseness parameter, N is the contact frequency, x is the weight value of the affinity and sparseness parameter, and y is the weight value of the contact frequency;
and determining the priority corresponding to the contact according to the value of the message importance parameter W corresponding to the contact and the threshold values of the message importance parameter W corresponding to the preset multiple priorities.
Optionally, the processor 710 is further configured to: and prompting the message to a user according to a voice broadcast prompting mode or a mode of prompting in a bullet screen mode on a screen of the mobile terminal.
Optionally, the processor 710 is further configured to: acquiring a face image, and performing face recognition according to the acquired face image; and when the face recognition is successful, prompting the message to the user according to the prompting mode.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 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 701 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 702, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the mobile terminal 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture 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 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The mobile terminal 700 also includes at least one sensor 705, 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 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the mobile terminal 700 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 to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 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 707 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 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 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 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 708 is an interface through which an external device is connected to the mobile terminal 700. 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 708 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 700 or may be used to transmit data between the mobile terminal 700 and external devices.
The memory 709 may be used to store software programs as well as various data. The memory 709 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 709 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 710 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 709 and calling data stored in the memory 709, thereby integrally monitoring the mobile terminal. Processor 710 may include one or more processing units; preferably, the processor 710 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 processor 710.
The mobile terminal 700 may also include a power supply 711 (e.g., a battery) for powering the various components, and the power supply 711 may be logically coupled to the processor 710 via a power management system that may enable managing charging, discharging, and power consumption by the power management system.
In addition, the mobile terminal 700 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement each process of the above message prompting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned message prompting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 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 method 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.
Claims (6)
1. A message prompting method is applied to a mobile terminal, and comprises the following steps:
receiving a message, and acquiring priority information of a sender of the message;
determining a prompt mode corresponding to the message according to the priority information and the use scene of the mobile terminal;
prompting the message to the user according to the prompting mode;
the step of determining the prompting mode corresponding to the message according to the priority information and the use scene of the mobile terminal comprises the following steps:
acquiring the corresponding relation among the pre-stored contact priority, the use scene and the prompt mode;
determining a prompt mode corresponding to the message according to the corresponding relation, the priority information and the use scene of the mobile terminal;
the step of acquiring the priority information of the sender of the message comprises:
acquiring a message importance priority list;
acquiring priority information corresponding to a sender of the message from the message importance priority list;
the message importance priority list comprises priorities corresponding to one or more contacts;
the step of obtaining the message importance priority list comprises:
acquiring labels and contact frequency corresponding to one or more contacts; the tag is used for indicating the social relationship between the contact and a user of the mobile terminal, and the contact frequency is the contact frequency between the user of the mobile terminal and the contact in a preset time period;
determining the value of the affinity and sparseness parameter M corresponding to the label according to the social relationship indicated by the label;
determining the value of the message importance parameter W corresponding to the contact person through the following formula:
W=M*x+N*y;
wherein M is the affinity and sparseness parameter, N is the contact frequency, x is the weight value of the affinity and sparseness parameter, and y is the weight value of the contact frequency;
determining the priority corresponding to the contact according to the value of the message importance parameter W corresponding to the contact and the threshold values of the message importance parameter W corresponding to a plurality of preset priorities respectively;
and generating the message importance priority list according to the priority corresponding to the contact.
2. The method according to claim 1, wherein the step of determining the prompting mode corresponding to the message according to the priority information and the usage scenario of the mobile terminal comprises:
judging whether the priority of the sender is higher than a preset priority or not according to the priority information;
and if so, determining a prompt mode corresponding to the message according to the use scene of the mobile terminal.
3. A message prompting device is characterized by being applied to a mobile terminal, and the device comprises:
the acquisition module is used for receiving the message and acquiring the priority information of the sender of the message;
a determining module, configured to determine, according to the priority information and a usage scenario of the mobile terminal, a prompt manner corresponding to the message;
the prompting module is used for prompting the message to a user according to the prompting mode;
the determining module comprises:
the first acquisition submodule is used for acquiring the corresponding relation among the pre-stored contact priority, the pre-stored use scene and the pre-stored prompt mode;
the second determining submodule is used for determining a prompting mode corresponding to the message according to the corresponding relation, the priority information and the use scene of the mobile terminal;
the acquisition module includes:
the second obtaining submodule is used for obtaining a message importance priority list;
a third obtaining sub-module, configured to obtain, from the message importance priority list, priority information corresponding to a sender of the message;
the message importance priority list comprises priorities corresponding to one or more contacts;
the second acquisition sub-module includes:
the acquiring unit is used for acquiring labels and contact frequencies corresponding to one or more contacts; the tag is used for indicating the social relationship between the contact and a user of the mobile terminal, and the contact frequency is the contact frequency between the user of the mobile terminal and the contact in a preset time period;
the determining unit is used for determining the priority corresponding to the contact person according to the label and the contact frequency corresponding to the contact person;
the generating unit is used for generating the message importance priority list according to the priority corresponding to the contact;
the determination unit includes:
the first determining subunit is configured to determine, according to the social relationship indicated by the tag, a value of the affinity and sparseness parameter M corresponding to the tag;
a second determining subunit, configured to determine a value of the message importance parameter W corresponding to the contact according to the following formula:
W=M*x+N*y;
wherein M is the affinity and sparseness parameter, N is the contact frequency, x is the weight value of the affinity and sparseness parameter, and y is the weight value of the contact frequency;
and the third determining subunit is configured to determine the priority corresponding to the contact according to the value of the message importance parameter W corresponding to the contact and threshold values of the message importance parameters W corresponding to the preset multiple priorities.
4. The apparatus of claim 3, wherein the determining module comprises:
the judging submodule is used for judging whether the priority of the sender is higher than the preset priority or not according to the priority information;
the first determining submodule is used for determining a prompting mode corresponding to the message according to the use scene of the mobile terminal if the message is in the use scene;
wherein, the message importance priority list comprises the corresponding priority of one or more contacts.
5. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the message alert method according to any of claims 1 to 2.
6. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the message prompting method according to any one of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711293809.8A CN107835495B (en) | 2017-12-08 | 2017-12-08 | Message prompting method and device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711293809.8A CN107835495B (en) | 2017-12-08 | 2017-12-08 | Message prompting method and device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107835495A CN107835495A (en) | 2018-03-23 |
CN107835495B true CN107835495B (en) | 2021-03-02 |
Family
ID=61642090
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711293809.8A Active CN107835495B (en) | 2017-12-08 | 2017-12-08 | Message prompting method and device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107835495B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108664338A (en) * | 2018-03-30 | 2018-10-16 | 努比亚技术有限公司 | Scene of game message treatment method, mobile terminal and readable storage medium storing program for executing |
CN108600824A (en) * | 2018-04-28 | 2018-09-28 | 维沃移动通信有限公司 | A kind of record screen method and terminal device |
CN110955471B (en) * | 2018-09-26 | 2023-08-22 | Oppo广东移动通信有限公司 | Notification message display method, notification message display device, terminal and storage medium |
CN110225185B (en) * | 2019-05-13 | 2021-01-08 | 维沃移动通信有限公司 | Message text processing method and terminal equipment |
CN115190098B (en) * | 2022-07-11 | 2024-06-04 | 中国银行股份有限公司 | Dynamic message reminding method and system, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100445A (en) * | 2015-06-29 | 2015-11-25 | 小米科技有限责任公司 | Message reminding method and device, and terminal |
CN105306736A (en) * | 2015-11-27 | 2016-02-03 | 努比亚技术有限公司 | Message reminding mobile terminal and message reminding method |
CN106657571A (en) * | 2016-09-18 | 2017-05-10 | 珠海格力电器股份有限公司 | Method for controlling reminding mode in mobile terminal and mobile terminal |
CN106708524A (en) * | 2016-12-27 | 2017-05-24 | 宇龙计算机通信科技(深圳)有限公司 | Application message display method, application message display device and terminal |
CN106790990A (en) * | 2016-11-11 | 2017-05-31 | 乐视控股(北京)有限公司 | Message prompt method, device and electronic equipment |
-
2017
- 2017-12-08 CN CN201711293809.8A patent/CN107835495B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100445A (en) * | 2015-06-29 | 2015-11-25 | 小米科技有限责任公司 | Message reminding method and device, and terminal |
CN105306736A (en) * | 2015-11-27 | 2016-02-03 | 努比亚技术有限公司 | Message reminding mobile terminal and message reminding method |
CN106657571A (en) * | 2016-09-18 | 2017-05-10 | 珠海格力电器股份有限公司 | Method for controlling reminding mode in mobile terminal and mobile terminal |
CN106790990A (en) * | 2016-11-11 | 2017-05-31 | 乐视控股(北京)有限公司 | Message prompt method, device and electronic equipment |
CN106708524A (en) * | 2016-12-27 | 2017-05-24 | 宇龙计算机通信科技(深圳)有限公司 | Application message display method, application message display device and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107835495A (en) | 2018-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107734175B (en) | Notification message prompting method and mobile terminal | |
CN107835495B (en) | Message prompting method and device and mobile terminal | |
CN108279948B (en) | Application program starting method and mobile terminal | |
CN108391008B (en) | Message reminding method and mobile terminal | |
CN107743178B (en) | Message playing method and mobile terminal | |
CN109639863B (en) | Voice processing method and device | |
CN107734170B (en) | Notification message processing method, mobile terminal and wearable device | |
CN110012143B (en) | Telephone receiver control method and terminal | |
CN110191426B (en) | Information sharing method and terminal | |
CN108009031B (en) | Application program control method and mobile terminal | |
CN111464428A (en) | Audio processing method, server, electronic device, and computer-readable storage medium | |
CN111107223B (en) | Message processing method and electronic equipment | |
CN108062195A (en) | The reminding method and mobile terminal of a kind of notification event | |
CN109982273B (en) | Information reply method and mobile terminal | |
CN109729220B (en) | User state pushing method and mobile terminal | |
CN110784394A (en) | Prompting method and electronic equipment | |
CN108307048B (en) | Message output method and device and mobile terminal | |
CN108093119B (en) | Strange incoming call number marking method and mobile terminal | |
CN108366167B (en) | Message reminding method and mobile terminal | |
CN109660657B (en) | Application program control method and device | |
CN110516515B (en) | Unlocking method and mobile terminal | |
CN108234745B (en) | Signal receiving method, mobile terminal and computer readable storage medium | |
CN108089799A (en) | The control method and mobile terminal of a kind of screen side control | |
CN110210197B (en) | Screen sensitivity adjusting method and mobile terminal | |
CN107864294B (en) | Do not disturb mode starting method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |