CN106126058A - Based reminding method and device - Google Patents

Based reminding method and device Download PDF

Info

Publication number
CN106126058A
CN106126058A CN201610439622.3A CN201610439622A CN106126058A CN 106126058 A CN106126058 A CN 106126058A CN 201610439622 A CN201610439622 A CN 201610439622A CN 106126058 A CN106126058 A CN 106126058A
Authority
CN
China
Prior art keywords
prompting
sound
whistle
acoustical signal
attribute
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
CN201610439622.3A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610439622.3A priority Critical patent/CN106126058A/en
Publication of CN106126058A publication Critical patent/CN106126058A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Abstract

The disclosure discloses a kind of based reminding method and device, belongs to technical field of mobile terminals.Described method includes: when detecting that microphone is in running order, is gathered the acoustical signal of local environment by microphone;Whether detection acoustical signal includes sound of blowing a whistle;If acoustical signal includes sound of blowing a whistle, then send prompting according to default alerting pattern;Solve the problem causing existing potential safety hazard when user uses mobile terminal near road because ignoring surrounding vehicles;Reach when the microphone in mobile terminal is in running order, mobile terminal can comprise in the acoustical signal that microphone collects being detected and sends prompting when blowing a whistle sound and remind the user that attention traffic safety, it is to avoid the effect of the vehicle accident caused because user diverts one's attention.

Description

