CN107423201A - A kind of reminding method and mobile terminal - Google Patents
A kind of reminding method and mobile terminal Download PDFInfo
- Publication number
- CN107423201A CN107423201A CN201710373175.0A CN201710373175A CN107423201A CN 107423201 A CN107423201 A CN 107423201A CN 201710373175 A CN201710373175 A CN 201710373175A CN 107423201 A CN107423201 A CN 107423201A
- Authority
- CN
- China
- Prior art keywords
- acoustic information
- mobile terminal
- audio
- scene
- video file
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The present invention, which provides a kind of reminding method and mobile terminal, this method, to be included:User is received to instruct the setting for playing the scene of audio/video file;When playing audio/video file under the target scene that instruction setting is set, the acoustic information of the microphone collection of the mobile terminal is detected;Judge whether the acoustic information meets the matching condition under the target scene;If the acoustic information meets the matching condition, corresponding prompt message is exported.So, when the acoustic information of mobile terminal collection meets matching condition, prompt message can be exported, enables users to access effective prompting, so as to eliminate some potential potential safety hazards for user.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of reminding method and mobile terminal.
Background technology
With developing rapidly for mobile terminal, essential a kind of instrument in mobile terminal people's life, and
The various aspects lived for user bring greatly convenient.Present mobile terminal is substantially all the work(for playing audio/video file
Can, such as play certain song or play some video., typically all can be very when user is listening song or viewing video
Be absorbed in, if user now goes across the road and may not hear and blow a whistle sound so as to cause the appearance of accident, or user take transit bus or
It may not hear and be called out the stops so as to go past one's station during person's subway.Because mobile terminal lacks prompting function, easily one is caused to user
A little potential potential safety hazards.
The content of the invention
The embodiment of the present invention provides a kind of reminding method and mobile terminal, to be lacked when solving mobile terminal playing audio/video file
The weary prompting function to surrounding environment sound variation, the problem of easily causing some potential potential safety hazards to user.
In a first aspect, the embodiments of the invention provide a kind of reminding method, including:
User is received to instruct the setting for playing the scene of audio/video file;
When playing audio/video file under the target scene that instruction setting is set, the microphone of the mobile terminal is detected
The acoustic information of collection;
Judge whether the acoustic information meets the matching condition under the target scene;
If the acoustic information meets the matching condition, corresponding prompt message is exported.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:
Receiving module, the setting for playing the scene of audio/video file is instructed for receiving user;
Detection module, for during broadcasting audio/video file, detecting the shifting under the target scene for setting instruction setting
The acoustic information of the microphone collection of dynamic terminal;
Judge module, for judging whether the acoustic information meets the matching condition under the target scene;
Output module, if judging that the acoustic information meets the matching condition for the judge module, export phase
The prompt message answered.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:Memory, processor and it is stored in institute
The computer program that can be run on memory and on the processor is stated, it is real during computer program described in the computing device
Step in existing above-mentioned reminding method.
So, in the embodiment of the present invention, receive user and the setting for playing the scene of audio/video file is instructed;In the setting
When instructing broadcasting audio/video file under the target scene of setting, the acoustic information of the microphone collection of the mobile terminal is detected;Sentence
Whether the acoustic information that breaks meets the matching condition under the target scene;If the acoustic information meets the matching bar
Part, then export corresponding prompt message.So, when the acoustic information of mobile terminal collection meets matching condition, it can export and carry
Show information, enable users to access effective prompting, so as to eliminate some potential potential safety hazards for user.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed for being described below to the embodiment of the present invention
The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention,
For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the flow chart for the reminding method that one embodiment of the invention provides;
Fig. 2 is the flow chart for the reminding method that further embodiment of this invention provides;
Fig. 3 is one of structure chart of mobile terminal that one embodiment of the invention provides;
Fig. 4 is one of structure chart of judge module of mobile terminal that one embodiment of the invention provides;
Fig. 5 is the two of the structure chart of the judge module for the mobile terminal that one embodiment of the invention provides;
Fig. 6 is the three of the structure chart of the judge module for the mobile terminal that one embodiment of the invention provides;
Fig. 7 is the two of the structure chart for the mobile terminal that one embodiment of the invention provides;
Fig. 8 is the structure chart for the mobile terminal that further embodiment of this invention provides;
Fig. 9 is the structure chart for the mobile terminal that further embodiment of this invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is the flow chart of reminding method provided in an embodiment of the present invention, as shown in figure 1, including following step
Suddenly:
Step 101, receive setting instruction of the user to the scene of broadcasting audio/video file.
In the embodiment of the present invention, above-mentioned audio/video file can be video file or audio file.Such as user makes
The video of some variety is watched with mobile terminal, or watches some films, and song etc. is listened using mobile terminal.Above-mentioned field
Scape can be security scenario, dangerous scene, public transport scene or subway scene etc., and in addition user can also create more
Scene.Mobile terminal can show that different scenes selects for user on a display screen, and user can click on a display screen
Some is selected either multiple scenes or to select some or multiple scenes etc. using the button of mobile terminal.
Step 102, during broadcasting audio/video file, detect the mobile terminal under the target scene that instruction setting is set
Microphone collection acoustic information.
In the embodiment of the present invention, above-mentioned target scene can only have one, it is possibility to have multiple.When target scene only has one
When individual, target scene can be security scenario either dangerous scene.When target scene has it is multiple when, target scene can be danger
Dangerous scene and public transport scene, or target scene can also be dangerous scene and subway scene.Above-mentioned dangerous scene can be vapour
The scene blown a whistle under more than one default decibel value of sound of car, the decibel value can be 20 decibels, 30 decibels or arbitrarily make by oneself
One decibel value of justice, or can also detect the scene under vehicle whistle sound;Above-mentioned public transport scene can be passed through
Positioning determines the scene under some bus station;Above-mentioned security scenario can be that the decibel value of sound is less than under some predetermined threshold value
Scene, or when the scene under some upper default routers of mobile terminal connection, these routers can be user's family
Router of router or user's Administrative Area etc.;Above-mentioned subway scene can be determined by positioning at some
Scene under subway station.The acoustic information of above-mentioned mobile terminal microphone collection, can be that mobile terminal is having earphone to access
In the case of the acoustic information that is gathered in the case where no earphone accesses of the acoustic information that gathers or mobile terminal.
Step 103, judge whether the acoustic information meets the matching condition under the target scene.
Above-mentioned matching condition, can be that the volume value of acoustic information is more than some preset value in the embodiment of the present invention, can be with
It is that the volume change value of acoustic information is more than some preset value, can is that some characteristic sounds is contained in acoustic information, such as
The sound or can also be that acoustic information contains some specific words etc. of blowing a whistle of the sound either train of blowing a whistle of automobile.
If step 104, the acoustic information meet the matching condition, corresponding prompt message is exported.
Above-mentioned prompt message, can be voice message, text prompt or vibration prompt etc. in the embodiment of the present invention.
When prompt message is voice message, mobile terminal can play " carrying out car, it is noted that " or " dangerous, please take care " etc. voice
Prompting.When prompt message is text prompt, the display screen of mobile terminal can be shown " please noting ", " danger " or " careful "
Etc. word message.When prompt message is vibration prompt, mobile terminal can be vibrated to prompt user.Certainly, here
Prompt message can be some combination promptings, such as existing voice message also has vibration prompt, or existing vibration prompt
Have a text prompt, or voice message, text prompt and vibration prompt carry out together it is also possible.
In the embodiment of the present invention, if the acoustic information does not meet the matching condition, acoustic information can be continued to examine
Survey and judged, can also terminate flow, Fig. 1 in the embodiment of the present invention is illustrated with terminating flow.
In the embodiment of the present invention, above-mentioned mobile terminal can be mobile phone, tablet personal computer (Tablet Personal
Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital
Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device
(Wearable Device) etc..
A kind of reminding method of the embodiment of the present invention, receive user and the setting for playing the scene of audio/video file is instructed;
When audio/video file is played under the target scene for setting instruction to set, the sound of the microphone collection of the mobile terminal is detected
Information;Judge whether the acoustic information meets the matching condition under the target scene;If the acoustic information meets described
Matching condition, then export corresponding prompt message.So, can when the acoustic information of mobile terminal collection meets matching condition
To export prompt message, user can be obtained by effective prompting, so as to eliminate some potential potential safety hazards for user.
Referring to Fig. 2, Fig. 2 is the flow chart of reminding method provided in an embodiment of the present invention.The present embodiment and last embodiment
The main distinction while prompt message is being exported in this method can also by audio/video file play volume turn down or will
The audio/video file pause of broadcasting.As shown in Fig. 2 comprise the following steps:
Step 201, receive setting instruction of the user to the scene of broadcasting audio/video file.
In the embodiment of the present invention, above-mentioned audio/video file can be video file or audio file.Such as user makes
The video of some variety is watched with mobile terminal, or watches some films, and song etc. is listened using mobile terminal.Above-mentioned field
Scape can be security scenario, dangerous scene, public transport scene or subway scene etc., and in addition user can also create more
Scene.Mobile terminal can show that different scenes selects for user on a display screen, and user can click on a display screen
Some is selected either multiple scenes or to select some or multiple scenes etc. using the button of mobile terminal.
Step 202, during broadcasting audio/video file, detect the mobile terminal under the target scene that instruction setting is set
Microphone collection acoustic information.
In the embodiment of the present invention, above-mentioned target scene can only have one, it is possibility to have multiple.When target scene only has one
When individual, target scene can be security scenario either dangerous scene.When target scene has it is multiple when, target scene can be danger
Dangerous scene and public transport scene, or target scene can also be dangerous scene and subway scene.Above-mentioned dangerous scene can be vapour
The scene blown a whistle under more than one default decibel value of sound of car, the decibel value can be 20 decibels, 30 decibels or arbitrarily make by oneself
One decibel value of justice, or can also detect the scene under vehicle whistle sound;Above-mentioned public transport scene can be passed through
Positioning determines the scene under some bus station;Above-mentioned security scenario can be that the decibel value of sound is less than under some predetermined threshold value
Scene, or when the scene under some upper default routers of mobile terminal connection, these routers can be user's family
Router of router or user's Administrative Area etc.;Above-mentioned subway scene can be determined by positioning at some
Scene under subway station.The acoustic information of above-mentioned mobile terminal microphone collection, can be that mobile terminal is having earphone to access
In the case of the acoustic information that is gathered in the case where no earphone accesses of the acoustic information that gathers or mobile terminal.
Step 203, judge whether the acoustic information meets the matching condition under the target scene.
Above-mentioned matching condition, can be that the volume value of acoustic information is more than some preset value in the embodiment of the present invention, can be with
It is that the volume change value of acoustic information is more than some preset value, can is that some characteristic sounds is contained in acoustic information, such as
The sound or can also be that acoustic information contains some specific words etc. of blowing a whistle of the sound either train of blowing a whistle of automobile.
If step 204, the acoustic information meet the matching condition, the volume that the audio/video file plays is turned down,
And export corresponding prompt message;Or suspend the audio/video file of broadcasting, and export corresponding prompt message.
Above-mentioned prompt message, can be voice message, text prompt or vibration prompt etc. in the embodiment of the present invention.
When prompt message is voice message, mobile terminal can play " carrying out car, it is noted that " or " dangerous, please take care " etc. voice
Prompting.When prompt message is text prompt, the display screen of mobile terminal can be shown " please noting ", " danger " or " careful "
Etc. word message.When prompt message is vibration prompt, mobile terminal can be vibrated to prompt user.Certainly, here
Prompt message can be some combination promptings, such as existing voice message also has vibration prompt, or existing vibration prompt
Have a text prompt, or voice message, text prompt and vibration prompt carry out together it is also possible.
In the embodiment of the present invention, turned down by the volume for playing audio/video file, or the audio/video file of broadcasting suspended,
User is unlikely to be immersed in audio/video file and ignore to fall prompt message, enable users to access more preferable prompting.It is if above-mentioned
Acoustic information does not meet the matching condition, and acoustic information can be continued to detect and judged, can also terminate flow, this
Fig. 2 in inventive embodiments terminates flow and is illustrated.
Optionally, if the target scene is to preset dangerous scene, it is described judge whether the acoustic information meet described in
The step of matching condition under target scene, including:
Judge whether the acoustic information includes default prompting audio;
If the acoustic information includes the prompting audio, it is determined that the acoustic information meets the matching condition.
Above-mentioned default prompting audio, can be some prompting words in present embodiment, such as:" careful ", " when
The heart ", " danger ", the name etc. of " avoiding soon " or user.Certainly, the prompting audio can also be sound of blowing a whistle, the fire of automobile
Blow a whistle sound or roar of engine etc. when taking off of car.Such as:User watches when going across the road and regarded
Frequently, there is an automobile to run over to come, and the automobile is blown a whistle, and user is possible to watch video and put into very much to cause not having
There is the sound of blowing a whistle for hearing automobile.Now mobile terminal is after the sound of blowing a whistle of the automobile is collected, it is possible to exports prompt message
To prompt user, potential safety hazard is eliminated for user;Or can also be user when going across the road, there is an automobile to travel
Come over, automobile is not blown a whistle, and some passerby on side has cried out one " careful " to user, and user may also not listen
Arrive, when mobile terminal collects " careful " this word, it is possible to export prompt message to prompt user, peace is eliminated for user
Full hidden danger.
Optionally, if the target scene is default quiet scene, it is described judge whether the acoustic information meet described in
The step of matching condition under target scene, including:
Judge whether the volume change value of the acoustic information is more than or equal to preset value;
If the volume change value is more than or equal to the preset value, it is determined that the acoustic information meets the matching
Condition.
Above-mentioned preset value, can be that 40 decibels, 50 decibels, 60 decibels or user are arbitrarily set in present embodiment
One decibel value.Certainly, here in addition to judging whether the volume change value of acoustic information is more than or equal to preset value,
The volume value of current detection sound is may determine that, is made comparisons with the highest volume value in the past period, is judged between them
Difference whether be more than or equal to a default value, if more than or equal to if determine acoustic information meet matching condition.
Here past a period of time, can be calculated since current time, within past 2 minutes, within 3 minutes, 5 minutes it
Within interior or any user-defined period etc..
In present embodiment, such as:User sees video in a quiet park, and the friend of a user is also in park
It is interior, and the user is cried.The volume change value of the acoustic information of now mobile terminal collection is likely larger than preset value
40 decibels, so determine that acoustic information meets matching condition, then prompted to user.So user is just unlikely to indulge in sight
The video seen, from without recognizing there is friend to come.Or user listens song in the parlor of own home, the household in bedroom with than
Larger sound goes to open the door user, and the volume change value of the acoustic information of now mobile terminal collection is likely larger than preset value 30
Decibel, so determine that acoustic information meets matching condition, then prompts to user, makes user be unlikely to be immersed in the song of appreciation
From the sound without recognizing household.
Optionally, it is described to judge whether the acoustic information meets if the target scene is default vehicles scene
The step of matching condition under the target scene, including:
Judge whether the acoustic information includes default site name;
If the acoustic information includes the site name, it is determined that the acoustic information meets the matching condition.
In present embodiment, above-mentioned site name, can be bus site name, can be subway site name
The site name of title or high ferro.Above-mentioned default site name can be the site name of any vehicles.If stand
Point title is the site name of bus, and the site name can " protect good fortune temple Qiao Nan " or " Zhong Guan-cun north " etc.;If stand
Point title is the site name of subway, and the site name can be " Zhichun Road " or " Xi Tucheng " etc.;If site name is
The site name of high ferro, the site name can be " Zheng Zhoudong " or " Chang Shanan " etc..These site names can be used
It is that family is downloaded from the Internet or oneself typing etc..Such as:User watches some video in public transport, and destination is
" protect good fortune temple Qiao Nan " bus stations.When public transport reach " protect good fortune temple Qiao Nan " bus stations when, user may too indulge in video so as to
Do not recognize to have arrived at a station, but mobile terminal contains in the information of calling out the stops for collecting bus and " protects good fortune temple Qiao Nan "
When, it will be prompted to user, user is effectively reminded, be unlikely to go past one's station in the case where indulging in video.
Optionally, the step of output corresponding prompt message, including:
Play the acoustic information of the mobile terminal microphone collection.
In present embodiment, the acoustic information of above-mentioned mobile terminal microphone collection, can be automobile sound of blowing a whistle, can be with
It is the sound of bus stop reporting, or can also is the sound of prompting of the passerby to user.Mobile terminal is by playing these sound
Sound, allow users to recognize some potential hidden danger, it may be possible to potential safety hazard, it is also possible to which general idea goes past one's station etc..Pass through
The acoustic information that mobile terminal microphone gathers is played out, user can be made to be prompted well, it is hidden to eliminate some as far as possible
Suffer from.
Optionally, the step of being turned down in the volume for playing the audio/video file, and exporting corresponding prompt message
Afterwards, methods described also includes:
If the mobile terminal is not received by the operation of user in preset time, the audio/video file is played
Volume tunes up;
After the step of suspending in the audio/video file by broadcasting, and exporting corresponding prompt message, the side
Method also includes:
If the mobile terminal is not received by the operation of user in preset time, recover to play the audio-visual text
Part.
In present embodiment, when above-mentioned preset time can be 1 minute, 2 minutes or be any user-defined one
Between.If mobile terminal is not received by the operation of user in preset time, it may illustrate that user is prompted well,
And any operation need not be carried out to mobile terminal.Such as user's smoothly excessively complete road, or user is correct
Website has descended bus, then the volume that can turns audio/video file down is tuned up, or the audio/video file of pause is recovered to broadcast
Put.So user can continue to listen song or viewing video, and not need the manually operated behaviour that just can automatically recover, make user
Work is more succinct, and mobile terminal is more intelligent.
A kind of reminding method of the embodiment of the present invention, receive user and the setting for playing the scene of audio/video file is instructed;
When audio/video file is played under the target scene for setting instruction to set, the sound of the microphone collection of the mobile terminal is detected
Information;Judge whether the acoustic information meets the matching condition under the target scene;If the acoustic information meets described
Matching condition, the volume that the audio/video file plays is turned down, and export corresponding prompt message;Or by described in broadcasting
Audio/video file suspends, and exports corresponding prompt message.So, when the acoustic information of mobile terminal collection meets matching condition
When, prompt message can be exported, and the volume that audio/video file plays can be turned down simultaneously or the audio/video file of broadcasting is temporary
Stop, allow users to preferably be prompted, so as to eliminate some potential potential safety hazards for user.
Referring to Fig. 3, Fig. 3 is the structure chart of mobile terminal provided in an embodiment of the present invention, can realize in above-described embodiment and carry
Show the details of method, and reach identical effect.As shown in figure 3, mobile terminal 300 includes:Receiving module 301, detection module
302nd, judge module 303 and output module 304, receiving module 301 and detection module 302, detection module 302 and judge module
303, judge module 303 and output module 304 connect, wherein:
Receiving module 301, the setting for playing the scene of audio/video file is instructed for receiving user;
Detection module 302, during for playing audio/video file under the target scene for setting instruction setting, described in detection
The acoustic information of the microphone collection of mobile terminal;
Judge module 303, for judging whether the acoustic information meets the matching condition under the target scene;
Output module 304, if judging that the acoustic information meets the matching condition for the judge module 303,
Export corresponding prompt message.
Optionally, the output module 304 is used for:The volume that the audio/video file plays is turned down, and exported corresponding
Prompt message;Or suspend the audio/video file of broadcasting, and export corresponding prompt message.
Optionally, if the target scene is to preset dangerous scene, as shown in figure 4, the judge module 303, including:
First judging submodule 3031, for judging whether the acoustic information includes default prompting audio;
First determination sub-module 3032, if judging that the acoustic information includes institute for first judging submodule 3031
State prompting audio, it is determined that the acoustic information meets the matching condition.
Optionally, if the target scene is default quiet scene, as shown in figure 5, the judge module 303, including:
Second judging submodule 3033, it is pre- whether the volume change value for judging the acoustic information is more than or equal to
If value;
Second determination sub-module 3034, if judging that the volume change value is more than for second judging submodule 3033
Or equal to the preset value, it is determined that the acoustic information meets the matching condition.
Optionally, if the target scene is default vehicles scene, as indicated with 6, the judge module 303, including:
3rd judging submodule 3035, for judging whether the acoustic information includes default site name;
3rd determination sub-module 3036, if judging that the acoustic information includes institute for the 3rd judging submodule 3035
State site name, it is determined that the acoustic information meets the matching condition.
Optionally, the output module 304 is used for:Play the acoustic information of the mobile terminal microphone collection.
Optionally, as shown in fig. 7, mobile terminal 300 also includes:
Recovery module 305, if being not received by the operation of user in preset time for the mobile terminal, by institute
The volume for stating audio/video file broadcasting tunes up;Or if the mobile terminal is not received by the operation of user in preset time,
Then recover to play the audio/video file.
Mobile terminal 300 can realize each process that mobile terminal is realized in Fig. 1 to Fig. 2 embodiment of the method, to avoid
Repeat, repeat no more here.
The mobile terminal 300 of the embodiment of the present invention, receive user and the setting for playing the scene of audio/video file is instructed;Institute
When stating broadcasting audio/video file under the target scene that instruction setting is set, the sound letter of the microphone collection of the mobile terminal is detected
Breath;Judge whether the acoustic information meets the matching condition under the target scene;If the acoustic information meets described
With condition, then corresponding prompt message is exported.So, can be defeated when the acoustic information of mobile terminal collection meets matching condition
Go out prompt message, such user can effectively be prompted, so as to eliminate some potential potential safety hazards for user.
Referring to Fig. 8, Fig. 8 is the structure chart of mobile terminal provided in an embodiment of the present invention, can realize in above-described embodiment and carry
Show the details of method, and reach identical effect.As shown in figure 8, mobile terminal 800 includes:At least one processor 801, deposit
Reservoir 802, at least one network interface 804 and user interface 803.Each component in mobile terminal 800 passes through bus system
805 are coupled.It is understood that bus system 805 is used to realize the connection communication between these components.Bus system 805 is removed
Outside data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But for the sake of clear explanation,
Various buses are all designated as bus system 805 in fig. 8.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball
(track ball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable P ROM, EPROM), Electrically Erasable Read Only Memory (Electrically EP ROM, EEPROM)
Or flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside
Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous D RAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SD RAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SD RAM, ESDRAM), synchronously connect
Connect dynamic random access memory (Synch link D RAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The memory 802 of system and method described herein be intended to including but not limited to these
With the memory of any other suitable type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for
Realize various basic businesses and the hardware based task of processing.Application program 8022, include various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 8022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 802, specifically, can be application
The program stored in program 8022 or instruction, processor 801 are used for:User is received to refer to the setting for playing the scene of audio/video file
Order;When playing audio/video file under the target scene that instruction setting is set, the microphone collection of the mobile terminal is detected
Acoustic information;Judge whether the acoustic information meets the matching condition under the target scene;If the acoustic information symbol
The matching condition is closed, then exports corresponding prompt message.
The method that the embodiments of the present invention disclose can apply in processor 801, or be realized by processor 801.
Processor 801 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing
Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 802, processor 801 read the information in memory 802, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software
Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or
Realized outside processor.
Optionally, processor 801 is additionally operable to:The volume that the audio/video file plays is turned down, and exports corresponding prompting
Information;Or suspend the audio/video file of broadcasting, and export corresponding prompt message.
Optionally, if the target scene is to preset dangerous scene, processor 801 is additionally operable to:Judge the acoustic information
Whether default prompting audio is included;If the acoustic information includes the prompting audio, it is determined that the acoustic information meets
The matching condition.
Optionally, if the target scene is default quiet scene, processor 801 is additionally operable to:Judge the acoustic information
Volume change value whether be more than or equal to preset value;If the volume change value is more than or equal to the preset value,
Determine that the acoustic information meets the matching condition.
Optionally, if the target scene is default vehicles scene, processor 801 is additionally operable to:Judge the sound
Whether information includes default site name;If the acoustic information includes the site name, it is determined that the acoustic information
Meet the matching condition.
Optionally, processor 801 is additionally operable to:Play the acoustic information of the mobile terminal microphone collection.
Optionally, processor 801 is additionally operable to:If the mobile terminal is not received by the behaviour of user in preset time
Make, then tune up the volume that the audio/video file plays;If the mobile terminal is not received by user's in preset time
Operation, then recover to play the audio/video file.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The mobile terminal 800 of the embodiment of the present invention, receive user and the setting for playing the scene of audio/video file is instructed;Institute
When stating broadcasting audio/video file under the target scene that instruction setting is set, the sound letter of the microphone collection of the mobile terminal is detected
Breath;Judge whether the acoustic information meets the matching condition under the target scene;If the acoustic information meets described
With condition, then corresponding prompt message is exported.So, can be defeated when the acoustic information of mobile terminal collection meets matching condition
Go out prompt message, such user can effectively be prompted, so as to eliminate some potential potential safety hazards for user.
Referring to Fig. 9, Fig. 9 is the structure chart for the mobile terminal that the present invention implements offer, and the mobile terminal can be realized above-mentioned
The details of reminding method, and reach identical effect.As shown in figure 9, mobile terminal 900 includes radio frequency (Radio
Frequency, RF) circuit 910, memory 920, input block 930, display unit 940, processor 950, voicefrequency circuit 960,
Communication module 970 and power supply 980.
Wherein, input block 930 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal
The signal input that 900 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 930 can
With including contact panel 931.Contact panel 931, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses the operations of any suitable object or annex on contact panel 931 such as finger, stylus), and according to advance
The formula of setting drives corresponding attachment means.Optionally, contact panel 931 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
Give the processor 950 again, and the order sent of reception processing device 950 and can be performed.Furthermore, it is possible to using resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 931.Except contact panel 931, input block
930 can also include other input equipments 932, and other input equipments 932 can include but is not limited to physical keyboard, function key
One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 940 can be used for display by the information of user's input or be supplied to information and the movement of user
The various menu interfaces of terminal 900.Display unit 940 may include display panel 941, optionally, can use LCD or organic hairs
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that contact panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined
After measuring the touch operation on or near it, processor 950 is sent to determine the type of touch event, is followed by subsequent processing device
950 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 950 is the control centre of mobile terminal 900, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or performing the software program and/or module that are stored in first memory 921, and call storage
Data in second memory 922, the various functions and processing data of mobile terminal 900 are performed, so as to mobile terminal 900
Carry out integral monitoring.Optionally, processor 950 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/
Or the data in the second memory 922, processor 950 are used for:User is received to refer to the setting for playing the scene of audio/video file
Order;When playing audio/video file under the target scene that instruction setting is set, the microphone collection of the mobile terminal is detected
Acoustic information;Judge whether the acoustic information meets the matching condition under the target scene;If the acoustic information symbol
The matching condition is closed, then exports corresponding prompt message.
Optionally, processor 950 is additionally operable to:The volume that the audio/video file plays is turned down, and exports corresponding prompting
Information;Or suspend the audio/video file of broadcasting, and export corresponding prompt message.
Optionally, if the target scene is to preset dangerous scene, processor 950 is additionally operable to:Judge the acoustic information
Whether default prompting audio is included;If the acoustic information includes the prompting audio, it is determined that the acoustic information meets
The matching condition.
Optionally, if the target scene is default quiet scene, processor 950 is additionally operable to:Judge the acoustic information
Volume change value whether be more than or equal to preset value;If the volume change value is more than or equal to the preset value,
Determine that the acoustic information meets the matching condition.
Optionally, if the target scene is default vehicles scene, processor 950 is additionally operable to:Judge the sound
Whether information includes default site name;If the acoustic information includes the site name, it is determined that the acoustic information
Meet the matching condition.
Optionally, processor 950 is additionally operable to:Play the acoustic information of the mobile terminal microphone collection.
Optionally, processor 950 is additionally operable to:If the mobile terminal is not received by the behaviour of user in preset time
Make, then tune up the volume that the audio/video file plays;If the mobile terminal is not received by user's in preset time
Operation, then recover to play the audio/video file.
Mobile terminal 900 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The mobile terminal 900 of the embodiment of the present invention, receive user and the setting for playing the scene of audio/video file is instructed;Institute
When stating broadcasting audio/video file under the target scene that instruction setting is set, the sound letter of the microphone collection of the mobile terminal is detected
Breath;Judge whether the acoustic information meets the matching condition under the target scene;If the acoustic information meets described
With condition, then corresponding prompt message is exported.So, can be defeated when the acoustic information of mobile terminal collection meets matching condition
Go out prompt message, such user can effectively be prompted, so as to eliminate some potential potential safety hazards for user.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (15)
- A kind of 1. reminding method, applied to mobile terminal, it is characterised in that including:User is received to instruct the setting for playing the scene of audio/video file;When playing audio/video file under the target scene that instruction setting is set, the microphone collection of the mobile terminal is detected Acoustic information;Judge whether the acoustic information meets the matching condition under the target scene;If the acoustic information meets the matching condition, corresponding prompt message is exported.
- 2. according to the method for claim 1, it is characterised in that described the step of exporting corresponding prompt message, including:The volume that the audio/video file plays is turned down, and exports corresponding prompt message;Or suspend the audio/video file of broadcasting, and export corresponding prompt message.
- 3. method according to claim 1 or 2, it is characterised in that described if the target scene is to preset dangerous scene Judge the step of whether acoustic information meets the matching condition under the target scene, including:Judge whether the acoustic information includes default prompting audio;If the acoustic information includes the prompting audio, it is determined that the acoustic information meets the matching condition.
- 4. method according to claim 1 or 2, it is characterised in that described if the target scene is default quiet scene Judge the step of whether acoustic information meets the matching condition under the target scene, including:Judge whether the volume change value of the acoustic information is more than or equal to preset value;If the volume change value is more than or equal to the preset value, it is determined that the acoustic information meets the matching bar Part.
- 5. method according to claim 1 or 2, it is characterised in that if the target scene is default vehicles scene, It is described to judge the step of whether acoustic information meets the matching condition under the target scene, including:Judge whether the acoustic information includes default site name;If the acoustic information includes the site name, it is determined that the acoustic information meets the matching condition.
- 6. method according to claim 1 or 2, it is characterised in that described the step of exporting corresponding prompt message, bag Include:Play the acoustic information of the mobile terminal microphone collection.
- 7. according to the method for claim 2, it is characterised in thatAfter the step of being turned down in the volume for playing the audio/video file, and exporting corresponding prompt message, the side Method also includes:If the mobile terminal is not received by the operation of user in preset time, the volume that the audio/video file is played Tune up;After the step of suspending in the audio/video file by broadcasting, and exporting corresponding prompt message, methods described is also Including:If the mobile terminal is not received by the operation of user in preset time, recover to play the audio/video file.
- A kind of 8. mobile terminal, it is characterised in that including:Receiving module, the setting for playing the scene of audio/video file is instructed for receiving user;Detection module, for during broadcasting audio/video file, detecting the movement eventually under the target scene of the setting instruction setting The acoustic information of the microphone collection at end;Judge module, for judging whether the acoustic information meets the matching condition under the target scene;Output module, if judging that the acoustic information meets the matching condition for the judge module, output is corresponding Prompt message.
- 9. mobile terminal according to claim 8, it is characterised in that the output module is used for:The volume that the audio/video file plays is turned down, and exports corresponding prompt message;Or the audio-visual text by broadcasting Part suspends, and exports corresponding prompt message.
- 10. mobile terminal according to claim 8 or claim 9, it is characterised in that if the target scene is to preset dangerous field Scape, the judge module, including:First judging submodule, for judging whether the acoustic information includes default prompting audio;First determination sub-module, if judging that the acoustic information includes the prompting audio for first judging submodule, Then determine that the acoustic information meets the matching condition.
- 11. mobile terminal according to claim 8 or claim 9, it is characterised in that if the target scene is to preset quiet field Scape, the judge module, including:Second judging submodule, for judging whether the volume change value of the acoustic information is more than or equal to preset value;Second determination sub-module, if it is described to judge that the volume change value is more than or equal to for second judging submodule Preset value, it is determined that the acoustic information meets the matching condition.
- 12. mobile terminal according to claim 8 or claim 9, it is characterised in that if the target scene is the default vehicles Scene, the judge module, including:3rd judging submodule, for judging whether the acoustic information includes default site name;3rd determination sub-module, if judging that the acoustic information includes the site name for the 3rd judging submodule, Then determine that the acoustic information meets the matching condition.
- 13. mobile terminal according to claim 8 or claim 9, it is characterised in that the output module is used for:Play the shifting The acoustic information of dynamic terminal microphone collection.
- 14. mobile terminal according to claim 9, it is characterised in that the mobile terminal also includes:Recovery module, will be described audio-visual if being not received by the operation of user in preset time for the mobile terminal The volume that file plays tunes up;Or if the mobile terminal is not received by the operation of user in preset time, recover Play the audio/video file.
- A kind of 15. mobile terminal, it is characterised in that including:Memory, processor and it is stored on the memory and can be in institute The computer program run on processor is stated, is realized described in the computing device during computer program as in claim 1 to 7 The step in reminding method described in any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710373175.0A CN107423201A (en) | 2017-05-24 | 2017-05-24 | A kind of reminding method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710373175.0A CN107423201A (en) | 2017-05-24 | 2017-05-24 | A kind of reminding method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107423201A true CN107423201A (en) | 2017-12-01 |
Family
ID=60428341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710373175.0A Pending CN107423201A (en) | 2017-05-24 | 2017-05-24 | A kind of reminding method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107423201A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109493884A (en) * | 2018-12-06 | 2019-03-19 | 江苏满运软件科技有限公司 | A kind of outside sound source safety prompt function method, system, equipment and medium |
CN110636419A (en) * | 2019-09-24 | 2019-12-31 | 杭州富阳锐明科技有限公司 | Train arrival reminding device capable of changing adjustable capacitance according to received audio |
CN111263261A (en) * | 2020-03-13 | 2020-06-09 | 深圳市阿斯盾云科技有限公司 | Intelligent alarm earphone and intelligent alarm method thereof |
CN111700343A (en) * | 2020-06-09 | 2020-09-25 | 南京耀宇医疗科技有限公司 | Intelligent bracelet capable of providing information prompt based on environmental sound monitoring |
CN114973652A (en) * | 2022-04-22 | 2022-08-30 | 岚图汽车科技有限公司 | Visual blind area reminding method and system, electronic equipment and storage medium |
CN115242920A (en) * | 2022-07-04 | 2022-10-25 | 展讯通信(上海)有限公司 | Volume adjusting method, device, chip, equipment and medium of mobile terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754098A (en) * | 2013-12-27 | 2015-07-01 | 联芯科技有限公司 | Volume adjusting method and system for single-key earphone |
CN106445459A (en) * | 2016-10-12 | 2017-02-22 | 深圳市金立通信设备有限公司 | Method for controlling audio playing of earphones and terminal |
-
2017
- 2017-05-24 CN CN201710373175.0A patent/CN107423201A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754098A (en) * | 2013-12-27 | 2015-07-01 | 联芯科技有限公司 | Volume adjusting method and system for single-key earphone |
CN106445459A (en) * | 2016-10-12 | 2017-02-22 | 深圳市金立通信设备有限公司 | Method for controlling audio playing of earphones and terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109493884A (en) * | 2018-12-06 | 2019-03-19 | 江苏满运软件科技有限公司 | A kind of outside sound source safety prompt function method, system, equipment and medium |
CN110636419A (en) * | 2019-09-24 | 2019-12-31 | 杭州富阳锐明科技有限公司 | Train arrival reminding device capable of changing adjustable capacitance according to received audio |
CN110636419B (en) * | 2019-09-24 | 2020-12-22 | 嘉兴科禾能源科技有限公司 | Train arrival reminding device capable of changing adjustable capacitance according to received audio |
CN111263261A (en) * | 2020-03-13 | 2020-06-09 | 深圳市阿斯盾云科技有限公司 | Intelligent alarm earphone and intelligent alarm method thereof |
CN111700343A (en) * | 2020-06-09 | 2020-09-25 | 南京耀宇医疗科技有限公司 | Intelligent bracelet capable of providing information prompt based on environmental sound monitoring |
CN114973652A (en) * | 2022-04-22 | 2022-08-30 | 岚图汽车科技有限公司 | Visual blind area reminding method and system, electronic equipment and storage medium |
CN115242920A (en) * | 2022-07-04 | 2022-10-25 | 展讯通信(上海)有限公司 | Volume adjusting method, device, chip, equipment and medium of mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107423201A (en) | A kind of reminding method and mobile terminal | |
CN106303804B (en) | A kind of control method and mobile terminal of microphone | |
CN106791109A (en) | A kind of sound prompting method and mobile terminal | |
CN107423351A (en) | A kind of information processing method and electronic equipment | |
CN107632663A (en) | A kind of screen control method and mobile terminal | |
CN106488013A (en) | A kind of danger based reminding method and mobile terminal | |
CN106791015A (en) | A kind of message is played and answering method and device | |
CN108509660A (en) | A kind of broadcasting object recommendation method and terminal device | |
CN107507621A (en) | A kind of noise suppressing method and mobile terminal | |
CN107623776A (en) | A kind of method for controlling volume, system and mobile terminal | |
CN106210266B (en) | A kind of acoustic signal processing method and audio signal processor | |
CN106782460A (en) | The method and apparatus for generating music score | |
CN106412282B (en) | A kind of real-time messages phonetic prompt method and mobile terminal | |
CN108763316A (en) | A kind of audio list management method and mobile terminal | |
CN106341535A (en) | Audio playing control method and mobile terminal | |
CN108228882A (en) | The recommendation method and terminal device of a kind of audition for the songs segment | |
CN106506804A (en) | A kind of based reminding method of notification message and mobile terminal | |
CN107743178A (en) | A kind of message player method and mobile terminal | |
CN107343085A (en) | Method for playing music and Related product | |
CN109616135A (en) | Audio-frequency processing method, device and storage medium | |
CN106020612A (en) | Data display method and mobile terminal | |
CN107071174A (en) | A kind of method of speech processing and mobile terminal | |
CN106446180A (en) | Song recognition method and mobile terminal | |
CN106648538B (en) | A kind of audio frequency playing method and mobile terminal of mobile terminal | |
CN107357484A (en) | One kind prompting mark adding method, terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171201 |