CN110191227A - Message prompt method and mobile terminal - Google Patents

Message prompt method and mobile terminal Download PDF

Info

Publication number
CN110191227A
CN110191227A CN201910417257.XA CN201910417257A CN110191227A CN 110191227 A CN110191227 A CN 110191227A CN 201910417257 A CN201910417257 A CN 201910417257A CN 110191227 A CN110191227 A CN 110191227A
Authority
CN
China
Prior art keywords
music
pattern
music pattern
message
mobile terminal
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.)
Pending
Application number
CN201910417257.XA
Other languages
Chinese (zh)
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 CN201910417257.XA priority Critical patent/CN110191227A/en
Publication of CN110191227A publication Critical patent/CN110191227A/en
Pending legal-status Critical Current

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/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • 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
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of message prompt method and mobile terminals, inflexible in a manner of the prompting message solved the problems, such as in the related technology.This method comprises: monitoring the state of target application;If listening to target application is in music state, judge whether to meet music pattern trigger condition;If meeting music pattern trigger condition, music pattern is set by message indicating mode of the target application under music state;If target application receives message under music state, based on the corresponding application of message, the customized alerting pattern of user carries out prompting message in music mode;Wherein, different classifications in music mode is different using corresponding alerting pattern.The embodiment of the invention provides the music patterns under target application music state, and in music mode, prompting message mode can be by user's customized setting in advance, and prompting message mode is more flexible, promote user experience.

Description

