CN101902531A - Method and device for switching contextual model and mobile terminal - Google Patents
Method and device for switching contextual model and mobile terminal Download PDFInfo
- Publication number
- CN101902531A CN101902531A CN201010249699.7A CN201010249699A CN101902531A CN 101902531 A CN101902531 A CN 101902531A CN 201010249699 A CN201010249699 A CN 201010249699A CN 101902531 A CN101902531 A CN 101902531A
- Authority
- CN
- China
- Prior art keywords
- contextual model
- audio frequency
- image
- characteristic information
- switching
- 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
Images
Abstract
The invention discloses a method, a device for switching contextual model and a mobile terminal; the method comprises the following steps: collecting images and sound frequency in definite time; respectively calculating the characteristic information of the images and sound frequency; and switching the contextual model according to the characteristic information of the images and sound frequency. The invention further discloses a device and a mobile terminal using the method. In the method, the device for switching contextual model and the mobile terminal, the contextual model of the mobile terminal is selected according to the characteristic information of the images and sounds surrounding the mobile terminal.
Description
Technical field
The present invention relates to the communications field, specially refer to a kind of method, device and portable terminal of switching contextual model.
Background technology
Portable terminals such as present most of mobile phone provide multiple contextual model, and so-called contextual model is the combination of different the tinkle of bells, volume, screen intensity and ring mode etc., and portable terminal can be selected different contextual models under varying environment, with the variation that conforms.Common contextual model switches needs user's manual operations, the defective of this method to be to forget and can bring great inconvenience to the user when carrying out manual operations owing to neglecting as the user, has for example used the bigger contextual model of sound when meeting.
A solution is provided in the prior art, and promptly by extracting the environmental noise information automatic switching situation pattern of portable terminal, the defective of this scheme can only be switched according to sound, and can not change contextual model according to the ambient brightness of portable terminal.
Summary of the invention
The technical problem that desire of the present invention solves is to provide a kind of method, device and portable terminal of switching contextual model, according to the sound of portable terminal surrounding environment and the characteristic information of image, selects the contextual model of portable terminal.
The present invention proposes a kind of method of switching contextual model, be applied to portable terminal, comprising:
Timing acquiring image and audio frequency;
Calculate the characteristic information of described image and audio frequency respectively;
Characteristic information switching contextual model according to described image and audio frequency.
Preferably, described characteristic information switching contextual model according to image and audio frequency comprises:
Characteristic information and default mark sheet according to described image and audio frequency obtain corresponding contextual model, and described mark sheet comprises and the default image and the corresponding contextual model of characteristic information of audio frequency.
Preferably, described timing acquiring image and audio frequency comprise:
By the camera collection image, gather audio frequency by microphone.
Preferably, the method for described switching contextual model also comprises:
Gather image and audio frequency under the specific environment, the image under the described specific environment is corresponding with contextual model with audio frequency, form mark sheet.
Preferably, the method for described switching contextual model also comprises:
When not having the contextual model of corresponding described image and audio frequency characteristics information in the described mark sheet, keep existing contextual model.
The present invention also proposes a kind of device of switching contextual model, is applied to portable terminal, comprising:
Acquisition module is used for timing acquiring image and audio frequency;
Computing module is used for calculating respectively the characteristic information of described image and audio frequency;
Handover module is used for the characteristic information switching contextual model according to described image and audio frequency.
Preferably, handover module specifically is used for obtaining corresponding contextual model according to the characteristic information of described image and audio frequency and default mark sheet, and described mark sheet comprises and the default image and the corresponding contextual model of characteristic information of audio frequency.
Preferably, described acquisition module specifically is used for by the camera collection image, gathers audio frequency by microphone.
Preferably, the device of described switching contextual model also comprises the formation module, is used to gather image and audio frequency under the specific environment, and image under the described specific environment and audio frequency is corresponding with contextual model, forms mark sheet.
Preferably, the device of described switching contextual model also comprises the reservation module, is used for when not having the contextual model of corresponding described image and audio frequency people characteristic information in the described mark sheet, keeps existing contextual model.
The present invention also proposes a kind of portable terminal, comprises the device of switching contextual model, and described device comprises:
Acquisition module is used for timing acquiring image and audio frequency;
Computing module is used for calculating respectively the characteristic information of described image and audio frequency;
Handover module is used for the characteristic information switching contextual model according to described image and audio frequency.
Preferably, handover module specifically is used for obtaining corresponding contextual model according to the characteristic information of described image and audio frequency and default mark sheet, and described mark sheet comprises and the default image and the corresponding contextual model of characteristic information of audio frequency.
Preferably, described acquisition module specifically is used for by the camera collection image, gathers audio frequency by microphone.
Preferably, the device of described switching contextual model also comprises the formation module, is used to gather image and audio frequency under the specific environment, and the image under the described specific environment is corresponding with contextual model with audio frequency, forms mark sheet.
Preferably, the device of described switching contextual model also comprises the reservation module, is used for when not having the contextual model of corresponding described image and audio frequency people characteristic information in the described mark sheet, keeps existing contextual model.
Method, device and the portable terminal of a kind of switching contextual model that the present invention proposes by gathering and analyzing the sound of portable terminal surrounding environment and the characteristic information of image, are selected the contextual model of different portable terminals.
Description of drawings
Fig. 1 is the schematic flow sheet of method one embodiment of switching contextual model of the present invention;
Fig. 2 is the schematic flow sheet of the another embodiment of method of switching contextual model of the present invention;
Fig. 3 is the structural representation of device one embodiment of switching contextual model of the present invention;
Fig. 4 is the structural representation of another embodiment of device of switching contextual model of the present invention;
Fig. 5 is the structural representation of portable terminal of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Method, device and the portable terminal of a kind of switching contextual model that the present invention proposes by gathering and analyzing the sound of portable terminal surrounding environment and the characteristic information of image, are selected the contextual model of different portable terminals.
With reference to Fig. 1, method one embodiment of switching contextual model of the present invention is proposed, be used for portable terminal, comprising:
S101, timing acquiring image and audio frequency;
S102, the characteristic information of computed image and audio frequency respectively;
S103 is according to the characteristic information switching contextual model of image and audio frequency.
Wherein S103 specifically comprises:
Characteristic information and default mark sheet according to image and audio frequency obtain corresponding contextual model, and this mark sheet comprises and the default image and the corresponding contextual model of characteristic information of audio frequency.
Above-mentioned image and audio frequency can be gathered by camera and microphone.Image of the present invention comprises still image and dynamic image.
With reference to Fig. 2, the another embodiment of method of switching contextual model of the present invention is proposed, in the above-described embodiments, also comprise before the S101:
S100 gathers image and audio frequency under the specific environment, and the image under the specific environment is corresponding with contextual model with audio frequency, forms mark sheet.
Also comprise before the S103:
S104, when not having the contextual model of correspondence image and audio frequency characteristics information in the mark sheet, switching contextual model not.
Describe the operation principle of the method for switching contextual model of the present invention below in detail.
Portable terminal at first utilizes audio frequency and the image under the instruments collection specific environments such as camera and microphone, portable terminal uses fast fourier transform to calculate the characteristic information of audio frequency, this calculating comprises: by sound card simulated audio signal is converted into digital audio and video signals, generates spectrum signature figure by fast fourier transform then.Portable terminal obtains the characteristic information of camera institute images acquired by the image exposure amount.Portable terminal is corresponding one by one with contextual model with the characteristic information of above-mentioned audio frequency and image, forms mark sheet.
Method according to above-mentioned collection audio frequency and image and calculated characteristics information, the audio frequency and the image of portable terminal timing acquiring portable terminal surrounding environment when start, and the characteristic information of calculating audio frequency and image, inquire about the mark sheet that sets in advance according to the characteristic information that calculates, obtain corresponding contextual model, and switch to this contextual model.Can not in mark sheet, inquire corresponding contextual model as portable terminal, then keep existing contextual model.
The method of a kind of switching contextual model that the present invention proposes by gathering and analyzing the sound of portable terminal surrounding environment and the characteristic information of image, is selected the contextual model of different portable terminals.
With reference to Fig. 3, device 50 1 embodiment of switching contextual model of the present invention are proposed, be used for portable terminal, comprising:
Wherein, handover module 30 specifically is used for obtaining corresponding contextual model according to the characteristic information of image and audio frequency and default mark sheet, and this mark sheet comprises and the default image and the corresponding contextual model of characteristic information of audio frequency.
Above-mentioned image and audio frequency can be gathered by camera and microphone.Image of the present invention comprises still image and dynamic image.
With reference to Fig. 4, the present invention proposes device 50 another embodiment of switching contextual model, in the device 50 of the foregoing description switching contextual model, also comprises:
Keep module 40, be used for when not having the contextual model of corresponding described image and audio frequency people characteristic information in the mark sheet, keep existing contextual model.
Describe the operation principle of the device 50 of switching contextual model of the present invention below in detail.
Forming module 60 at first utilizes instruments such as camera and microphone to gather audio frequency and image, use fast fourier transform to calculate the characteristic information of audio frequency, this calculating comprises: by sound card simulated audio signal is converted into digital audio and video signals, generates spectrum signature figure by fast fourier transform then; Obtain the characteristic information of camera institute images acquired by the image exposure amount.It is corresponding one by one with contextual model with the characteristic information of above-mentioned audio frequency and image to form module 60, makes mark sheet.
The audio frequency and the image of acquisition module 10 timing acquiring portable terminal surrounding environment when mobile terminal-opening, computing module 20 calculates the characteristic information of audio frequency and image, the mark sheet that handover module 30 sets in advance according to the characteristic information inquiry of calculating, obtain corresponding contextual model, handover module 30 switches portable terminal to this contextual model.Can not in mark sheet, inquire corresponding contextual model as portable terminal, then keep module 40 and keep the existing contextual model of portable terminal.
The device 50 of the switching contextual model that the present invention proposes by gathering and analyzing the sound of portable terminal surrounding environment and the characteristic information of image, is selected the contextual model of different portable terminals.
With reference to Fig. 5, portable terminal one embodiment of the present invention is proposed, comprise the device 50 of the switching contextual model of the foregoing description, its operation principle and structure repeat no more.
The portable terminal that the present invention proposes by gathering and analyzing the sound of portable terminal surrounding environment and the characteristic information of image, is selected the contextual model of different portable terminals.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.
Claims (11)
1. the method for a switching contextual model is applied to portable terminal, it is characterized in that, comprising:
Timing acquiring image and audio frequency;
Calculate the characteristic information of described image and audio frequency respectively;
Characteristic information switching contextual model according to described image and audio frequency.
2. the method for switching contextual model as claimed in claim 1 is characterized in that, described characteristic information switching contextual model according to image and audio frequency comprises:
Characteristic information and default mark sheet according to described image and audio frequency obtain corresponding contextual model, and described mark sheet comprises and the default image and the corresponding contextual model of characteristic information of audio frequency.
3. the method for switching contextual model as claimed in claim 1 or 2 is characterized in that, described timing acquiring image and audio frequency comprise:
By the camera collection image, gather audio frequency by microphone.
4. the method for switching contextual model as claimed in claim 1 or 2 is characterized in that, also comprises:
Gather image and audio frequency under the specific environment, the image under the described specific environment is corresponding with contextual model with audio frequency, form mark sheet.
5. the method for switching contextual model as claimed in claim 1 or 2 is characterized in that, also comprises:
When not having the contextual model of corresponding described image and audio frequency characteristics information in the described mark sheet, keep existing contextual model.
6. the device of a switching contextual model is applied to portable terminal, it is characterized in that, comprising:
Acquisition module is used for timing acquiring image and audio frequency;
Computing module is used for calculating respectively the characteristic information of described image and audio frequency;
Handover module is used for the characteristic information switching contextual model according to described image and audio frequency.
7. the device of switching contextual model as claimed in claim 6, it is characterized in that, handover module specifically is used for according to the characteristic information of described image and audio frequency and default mark sheet, obtain corresponding contextual model, described mark sheet comprises and the default image and the corresponding contextual model of characteristic information of audio frequency.
8. as the device of claim 6 or 7 described switching contextual models, it is characterized in that described acquisition module specifically is used for by the camera collection image, gather audio frequency by microphone.
9. as the device of claim 6 or 7 described switching contextual models, it is characterized in that, also comprise the formation module, be used to gather image and audio frequency under the specific environment, the image under the described specific environment is corresponding with contextual model with audio frequency, form mark sheet.
10. as the device of claim 6 or 7 described switching contextual models, it is characterized in that, also comprise the reservation module, be used for when not having the contextual model of corresponding described image and audio frequency people characteristic information in the described mark sheet, keep existing contextual model.
11. portable terminal that comprises the device of each described switching contextual model of claim 6 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010249699.7A CN101902531A (en) | 2010-08-10 | 2010-08-10 | Method and device for switching contextual model and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010249699.7A CN101902531A (en) | 2010-08-10 | 2010-08-10 | Method and device for switching contextual model and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101902531A true CN101902531A (en) | 2010-12-01 |
Family
ID=43227725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010249699.7A Pending CN101902531A (en) | 2010-08-10 | 2010-08-10 | Method and device for switching contextual model and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101902531A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102883030A (en) * | 2011-07-12 | 2013-01-16 | 富泰华工业(深圳)有限公司 | Electronic device with automatic work mode switch function and method thereof |
CN103716437A (en) * | 2012-09-28 | 2014-04-09 | 华为终端有限公司 | Sound quality and volume control method and apparatus |
CN104391577A (en) * | 2014-11-30 | 2015-03-04 | 丁铁梅 | Intelligent wear device and method for controlling mobile device |
CN105357392A (en) * | 2015-11-24 | 2016-02-24 | 上海斐讯数据通信技术有限公司 | Mobile phone, and mobile phone calls reminding method and apparatus |
WO2016078293A1 (en) * | 2014-11-21 | 2016-05-26 | 中兴通讯股份有限公司 | Terminal control method, device, terminal and storage medium |
CN107426425A (en) * | 2017-07-25 | 2017-12-01 | 珠海市魅族科技有限公司 | Application control method, device, computer installation and readable storage medium storing program for executing |
WO2019061112A1 (en) * | 2017-09-27 | 2019-04-04 | 深圳传音通讯有限公司 | Switching method and switching apparatus for profiles of smart device |
CN111903113A (en) * | 2018-10-16 | 2020-11-06 | 华为技术有限公司 | Method, chip and terminal for identifying environmental scene |
CN112109647A (en) * | 2020-09-22 | 2020-12-22 | 上海博泰悦臻网络技术服务有限公司 | Vehicle and method and device for realizing vehicle contextual model |
CN112887778A (en) * | 2021-01-15 | 2021-06-01 | Vidaa美国公司 | Switching method of video resource playing modes on display equipment and display equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040127198A1 (en) * | 2002-12-30 | 2004-07-01 | Roskind James A. | Automatically changing a mobile device configuration based on environmental condition |
CN1783892A (en) * | 2004-12-02 | 2006-06-07 | 华为技术有限公司 | Method and its device for automatic switching scene modes in ncobile terminal |
CN101175265A (en) * | 2006-10-31 | 2008-05-07 | 英华达(上海)电子有限公司 | Method for automatically switching scene mode of mobile phone |
CN101242597A (en) * | 2007-02-05 | 2008-08-13 | 联想移动通信科技有限公司 | Method and device for automatically selecting scenario mode according to environmental noise method on mobile phone |
CN101494682A (en) * | 2008-01-23 | 2009-07-29 | 宏达国际电子股份有限公司 | Method for switching enactment document of mobile device |
CN101765235A (en) * | 2009-12-28 | 2010-06-30 | 深圳华为通信技术有限公司 | Method and terminal for switching profiles |
-
2010
- 2010-08-10 CN CN201010249699.7A patent/CN101902531A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040127198A1 (en) * | 2002-12-30 | 2004-07-01 | Roskind James A. | Automatically changing a mobile device configuration based on environmental condition |
CN1783892A (en) * | 2004-12-02 | 2006-06-07 | 华为技术有限公司 | Method and its device for automatic switching scene modes in ncobile terminal |
CN101175265A (en) * | 2006-10-31 | 2008-05-07 | 英华达(上海)电子有限公司 | Method for automatically switching scene mode of mobile phone |
CN101242597A (en) * | 2007-02-05 | 2008-08-13 | 联想移动通信科技有限公司 | Method and device for automatically selecting scenario mode according to environmental noise method on mobile phone |
CN101494682A (en) * | 2008-01-23 | 2009-07-29 | 宏达国际电子股份有限公司 | Method for switching enactment document of mobile device |
CN101765235A (en) * | 2009-12-28 | 2010-06-30 | 深圳华为通信技术有限公司 | Method and terminal for switching profiles |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102883030A (en) * | 2011-07-12 | 2013-01-16 | 富泰华工业(深圳)有限公司 | Electronic device with automatic work mode switch function and method thereof |
CN103716437A (en) * | 2012-09-28 | 2014-04-09 | 华为终端有限公司 | Sound quality and volume control method and apparatus |
WO2016078293A1 (en) * | 2014-11-21 | 2016-05-26 | 中兴通讯股份有限公司 | Terminal control method, device, terminal and storage medium |
CN104391577A (en) * | 2014-11-30 | 2015-03-04 | 丁铁梅 | Intelligent wear device and method for controlling mobile device |
CN105357392A (en) * | 2015-11-24 | 2016-02-24 | 上海斐讯数据通信技术有限公司 | Mobile phone, and mobile phone calls reminding method and apparatus |
CN107426425A (en) * | 2017-07-25 | 2017-12-01 | 珠海市魅族科技有限公司 | Application control method, device, computer installation and readable storage medium storing program for executing |
WO2019061112A1 (en) * | 2017-09-27 | 2019-04-04 | 深圳传音通讯有限公司 | Switching method and switching apparatus for profiles of smart device |
CN111903113A (en) * | 2018-10-16 | 2020-11-06 | 华为技术有限公司 | Method, chip and terminal for identifying environmental scene |
CN112109647A (en) * | 2020-09-22 | 2020-12-22 | 上海博泰悦臻网络技术服务有限公司 | Vehicle and method and device for realizing vehicle contextual model |
CN112887778A (en) * | 2021-01-15 | 2021-06-01 | Vidaa美国公司 | Switching method of video resource playing modes on display equipment and display equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101902531A (en) | Method and device for switching contextual model and mobile terminal | |
WO2020244500A1 (en) | Method for touch control in screen casting scenario, and electronic apparatus | |
US20220080261A1 (en) | Recommendation Method Based on Exercise Status of User and Electronic Device | |
CN106652996B (en) | Prompt tone generation method and device and mobile terminal | |
CN109766043A (en) | The operating method and electronic equipment of electronic equipment | |
CN108831448A (en) | The method, apparatus and storage medium of voice control smart machine | |
CN103458113A (en) | Method and terminal for adjusting communication volume | |
CN103347115B (en) | The method and apparatus of a kind of output volume controlling electronic product and a kind of mobile phone | |
CN111565410B (en) | Wireless signal quality evaluation method, electronic equipment and system | |
CN112237031B (en) | Method for accessing intelligent household equipment to network and related equipment | |
CN101827173B (en) | Mobile phone changing ring tone according to changes of weather and implementation method thereof | |
WO2012151997A1 (en) | Call voice recording method and device for mobile terminal and mobile terminal | |
CN102917137A (en) | Mobile phone capable of automatically selecting alarm clock ringing according to weather and implementation method of mobile phone | |
CN101924833A (en) | Terminal control method and terminal | |
CN103167174A (en) | Output method, device and mobile terminal of mobile terminal greetings | |
CN111314560A (en) | Method for adjusting sound loudness and communication terminal | |
CN104168369A (en) | Adjusting method and apparatus of terminal scene mode | |
CN105338162A (en) | Method and system for adaptively adjusting incoming call prompting modes of mobile phone | |
CN103309657A (en) | Method, device and equipment for exchanging mobile equipment ring voice frequency | |
CN103218045B (en) | A kind of method and device lighting mobile terminal screen | |
CN202979082U (en) | Automatic call volume adjuster applied for mobile phone | |
CN105843595A (en) | Method, device, and terminal for interface display | |
CN116665692B (en) | Voice noise reduction method and terminal equipment | |
CN111142767B (en) | User-defined key method and device of folding device and storage medium | |
CN115378302A (en) | Control method, device and equipment of linear motor and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20101201 |