Based reminding method and device
Technical field
It relates to technical field of mobile terminals, particularly to a kind of based reminding method and device.
Background technology
Along with the development of mobile terminal technology, user uses the use frequency of the mobile terminal such as mobile phone, panel computer more to come The highest.Such as, user can carry out conversing by mobile terminal, voice-enabled chat etc..
When user converses or during voice-enabled chat near road, often ignore the vehicle of surrounding because of diverting one's attention, exist Bigger potential safety hazard.
Summary of the invention
In order to solve to blow a whistle sound and there is the problem of potential safety hazard because ignoring when user uses mobile terminal near road, The disclosure provides a kind of based reminding method and device.Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of based reminding method, the method includes:
When detecting that microphone is in running order, gathered the acoustical signal of local environment by microphone;
Whether detection acoustical signal includes sound of blowing a whistle;
If acoustical signal includes sound of blowing a whistle, then send prompting according to default alerting pattern.
Optionally, the method also includes:
Judging whether to enter indicating mode, indicating mode is when the acoustical signal of local environment includes blowing a whistle sound, presses The pattern of prompting is sent according to default alerting pattern;
If it is determined that entrance indicating mode, then the step of the sound that performs whether to include in detection acoustical signal to blow a whistle.
Optionally, the method also includes:
Obtain the positional information being presently in position;
Judge currently whether be in road according to positional information;
If judged result is for being currently at road, if then performing acoustical signal to include sound of blowing a whistle, then according to default prompting Mode sends the step of prompting.
Optionally, send prompting according to default alerting pattern, including:
The volume value of the sound of blowing a whistle in acquisition acoustical signal;
Determine the prompting attribute of default alerting pattern according to volume value, different volume values belongs to corresponding to different promptings Property, at least one in voice reminder attribute and vibration reminding attribute, voice reminder attribute include reminding sound to remind attribute to include Amount, remind at least one in the frequency of tone, the voice content of prompting and prompting, vibration reminding attribute include vibration frequency, At least one in shockproofness and vibrations duration;
Send according to default alerting pattern and there is the prompting reminding attribute.
Optionally, the method also includes:
The volume value of the sound of blowing a whistle in acquisition acoustical signal;
Whether detection volume value is more than predetermined threshold;
If volume value is more than predetermined threshold, then perform to send the step of prompting according to default alerting pattern.
Second aspect according to disclosure embodiment, it is provided that a kind of alarm set, this device includes:
Acquisition module, is configured as detecting when microphone is in running order, is gathered the sound of local environment by microphone Tone signal;
Detection module, is configured to detect in acoustical signal whether include sound of blowing a whistle;
Prompting module, if being configured to acoustical signal to include sound of blowing a whistle, then sends prompting according to default alerting pattern.
Optionally, this device also includes:
First judge module, is configured to judge whether to enter indicating mode, and indicating mode is the sound when local environment Signal include blowing a whistle sound time, send the pattern of prompting according to default alerting pattern;
Detection module, is additionally configured to if it is determined that enter indicating mode, then perform whether include ring in detection acoustical signal The step of whistling.
Optionally, this device also includes:
Acquisition module, is configured to obtain the positional information being presently in position;
Second judge module, is configured to according to positional information judges currently whether be in road;
Prompting module, if being configured to judged result for being currently at road, includes blowing a whistle if then performing acoustical signal Sound, then send the step of prompting according to default alerting pattern.
Optionally, prompting module includes:
Obtain submodule, be configured to obtain the volume value of the sound of blowing a whistle in acoustical signal;
Determine submodule, be configured to determine according to volume value the prompting attribute of default alerting pattern, different volume values Corresponding to different prompting attributes, attribute is reminded to include at least one in voice reminder attribute and vibration reminding attribute, voice At least one in the frequency remind attribute to include reminder volume, reminding tone, the voice content of prompting and prompting, vibration reminding Attribute includes at least one in vibration frequency, shockproofness and vibrations duration;
Remind submodule, be configured to send the prompting with prompting attribute according to default alerting pattern.
Optionally, this device also includes:
Volume acquisition module, is configured to obtain the volume value of the sound of blowing a whistle in acoustical signal;Volume detection module, is joined It is set to whether detect volume value more than predetermined threshold;
Prompting module, if being additionally configured to volume value to be more than predetermined threshold, then performs to send according to default alerting pattern to carry The step waken up.
The third aspect according to disclosure embodiment, it is provided that a kind of alarm set, this device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
When detecting that microphone is in running order, gathered the acoustical signal of local environment by microphone;
Whether detection acoustical signal includes sound of blowing a whistle;
If acoustical signal includes sound of blowing a whistle, then send prompting according to default alerting pattern.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
Gathered the acoustical signal of local environment time in running order by this microphone by microphone in the terminal, When detect acoustical signal include blowing a whistle sound time, send prompting according to default alerting pattern;Solve user near road The problem causing because ignoring surrounding vehicles there is potential safety hazard when using mobile terminal;Reach when the microphone in mobile terminal Time in running order, mobile terminal can comprise in the acoustical signal that microphone collects being detected and sends prompting when blowing a whistle sound Remind the user that attention traffic safety, it is to avoid the effect of the vehicle accident caused because user diverts one's attention.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not be limited this Open.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure Example, and in description together for explaining the principle of the disclosure.
Fig. 1 is the flow chart according to a kind of based reminding method shown in an exemplary embodiment;
Fig. 2 A is the flow chart according to a kind of based reminding method shown in another exemplary embodiment;
Fig. 2 B is according to a kind of schematic diagram selecting interface shown in another exemplary embodiment;
Fig. 3 is the flow chart according to a kind of based reminding method shown in another exemplary embodiment;
Fig. 4 is the flow chart according to a kind of based reminding method shown in another exemplary embodiment;
Fig. 5 is the block diagram according to a kind of alarm set shown in an exemplary embodiment;
Fig. 6 is the block diagram according to a kind of alarm set shown in an exemplary embodiment;
Fig. 7 is the block diagram according to a kind of alarm set shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
The based reminding method that each embodiment of the disclosure provides, can be come by the mobile terminal with sound signal collecting function Realize.This mobile terminal can be mobile phone, panel computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3) player and MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio frequency aspect 4) player etc Mobile terminal.
Fig. 1 is the flow chart according to a kind of based reminding method shown in an exemplary embodiment, and the method can apply to State in mobile terminal, including following several steps:
In a step 101, when detecting that microphone is in running order, the sound being gathered local environment by microphone is believed Number.
In a step 102, whether detection acoustical signal includes sound of blowing a whistle.
In step 103, if acoustical signal includes sound of blowing a whistle, then send prompting according to default alerting pattern.
In sum, the based reminding method provided in disclosure embodiment, when microphone in mobile terminal is in running order By this microphone gather local environment acoustical signal, when detect acoustical signal include blowing a whistle sound time, according to default prompting Mode sends prompting;Solving when user uses mobile terminal near road causes existence safety the most hidden because ignoring surrounding vehicles The problem suffered from;Having reached when the microphone in mobile terminal is in running order, mobile terminal can detect microphone collection To acoustical signal in comprise and blow a whistle sound time send prompting and remind the user that attention traffic safety, it is to avoid draw because user diverts one's attention The effect of the vehicle accident risen.
Fig. 2 A is the flow chart according to a kind of based reminding method shown in another exemplary embodiment, and the present embodiment is with this prompting Method is applied in above-mentioned mobile terminal illustrate, and the method includes following several step:
In step 201, when detecting that microphone is in running order, the sound being gathered local environment by microphone is believed Number.
Optionally, microphone is microphone assembly embedded in mobile terminal, or in the earphone being connected with mobile terminal Microphone assembly.
The duty of microphone refers to state during microphone collected sound signal.Optionally, spy is being run when mobile terminal When determining application program or use the specific function in application-specific, mobile terminal can call microphone, and the most now microphone is in Duty.Wherein, application-specific can be integrated in the application program in mobile terminal operating system can also be to move The application program that dynamic SS later is downloaded and installed.Such as when mobile terminal is when running voice procedure or recorded program, microphone In running order, mobile terminal is when using the phonetic function in instant communication software for another example, and microphone is also at work shape State.
It should be noted that microphone can also be the most in running order, this is not construed as limiting by the present embodiment.
Optionally, if microphone in running of mobile terminal application-specific or uses the specific function in application-specific Time in running order, then mobile terminal pass through microphone collected sound signal in real time;If microphone is the most in running order, then Mobile terminal is by microphone collected sound signal in real time or is spaced collected sound signal, predetermined time interval at predetermined time intervals It can be systemic presupposition value or by User Defined, this is not construed as limiting by the present embodiment.
In step 202., it may be judged whether enter indicating mode.
Wherein, indicating mode is when the acoustical signal of local environment includes blowing a whistle sound, sends out according to default alerting pattern Go out the pattern reminded.
Optionally, whether mobile terminal opens prompting function is to be pre-set by system or user and be stored in move eventually In end, when mobile terminal opens prompting function, mobile terminal enters indicating mode;When mobile terminal closes prompting function Time, mobile terminal does not enter indicating mode.
Optionally, mobile terminal when running application-specific or using the specific function in application-specific whether Enter indicating mode to be pre-set and store by system or user in the terminal, then mobile terminal is by detection spy Determine configuration information corresponding to the specific function in application program or application-specific to judge whether to enter indicating mode.Such as, User arranges mobile terminal in advance in configuration information and enters indicating mode when using voice procedure, then mobile terminal is being carried out During call, determine entrance indicating mode.
Optionally, mobile terminal is when running application-specific or using the specific function in application-specific, aobvious Showing inquiry frame, user can choose whether to enter indicating mode in the inquiry frame that mobile terminal shows, then mobile terminal passes through The operation signal receiving user judges whether this enters indicating mode.Mobile terminal can be the display when running application program Selecting interface or show when using a certain specific function and select interface, such as, for voice procedure, mobile terminal can be Selection interface is shown, it is also possible to be to show selection interface when user's click to dial button is conversed when opening voice procedure, The display selecting interface is not construed as limiting opportunity by the present embodiment.
As shown in Figure 2 B, after user completes dialing in the voice procedure of mobile terminal, click to dial button 210 leads to During words, mobile terminal display inquiry frame 220, and by detection user act on inquiry frame 220 operation signal judge whether into Entering indicating mode, when user selects "Yes" in inquiring frame 220, mobile terminal determines entrance indicating mode, when user is asking Ask that when selecting "No" in frame 220, mobile terminal determines and do not enters indicating mode.The form selecting interface shown in Fig. 2 B and content Being all exemplary, this is not construed as limiting by the present embodiment.
When mobile terminal determines entrance indicating mode, perform the following step 204;Prompting is not entered when mobile terminal determines During pattern, perform the following step 203.
In step 203, however, it is determined that do not enter indicating mode, then flow process terminates.
In step 204, however, it is determined that enter indicating mode, then whether detection acoustical signal includes sound of blowing a whistle.
Environment residing for mobile terminal generally includes multiple different sound, such as, including user voice, Blow a whistle sound and chirm etc., the acoustical signal that therefore mobile terminal collects be typically to be mixed by the voice data of muli-sounds and Become, so mobile terminal is after collecting acoustical signal, acoustical signal is carried out resolve obtain acoustical signal include every The sound characteristic of sound corresponding to a kind of voice data, the sound characteristic of different sound is different, and sound and sound Sound characteristic one_to_one corresponding, sound characteristic can be the spectrum signature of the voice data that sound is corresponding.
Mobile terminal is previously stored with the sound characteristic of the sound of blowing a whistle of several vehicle, mobile terminal get each After the sound characteristic of kind sound corresponding to voice data, the sound characteristic of sound characteristic with sound of blowing a whistle is mated, if sound The sound characteristic of sound and the difference of the sound characteristic of sound of blowing a whistle are in default range of error, it is determined that this sound is sound of blowing a whistle;If The sound characteristic of sound exceedes default range of error with the difference of the sound characteristic of sound of blowing a whistle, it is determined that this sound is not blown a whistle Sound.Wherein, default range of error can be systemic presupposition value or by User Defined.
In a kind of possible implementation, sound characteristic is spectrum signature, and acoustical signal is resolved by mobile terminal Time, can be by the acoustical signal collected being carried out FFT (Fast Fourier Transformation, fast Fourier change Change), then the acoustical signal after FFT is carried out digital filtering, obtain the frequency spectrum of sound corresponding to each voice data Feature.
If the acoustical signal that mobile terminal collects includes that at least one sound is sound of blowing a whistle, then mobile terminal determines sound Tone signal includes that sound of blowing a whistle, mobile terminal continue executing with the following step 206;If the acoustical signal that mobile terminal collects wraps The sound included not is sound of blowing a whistle, then do not include sound of blowing a whistle during mobile terminal determines acoustical signal, and mobile terminal continues executing with down Row step 205.
Such as, mobile terminal is previously stored with the sound characteristic of the sound A that blows a whistle, the mobile terminal acoustical signal to collecting Parsing obtains 3 kinds of sound characteristics: sound characteristic 1, sound characteristic 2 and sound characteristic 3, mobile terminal is by special to sound characteristic 1, sound Levy 2 and sound characteristic 3 mate with the sound characteristic of the sound A that blows a whistle, when sound characteristic 2 being detected and the sound of the sound A that blows a whistle is special When the difference levied is in default range of error, determine that acoustical signal includes the sound A that blows a whistle.
In step 205, if not including sound of blowing a whistle in acoustical signal, then flow process terminates.
In step 206, if acoustical signal includes sound of blowing a whistle, then the volume value of the sound of blowing a whistle in acquisition acoustical signal.
Optionally, when mobile terminal include two or more blow a whistle sound time, acquisition for mobile terminal each blow a whistle The volume value of sound, or, obtain max volume value.
In step 207, determining the prompting attribute of default alerting pattern according to volume value, different volume values is not corresponding to Same prompting attribute.
Wherein, default alerting pattern includes at least one in voice reminder mode and vibration reminding mode, reminds attribute Including at least one in voice reminder attribute and vibration reminding attribute;When default alerting pattern is voice reminder mode, carry Awake attribute is voice reminder attribute, and voice reminder attribute includes reminder volume, reminds tone, the voice content of prompting and prompting At least one in frequency;When default alerting pattern is vibration reminding mode, prompting attribute is vibration reminding attribute, and vibrations carry Awake attribute includes at least one in vibration frequency, shockproofness and vibrations duration.
Optionally, when mobile terminal include two or more blow a whistle sound time, mobile terminal determines max volume value Corresponding prompting attribute.Mobile terminal is previously stored with different volume values and the different corresponding passes reminded between attribute System, mobile terminal, after the volume value getting sound of blowing a whistle, inquires about the prompting attribute that volume value is corresponding.
Such as, it is as a example by voice reminder mode by default alerting pattern, when volume value is 50db, corresponding the carrying of volume value Awake attribute is the caution sound that voice content is " beep " sound reminded, and when volume value is 70db, the prompting that volume value is corresponding belongs to Property be that the voice content reminded is for " please noting vehicle ".
For another example, being as a example by vibration reminding mode by default alerting pattern, when volume value is 50db, volume value is corresponding Remind attribute be vibration frequency be 20HZ, when volume value is 70db, the prompting attribute that volume value is corresponding is that vibration frequency is 40HZ。
In a step 208, send according to default alerting pattern have remind attribute prompting.
In above-mentioned illustrative example, when default alerting pattern is voice reminder mode and volume value is 50db, mobile Terminal sends the caution sound of " beep " sound, and when volume value is 70db, mobile terminal sends the voice reminder of " please noting vehicle "; When default alerting pattern is vibration reminding mode and volume value is 50db, mobile terminal sends shake according to the vibration frequency of 20HZ Dynamic prompting, when volume value is 70db, mobile terminal sends vibration reminding according to the vibration frequency of 40HZ.
It should be noted that when actual realization, mobile terminal can also pass through WiFi (Wireless Fidelity, nothing Line fidelity), the mode of the wireless network such as bluetooth be connected with server, server perform above-mentioned steps 204-207, then server In be previously stored with the sound characteristic of several sound of blowing a whistle, acoustical signal, after collecting acoustical signal, is sent by mobile terminal To server, whether included sound of blowing a whistle by server detection acoustical signal, when include blowing a whistle sound time, determine the volume of sound of blowing a whistle Value also determines the prompting attribute of default alerting pattern according to volume value, sends indication signal to mobile terminal, indicates mobile terminal Terminate flow process or preset the prompting attribute of alerting pattern to mobile terminal instruction, making mobile terminal according to according to default alerting pattern Send and there is the prompting reminding attribute.
It should be noted that above-mentioned steps 202 and step 203 are optional, mobile terminal is collecting local environment After acoustical signal, can directly detect in acoustical signal whether include sound of blowing a whistle;Above-mentioned steps 206 and step 207 are optional, Mobile terminal detect acoustical signal include blowing a whistle sound time, directly can send prompting according to default alerting pattern.
In sum, the based reminding method provided in disclosure embodiment, when microphone in mobile terminal is in running order By this microphone gather local environment acoustical signal, when detect acoustical signal include blowing a whistle sound time, according to default prompting Mode sends prompting;Solving when user uses mobile terminal near road causes existence safety the most hidden because ignoring surrounding vehicles The problem suffered from;Having reached when the microphone in mobile terminal is in running order, mobile terminal can detect microphone collection To acoustical signal in comprise and blow a whistle sound time send prompting and remind the user that attention traffic safety, it is to avoid draw because user diverts one's attention The effect of the vehicle accident risen.
The based reminding method that disclosure embodiment provides, according to volume value, mobile terminal determines that the prompting of default alerting pattern belongs to Property, due to the vehicles distance users farther out time, what mobile terminal detected blow a whistle, and sound value is less, the vehicles away from Time close to user, what mobile terminal detected blow a whistle, and sound value is relatively big, uses and determines the side reminding attribute according to volume value Method, can send different promptings for the sound of blowing a whistle of different volume values, reach the more intuitive traffic reminding user current The effect of situation.
Optionally, in other alternative embodiments based on above-described embodiment, above-mentioned steps 207 and step 208 can be replaced In generation, is exemplified as step, as shown in Figure 3:
In step 301, whether detection volume value is more than predetermined threshold.
Optionally, when mobile terminal includes two or more sound of blowing a whistle, and acquisition for mobile terminal each blow a whistle During the volume value of sound, whether mobile terminal detection max volume value is more than predetermined threshold.
Optionally, this is not construed as limiting by predetermined threshold by systemic presupposition or User Defined, the present embodiment.
When volume value is more than predetermined threshold, mobile terminal performs the following step 303;When volume value is less than predetermined threshold Time, mobile terminal performs the following step 302.
In step 302, if volume value is less than or equal to predetermined threshold, then flow process terminates.
In step 303, if volume value is more than predetermined threshold, then prompting is sent according to default alerting pattern.
Mobile terminal can send according to the difference of volume value as shown in above-mentioned steps 207 and step 208 to be had difference and carries The prompting of awake attribute, it is also possible to sending the prompting with same reminder attribute all the time, mobile terminal sends the mode of prompting and also may be used To be other alerting patterns in addition to voice reminder and vibration reminding, this is not construed as limiting by the present embodiment.
Optionally, in other alternative embodiments based on above-described embodiment, the method also includes following several step, as Shown in Fig. 4:
In step 401, acquisition is presently in the positional information of position.
Being provided with positioning component in mobile terminal, this positioning component can be GPS (Global Positioning System, global positioning system), mobile terminal obtains positional information by positioning component.
In step 402, judge currently whether be in road according to positional information.
(Application Programming Interface, application program is compiled to be provided with map API in mobile terminal Journey interface), mobile terminal, after getting positional information, can determine, by invocation map API, the position that this positional information is corresponding Putting, the position that positional information is corresponding can be road, building and sea etc..
In step 403, if judged result is for being currently at road, if then performing acoustical signal to include sound of blowing a whistle, then The step of prompting is sent according to default alerting pattern.
It should be noted that above-mentioned steps 401-403 only need to perform before above-mentioned steps 208, the present embodiment pair The execution of step 401-step 403 is not construed as limiting opportunity.
In sum, the based reminding method that disclosure embodiment provides, mobile terminal can also obtain and be presently in position Positional information, sends prompting when judging and being currently at road, it is to avoid when user is in the position that can not there is vehicle accident, Time in such as building, mobile terminal sends insignificant prompting.
Following for disclosure device embodiment, may be used for performing method of disclosure embodiment.Real for disclosure device Execute the details not disclosed in example, refer to method of disclosure embodiment.
Fig. 5 is the block diagram according to a kind of alarm set shown in an exemplary embodiment, as it is shown in figure 5, this device is permissible By software, hardware or both be implemented in combination with becoming all or part of the mobile terminal performing above-mentioned based reminding method, This device includes but not limited to: acquisition module 510, detection module 520 and prompting module 530;
Acquisition module 510, is configured as detecting when microphone is in running order, gathers local environment by microphone Acoustical signal.
Detection module 520, is configured to detect in acoustical signal whether include sound of blowing a whistle.
Prompting module 530, if being configured to acoustical signal to include sound of blowing a whistle, then sends according to default alerting pattern and carries Wake up.
In sum, the alarm set provided in disclosure embodiment, when microphone in mobile terminal is in running order By this microphone gather local environment acoustical signal, when detect acoustical signal include blowing a whistle sound time, according to default prompting Mode sends prompting;Solving when user uses mobile terminal near road causes existence safety the most hidden because ignoring surrounding vehicles The problem suffered from;Having reached when the microphone in mobile terminal is in running order, mobile terminal can detect microphone collection To acoustical signal in comprise and blow a whistle sound time send prompting and remind the user that attention traffic safety, it is to avoid draw because user diverts one's attention The effect of the vehicle accident risen.
Fig. 6 is the block diagram according to a kind of alarm set shown in an exemplary embodiment, and as shown in Figure 6, this device is permissible By software, hardware or both be implemented in combination with becoming all or part of the mobile terminal performing above-mentioned based reminding method, This device includes but not limited to: acquisition module the 610, first judge module 620, detection module 630, volume acquisition module 640, sound Amount detection module 650, prompting module 660, acquisition module 670 and the second judge module 680;
Acquisition module 610, is configured as detecting when microphone is in running order, gathers local environment by microphone Acoustical signal.
First judge module 620, is configured to judge whether to enter indicating mode, and indicating mode is the sound when local environment Tone signal include blowing a whistle sound time, send the pattern of prompting according to default alerting pattern.
Whether detection module 630, is configured to if it is determined that enter indicating mode, then include blowing a whistle in detection acoustical signal Sound.
Volume acquisition module 640, is configured to obtain the volume value of the sound of blowing a whistle in acoustical signal.
Volume detection module 650, is configured to whether detect volume value more than predetermined threshold.
Prompting module 660, if being configured to volume value to be more than predetermined threshold, then performs to send according to default alerting pattern to carry Wake up.
Acquisition module 670, is configured to obtain the positional information being presently in position.
Second judge module 680, is configured to according to positional information judges currently whether be in road.
Prompting module 660, if being configured to judged result for being currently at road, if acoustical signal includes sound of blowing a whistle, Then send prompting according to default alerting pattern.
Wherein, prompting module 660 includes:
Obtain submodule 661, be configured to obtain the volume value of the sound of blowing a whistle in acoustical signal.
Determine submodule 662, be configured to determine according to volume value the prompting attribute of default alerting pattern, different volumes It is worth corresponding to different prompting attributes, reminds attribute to include at least one in voice reminder attribute and vibration reminding attribute, language Sound reminds attribute to include at least one in the frequency of reminder volume, prompting tone, the voice content of prompting and prompting, and vibrations carry Awake attribute includes at least one in vibration frequency, shockproofness and vibrations duration.
Remind submodule 663, be configured to send the prompting with prompting attribute according to default alerting pattern.
In sum, the alarm set provided in disclosure embodiment, when microphone in mobile terminal is in running order By this microphone gather local environment acoustical signal, when detect acoustical signal include blowing a whistle sound time, according to default prompting Mode sends prompting;Solving when user uses mobile terminal near road causes existence safety the most hidden because ignoring surrounding vehicles The problem suffered from;Having reached when the microphone in mobile terminal is in running order, mobile terminal can detect microphone collection To acoustical signal in comprise and blow a whistle sound time send prompting and remind the user that attention traffic safety, it is to avoid draw because user diverts one's attention The effect of the vehicle accident risen.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The disclosure one exemplary embodiment provides a kind of alarm set, it is possible to realize the based reminding method that the disclosure provides, This device includes: processor, for storing the memorizer of processor executable;
Wherein, processor is configured to:
When detecting that microphone is in running order, gathered the acoustical signal of local environment by microphone;
Whether detection acoustical signal includes sound of blowing a whistle;
If acoustical signal includes sound of blowing a whistle, then send prompting according to default alerting pattern.
Fig. 7 is the block diagram according to a kind of alarm set shown in an exemplary embodiment.Such as, device 700 can be to move Mobile phone, digital broadcast terminal, messaging devices, tablet device and personal digital assistant etc..
With reference to Fig. 7, device 700 can include following one or more assembly: processes assembly 702, memorizer 704, power supply Assembly 706, multimedia groupware 708, audio-frequency assembly 710, input/output (I/O) interface 712, sensor cluster 714, Yi Jitong Letter assembly 716.
Process assembly 702 and generally control the integrated operation of device 700, such as with display, call, data communication, phase The operation that machine operation and record operation are associated.Process assembly 702 and can include that one or more processor 718 performs to refer to Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 702 can include one or more module, just Mutual in process between assembly 702 and other assemblies.Such as, process assembly 702 and can include multi-media module, many to facilitate Media component 708 and process between assembly 702 mutual.
Memorizer 704 is configured to store various types of data to support the operation at device 700.Showing of these data Example includes any application program for operation on device 700 or the instruction of method, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 704 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
The various assemblies that power supply module 706 is device 700 provide electric power.Power supply module 706 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 700, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 708 is included between device 700 and user.Real at some Executing in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch screen, to receive the input signal from user.Touch panel include one or more touch sensor with Gesture on sensing touch, slip and touch panel.Touch sensor can not only sense touch or the border of sliding action, and And also detect and touch or persistent period that slide is relevant and pressure.In certain embodiments, multimedia groupware 708 includes One front-facing camera and/or post-positioned pick-up head.When device 700 is in operator scheme, during such as screening-mode or video mode, front Put photographic head and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can To be a fixing optical lens system or there is focal length and optical zoom ability.
Audio-frequency assembly 710 is configured to output and/or input audio signal.Such as, audio-frequency assembly 710 includes a Mike Wind (MIC), when device 700 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is joined It is set to receive external audio signal.The audio signal received can be further stored at memorizer 704 or via communication set Part 716 sends.In certain embodiments, audio-frequency assembly 710 also includes a speaker, is used for exporting audio signal.
I/O interface 712 provides interface for processing between assembly 702 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Set button.
Sensor cluster 714 includes one or more sensor, for providing the state of various aspects to comment for device 700 Estimate.Such as, what sensor cluster 714 can detect device 700 opens/closed mode, the relative localization of assembly, such as assembly For display and the keypad of device 700, sensor cluster 714 can also detect device 700 or the position of 700 1 assemblies of device Put change, the presence or absence that user contacts, device 700 orientation or acceleration/deceleration and the temperature of device 700 with device 700 Change.Sensor cluster 714 can include proximity transducer, is configured to when not having any physical contact near detection The existence of object.Sensor cluster 714 can also include optical sensor, and such as CMOS or ccd image sensor, being used for should in imaging Use middle use.In certain embodiments, this sensor cluster 714 can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure transducer or temperature sensor.
Communications component 716 is configured to facilitate the communication of wired or wireless mode between device 700 and other equipment.Device 700 can access wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or combinations thereof.An exemplary reality Executing in example, communications component 716 receives the broadcast singal from external broadcasting management system or the relevant letter of broadcast via broadcast channel Breath.In one exemplary embodiment, communications component 716 also includes near-field communication (NFC) module, to promote junction service.Example As, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 700 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing above-mentioned based reminding method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 704 of instruction, above-mentioned instruction can have been performed above-mentioned based reminding method by the processor 718 of device 700.Example As, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a based reminding method, it is characterised in that described method includes:
When detecting that microphone is in running order, gathered the acoustical signal of local environment by described microphone;
Detect in described acoustical signal and whether include sound of blowing a whistle;
If described acoustical signal is blown a whistle sound described in including, then send prompting according to default alerting pattern.
Method the most according to claim 1, it is characterised in that described method also includes:
Judge whether to enter indicating mode, described indicating mode be include when the acoustical signal of local environment described in blow a whistle sound Time, the pattern of prompting is sent according to described default alerting pattern;
If it is determined that enter described indicating mode, then the step of the sound that performs whether to include in the described acoustical signal of described detection to blow a whistle.
Method the most according to claim 1, it is characterised in that described method also includes:
Obtain the positional information being presently in position;
Judge currently whether be in road according to described positional information;
If judged result is for being currently at road, if then perform described acoustical signal include described in blow a whistle sound, then according to Default alerting pattern sends the step of prompting.
4. according to the arbitrary described method of claims 1 to 3, it is characterised in that described send prompting according to default alerting pattern, Including:
Obtain the volume value of sound of blowing a whistle described in described acoustical signal;
Determine the prompting attribute of described default alerting pattern according to described volume value, different volume values is corresponding to different promptings Attribute, described prompting attribute includes at least one in voice reminder attribute and vibration reminding attribute, described voice reminder attribute Including at least one in the frequency of reminder volume, prompting tone, the voice content of prompting and prompting, described vibration reminding attribute Including at least one in vibration frequency, shockproofness and vibrations duration;
The prompting with described prompting attribute is sent according to described default alerting pattern.
5. according to the arbitrary described method of claims 1 to 3, it is characterised in that described method also includes:
Obtain the volume value of sound of blowing a whistle described in described acoustical signal;
Whether detect described volume value more than predetermined threshold;
If described volume value is more than described predetermined threshold, then perform the described step sending prompting according to default alerting pattern.
6. an alarm set, it is characterised in that described device includes:
Acquisition module, is configured as detecting when microphone is in running order, is gathered the sound of local environment by described microphone Tone signal;
Detection module, is configured to detect in described acoustical signal whether include sound of blowing a whistle;
Prompting module, if be configured to described acoustical signal include described in blow a whistle sound, then send according to default alerting pattern and carry Wake up.
Device the most according to claim 6, it is characterised in that described device also includes:
First judge module, is configured to judge whether to enter indicating mode, and described indicating mode is the sound when local environment Signal include described in blow a whistle sound time, send the pattern of prompting according to described default alerting pattern;
Described detection module, is additionally configured to if it is determined that enter described indicating mode, then perform the described acoustical signal of described detection In whether include blowing a whistle the step of sound.
Device the most according to claim 6, it is characterised in that described device also includes:
Acquisition module, is configured to obtain the positional information being presently in position;
Second judge module, is configured to according to described positional information judges currently whether be in road;
Described prompting module, if being additionally configured to judged result for being currently at road, if then performing described acoustical signal Blow a whistle described in including sound, then send the step of prompting according to default alerting pattern.
9. according to the arbitrary described device of claim 6 to 8, it is characterised in that described prompting module includes:
Obtain submodule, be configured to obtain the volume value of sound of blowing a whistle described in described acoustical signal;
Determine submodule, be configured to determine according to described volume value the prompting attribute of described default alerting pattern, different sounds Value is corresponding to different prompting attributes, and described prompting attribute includes at least in voice reminder attribute and vibration reminding attribute Kind, described voice reminder attribute includes at least in the frequency of reminder volume, prompting tone, the voice content of prompting and prompting Kind, described vibration reminding attribute includes at least one in vibration frequency, shockproofness and vibrations duration;
Remind submodule, be configured to send the prompting with described prompting attribute according to described default alerting pattern.
10. according to the arbitrary described device of claim 6 to 8, it is characterised in that described device also includes:
Volume acquisition module, is configured to obtain the volume value of sound of blowing a whistle described in described acoustical signal;
Volume detection module, is configured to whether detect described volume value more than predetermined threshold;
Described prompting module, if being additionally configured to described volume value to be more than described predetermined threshold, then execution is described carries according to default Awake mode sends the step of prompting.
11. 1 kinds of alarm sets, it is characterised in that described device includes:
Processor;
For storing the memorizer of described processor executable;
Wherein, described processor is configured to:
When detecting that microphone is in running order, gathered the acoustical signal of local environment by described microphone;
Detect in described acoustical signal and whether include sound of blowing a whistle;
If described acoustical signal is blown a whistle sound described in including, then send prompting according to default alerting pattern.
CN201610439622.3A 2016-06-17 2016-06-17 Based reminding method and device Pending CN106126058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610439622.3A CN106126058A (en) 2016-06-17 2016-06-17 Based reminding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610439622.3A CN106126058A (en) 2016-06-17 2016-06-17 Based reminding method and device