Message prompt method and mobile terminal
Technical field
The present embodiments relate to field of terminal technology more particularly to a kind of message prompt method and mobile terminals.
Background technique
With the rapid development of user's improvement of living standard and mobile terminal technology, user uses mobile terminal (such as hand Machine) listen to music frequency it is also higher and higher.In general, user can listen to music while chat;In the same of browsing webpage When listen to music;Music etc. can also be listened to when mobile phone ceases and shields.
When user by music class application listen to music when, mobile phone can also continue receive other application message, also, When receiving new information user can be reminded by modes such as jingle bell, vibrations.For example, in a ringer mode, often receiving one i.e. When a communication information or short message, mobile phone can all issue the tinkle of bells prompting, meanwhile, currently playing concert can be then interrupted.
However, for a user, the new information of certain applications is not important, user is more undesirable because of both for reminding of new message And interrupt or bother the music of current music class application;Meanwhile if user setting may be missed to silent mode Some important messages.Therefore, prompting message mode in the related technology is inflexible.
Summary of the invention
The embodiment of the present invention provides a kind of message prompt method and mobile terminal, to solve prompting message in the related technology The inflexible problem of mode.
In order to solve the above-mentioned technical problem, the embodiments of the present invention are implemented as follows:
In a first aspect, providing a kind of message prompt method, comprising: monitor the state of target application;If listening to described Target application is in music state, then judges whether to meet music pattern trigger condition;If meeting the music pattern touching Clockwork spring part then sets music pattern for message indicating mode of the target application under music state;If the mesh Mark is applied and receives message under music state, then applies the user under the music pattern based on the message is corresponding Customized alerting pattern carries out prompting message;Wherein, under the music pattern, different classifications using corresponding prompting side Formula is different.
Second aspect provides a kind of mobile terminal, comprising: music status monitoring module is answered for monitoring target State;Judgment module judges whether to meet music if being in music state for listening to the target application Mode trigger condition;Music pattern setup module, if for meeting the music pattern trigger condition, by the target application Message indicating mode under music state is set as music pattern;Prompting message module, if being used for the target application Message is received under music state, then applies the user under the music pattern customized based on the message is corresponding Alerting pattern carry out prompting message;Wherein, under the music pattern, different classifications using corresponding alerting pattern not Together.
The third aspect provides a kind of mobile terminal, which includes processor, memory and be stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor The step of method as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, stores meter on the computer readable storage medium Calculation machine program, the step of method as described in relation to the first aspect is realized when the computer program is executed by processor.
The embodiment of the invention provides music pattern of the target application under music state to disappear in music mode Ceasing alerting pattern can be by user's customized setting in advance, in this way, if listening to target application starting and judging to meet sound When happy mode trigger condition, message indicating mode of the target application under music state can be set to above-mentioned music mould Formula, under the music pattern, based on the corresponding application of the message that the receives customized alerting pattern of user in music mode Prompting message is carried out, prompting message mode is more flexible, promotes user experience.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is message prompt method flow diagram provided by one embodiment of the present invention;
Fig. 2 is the music pattern set interface schematic diagram in message prompt method provided by one embodiment of the present invention;
Fig. 3 is mobile terminal structure schematic diagram provided by one embodiment of the present invention;
A kind of hardware structural diagram of Fig. 4 mobile terminal of each embodiment to realize 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.
As shown in Figure 1, one embodiment of the present of invention provides a kind of message prompt method 100, include the following steps:
S102: the state of target application is monitored;
If listening to target application is in music state, S104 is executed;
If listening to target application is not in music state, terminate process, is not in music shape at this State can be target application and have been started up, but do not play music.
Above-mentioned target application, may include can play audio music class application, radio station class application, can play it is sound The reader of novel can play video player of video etc..
It should be noted that music state mentioned above, is not only limited to playback of songs, it can also include that sound regards Frequency broadcast state etc..
Target application is run in mobile terminal, and mobile terminal includes but is not limited to mobile phone, tablet computer, at individual digital Manage device, vehicle-mounted computer, camera, music player, laptop computer or E-book reader etc..
The state that target application is monitored in the step, specifically can be the music state for monitoring target application, if mesh Mark application is in music state, for example, target application starts, and is playing audio/video, then can execute S104. If listening to target application is not in music state, process can be terminated.
S104: judge whether to meet music pattern trigger condition;
If meeting music pattern trigger condition, S106 is executed;
If being unsatisfactory for music pattern trigger condition, terminate process.
Optionally, which can be based on presetting, it is determined whether meet music pattern trigger condition.For example, user It presets after target application enters broadcast state and starts music pattern automatically, then the music pattern trigger condition at this then can be with It is that target application enters broadcast state.
Optionally, the step be also based in following several mode any one to determine whether meeting music mould Formula trigger condition:
1) whether it is pressed based on given combination key, judges whether to meet music pattern trigger condition.
In the embodiment, if given combination key is pressed, meet music pattern trigger condition;, whereas if referring to Determine combination button not pressed all, is then unsatisfactory for music pattern trigger condition.Optionally, given combination key can be shifting The volume "+" key and volume "-" key of dynamic terminal.
In the embodiment, for a user, after starting some target application, if it is desired to opening music pattern Given combination key is clicked simultaneously, at this point, mobile terminal can prompt the user whether to open music pattern with pop-up box, if user Confirmation input is selected, then opens music pattern;If user selects to cancel input or for a long time without response, is not turned on music mould Formula.
2) whether it is long pressed based on specified button, judges whether to meet music pattern trigger condition.
In the embodiment, if specified button is long pressed, meet music pattern trigger condition;, whereas if specified press Key is not long pressed, then is unsatisfactory for music pattern trigger condition.Optionally, specified button can be the broadcasting with line control earphone/ Pause key.
In the embodiment, for a user, after starting some target application, if it is desired to opening music pattern Long-pressing specified button, at this point, mobile terminal can prompt the user whether to open music pattern with pop-up box, if user selects confirmation Input, then open music pattern;If user selects to cancel input or for a long time without response, is not turned on music pattern.
3) whether preset condition is met based on sensor detection mobile terminal, judges whether to meet music pattern triggering item Part;Wherein, the target application runs on the mobile terminal.
In the embodiment, if detecting that mobile terminal meets preset condition based on sensor, meet music pattern touching Clockwork spring part;, whereas if detecting that mobile terminal is unsatisfactory for preset condition based on sensor, then music pattern triggering item is unsatisfactory for Part.Optionally, sensor can be gyroscope, acceleration transducer or sound transducer in mobile terminal etc..
In the embodiment, for a user, after starting some target application, if it is desired to opening music pattern For mobile terminal execution predetermined registration operation (for example, screen is downward), if at this point, mobile terminal meet preset condition can pop-up box It prompts the user whether to open music pattern, if user selects confirmation input, opens music pattern;If user selects to cancel Input or long-time are then not turned on music pattern without response.
Optionally, above-mentioned preset condition includes following at least one:
The screen of the mobile terminal is towards preset direction, and for a user, user can make the screen of mobile terminal Downward, towards side etc.;
The acceleration of the mobile terminal is more than preset threshold.For a user, user can get rid of one and swing one's arm machine, quickly Cell phone etc.;And
The mobile terminal receives preset voice signal, and for a user, user, which can issue, " opens music mould The sound control signal of formula " etc.
The above-mentioned multiple embodiments of the present invention, which provide various ways, can open music pattern, and user's operation is convenient, simple, just In promotion user experience.
S106: music pattern is set by message indicating mode of the target application under music state.
Message indicating mode of the target application under music state, i.e. target application are moved during music The message indicating mode of the other application run in dynamic terminal.Other application at this, including system application, for example, for connecing The call applications made a phone call, the short message application for receiving and dispatching short message etc..
Under above-mentioned music pattern, the alerting pattern of the message that the other application that runs in mobile terminal issues can by with Family customized setting in advance.
In one embodiment, user music pattern can be arranged are as follows: forbid any prompting message of other application, it should Embodiment is able to use family and enjoys the aesthetic feeling for listening to music, not will receive the sound of other application sending, vibration reminding it is dry It disturbs, promotes user experience.
In another embodiment, the application except target application can be divided into the application and second of the first classification by user The application of classification, certainly, the application of the first classification are not limited to one, can also be multiple or 0;The application of second classification It can be one or more or 0.
The application class of first classification of the application sum about the first classification, for example, being executed following after some APP starting Three conditions it is one of any, then the APP is divided into the application of the first classification;The classification method of the application of second classification can With with it is above-mentioned first classification the classification method of application it is similar, be not repeated to describe herein.
1) if APP given combination key during front stage operation is pressed, which is divided into answering for the first classification In;
2) if whether APP specified button during front stage operation is long pressed, which is divided into answering for the first classification In;Or
If 3) APP is during front stage operation, whether sensor detection mobile terminal meets preset condition, then by the APP It is divided into the application of the first classification;Wherein, the target application runs on the mobile terminal.
In the embodiment, user music pattern can be arranged are as follows: the application of the first classification is allowed to make a sound prompting, shake Dynamic prompting and/or interface prompts etc. forbid the application of the second classification to make a sound prompting, vibration reminding and/or interface prompts etc. Any prompting mode.
The embodiment can make user enjoy the aesthetic feeling for listening to music, reduce the sound issued by other application to the greatest extent The interference of sound, vibration reminding promotes user experience;Meanwhile the embodiment can also make user do not miss important message (such as The message that first classification application issues), promote user experience.
S108: judge whether target application receives message under music state;
If receiving message, S110 is executed;
If not receiving message, S108 is continuously carried out, until target application exits music state, or judgement In the case where meeting music pattern termination condition out, then music pattern can be exited, and terminate to run.It will in subsequent embodiment Music pattern termination condition is discussed in detail.
Above-mentioned message, the other application that usually runs in mobile terminal issue, for example, instant communication message, short message, coming Electricity, PUSH message of shopping class application etc..
S110: based on the corresponding application of message, the customized alerting pattern of user carries out prompting message in music mode.
Wherein, under the music pattern, different classifications it is different using corresponding alerting pattern.
The corresponding application of message, or the source application of referred to as message, that is, issue the application of message.
Optionally, the corresponding application of above-mentioned message includes the application of the first classification and the application of the second classification;Wherein, described The customized alerting pattern of user under the music pattern of applying of first classification includes allowing sound prompting, vibration reminding And/or interface prompts;The customized alerting pattern of user under the music pattern of applying of second classification includes forbidding Sound prompting, vibration reminding and/or interface prompts.
In the embodiment, different classifications is different using corresponding alerting pattern in music mode, can make user The aesthetic feeling for listening to music is enjoyed, reduces the interference of the sound, vibration reminding that are issued by other application to the greatest extent, promotes user's body It tests;Meanwhile the embodiment can also make user not miss important message (such as message of the first application sending), promote user Experience.
The embodiment of the invention provides music pattern of the target application under music state to disappear in music mode Ceasing alerting pattern can be by user's customized setting in advance, in this way, if listening to target application starting and judging to meet sound When happy mode trigger condition, message indicating mode of the target application under music state can be set to above-mentioned music mould Formula, under the music pattern, based on the corresponding application of the message that the receives customized alerting pattern of user in music mode Prompting message is carried out, prompting message mode is more flexible, promotes user experience.
There are also a kind of implementations in the prior art: if user is more undesirable because both for reminding of new message interrupts target application Music broadcasting, need every time play music before close bell mode, every time stop play music after open bell mode, Operation is more many and diverse, and the embodiment of the present invention carries out above-mentioned unlatching jingle bell without user and closes the operation of jingle bell, promotes user Experience.
Optionally, message indicating mode of the target application under music state is set sound by above-described embodiment S106 After happy mode, the method also includes:
Judge whether to meet music pattern termination condition;
If meeting the music pattern termination condition, the music pattern is exited.
Judge whether to meet music pattern termination condition in the embodiment, can be and judge whether target application exits music Broadcast state, if target application exits music state, it is determined that meet music pattern termination condition;, whereas if mesh Music state is not exited in mark application, it is determined that is unsatisfactory for music pattern termination condition.
Optionally, which can also judge whether to meet music mould by any one in following several mode Formula termination condition:
1) whether it is pressed based on given combination key, judges whether to meet music pattern termination condition.
In the embodiment, if given combination key is pressed, meet music pattern termination condition;, whereas if referring to Determine combination button not pressed all, is then unsatisfactory for music pattern termination condition.Optionally, given combination key can be shifting The volume "+" key and volume "-" key of dynamic terminal.
In the embodiment, for a user, after starting some target application, if it is desired to opening music pattern It is pressed switch to open music pattern by clicking given combination simultaneously;Subsequent user can also be moved back by clicking given combination key simultaneously Music pattern out.
2) whether it is long pressed based on specified button, judges whether to meet music pattern termination condition.
In the embodiment, if specified button is long pressed, meet music pattern termination condition;, whereas if specified press Key is not long pressed, then is unsatisfactory for music pattern termination condition.Optionally, specified button can be the broadcasting with line control earphone/ Pause key.
In the embodiment, for a user, after starting some target application, if it is desired to opening music pattern Long-pressing specified button opens music pattern;Subsequent user can also exit music pattern by long-pressing specified button.
3) whether preset condition is met based on sensor detection mobile terminal, judges whether to meet music pattern triggering item Part;Wherein, the target application runs on the mobile terminal.
In the embodiment, if detecting that mobile terminal meets preset condition based on sensor, meet music pattern touching Clockwork spring part;, whereas if detecting that mobile terminal meets preset condition based on sensor, then music pattern triggering item is unsatisfactory for Part.Optionally, sensor can be gyroscope, acceleration transducer or sound transducer in mobile terminal etc..
In the embodiment, for a user, after starting some target application, if it is desired to opening music pattern Music pattern is opened for mobile terminal execution predetermined registration operation (for example, screen is downward);Subsequent user can also be again for shifting Dynamic terminal executes above-mentioned predetermined registration operation and exits music pattern.
Based on embodiment shown in FIG. 1, as shown in Fig. 2, Fig. 2 is message prompt method provided by one embodiment of the present invention In music pattern set interface schematic diagram, the embodiment can contextual model setting in add music pattern setting options, And personal settings can be carried out to music pattern by user, it is specific as shown in Figure 2:
User can select to open or close music pattern by " whether opening music pattern " button in Fig. 2.
User can by " allow jingle bell list of application " option, select under one or more music patterns can jingle bell or The application reminded is issued, such as: incoming call, alarm clock.Certainly, user can not also select the option, i.e., under music pattern, target is answered Other application except is unable to jingle bell.
User can select the prompting message side under music pattern by " alerting pattern is arranged under music pattern " option Formula, such as: mute;Vibration;Either forbid issuing any prompting.
User can be by " target application list " option, and the target for selecting one or more to be able to carry out music pattern is answered With.
Optionally, above-mentioned target application is not limited to music class application, still can be video class application, above-mentioned multiple realities Apply example and be also based on music pattern and video class application is configured, so as to user when watching video not by it is certain not The interference of important information.
Combine Fig. 1 and Fig. 2 that message prompt method according to an embodiment of the present invention is described in detail above.Below in conjunction with figure 3 detailed description mobile terminals according to an embodiment of the present invention, Fig. 3 is the structural representation of mobile terminal according to an embodiment of the present invention Figure.As shown in figure 3, mobile terminal 300 includes:
Music status monitoring module 302, can be used for monitoring the state of target application;
Judgment module 304 judges whether full if can be used for listening to the target application is in music state Sufficient music pattern trigger condition;
Music pattern setup module 306 answers the target if can be used for meeting the music pattern trigger condition Message indicating mode under music state is set as music pattern;
Prompting message module 308, if can be used for the target application receives message, base under music state The customized alerting pattern of user is applied under the music pattern to carry out prompting message in the message is corresponding;Wherein, exist Under the music pattern, different classifications it is different using corresponding alerting pattern.
The embodiment of the invention provides music pattern of the target application under music state to disappear in music mode Ceasing alerting pattern can be by user's customized setting in advance, in this way, if listening to target application starting and judging to meet sound When happy mode trigger condition, message indicating mode of the target application under music state can be set to above-mentioned music mould Formula, under the music pattern, based on the corresponding application of the message that the receives customized alerting pattern of user in music mode Prompting message is carried out, prompting message mode is more flexible, promotes user experience.
Optionally, as one embodiment, the judgment module 304, being also used to judge whether to meet music pattern terminates Condition;
The music pattern setup module 306 exits the sound if being also used to meet the music pattern termination condition Happy mode.
Optionally, as one embodiment, the judgment module 304 judges whether to meet music pattern trigger condition packet It includes:
Whether it is pressed based on given combination key, judges whether to meet music pattern trigger condition;
Whether it is long pressed based on specified button, judges whether to meet music pattern trigger condition;Or
Whether meet preset condition based on sensor detection mobile terminal, judges whether to meet music pattern trigger condition; Wherein, the target application runs on the mobile terminal.
Optionally, as one embodiment, the preset condition includes following at least one:
The screen of the mobile terminal is towards preset direction;
The acceleration of the mobile terminal is more than preset threshold;And
The mobile terminal receives preset voice signal.
Optionally, as one embodiment, the corresponding application of the message includes the application and the second classification of the first classification Application;
Wherein, the customized alerting pattern of user under the music pattern of applying of first classification includes permission sound Sound prompting, vibration reminding and/or interface prompts;
The customized alerting pattern of user under the music pattern of applying of second classification includes that sound is forbidden to mention Awake, vibration reminding and/or interface prompts.
Mobile terminal 300 according to an embodiment of the present invention is referred to the message prompt method of the corresponding embodiment of the present invention 100 process, also, each unit/module in the mobile terminal 300 and other above-mentioned operation and/or functions respectively in order to The corresponding process in above-mentioned message prompt method 100 is realized, for sake of simplicity, details are not described herein.
A kind of hardware structural diagram of Fig. 4 mobile terminal of each embodiment to realize the present invention, the mobile terminal 400 Including but not limited to: radio frequency unit 401, audio output unit 403, input unit 404, sensor 405, is shown network module 402 Show the components such as unit 406, user input unit 407, interface unit 408, memory 409, processor 410 and power supply 411. It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 does not constitute the restriction to mobile terminal, it is mobile whole End may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention In embodiment, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear Wear equipment and pedometer etc..
Wherein, processor 410, for monitoring the state of target application;If listening to the target application to broadcast in music State is put, then judges whether to meet music pattern trigger condition;If meeting the music pattern trigger condition, by the target The message indicating mode under music state is applied to be set as music pattern;If the target application is in music state Under receive message, then apply under the music pattern the customized alerting pattern of user to carry out based on the message is corresponding Prompting message;Wherein, under the music pattern, different classifications it is different using corresponding alerting pattern.
The embodiment of the invention provides music pattern of the target application under music state to disappear in music mode Ceasing alerting pattern can be by user's customized setting in advance, in this way, if listening to target application starting and judging to meet sound When happy mode trigger condition, message indicating mode of the target application under music state can be set to above-mentioned music mould Formula, under the music pattern, based on the corresponding application of the message that the receives customized alerting pattern of user in music mode Prompting message is carried out, prompting message mode is more flexible, promotes user experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 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 410 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 402 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 403 can be received by radio frequency unit 401 or network module 402 or in memory 409 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor (Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 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 406.Through graphics processor 4041, treated that picture frame can be deposited Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike Wind 4042 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 401 is converted in the case where telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, 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 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear Display panel 4061 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 405 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 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap Display panel 4061 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 4061.
User input unit 407 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 407 include touch panel 4071 and Other input equipments 4072.Touch panel 4071, 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 4071 or in touch panel 4071 Neighbouring operation).Touch panel 4071 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 410, receiving area It manages the order that device 410 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 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments 4072.Specifically, other input equipments 4072 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 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display Panel 4061 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 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.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 408 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 400 or can be used in 400 He of mobile terminal Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 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 409 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 410 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 409, and calls and is stored in storage Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 410 may include one or more processing units;Preferably, processor 410 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 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411 Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 400 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 410, and memory 409 is stored in On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410 Each process of the above-mentioned message prompt method embodiment 100 of Shi Shixian, and identical technical effect can be reached, to avoid repeating, Which is not described herein again.
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 100 when being executed by processor, and Identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as Read-only 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 characterized by comprising
Monitor the state of target application;
If listening to the target application is in music state, judge whether to meet music pattern trigger condition;
If meeting the music pattern trigger condition, by message indicating mode of the target application under music state It is set as music pattern;
If the target application receives message under music state, apply in the sound based on the message is corresponding The customized alerting pattern of user carries out prompting message under happy mode;Wherein, under the music pattern, the application of different classifications Corresponding alerting pattern is different.
2. the method as described in claim 1, which is characterized in that the disappearing under music state by the target application Breath indicating mode is set as after music pattern, the method also includes:
Judge whether to meet music pattern termination condition;
If meeting the music pattern termination condition, the music pattern is exited.
3. the method as described in claim 1, which is characterized in that described to judge whether that meeting music pattern trigger condition includes:
Whether it is pressed based on given combination key, judges whether to meet music pattern trigger condition;
Whether it is long pressed based on specified button, judges whether to meet music pattern trigger condition;Or
Whether meet preset condition based on sensor detection mobile terminal, judges whether to meet music pattern trigger condition;Wherein, The target application runs on the mobile terminal.
4. method as claimed in claim 3, which is characterized in that the preset condition includes following at least one:
The screen of the mobile terminal is towards preset direction;
The acceleration of the mobile terminal is more than preset threshold;And
The mobile terminal receives preset voice signal.
5. such as the described in any item methods of Claims 1-4, which is characterized in that the corresponding application of the message includes first point The application of the application of class and the second classification;
Wherein, the customized alerting pattern of user under the music pattern of applying of first classification includes that sound is allowed to mention Awake, vibration reminding and/or interface prompts;
The customized alerting pattern of user under the music pattern of applying of second classification includes forbidding sound prompting, shake Dynamic prompting and/or interface prompts.
6. a kind of mobile terminal characterized by comprising
Music status monitoring module, for monitoring the state of target application;
Judgment module judges whether to meet music pattern if being in music state for listening to the target application Trigger condition;
Music pattern setup module, if broadcasting the target application in music for meeting the music pattern trigger condition The message indicating mode put under state is set as music pattern;
Prompting message module is based on the message if receiving message under music state for the target application It is corresponding that the customized alerting pattern of user under the music pattern is applied to carry out prompting message;Wherein, in the music mould Under formula, different classifications it is different using corresponding alerting pattern.
7. mobile terminal as claimed in claim 6, which is characterized in that
The judgment module is also used to judge whether to meet music pattern termination condition;
The music pattern setup module exits the music pattern if being also used to meet the music pattern termination condition.
8. mobile terminal as claimed in claim 6, which is characterized in that the judgment module judges whether to meet music pattern touching Clockwork spring part includes:
Whether it is pressed based on given combination key, judges whether to meet music pattern trigger condition;
Whether it is long pressed based on specified button, judges whether to meet music pattern trigger condition;Or
Whether meet preset condition based on sensor detection mobile terminal, judges whether to meet music pattern trigger condition;Wherein, The target application runs on the mobile terminal.
9. mobile terminal as claimed in claim 8, which is characterized in that the preset condition includes following at least one:
The screen of the mobile terminal is towards preset direction;
The acceleration of the mobile terminal is more than preset threshold;And
The mobile terminal receives preset voice signal.
10. such as the described in any item mobile terminals of claim 6 to 9, which is characterized in that the corresponding application of the message includes the The application of the application of one classification and the second classification;
Wherein, the customized alerting pattern of user under the music pattern of applying of first classification includes that sound is allowed to mention Awake, vibration reminding and/or interface prompts;
The customized alerting pattern of user under the music pattern of applying of second classification includes forbidding sound prompting, shake Dynamic prompting and/or interface prompts.
11. a kind of mobile terminal characterized by comprising memory, processor 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 be stored with computer on the computer readable storage medium Program realizes the message prompt method as described in any one of claims 1 to 5 when the computer program is executed by processor The step of.
CN201910417257.XA 2019-05-20 2019-05-20 Message prompt method and mobile terminal Pending CN110191227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910417257.XA CN110191227A (en) 2019-05-20 2019-05-20 Message prompt method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910417257.XA CN110191227A (en) 2019-05-20 2019-05-20 Message prompt method and mobile terminal

