Movatterモバイル変換


[0]ホーム

URL:


CN105898079A - Profile switching method - Google Patents

Profile switching method
Download PDF

Info

Publication number
CN105898079A
CN105898079ACN201610478491.XACN201610478491ACN105898079ACN 105898079 ACN105898079 ACN 105898079ACN 201610478491 ACN201610478491 ACN 201610478491ACN 105898079 ACN105898079 ACN 105898079A
Authority
CN
China
Prior art keywords
switching
contextual model
handheld terminal
predetermined
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610478491.XA
Other languages
Chinese (zh)
Inventor
沐维
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHENGDU THUNDERSOFT SOFTWARE TECHNOLOGY Co Ltd
ThunderSoft Co Ltd
Original Assignee
CHENGDU THUNDERSOFT SOFTWARE TECHNOLOGY 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 CHENGDU THUNDERSOFT SOFTWARE TECHNOLOGY Co LtdfiledCriticalCHENGDU THUNDERSOFT SOFTWARE TECHNOLOGY Co Ltd
Priority to CN201610478491.XApriorityCriticalpatent/CN105898079A/en
Publication of CN105898079ApublicationCriticalpatent/CN105898079A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a profile switching method which is applied to a handheld terminal, wherein a physical key is arranged at the handheld terminal. The profile switching method comprises the steps: when detecting that the physical key sends out a first feedback message, judging whether the handheld terminal is in a preset state; if the handheld terminal is in the preset state, switching to a preset profile according to a preset switching rule. According to the profile switching method provided by the invention, a profile switching function of the handheld terminal is achieved by defining a physical key feedback manner of the handheld terminal without needing of entering a mobile phone menu, so that profile switching by a user is facilitated.

Description