Publications (1)

Publication Number Publication Date
CN106126058A true CN106126058A (en) 2016-11-16

Family

ID=57470280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610439622.3A Pending CN106126058A (en) 2016-06-17 2016-06-17 Based reminding method and device

Country Status (1)

Country Link
CN (1) CN106126058A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107479727A (en) * 2017-07-31 2017-12-15 捷开通讯(深圳)有限公司 Method, mobile terminal and the device with store function of mobile terminal shooting
CN108595406A (en) * 2018-01-04 2018-09-28 广东小天才科技有限公司 A kind of based reminding method of User Status, device, electronic equipment and storage medium
CN110493681A (en) * 2019-08-09 2019-11-22 无锡中感微电子股份有限公司 Headphone device and its control method with full natural user interface
CN110602582A (en) * 2019-08-09 2019-12-20 无锡中感微电子股份有限公司 Earphone device with full-natural user interface and control method thereof
CN110708630A (en) * 2019-11-12 2020-01-17 广州酷狗计算机科技有限公司 Method, device and equipment for controlling earphone and storage medium
CN112641178A (en) * 2020-12-18 2021-04-13 朱家奇 System for be used for car to whistle vibrations and remind

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790000A (en) * 2010-02-20 2010-07-28 华为终端有限公司 Environmental sound reminding method and mobile terminal
CN104158970A (en) * 2010-02-20 2014-11-19 华为终端有限公司 Environmental sound prompting method and mobile terminal
CN105141758A (en) * 2015-07-31 2015-12-09 小米科技有限责任公司 Terminal control method and device
CN105205955A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Method and device for sending out warning signal
CN105357368A (en) * 2015-09-30 2016-02-24 小米科技有限责任公司 Reminding method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790000A (en) * 2010-02-20 2010-07-28 华为终端有限公司 Environmental sound reminding method and mobile terminal
CN104158970A (en) * 2010-02-20 2014-11-19 华为终端有限公司 Environmental sound prompting method and mobile terminal
CN105141758A (en) * 2015-07-31 2015-12-09 小米科技有限责任公司 Terminal control method and device
CN105205955A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Method and device for sending out warning signal
CN105357368A (en) * 2015-09-30 2016-02-24 小米科技有限责任公司 Reminding method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107479727A (en) * 2017-07-31 2017-12-15 捷开通讯(深圳)有限公司 Method, mobile terminal and the device with store function of mobile terminal shooting
CN107479727B (en) * 2017-07-31 2021-11-12 捷开通讯(深圳)有限公司 Mobile terminal shooting method, mobile terminal and device with storage function
CN108595406A (en) * 2018-01-04 2018-09-28 广东小天才科技有限公司 A kind of based reminding method of User Status, device, electronic equipment and storage medium
CN110493681A (en) * 2019-08-09 2019-11-22 无锡中感微电子股份有限公司 Headphone device and its control method with full natural user interface
CN110602582A (en) * 2019-08-09 2019-12-20 无锡中感微电子股份有限公司 Earphone device with full-natural user interface and control method thereof
CN110708630A (en) * 2019-11-12 2020-01-17 广州酷狗计算机科技有限公司 Method, device and equipment for controlling earphone and storage medium
CN112641178A (en) * 2020-12-18 2021-04-13 朱家奇 System for be used for car to whistle vibrations and remind