Publications (1)

Publication Number Publication Date
CN110191227A true CN110191227A (en) 2019-08-30

Family

ID=67716840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910417257.XA Pending CN110191227A (en) 2019-05-20 2019-05-20 Message prompt method and mobile terminal

Country Status (1)

Country Link
CN (1) CN110191227A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111081283A (en) * 2019-12-25 2020-04-28 惠州Tcl移动通信有限公司 Music playing method and device, storage medium and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378426A (en) * 2008-09-02 2009-03-04 深圳华为通信技术有限公司 Method and terminal for preventing disturb
CN104102717A (en) * 2014-07-17 2014-10-15 广东欧珀移动通信有限公司 Method and system for exclusively playing music at terminal
WO2015089982A1 (en) * 2013-12-17 2015-06-25 小米科技有限责任公司 Message reminding method and device, and electronic device
CN106302970A (en) * 2015-06-03 2017-01-04 北京壹人壹本信息科技有限公司 A kind of automatic mode switching method, system and communication terminal
CN106534492A (en) * 2016-10-21 2017-03-22 上海与德信息技术有限公司 Message prompt method and apparatus
CN108269124A (en) * 2018-01-12 2018-07-10 维沃移动通信有限公司 A kind of message prompt method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378426A (en) * 2008-09-02 2009-03-04 深圳华为通信技术有限公司 Method and terminal for preventing disturb
WO2015089982A1 (en) * 2013-12-17 2015-06-25 小米科技有限责任公司 Message reminding method and device, and electronic device
CN104102717A (en) * 2014-07-17 2014-10-15 广东欧珀移动通信有限公司 Method and system for exclusively playing music at terminal
CN106302970A (en) * 2015-06-03 2017-01-04 北京壹人壹本信息科技有限公司 A kind of automatic mode switching method, system and communication terminal
CN106534492A (en) * 2016-10-21 2017-03-22 上海与德信息技术有限公司 Message prompt method and apparatus
CN108269124A (en) * 2018-01-12 2018-07-10 维沃移动通信有限公司 A kind of message prompt method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111081283A (en) * 2019-12-25 2020-04-28 惠州Tcl移动通信有限公司 Music playing method and device, storage medium and terminal equipment