A kind of method of switching contextual model
Technical field
The present invention relates to handheld terminal field, a kind of method of switching contextual model.
Background technology
Along with society growing, mobile terminal becomes a requisite Communication instrument during people carry with already.Receive calls whenever and wherever possible and become a common and normal thing in daily life already.Traditional common practice is to switch between several contextual model for presetting in the terminal, such as normal mode, silent mode, conference model and outdoor pattern.If wanting switch mode, user enters into contextual model and selects menu after needing what to redirect by menu, then select corresponding Pattern completion to switch.Such as main menu-> setting-> contextual model.This method enters, by searching menu step by step, the method that contextual model selects, but when people often come in and go out meeting room, but wishes, at meeting room, ring tone modes to be adjusted to conference model (quiet or vibration), thus do not affect the carrying out of meeting.When leaving the meeting room, it is desirable to the tinkle of bells is recovered normal.Therefore, the most desired pattern of user is to switch between normal mode and conference model;And for example user often comes in and goes out indoor and outdoors.Wish for normal mode indoor when, and indoor to outdoor when leaving, and due to the environment that outside is noisy, user wishes for outdoor pattern.Therefore, the pattern that this kind of user is with the most use and highly desirable is exactly to switch between normal mode and outdoor pattern.
Prior art discloses below scheme, patent CN201210311682.9 provides a kind of method that mobile phone turn-to-mute controls, this technology light intensity by acquisition camera front, judge whether mobile phone is rollover states, thus mobile phone is adjusted to silent mode, but the program can only realize quiet and non-mute switching, can not quickly switch to other patterns that user needs;Patent CN201110231617.0 provides the mobile phone of a kind of automatic switching situation pattern and realizes the method that mobile phone scene mode switches, this technology judges, by using gravity sensing device, the switching contextual model that the current three-dimensional state of mobile phone is corresponding, but this changing method poor practicability, it is easy to produce erroneous judgement.
In sum, currently existing scheme all can not realize self-defining switching mode, and it operates complexity, poor practicability.
Summary of the invention
The invention reside in the above-mentioned deficiency overcoming prior art, it is provided that a kind of be capable of self-defined switching mode, the method for simple to operate, practical switching contextual model.
To achieve these goals, the technical solution used in the present invention is:
A kind of method of switching contextual model, it is applied to handheld terminal, described handheld terminal is provided with physical button, when detecting that described physical button sends the first feedback message, judge whether described screen of handheld terminal is in predetermined state, the switching of predetermined scenarios pattern is the most then performed according to predetermined switching law.
Further, any one during described predetermined state is breath screen state, screen lock state, main interface state.
Further, when described screen of handheld terminal is all not in breath screen state, screen lock state, main interface state, the switching of predetermined scenarios pattern is not performed.
Further, when being not detected by described physical button and sending the first feedback message, the switching of predetermined scenarios pattern is not performed.Further, after the switching of described predetermined scenarios pattern has performed, described handheld terminal sends the second feedback message.
Further, the switching of described execution predetermined scenarios pattern includes, if currently not setting up described predetermined switching law, then ejects template, and the switching performing predetermined scenarios pattern after described predetermined switching law completes is set up in wait.
Further, described set up described predetermined switching law and include, select at least 2 kinds of contextual models and be ranked up.
Further, described contextual model includes contextual model set in advance and/or the contextual model manually set up.
Further, every kind of described contextual model is to there being different described second feedback messages, and after the switching of described predetermined scenarios pattern has performed, handheld terminal sends described second feedback message of correspondence.
Further, described second feedback message is vibrations message.
In sum, owing to have employed technique scheme, the invention has the beneficial effects as follows:
1, the method for switching contextual model of the present invention is by the physical button feedback system on definition handheld terminal so that it is realizes the handoff functionality of contextual model, without entering in mobile phone menu, facilitates user to carry out the switching of contextual model.
2, the method for switching contextual model of the present invention is capable of User Defined transfer sequence and switching type, and the mode degree of freedom of the present invention is higher, it is possible to meet the switching demand of dissimilar user, practical.
Accompanying drawing explanation
It it is the flow chart of the switching contextual model method of the first aspect of first embodiment of the invention shown in Fig. 1.
It it is the flow chart of the switching contextual model method of the second aspect of first embodiment of the invention shown in Fig. 2.
It it is the flow chart of the switching contextual model method of second embodiment of the invention shown in Fig. 3.
It it is the flow chart of the switching contextual model method of third embodiment of the invention shown in Fig. 4.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
It it is the flow chart of the switching contextual model method of the first aspect of first embodiment of the invention shown in Fig. 1, it is applied to handheld terminal, described handheld terminal is provided with physical button, when detecting that described physical button sends the first feedback message, judge whether described screen of handheld terminal is in predetermined state, the switching of predetermined scenarios pattern is the most then performed according to predetermined switching law.
Physical button in the present invention is the physical button arranged on handheld terminal, it can be built-in button, such as volume+button, volume-button, it is also possible to be external button, such as the smart key equipment arranged by earphone jack, by the smart key equipment of the interface settings such as usb.
Concrete, the method for the present invention, based on mobile intelligent terminal, by the Framework layer of mobile intelligent terminal system is transformed, such that it is able to the method reaching switching contextual model.In some scenes, during as realized this patent by built-in volume+button, volume-button, owing to volume key itself has the effect of regulation volume, effect for the volume key in the case of not affecting Consumer's Experience and affecting other, use when pressing keys meets some requirements, just trigger contextual model handover operation, as inferior more than 3s, quick double hit two in Continued depression.
Described predetermined state is any one in breath screen state, screen lock state, main interface state.
When described screen of handheld terminal is all not in breath screen state, screen lock state, main interface state, do not perform the switching of predetermined scenarios pattern.
General, when handheld terminal works, at least to having breath screen state, screen lock state, three kinds of states of main interface state, the main interface state of the present invention is expressed as not at the interface of foreground initiation application program, these several states show that user not yet uses handheld terminal to carry out concrete application operating, in this case, the first feedback message that handheld terminal receives all is considered efficient message, now may proceed to perform the handover operation of predetermined scenarios pattern;And when user be in this case time, show that user is using handheld terminal to carry out concrete application operating, it is considered invalid message after the first feedback message that now handheld terminal receives, not performing the handover operation of predetermined scenarios pattern, if also having bound other response messages in this physical button, then being carried out judging or performing by other module correspondences, such as, when this physical button is volume-button, general, handheld terminal correspondence performs the operation of Att.Or, when being not detected by described physical button and sending the first feedback message, do not perform the switching of predetermined scenarios pattern.
Concrete, show a kind of detection scheme the most in one embodiment: such as running the handheld terminal of Android system, the scene of detection user is at Home interface or locking screen interface, or during breath screen state, and when the effect of key is not assigned to control in volume under volume, then can press key under volume by length and can trigger the switching of pattern.On remaining opportunity, Android is only capable of regulating the size of the tinkle of bells by volume key, is therefore accomplished by the PhoneWindowManager of the Framework layer of Android, these situations being transformed.
First in PWM, monitor the event of key under volume.Because the event of key is by driving layer to be first distributed to here under volume.If in other local monitoring volume key event, it is possible to failure can be monitored.During such as screen locking or breath screen state, system is by the event mask of volume key, user is under the two state, volume cannot be regulated, it is thus desirable to here monitor, if it find that be that under volume, the effect of key is not assigned to control in volume, then block long by event issue make it can not regulate tone (certain user can regulate tone size by taking pulse by one finger volume key, have no effect on the experience of user), then trigger the switching of pattern.If the effect of key is assigned to control in volume under volume, the most not blocking long by event, continue down to distribute this event, system then can complete In Call or the regulation of media volume.
During if not in screen locking and breath screen state, go to judge that current interface is in application interface or Home interface according to the corresponding API that Android provides.If just removing switch mode when being in Home interface.
This embodiment is fed back by the physical button on definition handheld terminal so that it is realizes the handoff functionality of contextual model, without entering in mobile phone menu, facilitates user to carry out the switching of contextual model.
Being the flow chart of the switching contextual model method of the second aspect of first embodiment of the invention shown in Fig. 2, concrete, after the switching of described predetermined scenarios pattern has performed, described handheld terminal sends the second feedback message.
Upon completion of the handover, it is desirable to be able to send prompting and inform that user has been switched to the pattern of correspondence.Generally switch prompting is all one icon of display in status bar, such as icon, the quiet icon etc. of vibrations.But when mobile phone is in breath screen state, user can not see icon well, it is impossible to knows exactly which whether be switched to corresponding state, the second feedback message that therefore present invention is sent by handheld terminal solves this problem.
It it is the flow chart of the switching contextual model method of second embodiment of the invention shown in Fig. 3, the switching of described execution predetermined scenarios pattern includes, if currently not setting up described predetermined switching law, then eject template, and the switching performing predetermined scenarios pattern after described predetermined switching law completes is set up in wait.
Described set up described predetermined switching law and include, select at least 2 kinds of contextual models and be ranked up.
Described contextual model includes contextual model set in advance and/or the contextual model manually set up.
Show foundation and the handover scheme of a kind of contextual model the most in an example,
If user is operation for the first time, now user needs to set up switching law, therefore ejects guide Dialog, instructs user to go to carry out the setting of contextual model.
A newly-increased contextual model menu, user can set desired pattern after clicking on this menu.This menu can be put under setting-> menu, and self-defined contextual model switching law under this contextual model menu.
Contextual model element is normally used: silent mode, conference model, outdoor pattern, normal mode.User can select at least two of which element, sets up switching law.
As certain user often comes in and goes out meeting room.May need most is to switch between conference model and normal mode.Therefore following rule can be set up:Normal mode-> conference model;
Now, in addition it is also necessary to define the state after current state to switching, such as, if current state is outdoor, but rule is " quiet-> normal-> meeting ".If at this moment switching, acquiescence is switched on the first element of rule, the most quiet;And if when current state is to recall, then according to switching law " quiet-> normal-> meeting ", being switched to mute state.
Certainly, concrete contextual model element is not limited to system and carries several element, and user can define contextual model element according to self-demand.
The method of switching contextual model of the present invention is capable of User Defined transfer sequence and switching type, and the mode degree of freedom of the present invention is higher, it is possible to meet the switching demand of dissimilar user, practical.
Every kind of described contextual model is to there being different described second feedback messages, and after the switching of described predetermined scenarios pattern has performed, handheld terminal sends described second feedback message of correspondence.
Described second feedback message is vibrations message.
Show a kind of feedback scheme the most in an example, when predetermined switching law be " normal mode--quiet mould--conference model--open air pattern ".
When being switched to normal mode, make mobile phone shake 1 time, send and solve sound, eject the general notification message Toast of Android.
During to silent mode, make mobile phone shake 2 times, eject Toast notice.
During to conference model, make mobile phone shake 3 times, eject Toast notice.
During to outdoor pattern, make mobile phone shake 4 times, eject Toast notice.
Wherein, when screen locking, Toast cannot show.The figure layer of the Toast that Android sets is under screen locking layer, and the Toast being now ejected is covered by screen locking layer.Therefore the invention provides a kind of method and solve this problem.Again transform Toast, change the position of Toast place figure layer so that it is layer is on screen locking layer, and is only capable of in switch mode using, and so can shield the use of other application, cause unnecessary Consumer's Experience.Concrete vibration mode can facilitate the current switch mode of user's perception according to the self-defined setting of the custom of user.
Embodiment 1:
It it is the flow chart of the switching contextual model method of third embodiment of the invention shown in Fig. 4.
S1: handheld terminal detects that described physical button sends the first feedback message;
S2: handheld terminal judges whether screen is in predetermined state, if it is not, then perform step S3;The most then perform step S4;
S3: handheld terminal does not perform the switching of predetermined scenarios pattern;
S4: judge currently the most to have established predetermined switching law, if it is not, then perform step S5;The most then perform step S6;
S5: handheld terminal ejects Dialog template, waits that user sets up predetermined switching law, after handheld terminal detects that template has been set up, performs step S6;
S6: handheld terminal performs the switching of predetermined scenarios pattern according to predetermined switching law;
S7: handheld terminal sends the second feedback message.
The flow process of one full implementation of the present invention illustrated above, the most concrete each step can not repeat them here referring to corresponding position concrete scheme in embodiment of the present invention.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent and improvement etc. made within the spirit and principles in the present invention, should be included within the scope of the present invention.

