CN109274814A - A kind of message prompt method, device and terminal device - Google Patents

A kind of message prompt method, device and terminal device Download PDF

Info

Publication number
CN109274814A
CN109274814A CN201810948275.6A CN201810948275A CN109274814A CN 109274814 A CN109274814 A CN 109274814A CN 201810948275 A CN201810948275 A CN 201810948275A CN 109274814 A CN109274814 A CN 109274814A
Authority
CN
China
Prior art keywords
message
item
prompting mode
prompt
receives
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.)
Granted
Application number
CN201810948275.6A
Other languages
Chinese (zh)
Other versions
CN109274814B (en
Inventor
唐俊坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810948275.6A priority Critical patent/CN109274814B/en
Publication of CN109274814A publication Critical patent/CN109274814A/en
Application granted granted Critical
Publication of CN109274814B publication Critical patent/CN109274814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/253Grammatical analysis; Style critique
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of message prompt method, device and terminal devices.The described method includes: obtaining the preceding N item nearest apart from current time that the destination application issues when destination application receives unread message and sending message and the received preceding M item reception message nearest apart from current time;Wherein, N and M is the positive integer more than or equal to 1;Message is sent to the preceding N item and the preceding M item receives message and carries out syntactic analysis;The determining and matched prompting mode of syntactic analysis result;The unread message is prompted according to the prompting mode.The unread message that the present invention can check user and be not concerned with to avoid a large amount of energy of user effort, saves the time of user, further increases the usage experience of user.

Description

A kind of message prompt method, device and terminal device
Technical field
The present invention relates to mobile communication technology fields, more particularly to a kind of message prompt method, device and terminal device.
Background technique
With the development of communication technology, the application program installed in terminal device is more and more abundant, such as game application journey Sequence, video application, social application program, messaging application etc..Different application programs provides different functions, for Family provides good experience.
Current various communication softwares emerge one after another, and the multi-media communications such as information picture video are gradually improved, and user receives Information it is more and more.In the epoch of this information explosion, user needs that a large amount of energy is spent to go to check that resolution oneself may And the information being not concerned with, user time is greatly wasted, the usage experience of user is reduced.
Summary of the invention
The embodiment of the present invention provides a kind of message prompt method, device and terminal device, to solve user in the prior art The mode significant wastage user time for checking message, causes the problem that user experience is poor.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to terminal device, comprising: in mesh the embodiment of the invention provides a kind of message prompt method When mark application program receives unread message, the preceding N item nearest apart from current time that the destination application issues is obtained It sends message and the received preceding M item nearest apart from current time receives message;Wherein, N and M is just whole more than or equal to 1 Number;Message is sent to the preceding N item and preceding M item receives message and carries out syntactic analysis;It determines and syntactic analysis result is matched mentions Show mode;The unread message is prompted according to the prompting mode.
Second aspect, the embodiment of the invention also provides a kind of message notifying devices, comprising: message capturing module is sent, For when destination application receives unread message, obtaining the nearest apart from current time of the destination application sending Preceding N item send message and the received preceding M item nearest apart from current time receives message;Wherein, N and M is more than or equal to 1 Positive integer;Syntax Analysis Module, for sending message and the preceding M item reception message progress syntactic analysis to the preceding N item; Prompting mode determining module, for the determining and matched prompting mode of syntactic analysis result;Message notifying module, for according to institute Prompting mode is stated to prompt the unread message.
The third aspect processor, memory and is stored in the storage the embodiment of the invention provides a kind of terminal device On device and the computer program that can run on the processor, realized such as when the computer program is executed by the processor The step of message prompt method described in any of the above embodiments.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, the computer program realizes message as described in any one of the above embodiments when being executed by processor The step of reminding method.
In embodiments of the present invention, by obtaining destination application when destination application receives unread message The preceding N item nearest apart from current time issued sends message and the received preceding M item reception nearest apart from current time disappears Breath, wherein N and M is the positive integer more than or equal to 1, sends message to preceding N item and preceding M item receives message and carries out syntactic analysis, and The determining and matched prompting mode of syntactic analysis result, and then unread message is prompted according to prompting mode, it can be based on The preceding N item nearest apart from current time that destination application issues sends message and received nearest apart from current time Preceding M item receives the syntactic analysis of message as a result, prompting according to the matched prompt of syntactic analysis result unread message, thus The unread message that can be checked user to avoid a large amount of energy of user effort and be not concerned with, saves the time of user, further Increase the usage experience of user.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of message prompt method provided in an embodiment of the present invention;
Fig. 2 is a kind of step flow chart of message prompt method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of message notifying device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of message notifying device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural block diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of step flow chart of message prompt method provided by the invention, the message prompt method are shown It can be applied to terminal device, can specifically include following steps:
Step 101: when destination application receives unread message, obtaining the distance that the destination application issues The nearest preceding N item of current time sends message and the received preceding M item nearest apart from current time receives message.
In embodiments of the present invention, terminal device can be the mobile electronic devices such as mobile phone, PAD, laptop.
Destination application is the application program that function of receiving and sending messages is installed, had in terminal device equipment, for example, hand The application programs such as the wechat, the QQ that are installed in machine.
Current time refers to corresponding time when destination application receives unread message, for example, destination application A connects The time for receiving unread message is 12:10, then current time is 12:10.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as to sole limitation of the invention.
Open interface is previously provided in terminal device equipment, when destination application receives unread message, It can be disappeared by calling interface built-in in equipment to obtain the preceding N item nearest apart from current time that destination application issues It ceases, also the received preceding M message nearest apart from current time of available destination application, wherein N and M can be big In 1 positive integer being equal to, for example, 1,3,4 etc., it can be the last item or several last of destination application sending Information, the embodiments of the present invention are not limited thereto.
Certainly, the size of N and M can be equal, can also be unequal, and the embodiments of the present invention are not limited thereto.
The preceding N item nearest apart from current time for getting destination application sending send message and it is received away from After the preceding M item nearest from current time receives message, step 102 is executed.
Step 102: message being sent to the preceding N item and the preceding M item receives message and carries out syntactic analysis.
It, can be to preceding N item after obtaining the preceding N item that destination application issues and sending message and preceding M item reception message It sends message and preceding M item receives message and carries out syntactic analysis.
Syntactic analysis in the embodiment of the present invention can be the sentence language to preceding N item transmission message and preceding M item reception message Gas type is analyzed, for example, the sentences tone type such as question sentence, exclamative sentence.
Usual question sentence is the urgent message for obtaining and replying, in the present invention it is possible to which question sentence is divided into following several types:
Do 1, special question, with regard to some aspect statement into question, such as where you travel this year?
2, confirmative question, for example, you do not know company's today power-off maintenance?
Does 3, general question do the question sentence of yes or no answer, such as your year-end summary in this year has been finished writing?
It whether there is the strong vocabulary for waiting and replying the tone, example in message it is, of course, also possible to analyze to send message and receive Such as lose no time, as soon as possible, anxious anxious, the relative words for waiting expressions eager can also be and be added to certain special punctuation marks, Such as!!!,? be usually very urgent problem etc. Deng the punctuate for repeating superposition, specifically, will in following embodiments two into Row detailed description, is not repeated here herein.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as to sole limitation of the invention.
After sending message and the reception message progress syntactic analysis of preceding M item to preceding N item, step 103 is executed.
Step 103: the determining and matched prompting mode of syntactic analysis result.
It is previously provided in systems for each matched prompting mode of syntactic analysis result, for example, being set in advance in system It is equipped with prompting mode A, B, C, corresponds respectively to syntactic analysis result a, b, c, is disappeared to preceding N item transmission message and the reception of preceding M item After breath carries out syntactic analysis, when obtained syntactic analysis result is b, then the matched prompt side of syntactic analysis result can be determined Formula B.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as to sole limitation of the invention.
After the determining and matched prompting mode of syntactic analysis result, step 104 is executed.
Step 104: the unread message being prompted according to the prompting mode.
It, can be according to determining prompting mode to the received unread message of destination application after determining prompting mode It is prompted, for example, the screen that goes out also prompts, triggers bright screen or breath screen display;Or only increases message and do not read word and do not play message and mention Show etc., specifically, it will be described in detail in following embodiments two, be not repeated here herein.
Message prompt method provided in an embodiment of the present invention, by obtaining when destination application receives unread message The preceding N item nearest apart from current time for taking destination application to issue sends message and received nearest apart from current time Preceding M item receive message, wherein N and M is positive integer more than or equal to 1, message sent to preceding N item and preceding M item receive message into Row syntactic analysis, and the determining and matched prompting mode of syntactic analysis result, and then unread message is carried out according to prompting mode Prompt, the preceding N item nearest apart from current time that can be issued based on destination application sends message and received distance is worked as The preceding M item of preceding time recently receives the syntactic analysis of message as a result, according to the matched prompt of syntactic analysis result to unread message It is prompted, so as to the unread message for avoiding a large amount of energy of user effort from checking user and be not concerned with, saves user Time, further increase the usage experience of user.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of message prompt method provided by the invention, the message prompt method are shown It can be applied to terminal device, can specifically include following steps:
Step 201: when destination application receives unread message, obtaining the distance that the destination application issues The nearest preceding N item of current time sends message and the received preceding M item nearest apart from current time receives message.
In embodiments of the present invention, terminal device can be the mobile electronic devices such as mobile phone, PAD, laptop.
Destination application is the application program that function of receiving and sending messages is installed, had in terminal device equipment, for example, hand The application programs such as the wechat, the QQ that are installed in machine.
Current time refers to corresponding time when destination application receives unread message, for example, destination application A connects The time for receiving unread message is 13:15, then current time is 13:15.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as to sole limitation of the invention.
Open interface is previously provided in terminal device equipment, when destination application receives unread message, It can be disappeared by calling interface built-in in equipment to obtain the preceding N item nearest apart from current time that destination application issues Breath and the received preceding M message nearest apart from current time of destination application, wherein N and M can for more than or equal to 1 Positive integer, for example, 2,3,5 etc., can be destination application sending the last item or last several information, this hair Bright embodiment is without restriction to this.
Certainly, the size of N and M value can be equal, can also be unequal, and the embodiment of the present invention is also without restriction to this.
The preceding N item nearest apart from current time for getting destination application sending send message and it is received away from After the preceding M item nearest from current time receives message, step 202 is executed.
Step 202: the sentence tone type for sending message and the preceding M item reception message to the preceding N item is analyzed, Message is sent with the determination preceding N item and the preceding M item receives the corresponding sentence tone type of message.
It, can be right after obtaining the preceding N item that destination application issues and sending message and received preceding M item reception message Preceding N item sends message and preceding M item receives the analysis that message carries out sentence tone type.
In a preferred embodiment of an embodiment of the present invention, above-mentioned steps 202 can also include:
Sub-step S1: sending message according to the preceding N item and the preceding M item receive the punctuation mark of message, keyword and The analysis of sentence structure progress sentence tone type.
In embodiments of the present invention, sentence tone type can be such as the sentences tone type such as question sentence, exclamative sentence.
Can be sent by preceding N item message and preceding M item receive the punctuation mark of message end or preceding N item send message and Preceding M item receives the keyword in message or preceding N item sends message and preceding M item receives message sentence structure and sends message to preceding N item The sentence tone type for receiving message with preceding M item is analyzed.
For example, send message and receive the punctuation mark of message end, such as "? ", "??? " etc., or send message and The eager relative words of expressions such as " lose no time, as soon as possible, anxious anxious anxious ... " for including in message are received, or send message and reception The punctuate of the repetition superposition of message, such as such as!!!,? Deng the punctuation mark etc. for repeating superposition.
Usual question sentence is the urgent message for obtaining and replying, in the present invention it is possible to which question sentence is divided into following several types:
Do 1, special question, with regard to some aspect statement into question, such as where you travel this year?
2, confirmative question, for example, you do not know company's today power-off maintenance?
Does 3, general question do the question sentence of yes or no answer, such as your year-end summary in this year has been finished writing?
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as to sole limitation of the invention.
Step 203: sending message according to the preceding N item and the preceding M item receives the corresponding sentence tone class of message Type determines the prompt priority of the unread message.
In embodiments of the present invention, each syntactic type can be preset and prompt the corresponding relationship of priority, such as asked It is the highly desirable reply of A class that sentence, which reinforces the strong tone, and question sentence is the more desirable reply of B analogy without the tone, is only C class with the strong tone It may want to reply, be that D class priority is minimum without any tone or question sentence rule, different destination applications can be set Fixed different grade screening is to realize that differentiation is experienced, and the embodiments of the present invention are not limited thereto.
It, can foundation after N item sends message and the corresponding sentence tone type of preceding M item reception message before determining The corresponding relationship of sentence tone type and prompt priority, it is corresponding to receive message for N item transmission message and preceding M item before determining Sentence tone type, and then the corresponding weight of sentence tone type that each item sends message and each item receives message can be calculated, To calculate total weight, and then the prompt priority of unread message is determined according to total weight, for example, total power can be preset The corresponding relationship of weight and prompt priority, such as: 1-A, 0.5-B, 0.6-C etc. (A, B, C indicate prompt priority) receive message pair The weight answered is 0.1, and two corresponding weights of transmission message are respectively 0.2 and 0.3, then receives message and two send message Total weight is 0.6, then can determine that the prompt priority of unread message is C.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating Example, not as to sole limitation of the invention.
Step 204: the prompt of the unread message is determined according to the mapping relations of the prompt priority and prompting mode Mode.
In systems, the mapping relations of prompt priority and prompting mode can also be preset, for example, such as following table 1 It is shown:
Table 1
Prompt priority Prompting mode
A e
B f
C h
As shown in Table 1 above, there are mapping relations by prompt priority A and prompting mode e, prompt priority B and prompt side There are mapping relations by formula f, and prompting priority C, there are mapping relations etc. with prompting mode h.
Certainly, in practical applications, database can also be set in systems, with storage prompt priority and prompting mode Mapping relations, the present invention is without restriction to this.
After determining the prompt priority of unread message, it can be closed according to the mapping of prompt priority and prompting mode System, determines the prompting mode of unread message.
After determining the prompting mode of unread message, step 205 is executed.
Step 205: obtaining and the matched prompt effect of the prompting mode.
In embodiments of the present invention, a variety of prompt effects can also be preset, such as highlighted unread message commonly is not read to disappear The prompt effects such as the message that breath, dark-coloured or different lightness reduce.
In systems, the corresponding relationship that different prompting mode and prompt effect can also be preset, for example, prompt side Formula A corresponds to prompt effect 1, and prompting mode B, which corresponds to, prompts lower effect 2 etc..
After determining the prompting mode of unread message, it can be obtained according to the corresponding relationship of prompting mode and prompt effect Take the corresponding prompt effect of the prompting mode of unread message.
It is obtaining with after the matched prompt effect of prompting mode, is executing step 206.
Step 206: the unread message being prompted according to the prompting mode and the prompt effect.
It, can be according to prompting mode and prompt effect to not after the prompting mode and prompt effect for determining unread message Message is read correspondingly to be prompted.
Prompting mode can have:
1, the screen that goes out also prompts, and triggers bright screen or breath screen display;
2, screen state of going out does not prompt, and bright screen prompt does not trigger bright screen;
3, unlocked state display reminding;
4, only increase message not reading word and do not play message notifying, such as 3 are not read or 5 are not read etc..
Prompt effect can have:
A, unread message is highlighted, for example, simultaneously can be with the customized animation of software;
B, common unread message, for example, red classical unread message color;
C, the message that dead color or different lightness reduce.
In embodiments of the present invention, in conjunction with prompting mode and effect can be prompted to carry out the prompt of unread message, for example, touching Shinny screen or breath screen display, while being prompted with the customized animation of software or bright screen, while not read with red classics Message color etc..
Message prompt method provided in an embodiment of the present invention, except being had with message prompt method shown in embodiment one Outside some beneficial effects, the prompt effect for corresponding to prompting mode can also be obtained according to prompting mode, according to prompting mode and Prompt effect prompts unread message, so as to guarantee that the unread message for paying close attention to user is prompted to use in time Family improves user experience.
Embodiment three
Referring to Fig. 3, the structural schematic diagram of message notifying device provided in an embodiment of the present invention, message notifying dress are shown It sets and may include:
Message capturing module 310 is sent, is answered for when destination application receives unread message, obtaining the target Message is sent with the preceding N item nearest apart from current time that program issues and the received preceding M item nearest apart from current time connects Receive message;Wherein, N and M is the positive integer more than or equal to 1;Syntax Analysis Module 320, for the preceding N item send message and The preceding M item receives message and carries out syntactic analysis;Prompting mode determining module 330 is matched for determination with syntactic analysis result Prompting mode;Message notifying module 340, for prompting according to the prompting mode the unread message.
Message notifying device provided in an embodiment of the present invention, by obtaining when destination application receives unread message The preceding N item nearest apart from current time for taking destination application to issue sends message and received preceding M item receives message, In, N and M are the positive integer more than or equal to 1, send message to preceding N item and preceding M item receives message and carries out syntactic analysis, and determine With the matched prompting mode of syntactic analysis result, and then unread message is prompted according to prompting mode, target can be based on The preceding N item nearest apart from current time that application program issues sends message and the received preceding M item nearest apart from current time Receive message syntactic analysis as a result, according to syntactic analysis result it is matched prompt unread message is prompted, so as to The unread message for avoiding a large amount of energy of user effort from checking user and be not concerned with, saves the time of user, further increases The usage experience of user.
Example IV
Referring to Fig. 4, the structural schematic diagram of message notifying device provided in an embodiment of the present invention, message notifying dress are shown It sets and may include:
Message capturing module 410 is sent, is answered for when destination application receives unread message, obtaining the target Message is sent with the preceding N item nearest apart from current time that program issues and the received preceding M item nearest apart from current time connects Receive message;Wherein, N and M is the positive integer more than or equal to 1;Syntax Analysis Module 420, for the preceding N item send message and The preceding M item receives message and carries out syntactic analysis;Prompting mode determining module 430 is matched for determination with syntactic analysis result Prompting mode;Effect is prompted to obtain module 440, for obtaining and the matched prompt effect of the prompting mode;Message notifying Module 450, for prompting according to the prompting mode the unread message.
Preferably, the syntax Analysis Module 420 includes: the first tone type analysis submodule 4201, for described Preceding N item sends message and the sentence tone type of the preceding M item reception message is analyzed, and is disappeared with the determination preceding N item transmission Breath and the corresponding sentence tone type of preceding M item reception message.
Preferably, first tone type analysis submodule 4201 includes: the second tone type analysis submodule, is used for Message is sent according to the preceding N item and the preceding M item receives punctuation mark, keyword and sentence structure the progress sentence language of message The analysis of gas type.
Preferably, the prompting mode determining module 430 includes: that prompt priority determines submodule 4301, is used for foundation The preceding N item sends message and the preceding M item receives the corresponding sentence tone type of message, determines the unread message Prompt priority;Prompting mode determines submodule 4302, for the mapping relations according to the prompt priority and prompting mode Determine the prompting mode of the unread message.
Preferably, the message notifying module 450 includes: message notifying submodule 4501, for according to the prompt side Formula and the prompt effect prompt the unread message.
Message notifying device provided in an embodiment of the present invention, except being had with message notifying device shown in embodiment one Outside some beneficial effects, the prompt effect for corresponding to prompting mode can also be obtained according to prompting mode, according to prompting mode and Prompt effect prompts unread message, so as to guarantee that the unread message for paying close attention to user is prompted to use in time Family improves user experience.
Embodiment five
Referring to Fig. 5, the hardware structural diagram of a kind of mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 510 is issued for when destination application receives unread message, obtaining the destination application The preceding N item nearest apart from current time send message and the received preceding M item nearest apart from current time receives message;Its In, N and M are the positive integer more than or equal to 1;Message is sent to the preceding N item and the preceding M item receives message and carries out grammer point Analysis;The determining and matched prompting mode of syntactic analysis result;The unread message is prompted according to the prompting mode.
In embodiments of the present invention, by obtaining destination application when destination application receives unread message The preceding N item nearest apart from current time issued sends message and the received preceding M item reception nearest apart from current time disappears Breath, wherein N and M is the positive integer more than or equal to 1, sends message to preceding N item and preceding M item receives message and carries out syntactic analysis, and The determining and matched prompting mode of syntactic analysis result, and then unread message is prompted according to prompting mode, it can be based on The preceding N item nearest apart from current time that destination application issues sends message and received nearest apart from current time Preceding M item receives the syntactic analysis of message as a result, prompting according to the matched prompt of syntactic analysis result unread message, thus It avoids a large amount of energy of user effort and checks unread message, save the time of user, further increase the use of user Experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned message prompt method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned message prompt method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (12)

1. a kind of message prompt method is applied to terminal device characterized by comprising
When destination application receives unread message, the nearest apart from current time of the destination application sending is obtained Preceding N item send message and the received preceding M item nearest apart from current time receives message;Wherein, N and M is more than or equal to 1 Positive integer;
Message is sent to the preceding N item and the preceding M item receives message and carries out syntactic analysis;
The determining and matched prompting mode of syntactic analysis result;
The unread message is prompted according to the prompting mode.
2. the method according to claim 1, wherein described connect the preceding N item transmission message and the preceding M item Receive the step of message carries out syntactic analysis, comprising:
Message sent to the preceding N item and sentence tone type that the preceding M item receives message is analyzed, with determination it is described before N item sends message and the preceding M item receives the corresponding sentence tone type of message.
3. according to the method described in claim 2, it is characterized in that, described connect the preceding N item transmission message and the preceding M item The step of sentence tone type of receipts message is analyzed, comprising:
Message is sent according to the preceding N item and the preceding M item receives punctuation mark, keyword and sentence structure the progress sentence of message The analysis of sub- tone type.
4. according to the method described in claim 2, it is characterized in that, the determination and the matched prompting mode of syntactic analysis result The step of, comprising:
Message is sent according to the preceding N item and the preceding M item receives the corresponding sentence tone type of message, and determination is described not Read the prompt priority of message;
According to the mapping relations of the prompt priority and prompting mode, the prompting mode of the unread message is determined.
5. the method according to claim 1, wherein in the determination and the matched prompt side of syntactic analysis result After the step of formula, further includes:
It obtains and the matched prompt effect of the prompting mode;
The described the step of unread message is prompted according to the prompting mode, comprising:
According to the prompting mode and the prompt effect, the unread message is prompted.
6. a kind of message notifying device characterized by comprising
Message capturing module is sent, for obtaining the destination application when destination application receives unread message The preceding N item nearest apart from current time issued sends message, and the received preceding M item nearest apart from current time receives message; Wherein, N and M is the positive integer more than or equal to 1;
Syntax Analysis Module, for sending message and the reception message progress syntactic analysis of preceding M item to the preceding N item;
Prompting mode determining module, for the determining and matched prompting mode of syntactic analysis result;
Message notifying module, for prompting according to the prompting mode the unread message.
7. device according to claim 6, which is characterized in that the syntax Analysis Module includes:
First tone type analysis submodule, for sending the sentence tone class of message and preceding M item reception message to the preceding N item Type is analyzed, and sends message with the determination preceding N item and the preceding M item receives the corresponding sentence tone type of message.
8. device according to claim 7, which is characterized in that first tone type analysis submodule includes:
Second tone type analysis submodule, for sending the punctuate of message and the preceding M item reception message according to the preceding N item Symbol, keyword and sentence structure carry out the analysis of sentence tone type.
9. device according to claim 7, which is characterized in that the prompting mode determining module includes:
Prompt priority determines submodule, respectively corresponds for receiving information according to the preceding N item transmission message and the preceding M item Sentence tone type, determine the prompt priority of the unread message;
Prompting mode determines submodule, for not reading described in the mapping relations determination according to the prompt priority and prompting mode The prompting mode of message.
10. device according to claim 6, which is characterized in that further include:
Effect is prompted to obtain module, for obtaining and the matched prompt effect of the prompting mode;
The message notifying module includes:
Message notifying submodule, for prompting according to the prompting mode and the prompt effect the unread message.
11. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in message prompt method the step of.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the message prompt method as described in any one of claims 1 to 5 is realized when the computer program is executed by processor Step.
CN201810948275.6A 2018-08-20 2018-08-20 Message prompting method and device and terminal equipment Active CN109274814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810948275.6A CN109274814B (en) 2018-08-20 2018-08-20 Message prompting method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810948275.6A CN109274814B (en) 2018-08-20 2018-08-20 Message prompting method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN109274814A true CN109274814A (en) 2019-01-25
CN109274814B CN109274814B (en) 2020-10-23

Family

ID=65154192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810948275.6A Active CN109274814B (en) 2018-08-20 2018-08-20 Message prompting method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN109274814B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225185A (en) * 2019-05-13 2019-09-10 维沃移动通信有限公司 A kind of processing method and terminal device of Message-text
CN112908335A (en) * 2021-01-27 2021-06-04 维沃移动通信有限公司 Voice communication auxiliary method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150312401A1 (en) * 2014-04-28 2015-10-29 Samsung Electronics Co., Ltd. Apparatus and method for managing conversational contents with contacts in a terminal
CN105933215A (en) * 2016-07-09 2016-09-07 东莞市华睿电子科技有限公司 Chat message withdraw control method based on instant messaging
CN106095440A (en) * 2016-06-13 2016-11-09 浙江翼信科技有限公司 A kind of method and apparatus presenting message
CN106713117A (en) * 2016-11-29 2017-05-24 维沃移动通信有限公司 Group message display method and mobile terminal
CN106897290A (en) * 2015-12-17 2017-06-27 中国移动通信集团上海有限公司 A kind of method and device for setting up keyword models
CN107368476A (en) * 2017-07-25 2017-11-21 深圳市腾讯计算机系统有限公司 The method and relevant apparatus that a kind of method of translation, target information determine
CN107786416A (en) * 2016-08-25 2018-03-09 腾讯科技(深圳)有限公司 Information processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150312401A1 (en) * 2014-04-28 2015-10-29 Samsung Electronics Co., Ltd. Apparatus and method for managing conversational contents with contacts in a terminal
CN106897290A (en) * 2015-12-17 2017-06-27 中国移动通信集团上海有限公司 A kind of method and device for setting up keyword models
CN106095440A (en) * 2016-06-13 2016-11-09 浙江翼信科技有限公司 A kind of method and apparatus presenting message
CN105933215A (en) * 2016-07-09 2016-09-07 东莞市华睿电子科技有限公司 Chat message withdraw control method based on instant messaging
CN107786416A (en) * 2016-08-25 2018-03-09 腾讯科技(深圳)有限公司 Information processing method and device
CN106713117A (en) * 2016-11-29 2017-05-24 维沃移动通信有限公司 Group message display method and mobile terminal
CN107368476A (en) * 2017-07-25 2017-11-21 深圳市腾讯计算机系统有限公司 The method and relevant apparatus that a kind of method of translation, target information determine

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225185A (en) * 2019-05-13 2019-09-10 维沃移动通信有限公司 A kind of processing method and terminal device of Message-text
CN110225185B (en) * 2019-05-13 2021-01-08 维沃移动通信有限公司 Message text processing method and terminal equipment
CN112908335A (en) * 2021-01-27 2021-06-04 维沃移动通信有限公司 Voice communication auxiliary method and device and electronic equipment
CN112908335B (en) * 2021-01-27 2024-04-23 维沃移动通信有限公司 Voice communication auxiliary method and device and electronic equipment

Also Published As

Publication number Publication date
CN109274814B (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN109960813A (en) A kind of interpretation method, mobile terminal and computer readable storage medium
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN109857494A (en) A kind of message prompt method and terminal device
CN109862504A (en) A kind of display methods and terminal device
CN109412932A (en) A kind of screenshotss method and terminal
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN108809806A (en) instant communication method and mobile terminal
CN108075966A (en) A kind of message treatment method and mobile terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
CN110149628A (en) A kind of information processing method and terminal device
CN109379700A (en) Localization method and mobile terminal
CN109949809A (en) A kind of sound control method and terminal device
CN110138963A (en) A kind of message treatment method and mobile terminal
CN109274814A (en) A kind of message prompt method, device and terminal device
CN110012151A (en) A kind of information display method and terminal device
CN109286726A (en) A kind of content display method and terminal device
CN109063076A (en) A kind of Picture Generation Method and mobile terminal
CN108632465A (en) A kind of method and mobile terminal of voice input
CN109218984A (en) A kind of method for tracing and mobile terminal
CN107704334A (en) A kind of SDK processing method and mobile terminal
CN109714462A (en) A kind of labeling method and its mobile terminal of telephone number
CN109800097A (en) Notification message based reminding method, storage medium and mobile terminal
CN109246308A (en) A kind of method of speech processing and terminal device
CN109166164A (en) A kind of generation method and terminal of expression picture
CN108829303A (en) A kind of information processing method, device 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