CN102761662B - A kind of method of mobile phone and switch mobile phone scene mode - Google Patents

A kind of method of mobile phone and switch mobile phone scene mode Download PDF

Info

Publication number
CN102761662B
CN102761662B CN201210219988.1A CN201210219988A CN102761662B CN 102761662 B CN102761662 B CN 102761662B CN 201210219988 A CN201210219988 A CN 201210219988A CN 102761662 B CN102761662 B CN 102761662B
Authority
CN
China
Prior art keywords
pcm
value
mobile phone
scene mode
threshold value
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.)
Expired - Fee Related
Application number
CN201210219988.1A
Other languages
Chinese (zh)
Other versions
CN102761662A (en
Inventor
王亚辉
罗敏丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201210219988.1A priority Critical patent/CN102761662B/en
Publication of CN102761662A publication Critical patent/CN102761662A/en
Application granted granted Critical
Publication of CN102761662B publication Critical patent/CN102761662B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a kind of method of switch mobile phone scene mode, and the method comprises the current environment of living in of mobile phone is detected, and obtains the PCM value that current environment of living in is corresponding; Inquiry is preset in scene mode in mobile phone and the mapping table of PCM threshold value, determines the scene mode that PCM value is corresponding; Current scene mode is switched to scene mode corresponding to PCM value, the present invention further provides a kind of mobile phone, by above-mentioned mode, the present invention can be according to the residing environment automatic switchover of mobile phone mobile phone scene mode, improves user and experiences.

Description

A kind of method of mobile phone and switch mobile phone scene mode
Technical field
The present invention relates to field of mobile communication, particularly relate to a kind of mobile phone and switch mobile phone scene mouldThe method of formula.
Background technology
At present, mobile technology is more and more flourishing, and people use the frequency of mobile phone more and more higher. Mobile phoneUpper generally all can have for the scene mode under various scenes, such as mode standard, silent mode,Conference model and outdoor pattern etc. It is right that people can carry out manual selection according to residing occasionThe scene mode of answering to be to realize the switching of different scene modes, and sometimes can forget selection, such asIn meeting situation, forget the scene mode of mobile phone has been switched to conference model, once there be phoneCome in, ringing sound of cell phone your writing, will affect meeting like this, and reduce user and experience, and artificial to himBecome to disturb.
Summary of the invention
The technical problem that the present invention mainly solves is to provide a kind of mobile phone and switch mobile phone scene modeMethod, can automatically switch into scene mode that should environment according to the residing environment of mobile phone,Improve user's experience.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide one to cutThe method of changing mobile phone scene mode, the method comprises: after mobile phone power-on, automatically open sound-recording functionThe current environment of living in of mobile phone is detected with the time interval of presetting, obtain current environment pair of living inPulse code modulation (Pulse-codemodulation, the PCM) value of answering, wherein, the time intervalBe set by the user, select a bit of time after mobile phone and base station periodic synchronous complete to examineSurvey; Inquiry is preset in scene mode in mobile phone and the mapping table of PCM threshold value, determines PCM valueCorresponding scene mode; Current scene mode is switched to scene mode corresponding to PCM value;
Wherein, before obtaining the step of the PCM value that current environment of living in is corresponding, the method alsoComprise step: gather the audio signal of mobile phone under different scenes; Audio signal is carried out to Statistics DivisionReason, to obtain the mapping table of scene mode and PCM threshold value; Storage scenarios pattern and PCM threshold valueMapping table;
Wherein, audio signal is carried out to statistical disposition, to obtain scene mode and PCM threshold valueThe step of mapping table comprises: mobile phone is placed under different scenes and detected, wherein, samePeriod, is fixed the repeated detection of duration to Same Scene, detect correspondence at every turn and obtain onePCM value, multiple PCM values that repeated detection is obtained are done on average, corresponding with the period to obtainThe mean value of PCM value; In the different periods, Same Scene is repeated the detection of previous step, everyIndividual period correspondence obtains a mean value; Multiple mean value is carried out to statistical disposition, obtain sameThe PCM threshold value that scape is corresponding; Every kind of different scene is carried out respectively to the detection of above-mentioned steps, withObtain PCM threshold value corresponding to each different scene, wherein, PCM threshold value is to there being a lower limitValue and a higher limit, by the minimum two or more mean values in multiple mean value againDo average treatment, obtain the lower limit of corresponding PCM threshold value, by the maximum in multiple mean valueTwo or more mean values do again average treatment, obtain the upper of corresponding PCM threshold valueLimit value; Different scenes is named, and every kind of a kind of scene mode of the corresponding called after of scene, willEach scene mode and corresponding PCM threshold value correspondence mappings, form scene mode and PCM thusThe mapping table of threshold value.
Wherein, when PCM value corresponding to current environment of living in is more than or equal to lower limit and is less than or equal toWhen higher limit, judge that scene mode corresponding to PCM value is as the corresponding scene mould of PCM threshold valueFormula.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of hand is providedMachine, this mobile phone comprises: audio frequency input module, processing module and storage module, wherein: storage mouldThe mapping table of the scene mode of piece memory mobile phone and PCM threshold value; Audio frequency input module is used at handAfter machine start, automatically open sound-recording function and gather the current environment of living in of mobile phone with the time interval of presettingAudio signal, wherein, the time interval is set by the user, and selects mobile phone and base station periodic synchronousThe a bit of time after completing is detected; Processing module respectively with audio frequency input module and storage mouldPiece is connected, and for receiving audio signal corresponding to current environment of living in, and audio signal is converted toPCM value, and inquire about the mapping table of scene mode and PCM threshold value, determines that PCM value is correspondingScene mode, and scene mode current mobile phone is switched to scene mode corresponding to PCM value;
Wherein, audio frequency input module gathers the audio signal of mobile phone under different scenes;
Processing module is carried out statistical disposition to audio signal, to obtain scene mode and PCM threshold valueMapping table;
Wherein, in the same period, audio frequency input module is fixed duration repeatedly to Same SceneDetect, a PCM value of the corresponding generation of each Check processing module, processing module is by repeated detectionMultiple PCM values of obtaining are done on average, to obtain the mean value of the PCM value corresponding with the period; SoundFrequently input module further repeats the detection of PCM value to Same Scene in other different periods,Each period correspondence obtains a mean value; Multiple mean value is carried out statistical disposition by processing module,Obtain PCM threshold value corresponding to Same Scene, wherein, PCM threshold value to should have a lower limit andA higher limit, does flat by the minimum two or more mean values in multiple mean value againAll process, obtain the lower limit of corresponding PCM threshold value, by maximum two in multiple mean valueIndividual or plural mean value does average treatment again, obtains the higher limit of corresponding PCM threshold value;Audio frequency input module is tested every kind of different scene, and processing module is carried out statistical disposition and obtainedThe PCM threshold value that each different scene is corresponding; Processing module is named different scenes, everyA kind of scene mode of the corresponding called after of kind of scene, by each scene mode and corresponding PCM threshold valueCorrespondence mappings forms the mapping table of scene mode and PCM threshold value.
Wherein, audio frequency input module comprises microphone, for mechanical sound wave is converted to analog telecommunicationsNumber, and be delivered to processing module;
Processing module comprises: amplifying unit, and AD conversion unit and processing unit, wherein:
Amplifying unit is connected with microphone, for analog signal is amplified, and is transported to analog-to-digital conversionUnit;
AD conversion unit is connected with amplifying unit, for the analog signal of amplifying unit output is turnedBe changed to PCM data signal, and export to processing unit;
Wherein, processing unit is corresponding PCM value by PCM Digital Signal Processing, and inquiryThe mapping table of scape pattern and PCM threshold value, determines the scene mode that PCM value is corresponding, and by mobile phoneCurrent scene mode switches to scene mode corresponding to PCM value.
Wherein, the PCM value that current environment of living in is corresponding is more than or equal to lower limit and is less than or equal toWhen limit value, processing module judges that scene mode corresponding to PCM value is corresponding of PCM threshold valueScape pattern.
Be different from the situation of prior art, the present invention is by examining the current environment of living in of mobile phoneSurvey, obtain the PCM value that current environment of living in is corresponding, and be preset in hand according to this PCM value inquiryThe mapping table of the scene mode in machine and PCM threshold value, determines the scene mode that this PCM value is corresponding,Finally current scene mode is switched to scene mode corresponding to this PCM value. By above-mentioned sideFormula, mobile phone of the present invention can detect the PCM value of environment of living in, and determines according to this PCM valueThe residing environment of this mobile phone, and then automatically switch into corresponding scene mode, improve user and experience.
Brief description of the drawings
Fig. 1 is the flow chart of the embodiment of the method for a kind of switch mobile phone scene mode of the present invention;
Fig. 2 is the flow chart that obtains the PCM value that various different scene modes are corresponding;
Fig. 3 is the flow chart that audio signal is carried out to statistical disposition shown in Fig. 2;
Fig. 4 is the structural representation of the embodiment of a kind of mobile phone of the present invention.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in detail.
Please refer to Fig. 1, Fig. 1 is the embodiment of the method for a kind of switch mobile phone scene mode of the present inventionFlow chart, the method for switch mobile phone scene mode of the present invention comprises the following steps:
S1: the current environment of living in of mobile phone is detected, obtain PCM corresponding to current environment of living inValue;
S2: inquiry is preset in scene mode in mobile phone and the mapping table of PCM threshold value, determines PCMBe worth corresponding scene mode;
S3: current scene mode is switched to scene mode corresponding to PCM value.
Wherein, before step S1, need to first obtain PCM value corresponding to various varying environments, toolBody please refer to Fig. 2, and the method for obtaining PCM value corresponding to various varying environments specifically comprises following stepRapid:
S11: gather the audio signal of mobile phone under different scenes;
S12: audio signal is carried out to statistical disposition, to obtain reflecting of scene mode and PCM threshold valueFiring table;
S13: the mapping table of storage scenarios pattern and PCM threshold value.
Wherein, in step S11, what collect is the mechanic sound Boeing under extraneous different sceneFrequently signal, and further change into analog electrical signal.
Wherein, in step S12, need to unite to the audio signal collecting in step S11Meter is processed, and concrete processing procedure please refer to Fig. 3, and Fig. 3 is the concrete processing of S12 step in Fig. 2Operation, it comprises the following steps:
S211: in the same period, Same Scene is fixed to the repeated detection of duration, at every turn inspectionSurvey correspondence and obtain a PCM value, multiple PCM values that repeated detection is obtained are done on average, withTo the mean value of the PCM value corresponding with this period;
S212: in the different periods, Same Scene is repeated the detection of step S211, Mei GeshiSection correspondence obtains a mean value;
S213: multiple mean value is carried out to statistical disposition, obtain PCM threshold corresponding to Same SceneValue;
S214: every kind of different scene is carried out respectively to above-mentioned steps S211, S212 and S213Detection, to obtain PCM threshold value corresponding to each different scene;
S215: different scenes is named.
Wherein, PCM (Pulse-codemodulation, pulse code modulation) is from mould soundAnalog signal converts a kind of technology of data signal to, and the process of obtaining PCM value is: receiving stepAnalog electrical signal in S11, and amplifying, finally use a fixing frequency as 8KHz orPerson 16KHz samples to analog electrical signal, and the waveform of the signal after sampling is just as a string continuousThe pulse that amplitude differs, the amplitude of these pulses by certain precision quantize, coding etc.,Storage medium is exported, is transmitted, processed or be recorded to numerical value after these quantifications, coding continuouslyIn. Obtain the data signal of 8 bits by said process, corresponding decimal value is 0~255PCM value.
In step S213, PCM threshold value is to having a lower limit and a higher limit. To be manyIndividual mean value carries out statistical disposition several different methods, for example, can be, will in step S212, obtainThe minimum two or more mean values that obtain do average treatment again, obtain corresponding PCMThe lower limit of threshold value; Two or more mean values of maximum are done to average treatment again, obtainThe higher limit of corresponding PCM threshold value.
In step S215, different scenes is named and is specially: every kind of corresponding life of sceneA kind of scene mode by name, by each scene mode and corresponding PCM threshold value correspondence mappings, byThis forms the mapping table of scene mode and PCM threshold value.
Below illustrate and how to obtain the PCM value that various environment are corresponding. For example: with outdoorScape pattern is example, obtains PCM value that outdoor environment is corresponding two of the peak period of can going to work in the morningIn ten minutes, be chosen in a noisy audio signal of detection in every two minutes in the street, simulatedThe signal of telecommunication, and this analog electrical signal is changed into by operations such as amplification, sample quantization and codingsPCM value, then does on average detecting ten PCM values that obtain in 20 minutes for ten times, with mustGo to work to the morning mean value of PCM value corresponding to period, is made as D1.
Then more quiet the street repeats above-mentioned detection more in the afternoon, obtains quiet street in afternoonThe mean value of the PCM value that road is corresponding, is made as D2. Carry out after the same method same test,Obtain the mean value of the different PCM value of outdoor environment, as D3, D4 and D5.
Then by mean value D1, the D2 of PCM values different outdoor environment obtained above, D3,D4 and D5 do on average again, to obtain PCM threshold value. For example can two of minimum are averageValue is done the lower limit that on average obtains PCM threshold value, and two mean values of maximum are done on average, obtains PCMThe upper limit of threshold value. Thus, the mapping that obtains outdoor pattern and the PCM threshold value corresponding with it is closedSystem.
In like manner, detect other patterns, for example mode standard, silent mode by above-mentioned same methodOr the PCM threshold value that conference model etc. are corresponding, corresponding respectively with it to obtain different scenesThe mapping table of PCM threshold value, as shown in table 1.
Finally different scenes with its respectively the mapping table of corresponding PCM threshold value store memory intoIn.
Table 1: scene mode and corresponding PCM threshold value thereof
Scene mode PCM threshold value (upper limit) PCM threshold value (lower limit)
Mode standard A0 A1
Silent mode B0 B1
Conference model C0 C1
Outdoor pattern D0 D1
Described in brought forward, in the present invention, after need to obtaining in advance the PCM value that various environment are correspondingJust can carry out the switching of the scene mode of mobile phone, shown in Fig. 1:
Pre-stored different scenes and its mapping table of corresponding PCM threshold value respectively in mobile phoneAfter, in step S1: after mobile phone power-on, automatically open the time interval of sound-recording function to presetThe current environment of living in of mobile phone is detected, to obtain the PCM value that current environment of living in is corresponding.
Wherein, the time interval is set by the user, such as being set as about detection per minute once,Or select a bit of time after mobile phone and base station periodic synchronous complete to detect, hand like thisThe power consumption of machine system does not almost increase, and has promoted user's experience.
Wherein, the process of obtaining PCM value is the same with the process described in Fig. 3, no longer superfluous at thisState.
In step S2, be more than or equal to a certain when inquiring the PCM value that current environment of living in is correspondingThe minimum of a value of PCM threshold value and while being less than or equal to the maximum of this PCM threshold value, judges this PCMBeing worth corresponding scene mode is the corresponding scene mode of this PCM threshold value.
For example, be more than or equal to the A1 in table 1 when inquiring the PCM value that current environment of living in is correspondingValue, and be less than or equal to the A0 value in table 1, scene mode corresponding to this PCM value is higher limitFor A0 and lower limit are the corresponding standard scene mode of A1.
The determination methods of other scene mode is the same with standard scene mode, no longer superfluous at thisState.
In step S3, according to scene mode corresponding to PCM value definite in step S2, controlCurrent scene mode is automatically switched to scene mode corresponding to this PCM value by mobile phone processed.
Please refer to Fig. 4, Fig. 4 is the structural representation of the embodiment of a kind of mobile phone of the present invention. As figureShown in 4, mobile phone 400 of the present invention comprises: audio frequency input module 401, processing module 402 withAnd storage module 403.
Wherein, audio frequency input module 401 is for gathering the audio frequency letter of mobile phone 400 current environment of living inNumber. Processing module 402 is connected with memory module 403 with audio frequency input module 401 respectively, forReceive audio signal corresponding to current environment of living in, and audio signal is converted to PCM value, andThe mapping table of inquiry scene mode and PCM threshold value, determines the scene mode that this PCM value is corresponding,And scene mode current mobile phone 400 is switched to scene mode corresponding to PCM value. Storage mouldThe scene mode of piece 403 memory mobile phones 400 and the mapping table of PCM threshold value.
In the present embodiment, audio frequency input module 401 comprises microphone 411, for the external world is differentMechanic sound ripple audio signal under scene is converted to analog electrical signal, and is delivered to processing module 402.
In the present embodiment, processing module 402 further comprises: amplifying unit 421, analog-to-digital conversionUnit 422 and processing unit 423.
Wherein, amplifying unit 421 is connected with microphone 411, for analog electrical signal is amplified,And be transported to AD conversion unit 422. AD conversion unit 422 is connected with amplifying unit 421,Be converted to PCM data signal for the analog electrical signal that amplifying unit 421 is exported, and outputGive processing unit 423. Wherein, processing unit 423 is corresponding by PCM Digital Signal ProcessingPCM value, and inquire about the mapping table of scene mode and PCM threshold value, determines that PCM value is correspondingScene mode, and scene mode current mobile phone is switched to scene mode corresponding to PCM value.
In the present embodiment, mobile phone 400 will first obtain the PCM value that various environment are corresponding, is specially:
Audio frequency input module 401 gathers the audio signal of mobile phone 400 under different scenes, processes mouldPiece 402 carries out statistical disposition to audio signal, to obtain the mapping of scene mode and PCM threshold valueTable.
Wherein, in the same period, audio frequency input module 401 is fixed duration to Same SceneRepeated detection is to obtain multiple analog electrical signals, and the analog electrical signal obtaining after each detection is by placeAmplifier 421, AD conversion unit 422 and the rear correspondence of processing unit 423 of reason module 402Produce a PCM value. And the processing unit 423 in processing module 402 is by repeated detectionAnd multiple PCM values of obtaining after treatment do on average, to obtain the PCM value corresponding with the periodMean value. Further in other different periods, Same Scene is repeated the detection of PCM value,Each period correspondence obtains a mean value. Processing unit 423 in processing module 402 is by differenceMultiple mean values of period carry out statistical disposition, obtain PCM threshold value corresponding to Same Scene.
Audio frequency input module 401 is tested every kind of different scene, and processing module 402 is to soundThe PCM value of the different scenes that input module 401 is tested is frequently carried out statistical disposition and is obtained eachWith PCM threshold value corresponding to scene.
The concrete process of obtaining PCM value and to the method for mean value statistical disposition as in Fig. 3Concrete mode, do not repeat them here.
In the present embodiment, the processing unit 423 in processing module 402 is ordered different scenesName, a kind of scene mode of the corresponding called after of every kind of scene, by each scene mode and corresponding PCMThreshold value correspondence mappings forms the mapping table of scene mode and PCM threshold value, wherein, and PCM threshold value bagDraw together maximum and minimum of a value, as the aforementioned table 1.
Therefore, obtained by the way reflecting of each scene mode and its corresponding PCM threshold valueFiring table, and be stored in memory 403. When after mobile phone power-on, audio frequency input module 401 is automaticOpening sound-recording function detected to obtain to the current environment of living in of mobile phone with the time interval of presettingThe analog electrical signal of corresponding audio frequency, and obtain current ring of living in after processing by processor 402The PCM value that border is corresponding.
Wherein, the time interval is set by the user, such as being set as about detection per minute once,Or select a bit of time after mobile phone and base station periodic synchronous complete to detect, hand like thisThe power consumption of machine system does not almost increase, and has promoted user's experience.
When detecting the PCM value that current environment of living in is corresponding, audio frequency input module 401 is more than or equal toThe minimum of a value of a certain PCM threshold value and while being less than or equal to the maximum of this PCM threshold value, processing module402 judge that scene mode corresponding to PCM value is the corresponding scene mode of this PCM threshold value.
For example, be more than or equal to the A1 in table 1 when inquiring the PCM value that current environment of living in is correspondingValue, and be less than or equal to the A0 value in table 1, scene mode corresponding to this PCM value is higher limitFor A0 and lower limit are the corresponding standard scene mode of A1.
The determination methods of other scene mode is identical with standard scene mode, does not repeat them here.
When the processing unit 423 in processing module 402 obtains the scene mould that current environment of living in is correspondingAfter formula, control mobile phone 400 and be switched to corresponding scene mode.
In sum, the present invention, by the current environment of living in of mobile phone is detected, obtains current institutePCM value corresponding to place's environment, and be preset in the scene mode in mobile phone according to this PCM value inquiryWith the mapping table of PCM threshold value, determine the scene mode that this PCM value is corresponding, finally by currentScene mode switches to scene mode corresponding to this PCM value. By above-mentioned method, the present inventionMobile phone the PCM value of environment of living in can be detected, and determine that according to this PCM value this mobile phone is of living inEnvironment, and then automatically switch into corresponding scene mode, improve user and experience.
The foregoing is only embodiments of the invention, not thereby limit the scope of the claims of the present invention,Every equivalent structure or conversion of equivalent flow process that utilizes description of the present invention and accompanying drawing content to do, orDirectly or indirectly be used in other relevant technical fields, be all in like manner included in patent of the present invention and protectProtect in scope.

Claims (5)

1. a method for switch mobile phone scene mode, is characterized in that, described method comprises:
After described mobile phone power-on, automatically open sound-recording function with time interval of presetting to described mobile phoneCurrent environment of living in detects, and obtains the PCM value that current environment of living in is corresponding, wherein, and instituteStating the time interval is set by the user, when a bit of after selecting mobile phone and base station periodic synchronous to completeBetween detect;
Inquiry is preset in scene mode in described mobile phone and the mapping table of PCM threshold value, determines instituteState scene mode corresponding to PCM value;
Current scene mode is switched to described scene mode corresponding to described PCM value;
Wherein, before the described step of obtaining the PCM value that current environment of living in is corresponding, described inMethod also comprises step:
Gather the audio signal of mobile phone under different scenes;
Described audio signal is carried out to statistical disposition, to obtain described scene mode and PCM threshold valueMapping table;
Store the mapping table of described scene mode and PCM threshold value;
Wherein, described described audio signal is carried out to statistical disposition, with obtain described scene mode andThe step of the mapping table of PCM threshold value comprises:
Mobile phone is placed under different scenes and is detected, wherein, in the same period, to sameScape is fixed the repeated detection of duration, detects correspondence at every turn and obtains a PCM value, described in inciting somebody to actionMultiple PCM values that repeated detection is obtained are done on average, to obtain the PCM value corresponding with the described periodMean value;
In the different periods, described Same Scene is repeated the detection of previous step, each period pairShould obtain a described mean value;
Multiple described mean value is carried out to statistical disposition, obtain described Same Scene corresponding described inPCM threshold value, wherein, described PCM threshold value, will to having a lower limit and a higher limitMinimum two or more mean values in multiple described mean value do average treatment again,To the lower limit of corresponding described PCM threshold value, by maximum two in multiple described mean valueOr plural mean value does average treatment again, obtain the upper limit of corresponding described PCM threshold valueValue;
Every kind of different scene is carried out respectively to the detection of above-mentioned steps, to obtain each different sceneCorresponding described PCM threshold value;
Different scenes is named, and every kind of a kind of scene mode of the corresponding called after of scene, will be everyDescribed in one, scene mode and corresponding described PCM threshold value correspondence mappings, form described scene thusThe mapping table of pattern and PCM threshold value.
2. the method for switch mobile phone scene mode according to claim 1, is characterized in that:
When described PCM value corresponding to current environment of living in is more than or equal to described lower limit and is less than etc.In the time of described higher limit, judge that scene mode corresponding to described PCM value is as described PCM threshold valueCorresponding scene mode.
3. a mobile phone, is characterized in that:
Described mobile phone comprises: audio frequency input module, and processing module and storage module, wherein:
The mapping table of the scene mode of described memory module memory mobile phone and PCM threshold value;
Described audio frequency input module is for after described mobile phone power-on, automatically opens sound-recording function with in advanceIf the time interval gather the audio signal of the current environment of living in of described mobile phone, wherein, the described timeInterval is set by the user, and selects a bit of time after mobile phone and base station periodic synchronous complete to carry outDetect;
Described processing module is connected with described memory module with described audio frequency input module respectively, forReceive the described audio signal that current environment of living in is corresponding, and described audio signal is converted to PCMValue, and inquire about the mapping table of described scene mode and PCM threshold value, determine that described PCM value is correspondingScene mode, and it is corresponding that scene mode current described mobile phone is switched to described PCM valueDescribed scene mode;
Wherein, described audio frequency input module gathers the audio signal of mobile phone under different scenes;
Described processing module is carried out statistical disposition to described audio signal, to obtain described scene modeMapping table with PCM threshold value;
Wherein, in the same period, described audio frequency input module is fixed duration to Same SceneRepeated detection detects a corresponding PCM value, the described processing mould of producing of described processing module at every turnMultiple PCM values that piece obtains described repeated detection are done on average, corresponding with the described period to obtainThe mean value of PCM value;
Described audio frequency input module further other different periods to described Same Scene repeat intoThe detection of row PCM value, each period correspondence obtains a described mean value;
Described multiple mean value is carried out statistical disposition by described processing module, obtains described Same SceneCorresponding PCM threshold value, wherein, described PCM threshold value is to having a lower limit and a upper limitValue, does average place again by the minimum two or more mean values in multiple described mean valueManage, obtain the lower limit of corresponding described PCM threshold value, by the maximum in multiple described mean valueTwo or more mean values do again average treatment, obtain corresponding described PCM threshold valueHigher limit;
Described audio frequency input module is tested every kind of different scene, and described processing module is carried outStatistical disposition obtains described PCM threshold value corresponding to each different scene;
Described processing module is named different scenes, every kind of a kind of field of the corresponding called after of sceneScape pattern, forms institute by scene mode described in each with corresponding described PCM threshold value correspondence mappingsState the mapping table of scene mode and PCM threshold value.
4. mobile phone according to claim 3, is characterized in that:
Described audio frequency input module comprises microphone, for mechanical sound wave is converted to analog telecommunicationsNumber, and be delivered to described processing module;
Described processing module comprises: amplifying unit, and AD conversion unit and processing unit, wherein:
Described amplifying unit is connected with described microphone, for described analog signal is amplified, and defeatedDeliver to described AD conversion unit;
Described AD conversion unit is connected with described amplifying unit, for described amplifying unit is exportedDescribed analog signal be converted to PCM data signal, and export to described processing unit;
Wherein, described processing unit is corresponding PCM value by described PCM Digital Signal Processing,And inquire about the mapping table of described scene mode and PCM threshold value, determine field corresponding to described PCM valueScape pattern, and by scene mode current described mobile phone switch to described PCM value corresponding described inScene mode.
5. mobile phone according to claim 3, is characterized in that:
The described PCM value that current environment of living in is corresponding is more than or equal to described lower limit and is less than or equal toWhen described higher limit, described in described processing module judges that scene mode corresponding to described PCM value beThe corresponding scene mode of PCM threshold value.
CN201210219988.1A 2012-06-28 2012-06-28 A kind of method of mobile phone and switch mobile phone scene mode Expired - Fee Related CN102761662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210219988.1A CN102761662B (en) 2012-06-28 2012-06-28 A kind of method of mobile phone and switch mobile phone scene mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210219988.1A CN102761662B (en) 2012-06-28 2012-06-28 A kind of method of mobile phone and switch mobile phone scene mode

Publications (2)

Publication Number Publication Date
CN102761662A CN102761662A (en) 2012-10-31
CN102761662B true CN102761662B (en) 2016-05-04

Family

ID=47055977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210219988.1A Expired - Fee Related CN102761662B (en) 2012-06-28 2012-06-28 A kind of method of mobile phone and switch mobile phone scene mode

Country Status (1)

Country Link
CN (1) CN102761662B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981722A (en) * 2012-11-05 2013-03-20 广东欧珀移动通信有限公司 Method and device for scene switching
CN103985224B (en) * 2014-04-09 2016-10-26 惠州Tcl移动通信有限公司 The method and system of prompting are given based on smart machine detection human fatigue
CN104219387B (en) * 2014-08-28 2018-04-27 深圳市金立通信设备有限公司 A kind of automatic switching method of contextual model
CN104219386B (en) * 2014-08-28 2018-04-27 深圳市金立通信设备有限公司 A kind of terminal
CN104902081B (en) * 2015-04-30 2017-05-03 广东欧珀移动通信有限公司 Control method of flight mode and mobile terminal
CN107553487B (en) * 2017-08-22 2021-05-25 广东美的智能机器人有限公司 Mode switching method and device for robot
CN107592427B (en) * 2017-10-11 2020-07-07 广东小天才科技有限公司 Mode switching method, terminal device and computer readable storage medium
JP6677692B2 (en) * 2017-10-11 2020-04-08 ファナック株式会社 Display device, management device, management system, and control program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242597A (en) * 2007-02-05 2008-08-13 联想移动通信科技有限公司 Method and device for automatically selecting scenario mode according to environmental noise method on mobile phone
CN101848278A (en) * 2010-04-21 2010-09-29 惠州Tcl移动通信有限公司 Mobile phone system and phone profile switching method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7248835B2 (en) * 2003-12-19 2007-07-24 Benq Corporation Method for automatically switching a profile of a mobile phone

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242597A (en) * 2007-02-05 2008-08-13 联想移动通信科技有限公司 Method and device for automatically selecting scenario mode according to environmental noise method on mobile phone
CN101848278A (en) * 2010-04-21 2010-09-29 惠州Tcl移动通信有限公司 Mobile phone system and phone profile switching method thereof

Also Published As

Publication number Publication date
CN102761662A (en) 2012-10-31

Similar Documents

Publication Publication Date Title
CN102761662B (en) A kind of method of mobile phone and switch mobile phone scene mode
CN102800323B (en) Method and device for reducing noises of voice of mobile terminal
CN101740036B (en) Method and device for automatically adjusting call volume
CN101242597B (en) Method and device for automatically selecting scenario mode according to environmental noise method on mobile phone
CN100440899C (en) A method and apparatus for automatic regulation of mobile phone volume
CN1783892A (en) Method and its device for automatic switching scene modes in ncobile terminal
CN101175265A (en) Method for automatically switching scene mode of mobile phone
CN101009887A (en) Mobile terminal and its communication event prompt method
US20120264481A1 (en) Mobile Terminal, and Volume Adjusting Method and Device Thereof
KR100343776B1 (en) Apparatus and method for volume control of the ring signal and/or input speech following the background noise pressure level in digital telephone
CN101686276A (en) Method for adjusting call volume of communication terminal, volume control device and mobile phone
CN1728753A (en) Mobile terminal capable of adjusting volume of ring automatically, and method
CN105679356B (en) The way of recording, device and terminal
CN1783928A (en) Method and its device for realizing automatically regulating bell volume in mobile terminal
CN101848278A (en) Mobile phone system and phone profile switching method thereof
CN103379231A (en) Wireless conference phone and method for wireless conference phone performing voice signal transmission
CN104038610A (en) Adjusting method and apparatus of conversation voice
CN100380444C (en) Apparatus and method for controlling noise in mobile communication terminal
CN202979082U (en) Automatic call volume adjuster applied for mobile phone
CN100508677C (en) Method and apparatus for controlling LED indicating lamp
CN103716467A (en) Method and system for adjusting mobile phone system parameters
CN201043912Y (en) Human-computer dialogue acoustic control body weight scale
CN105554218A (en) Receiver volume adjusting method and related equipment
CN101626421B (en) Handheld device for automatically switching ringtones and method thereof
CN104079420A (en) Information processing method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160504

Termination date: 20210628

CF01 Termination of patent right due to non-payment of annual fee