Claims (10)

CN201610478491.XA2016-06-242016-06-24Profile switching methodPendingCN105898079A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610478491.XACN105898079A (en)2016-06-242016-06-24Profile switching method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610478491.XACN105898079A (en)2016-06-242016-06-24Profile switching method

Publications (1)

Publication NumberPublication Date
CN105898079Atrue CN105898079A (en)2016-08-24

Family

ID=56719033

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610478491.XAPendingCN105898079A (en)2016-06-242016-06-24Profile switching method

Country Status (1)

CountryLink
CN (1)CN105898079A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109450840A (en)*2018-08-312019-03-08福建星网视易信息系统有限公司A kind of scene mode switching method and storage equipment
CN110933224A (en)*2019-10-282020-03-27维沃移动通信有限公司Scene mode switching method and electronic equipment
CN113867168A (en)*2021-11-022021-12-31珠海格力电器股份有限公司 Control method, device, storage medium and device with screen

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102736857A (en)*2012-06-292012-10-17宇龙计算机通信科技(深圳)有限公司Method for triggering operation in mobile terminal, and mobile terminal
CN102821190A (en)*2011-06-092012-12-12联想(北京)有限公司Status switching method and device and electronic device
CN103677580A (en)*2012-09-132014-03-26北京三星通信技术研究有限公司Method and device for triggering application program rapidly
CN104238759A (en)*2014-09-042014-12-24广东欧珀移动通信有限公司Method and device for controlling terminal through physical keys
CN105072258A (en)*2015-07-162015-11-18广东欧珀移动通信有限公司 Mobile terminal scene mode switching method, device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102821190A (en)*2011-06-092012-12-12联想(北京)有限公司Status switching method and device and electronic device
CN102736857A (en)*2012-06-292012-10-17宇龙计算机通信科技(深圳)有限公司Method for triggering operation in mobile terminal, and mobile terminal
CN103677580A (en)*2012-09-132014-03-26北京三星通信技术研究有限公司Method and device for triggering application program rapidly
CN104238759A (en)*2014-09-042014-12-24广东欧珀移动通信有限公司Method and device for controlling terminal through physical keys
CN105072258A (en)*2015-07-162015-11-18广东欧珀移动通信有限公司 Mobile terminal scene mode switching method, device and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109450840A (en)*2018-08-312019-03-08福建星网视易信息系统有限公司A kind of scene mode switching method and storage equipment
CN110933224A (en)*2019-10-282020-03-27维沃移动通信有限公司Scene mode switching method and electronic equipment
CN113867168A (en)*2021-11-022021-12-31珠海格力电器股份有限公司 Control method, device, storage medium and device with screen