Similar Documents

Publication Publication Date Title
CN105205955B (en) A kind of method and apparatus sending out standby signal
CN106126058A (en) Based reminding method and device
CN104580730B (en) Alarm clock prompting method and device
CN105138319B (en) Event-prompting method and device
CN103841264A (en) Method and device for protecting terminal equipment and terminal equipment
CN105653236A (en) Sound volume control method and device and mobile terminal
CN105406828A (en) Sound equipment adjustment method and device
CN105141758A (en) Terminal control method and device
CN104867349A (en) Information prompting method and information prompting device
CN106325670A (en) Message prompting method and device
CN109087650A (en) voice awakening method and device
CN105516917A (en) Method and device for realizing safe driving
CN108121631A (en) Screen abnormality based reminding method and device
CN107135147A (en) Method, device and the computer-readable recording medium of sharing position information
CN105898573A (en) Method and device for multimedia file playing
CN106021077A (en) Warning method and device of terminal
CN105323152A (en) Message processing method, device and equipment
CN106941635A (en) Audio amplifier connection method and device
CN105528872B (en) The based reminding method and device on restricted driving date
CN108476379A (en) Information recording method and information record carrier
CN105279897A (en) Vehicle alarming method and device
CN104794074B (en) External equipment recognition methods and device
CN105630141A (en) Information browsing reminding method and device
CN106254131A (en) More newly-installed method and device
CN107158685A (en) Locomotion assay method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161116

RJ01 Rejection of invention patent application after publication