Similar Documents

Publication Publication Date Title
CN108958684A (en) Throw screen method and mobile terminal
CN109271121A (en) A kind of application display method and mobile terminal
CN108874357A (en) A kind of reminding method and mobile terminal
CN108322608B (en) A kind of screen light on and off control method, mobile terminal
CN108418950B (en) Message prompt method and mobile terminal
CN108521520A (en) A kind of call handling method and mobile terminal
CN110062104A (en) Application program launching method, device and mobile terminal
CN107743178A (en) A kind of message player method and mobile terminal
CN108762869A (en) A kind of information processing method and mobile terminal
CN109639863A (en) A kind of method of speech processing and device
CN109215683A (en) A kind of reminding method and terminal
CN108391008A (en) A kind of message prompt method and mobile terminal
CN110138963A (en) A kind of message treatment method and mobile terminal
CN110062273A (en) The method and mobile terminal of screenshot
CN109361797A (en) A kind of vocal technique and mobile terminal
CN109889757A (en) A kind of video call method and terminal device
CN108509141A (en) A kind of generation method and mobile terminal of control
CN109981443A (en) Voice interactive method, device and terminal device
CN110113487A (en) A kind of information prompting method, mobile terminal and computer readable storage medium
CN109743454A (en) A kind of call handling method and mobile terminal
CN109639738A (en) The method and terminal device of voice data transmission
CN109451158A (en) A kind of based reminding method and device
CN109474747A (en) A kind of information cuing method and mobile terminal
CN109445589A (en) A kind of multimedia file broadcasting control method and terminal device
CN108718360A (en) A kind of charging 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190830

RJ01 Rejection of invention patent application after publication