Similar Documents

PublicationPublication DateTitle
CN102664983B (en)Method and device for implementation of one touch dial
CN105451369B (en)The Connecting quantity update method and device of low-power consumption bluetooth equipment
US8116686B2 (en)Instant message audio connection management system and method
CN103327384B (en)The mode control method of a kind of interacted system and interacted system
CN105652671B (en)The setting method and device of smart machine operating mode
CN103139394B (en)A kind of incoming call sound based on mobile phone or hang up processing method and system
EP3163804B1 (en)Method, apparatus and system for setting the working mode of a device
KR20170044056A (en)Method and apparatus for controlling devices
EP3301893B1 (en)Information prompting method and device
CN105898079A (en)Profile switching method
CN104035670B (en)A kind of switching method, switching device and electronic equipment
KR20080082531A (en) Lighting switch used as a communication device
CN101098156B (en)Communication equipment having special use mode
CN105246098B (en)Routing device connection method and device
CN110769422A (en)Distribution network data transmission method and device
CN104023117B (en)A kind of method of information processing and electronic equipment
CN102946480A (en)Parameter setting and converting method and device of terminal equipment
KR101572779B1 (en)Radio walkie-talkie having function for emergency call and radio paging system and the method therefor
CN105915729A (en)Method and system for rapidly adjusting volume of mobile terminal and mobile terminal
CN105485854A (en)Intelligent terminal-based air conditioner temperature control method and intelligent terminal-based air conditioner temperature control system
CN105677154A (en)System and method for controlling other intelligent devices on basis of mobile phone screen locking
CN106157583B (en)It is a kind of to establish the method and device being wirelessly connected
CN105652745A (en)Handset volume key-based intelligent equipment control system and method
EP1531547A3 (en)Electronic device, remote control method therefor, and computer program for the electronic device
JP2012159900A (en)Monitoring device, control program, and control method

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20160824


[8]ページ先頭

©2009-2025 Movatter.jp