CN107589844A - The switching method and device of singlehanded pattern - Google Patents

The switching method and device of singlehanded pattern Download PDF

Info

Publication number
CN107589844A
CN107589844A CN201710816935.0A CN201710816935A CN107589844A CN 107589844 A CN107589844 A CN 107589844A CN 201710816935 A CN201710816935 A CN 201710816935A CN 107589844 A CN107589844 A CN 107589844A
Authority
CN
China
Prior art keywords
singlehanded pattern
current
singlehanded
pattern
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.)
Granted
Application number
CN201710816935.0A
Other languages
Chinese (zh)
Other versions
CN107589844B (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.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies 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 TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201710816935.0A priority Critical patent/CN107589844B/en
Publication of CN107589844A publication Critical patent/CN107589844A/en
Application granted granted Critical
Publication of CN107589844B publication Critical patent/CN107589844B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of switching method and device of singlehanded pattern, wherein method includes:Under singlehanded pattern, periodically signal strength values of detection terminal;The singlehanded pattern includes the singlehanded pattern of left hand and the singlehanded pattern of the right hand;According to the difference of the signal strength values at current time and the signal strength values of last moment, it is another singlehanded pattern relative with the current singlehanded pattern to judge whether to need from current singlehanded pattern switching;When need from current singlehanded pattern switching be another singlehanded pattern relative with the current singlehanded pattern when, be another singlehanded pattern relative with the current singlehanded pattern from current singlehanded pattern switching.By above method, the embodiment of the present invention realizes the switching of singlehanded pattern by the change in signal strength of detection terminal, by way of judging that user is hold by one hand terminal extra hardware module, reduces the design difficulty and production cost of terminal.

Description

The switching method and device of singlehanded pattern
Technical field
The present invention relates to communication technical field, and in particular to the switching method and device of singlehanded pattern.
Background technology
With the development of science and technology, intelligent terminal turns into part indispensable in people's daily life, due to intelligent terminal During use, user occurs on screen that some regions are difficult to touching and obtained when being hold by one hand terminal, therefore, some ends End provides singlehanded pattern, and singlehanded pattern can be divided into left-handed mode and right-handed mode.Under singlehanded pattern, the operation on screen Region can reduce to certain side, user is touched each position of operating area easily in one-handed performance.
In the prior art, judge that the method which kind of singlehanded pattern user is currently at mainly there are two kinds, the first is to pass through Multiple capacitive displacement transducers are set in two side frames of intelligent terminal, with by judging that multiple capacitive displacement transducers are adopted The characteristics of signals collected is judged that second is judged by fingerprint recognition.But both approaches were required at end Additionally increase displacement transducer or fingerprint Identification sensor in end, add the hardware module of intelligent terminal, improve intelligent end The design difficulty at end, adds cost.
The content of the invention
Inventor has found that the performance for being hold by one hand terminal-pair antenna has certain influence so that respectively with left hand and the right side Hand detects the signal strength values of terminal when gripping there is some difference, i.e., ought be gripped respectively with left-handed terminal and with the right hand During terminal, detect that the signal strength values of terminal are different, and for the terminal of same model, right-hand man grips to be believed caused by terminal The absolute value of the difference of number intensity level can be close to a fixed value.
It is an object of the present invention to provide a kind of switching method and device of singlehanded pattern, hardware module can not increased On the premise of, by the change in signal strength of detection terminal, realize the switching of singlehanded pattern.
To achieve these goals, on the one hand the embodiment of the present invention provides a kind of switching method of singlehanded pattern, including:
Under singlehanded pattern, periodically signal strength values of detection terminal;The singlehanded pattern includes the one hand of left hand The singlehanded pattern of pattern and the right hand;
According to the difference of the signal strength values at current time and the signal strength values of last moment, judge whether to need from working as Preceding singlehanded pattern switching is another singlehanded pattern relative with the current singlehanded pattern;
When need from current singlehanded pattern switching be another singlehanded pattern relative with the current singlehanded pattern when, It is another singlehanded pattern relative with the current singlehanded pattern from current singlehanded pattern switching.
In a kind of optional embodiment, methods described also includes:
When the singlehanded pattern for getting user's input enables instruction, ejection first inquires frame to inquire that user needs to carry out Left-handed operation or right hand operation;
The selection instruction inputted according to user on the described first inquiry frame determines the list that current singlehanded pattern is left hand The singlehanded pattern of fingerprint formula or the right hand;Wherein, when user selects to carry out left-handed operation, it is determined that current singlehanded pattern is a left side The singlehanded pattern of hand, when user selects to carry out right hand operation, it is determined that current singlehanded pattern is the singlehanded pattern of the right hand.
It is described strong according to the signal strength values at current time and the signal of last moment in a kind of optional embodiment The difference of angle value, it is another list relative with the current singlehanded pattern to judge whether to need from current singlehanded pattern switching Fingerprint formula, including:
When the signal strength values at current time and the difference of the signal strength values of last moment are negative value and the difference When absolute value is more than or equal to default first threshold, judge to need if current singlehanded pattern is the singlehanded pattern of the right hand from The singlehanded pattern switching of the right hand is the singlehanded pattern of left hand;Judge to be not required to if current singlehanded pattern is the singlehanded pattern of left hand Will be from the singlehanded pattern that the singlehanded pattern switching of left hand is the right hand;
When the signal strength values at current time and the difference of the signal strength values of last moment be on the occasion of and the difference When absolute value is more than or equal to default Second Threshold, judge to need if current singlehanded pattern is the singlehanded pattern of left hand from The singlehanded pattern switching of left hand is the singlehanded pattern of the right hand;Judge to be not required to if current singlehanded pattern is the singlehanded pattern of the right hand Will be from the singlehanded pattern that the singlehanded pattern switching of the right hand is left hand.
In a kind of optional embodiment, methods described also includes:
Judge whether terminal keeps motion state within the default time by acceleration transducer;
When terminal keeps motion state within the default time, ejection second inquires frame to ask the user whether to need to prohibit Only switch singlehanded pattern;
Determine whether to forbid switching singlehanded pattern according to the selection instruction that user inputs on the described second inquiry frame;Its In, if user's selection is forbidden switching singlehanded pattern, forbid switching singlehanded pattern, and maintain singlehanded pattern currently constant;If with Family selection is not prohibited by switching singlehanded pattern, when the signal strength values and the difference of the signal strength values of last moment according to current time Value judge to need from current singlehanded pattern switching be another singlehanded pattern relative with the current singlehanded pattern when, from working as Preceding singlehanded pattern switching is another singlehanded pattern relative with the current singlehanded pattern.
In a kind of optional embodiment, methods described also includes:
Under singlehanded pattern, control the antenna in the terminal to be connected to and adjusted with the antenna corresponding to current singlehanded pattern Humorous circuit.
In a kind of optional embodiment, methods described also includes:
Under singlehanded pattern, the operation interface of the terminal is arranged to current singlehanded pattern corresponding to operation field Scape.
In order to realize identical purpose, on the other hand the embodiment of the present invention provides a kind of switching device of singlehanded pattern, Described device configures in the terminal, including:
Signal strength detection module, under singlehanded pattern, periodically signal strength values of detection terminal;The list Fingerprint formula includes the singlehanded pattern of left hand and the singlehanded pattern of the right hand;
Signal difference judge module, for the signal strength values according to current time and the signal strength values of last moment Difference, it is another singlehanded mould relative with the current singlehanded pattern to judge whether to need from current singlehanded pattern switching Formula;
Singlehanded mode switch module, for being from current singlehanded pattern switching and the current singlehanded pattern when needing It is another one hand relative with the current singlehanded pattern from current singlehanded pattern switching during relative another singlehanded pattern Pattern.
In a kind of optional embodiment, described device also includes:
First play frame module, for get user input singlehanded pattern enable instruction when, ejection first inquiry frame To inquire that user needs to carry out left-handed operation or right hand operation;
Singlehanded mode selection module, the selection instruction for being inputted according to user on the described first inquiry frame determine current Singlehanded pattern for left hand singlehanded pattern or the right hand singlehanded pattern;Wherein, when user selects to carry out left-handed operation, really Singlehanded pattern before settled is the singlehanded pattern of left hand, when user selects to carry out right hand operation, it is determined that current singlehanded pattern For the singlehanded pattern of the right hand.
In a kind of optional embodiment, the signal difference judge module includes:
First difference identifying unit:For when the signal strength values at current time and the difference of the signal strength values of last moment It is worth when being more than or equal to default first threshold for the absolute value of negative value and the difference, if current singlehanded pattern is the right hand Singlehanded pattern then judges to need the singlehanded pattern from the singlehanded pattern switching of the right hand for left hand;If current singlehanded pattern is left hand Singlehanded pattern then judge need not be from the singlehanded pattern switching of left hand for the right hand singlehanded pattern;
Second difference identifying unit:For when the signal strength values at current time and the difference of the signal strength values of last moment Be worth on the occasion of and the absolute value of the difference be more than or equal to default Second Threshold when, if current singlehanded pattern is left hand Singlehanded pattern then judges to need the singlehanded pattern from the singlehanded pattern switching of left hand for the right hand;If current singlehanded pattern is the right hand Singlehanded pattern then judge need not be from the singlehanded pattern switching of the right hand for left hand singlehanded pattern.
In a kind of optional embodiment, described device also includes:
Motion state detection module, for judging whether terminal keeps transporting within the default time by acceleration transducer Dynamic state;
Second plays frame module, for when terminal keeps motion state within the default time, ejection second inquire frame with Ask the user whether that needs are forbidden switching singlehanded pattern;
Forbid switching selecting module, the selection instruction for being inputted on the described second inquiry frame according to user determines whether Forbid switching singlehanded pattern;Wherein, if user's selection is forbidden switching singlehanded pattern, forbid switching singlehanded pattern, and remain current Singlehanded pattern it is constant;If user's selection is not prohibited by switching singlehanded pattern, when the signal strength values according to current time and upper one It is relative with the current singlehanded pattern that the difference of the signal strength values at moment, which judges to need from current singlehanded pattern switching, Another singlehanded pattern when, be another singlehanded mould relative with the current singlehanded pattern from current singlehanded pattern switching Formula.
In a kind of optional embodiment, described device also includes:
Antenna switch module, under singlehanded pattern, controlling the antenna in the terminal to be connected to and current one hand Antenna tuning circuit corresponding to pattern.
In a kind of optional embodiment, described device also includes:
Operation interface handover module, under singlehanded pattern, by the operation interface of the terminal be arranged to it is current Operation scenario corresponding to singlehanded pattern.
Compared to prior art, the beneficial effect of the embodiment of the present invention is:The embodiments of the invention provide a kind of singlehanded The switching method and device of pattern, wherein method include:Under singlehanded pattern, periodically signal strength values of detection terminal; The singlehanded pattern includes the singlehanded pattern of left hand and the singlehanded pattern of the right hand;According to the signal strength values at current time and upper one The difference of the signal strength values at moment, judge whether to need from current singlehanded pattern switching be and the current singlehanded pattern Relative another singlehanded pattern;It is relative with the current singlehanded pattern another when needing from current singlehanded pattern switching It is another singlehanded pattern relative with the current singlehanded pattern from current singlehanded pattern switching during singlehanded pattern.This hair Whether bright embodiment meets from working as according to the difference of current time and the signal strength values of last moment by under singlehanded pattern Preceding singlehanded pattern switching is the condition of another singlehanded pattern relative with the current singlehanded pattern, when the difference meets When from current singlehanded pattern switching being the condition of another singlehanded pattern relative with the current singlehanded pattern, from current Singlehanded pattern switching is another singlehanded pattern relative with the current singlehanded pattern, realizes the switching of singlehanded pattern;This hair Bright embodiment realizes the switching of singlehanded pattern by the change of detection signal intensity level, without being judged by extra hardware module User is hold by one hand the mode of terminal, reduces the design difficulty and production cost of terminal.
Brief description of the drawings
In order to illustrate more clearly of technical scheme, the required accompanying drawing used in embodiment will be made below Simply introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the switching method of singlehanded pattern of the embodiment of the present invention;
Fig. 2 is a kind of structural representation of the switching device of singlehanded pattern of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Referring to Fig. 1, it is a kind of schematic flow sheet of the switching method of singlehanded pattern of the embodiment of the present invention.The present invention A kind of switching method for singlehanded pattern that embodiment provides, including:
S1, under singlehanded pattern, periodically signal strength values of detection terminal;The singlehanded pattern includes the list of left hand The singlehanded pattern of fingerprint formula and the right hand;
S2, according to the signal strength values at current time and the difference of the signal strength values of last moment, judge whether to need It is another singlehanded pattern relative with the current singlehanded pattern from current singlehanded pattern switching;
S3, when needing from current singlehanded pattern switching it is another singlehanded pattern relative with the current singlehanded pattern When, it is another singlehanded pattern relative with the current singlehanded pattern from current singlehanded pattern switching.
The operation principle of the embodiment of the present invention is:When terminal works are under singlehanded pattern, the periodically letter of detection terminal Number intensity level, and according to the signal strength values at current time and the difference of the signal strength values of last moment, judge whether to need It is another singlehanded pattern relative with the current singlehanded pattern from current singlehanded pattern switching, sentences when according to the difference It is fixed need from current singlehanded pattern switching be another singlehanded pattern relative with the current singlehanded pattern when, terminal is from working as Preceding singlehanded pattern switching is another singlehanded pattern relative with the current singlehanded pattern, realizes the switching of singlehanded pattern.
In a kind of optional embodiment, methods described also includes:
S4, when need not be another singlehanded mould relative with the current singlehanded pattern from current singlehanded pattern switching During formula, maintain current singlehanded pattern constant.
In a kind of optional embodiment, methods described also includes:
When the singlehanded pattern for getting user's input enables instruction, ejection first inquires frame to inquire that user needs to carry out Left-handed operation or right hand operation;
The selection instruction inputted according to user on the described first inquiry frame determines the list that current singlehanded pattern is left hand The singlehanded pattern of fingerprint formula or the right hand;Wherein, when user selects to carry out left-handed operation, it is determined that current singlehanded pattern is a left side The singlehanded pattern of hand, when user selects to carry out right hand operation, it is determined that current singlehanded pattern is the singlehanded pattern of the right hand.
In embodiments of the present invention, when user enables singlehanded pattern, user can pass through the described first inquiry frame input choosing The method choice for selecting instruction enters the singlehanded pattern of left hand or the singlehanded pattern of the right hand, and by above method, terminal can be accurate Inerrably determine to have selected the singlehanded pattern of left hand or the singlehanded pattern of the right hand when user enables singlehanded pattern.
In a kind of optional embodiment, the step S2 includes:
When the signal strength values at current time and the difference of the signal strength values of last moment are negative value and the difference When absolute value is more than or equal to preset value, judge to need the list from the right hand if current singlehanded pattern is the singlehanded pattern of the right hand Fingerprint formula switches to the singlehanded pattern of left hand;Judging if current singlehanded pattern is the singlehanded pattern of left hand need not be from left hand Singlehanded pattern switching be the right hand singlehanded pattern;
When the signal strength values at current time and the difference of the signal strength values of last moment be on the occasion of and the difference When absolute value is more than or equal to preset value, judge to need the list from left hand if current singlehanded pattern is the singlehanded pattern of left hand Fingerprint formula switches to the singlehanded pattern of the right hand;Judging if current singlehanded pattern is the singlehanded pattern of the right hand need not be from the right hand Singlehanded pattern switching be left hand singlehanded pattern.
In a kind of optional embodiment, the step S2 also includes:
When the signal strength values at current time and the absolute value of difference of the signal strength values of last moment are less than preset value When, judge to be another singlehanded pattern relative with the current singlehanded pattern from current singlehanded pattern switching.
The signal strength values detected for most terminal, during left-handed terminal, which are less than when the right hand grips terminal, to be examined The signal strength values measured, therefore the signal strength values detected when the present embodiment is based on left-handed terminal are held less than the right hand Hold the embodiment on the basis of the signal strength values detected during terminal.
For the specific implementation method of the clear explanation embodiment of the present invention, will be exemplified below:
Signal intensity of one terminal under the singlehanded pattern of left hand and under the singlehanded pattern of the right hand is detected by experiment respectively Value, it is assumed that the signal strength values detected during one terminal of left-handed detect when gripping same terminal than the right hand (such as -100dBm) The signal strength values arrived small 5dB (such as -95dBm), then be set to the preset value by 5dB, and sets when the signal at current time is strong The difference of the signal strength values of angle value and last moment be on the occasion of and the absolute value of the difference be more than or equal to 5dB when, if ought Preceding singlehanded pattern is that the singlehanded pattern of left hand then judges to need the singlehanded pattern from the singlehanded pattern switching of left hand for the right hand, if Current singlehanded pattern be the singlehanded pattern of left hand then judge need not be from the singlehanded pattern switching of left hand for the right hand singlehanded mould Formula;Set when the signal strength values at current time and the difference of the signal strength values of last moment is the exhausted of negative value and the difference When being more than or equal to 5dB to value, judge to need the singlehanded mould from the right hand if current singlehanded pattern is the singlehanded pattern of the right hand Formula switches to the singlehanded pattern of left hand, and judging if current singlehanded pattern is the singlehanded pattern of the right hand need not be from the list of the right hand Fingerprint formula switches to the singlehanded pattern of left hand;Setting is when the signal strength values and the signal strength values of last moment at current time When the absolute value of difference is less than 5dB, judge from current singlehanded pattern switching need not be and the current singlehanded pattern phase To another singlehanded pattern.Several situations will be specifically enumerated and illustrate the implementation of arrangement above below:
1st, terminal is under the singlehanded pattern of left hand, when the signal strength values and the signal of last moment that detect current time When the difference of intensity level is+8dB, judge the difference be on the occasion of and the absolute value of the difference be more than 5dB, show the difference It is due to that user switches to the right hand to grip caused by terminal from left-handed terminal, then judges to need to cut from the singlehanded pattern of left hand The singlehanded pattern of the right hand is changed to, makes terminal from the singlehanded pattern that the singlehanded pattern switching of left hand is the right hand.
2nd, terminal is under the singlehanded pattern of left hand, when the signal strength values and the signal of last moment that detect current time When the difference of intensity level is -2dB, judge that the absolute value of the difference is less than 5dB, it is due to change right-hand man to show the difference Caused by other factors beyond gripping, then judge need not to be the singlehanded pattern of the right hand from the singlehanded pattern switching of left hand, make Terminal maintains the singlehanded pattern of left hand constant.
3rd, terminal is under the singlehanded pattern of the right hand, when the signal strength values and the signal of last moment that detect current time When the difference of intensity level is -3dB, judge that the absolute value of the difference is less than 5dB, it is due to change right-hand man to show the difference Caused by other factors beyond gripping, then judge need not to be the singlehanded pattern of left hand from the singlehanded pattern switching of the right hand, make Terminal maintains the singlehanded pattern of the right hand constant.
4th, terminal is under the singlehanded pattern of the right hand, when the signal strength values and the signal of last moment that detect current time When the difference of intensity level is -6dB, judges that the difference is more than 5dB for the absolute value of negative value and the difference, show the difference It is due to that user is switched to caused by left-handed terminal from right hand gripping terminal, then judges to need to cut from the singlehanded pattern of the right hand The singlehanded pattern of left hand is changed to, makes terminal from the singlehanded pattern that the singlehanded pattern switching of the right hand is left hand.
Case above only clearly illustrates the situation cited by the embodiment of the present invention, and the implementation that non-invention is all Example.
It should be noted that because the internal structure of different terminals is different, and left hand all be present and hold in not all terminal Hold the signal strength values detected during terminal and be less than the situation that the right hand grips the signal strength values detected during terminal, individual terminal The signal strength values detected when the signal strength values detected during left-handed terminal occur more than right hand gripping terminal Situation, although on the other hand, its specific embodiment is not disclosed in the embodiment of the present invention, on the basis of the embodiment of the present invention, originally Art personnel expect how solving identical technical problem easily by the technical scheme of the embodiment of the present invention, obtain identical Technique effect, i.e., by the positive and negative values of the difference and the order of magnitude of the difference to judge whether to need from current Singlehanded pattern switching is another singlehanded pattern relative with the current singlehanded pattern.When therefore, for left-handed terminal The signal strength values detected are more than the situation that the right hand grips the signal strength values detected during terminal, and it is specific to will not be described in great detail its Embodiment.
In a kind of optional embodiment, methods described also includes:
Judge whether terminal keeps motion state within the default time by acceleration transducer;
When terminal keeps motion state within the default time, ejection second inquires frame to ask the user whether to need to prohibit Only switch singlehanded pattern;
Determine whether to forbid switching singlehanded pattern according to the selection instruction that user inputs on the described second inquiry frame;Its In, if user's selection is forbidden switching singlehanded pattern, forbid switching singlehanded pattern, and maintain singlehanded pattern currently constant;If User's selection is not prohibited by switching singlehanded pattern, when the signal strength values according to current time and the signal strength values of last moment Difference judge to need from current singlehanded pattern switching be another singlehanded pattern relative with the current singlehanded pattern when, from Current singlehanded pattern switching is another singlehanded pattern relative with the current singlehanded pattern.
In view of when terminal is kept in motion, the signal strength values of terminal are also possible to appearance and vary widely and cause The switching of singlehanded pattern, therefore, to avoid the occurrence of erroneous judgement, when detecting that terminal keeps motion state within the default time, The prompt message for forbidding switching singlehanded pattern is sent, reminds user that selection is forbidden switching singlehanded pattern, and maintain current one hand Pattern is constant, avoids, because frequently singlehanded pattern switching occurs in jitter, influenceing user's use;If user's selection is not prohibited by Switch singlehanded pattern, then maintain the changeable state of singlehanded pattern, i.e., when the signal strength values according to current time and upper a period of time It is relative with the current singlehanded pattern that the difference of the signal strength values at quarter, which judges to need from current singlehanded pattern switching, It is another singlehanded pattern relative with the current singlehanded pattern from current singlehanded pattern switching during another singlehanded pattern.
In a kind of optional embodiment, methods described also includes:
Under singlehanded pattern, control the antenna in the terminal to be connected to and adjusted with the antenna corresponding to current singlehanded pattern Humorous circuit.
The antenna in the terminal is controlled to be connected to the purpose with the antenna tuning circuit corresponding to current singlehanded pattern Be reduce it is current be hold by one hand influence of the gesture to antenna performance, the efficiency of antenna when being hold by one hand terminal to improve.Can be with Understand, under the singlehanded pattern of left hand, control the antenna in the terminal be connected to the singlehanded pattern of left hand corresponding to First antenna tuning circuit;Under the singlehanded pattern of the right hand, the antenna in the terminal is controlled to be connected to the one hand with the right hand The second antenna tuning circuit corresponding to pattern.
Preferably, it is described under singlehanded pattern, control the antenna in the terminal to be connected to and current singlehanded pattern institute Corresponding antenna tuning circuit, it is specially:
Under singlehanded pattern, the antenna in the terminal is controlled to be connected to and current singlehanded pattern by switch controller Corresponding antenna tuning circuit.
Preferably, the switch controller is single-pole double-throw switch (SPDT).
In a kind of optional embodiment, methods described also includes:
Under singlehanded pattern, the operation interface of the terminal is arranged to current singlehanded pattern corresponding to operation field Scape.
The operation interface of the terminal is arranged to the purpose side of being with the operation scenario corresponding to current singlehanded pattern Just user's one-handed performance terminal, such as under the singlehanded pattern of the right hand, send button is arranged on the behaviour that the right hand easily touches Make the right in region;Under the singlehanded pattern of left hand, send button is arranged on to a left side for the operating area that left hand easily touches Side.It is understood that under the singlehanded pattern of left hand, the operation interface of the terminal is arranged to the singlehanded pattern with left hand Corresponding operation scenario;Under the singlehanded pattern of the right hand, the operation interface of the terminal is arranged to the singlehanded mould with the right hand Operation scenario corresponding to formula.
Compared to prior art, the beneficial effect of the embodiment of the present invention is:The embodiments of the invention provide a kind of singlehanded The switching method of pattern, including:Under singlehanded pattern, periodically signal strength values of detection terminal;The singlehanded pattern bag Include the singlehanded pattern of left hand and the singlehanded pattern of the right hand;According to the signal strength values at current time and the signal intensity of last moment The difference of value, it is another one hand relative with the current singlehanded pattern to judge whether to need from current singlehanded pattern switching Pattern;When need from current singlehanded pattern switching be another singlehanded pattern relative with the current singlehanded pattern when, from Current singlehanded pattern switching is another singlehanded pattern relative with the current singlehanded pattern.The embodiment of the present invention by Under singlehanded pattern, whether meet to cut from current singlehanded pattern according to the difference of current time and the signal strength values of last moment The condition of another singlehanded pattern relative with the current singlehanded pattern is changed to, when the difference meets from current singlehanded mould When formula switches to the condition of another singlehanded pattern relative with the current singlehanded pattern, it is from current singlehanded pattern switching Another singlehanded pattern relative with the current singlehanded pattern, realizes the switching of singlehanded pattern;The embodiment of the present invention passes through inspection The switching of singlehanded pattern is realized in the change for surveying signal strength values, without judging that user is hold by one hand end by extra hardware module The mode at end, reduce the design difficulty and production cost of terminal.
In order to realize identical purpose, on the other hand the embodiment of the present invention provides a kind of switching device of singlehanded pattern, Described device configures in the terminal.Referring to Fig. 2, it is a kind of structure of the switching device of singlehanded pattern of the embodiment of the present invention Schematic diagram.A kind of switching device of singlehanded pattern provided in an embodiment of the present invention, including:
Signal strength detection module 1, under singlehanded pattern, periodically signal strength values of detection terminal;It is described Singlehanded pattern includes the singlehanded pattern of left hand and the singlehanded pattern of the right hand;
Signal difference judge module 2, for the signal strength values and the signal strength values of last moment according to current time Difference, it is another singlehanded mould relative with the current singlehanded pattern to judge whether to need from current singlehanded pattern switching Formula;
Singlehanded mode switch module 3, for being from current singlehanded pattern switching and the current singlehanded mould when needing It is another list relative with the current singlehanded pattern from current singlehanded pattern switching during the relative another singlehanded pattern of formula Fingerprint formula.
In a kind of optional embodiment, described device also includes:
Singlehanded pattern maintenance module 4, for when need not from current singlehanded pattern switching be and the current one hand During the relative another singlehanded pattern of pattern, maintain current singlehanded pattern constant.
In a kind of optional embodiment, described device also includes:
First play frame module, for get user input singlehanded pattern enable instruction when, ejection first inquiry frame To inquire that user needs to carry out left-handed operation or right hand operation;
Singlehanded mode selection module, the selection instruction for being inputted according to user on the described first inquiry frame determine current Singlehanded pattern for left hand singlehanded pattern or the right hand singlehanded pattern;Wherein, when user selects to carry out left-handed operation, really Singlehanded pattern before settled is the singlehanded pattern of left hand, when user selects to carry out right hand operation, it is determined that current singlehanded pattern For the singlehanded pattern of the right hand.
In a kind of optional embodiment, the signal difference judge module 2 includes:
First difference identifying unit:For when the signal strength values at current time and the difference of the signal strength values of last moment It is worth when being more than or equal to preset value for the absolute value of negative value and the difference, if current singlehanded pattern is the singlehanded pattern of the right hand Then judge to need the singlehanded pattern from the singlehanded pattern switching of the right hand for left hand;If current singlehanded pattern is the singlehanded mould of left hand Formula then judges singlehanded pattern that need not be from the singlehanded pattern switching of left hand for the right hand;
Second difference identifying unit:For when the signal strength values at current time and the difference of the signal strength values of last moment Be worth on the occasion of and the absolute value of the difference be more than or equal to preset value when, if current singlehanded pattern is the singlehanded pattern of left hand Then judge to need the singlehanded pattern from the singlehanded pattern switching of left hand for the right hand;If current singlehanded pattern is the singlehanded mould of the right hand Formula then judges singlehanded pattern that need not be from the singlehanded pattern switching of the right hand for left hand.
In a kind of optional embodiment, the signal difference judge module 2 also includes:
3rd difference identifying unit, for when the signal strength values at current time and the difference of the signal strength values of last moment When the absolute value of value is less than preset value, judge from current singlehanded pattern switching need not be and the current singlehanded pattern phase To another singlehanded pattern.
In a kind of optional embodiment, described device also includes:
Motion state detection module, for judging whether terminal keeps transporting within the default time by acceleration transducer Dynamic state;
Second plays frame module, for when terminal keeps motion state within the default time, ejection second inquire frame with Ask the user whether that needs are forbidden switching singlehanded pattern;
Forbid switching selecting module, the selection instruction for being inputted on the described second inquiry frame according to user determines whether Forbid switching singlehanded pattern;Wherein, if user's selection is forbidden switching singlehanded pattern, forbid switching singlehanded pattern, and remain current Singlehanded pattern it is constant;If user's selection is not prohibited by switching singlehanded pattern, when the signal strength values according to current time and upper one It is relative with the current singlehanded pattern that the difference of the signal strength values at moment, which judges to need from current singlehanded pattern switching, Another singlehanded pattern when, be another singlehanded mould relative with the current singlehanded pattern from current singlehanded pattern switching Formula.
In a kind of optional embodiment, described device also includes:
Antenna switch module, under singlehanded pattern, controlling the antenna in the terminal to be connected to and current one hand Antenna tuning circuit corresponding to pattern.
Preferably, the antenna switch module, for specific:
Under singlehanded pattern, the antenna in the terminal is controlled to be connected to and current singlehanded pattern by switch controller Corresponding antenna tuning circuit.
Preferably, the switch controller is single-pole double-throw switch (SPDT).
In a kind of optional embodiment, described device also includes:
Operation interface handover module, under singlehanded pattern, by the operation interface of the terminal be arranged to it is current Operation scenario corresponding to singlehanded pattern.
It should be noted that a kind of switching device of singlehanded pattern provided in an embodiment of the present invention is used for above-mentioned singlehanded pattern Switching method in, its operation principle and beneficial effect are corresponded in the switching method of above-mentioned singlehanded pattern, thus no longer superfluous State.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosed right for being only presently preferred embodiments of the present invention, the present invention can not being limited with this certainly Scope, one of ordinary skill in the art will appreciate that all or part of flow of above-described embodiment is realized, and according to right of the present invention It is required that the equivalent variations made, still fall within and invent covered scope.

Claims (12)

1. a kind of switching method of singlehanded pattern, it is characterised in that methods described includes:
Under singlehanded pattern, periodically signal strength values of detection terminal;The singlehanded pattern includes the singlehanded pattern of left hand With the singlehanded pattern of the right hand;
According to the difference of the signal strength values at current time and the signal strength values of last moment, judge whether to need from current Singlehanded pattern switching is another singlehanded pattern relative with the current singlehanded pattern;
When need from current singlehanded pattern switching be another singlehanded pattern relative with the current singlehanded pattern when, from working as Preceding singlehanded pattern switching is another singlehanded pattern relative with the current singlehanded pattern.
2. the switching method of singlehanded pattern as claimed in claim 1, it is characterised in that methods described also includes:
When the singlehanded pattern for getting user's input enables instruction, ejection first inquires frame to inquire that user needs to carry out left hand Operation or right hand operation;
The selection instruction inputted according to user on the described first inquiry frame determines the singlehanded mould that current singlehanded pattern is left hand The singlehanded pattern of formula or the right hand;Wherein, when user selects to carry out left-handed operation, it is determined that current singlehanded pattern is left hand Singlehanded pattern, when user selects to carry out right hand operation, it is determined that current singlehanded pattern is the singlehanded pattern of the right hand.
3. the switching method of singlehanded pattern as claimed in claim 1, it is characterised in that the signal according to current time is strong The difference of the signal strength values of angle value and last moment, judge whether to need from current singlehanded pattern switching be with it is described current The relative another singlehanded pattern of singlehanded pattern, including:
When the signal strength values at current time and the difference of the signal strength values of last moment are the absolute of negative value and the difference When value is more than or equal to preset value, judge to need the singlehanded mould from the right hand if current singlehanded pattern is the singlehanded pattern of the right hand Formula switches to the singlehanded pattern of left hand;Judging if current singlehanded pattern is the singlehanded pattern of left hand need not be from the list of left hand Fingerprint formula switches to the singlehanded pattern of the right hand;
When current time signal strength values and the signal strength values of last moment difference be on the occasion of and the difference it is absolute When value is more than or equal to preset value, judge to need the singlehanded mould from left hand if current singlehanded pattern is the singlehanded pattern of left hand Formula switches to the singlehanded pattern of the right hand;Judging if current singlehanded pattern is the singlehanded pattern of the right hand need not be from the list of the right hand Fingerprint formula switches to the singlehanded pattern of left hand.
4. the switching method of singlehanded pattern as claimed in claim 1, it is characterised in that methods described also includes:
Judge whether terminal keeps motion state within the default time by acceleration transducer;
When terminal keeps motion state within the default time, ejection second inquires frame to ask the user whether that needs are forbidden cutting Change singlehanded pattern;
Determine whether to forbid switching singlehanded pattern according to the selection instruction that user inputs on the described second inquiry frame;Wherein, if User's selection is forbidden switching singlehanded pattern, forbids switching singlehanded pattern, and maintain singlehanded pattern currently constant;If user selects It is not prohibited by switching singlehanded pattern, when the difference of the signal strength values according to current time and the signal strength values of last moment judges Need from current singlehanded pattern switching be another singlehanded pattern relative with the current singlehanded pattern when, from current list Fingerprint formula switches to another singlehanded pattern relative with the current singlehanded pattern.
5. the switching method of singlehanded pattern as claimed in claim 1, it is characterised in that methods described also includes:
Under singlehanded pattern, the antenna in the terminal is controlled to be connected to and the antenna tuning electricity corresponding to current singlehanded pattern Road.
6. the switching method of singlehanded pattern as claimed in claim 1, it is characterised in that methods described also includes:
Under singlehanded pattern, the operation interface of the terminal is arranged to current singlehanded pattern corresponding to operation scenario.
7. a kind of switching device of singlehanded pattern, it is characterised in that described device includes:
Signal strength detection module, under singlehanded pattern, periodically signal strength values of detection terminal;The singlehanded mould Formula includes the singlehanded pattern of left hand and the singlehanded pattern of the right hand;
Signal difference judge module, for the signal strength values and the difference of the signal strength values of last moment according to current time Value, it is another singlehanded pattern relative with the current singlehanded pattern to judge whether to need from current singlehanded pattern switching;
Singlehanded mode switch module, for being relative with the current singlehanded pattern when needing from current singlehanded pattern switching Another singlehanded pattern when, be another singlehanded mould relative with the current singlehanded pattern from current singlehanded pattern switching Formula.
8. the switching device of singlehanded pattern as claimed in claim 7, it is characterised in that described device also includes:
First plays frame module, and during for enabling instruction in the singlehanded pattern for getting user's input, the inquiry frame of ejection first is to ask Ask that user needs to carry out left-handed operation or right hand operation;
Singlehanded mode selection module, the selection instruction for being inputted according to user on the described first inquiry frame determine current list Fingerprint formula is the singlehanded pattern of left hand or the singlehanded pattern of the right hand;Wherein, when user selects to carry out left-handed operation, it is determined that working as Preceding singlehanded pattern is the singlehanded pattern of left hand, when user selects to carry out right hand operation, it is determined that current singlehanded pattern is the right side The singlehanded pattern of hand.
9. the switching device of singlehanded pattern as claimed in claim 7, it is characterised in that the signal difference judge module bag Include:
First difference identifying unit:For being when the signal strength values at current time and the difference of the signal strength values of last moment When the absolute value of negative value and the difference is more than or equal to preset value, sentence if current singlehanded pattern is the singlehanded pattern of the right hand It is fixed to need from the singlehanded pattern that the singlehanded pattern switching of the right hand is left hand;If current singlehanded pattern is the singlehanded pattern of left hand Judge singlehanded pattern that need not be from the singlehanded pattern switching of left hand for the right hand;
Second difference identifying unit:For being when the signal strength values at current time and the difference of the signal strength values of last moment On the occasion of and the absolute value of the difference be more than or equal to preset value when, sentence if current singlehanded pattern is the singlehanded pattern of left hand It is fixed to need from the singlehanded pattern that the singlehanded pattern switching of left hand is the right hand;If current singlehanded pattern is the singlehanded pattern of the right hand Judge singlehanded pattern that need not be from the singlehanded pattern switching of the right hand for left hand.
10. the switching device of singlehanded pattern as claimed in claim 7, it is characterised in that described device also includes:
Motion state detection module, for judging whether terminal keeps moving shape within the default time by acceleration transducer State;
Second plays frame module, for when terminal keeps motion state within the default time, ejection second to inquire frame to inquire Whether user needs to forbid switching singlehanded pattern;
Forbid switching selecting module, the selection instruction for being inputted on the described second inquiry frame according to user determines whether to forbid Switch singlehanded pattern;Wherein, if user's selection is forbidden switching singlehanded pattern, forbid switching singlehanded pattern, and maintain current list Fingerprint formula is constant;If user's selection is not prohibited by switching singlehanded pattern, when the signal strength values according to current time and last moment The differences of signal strength values judge to need from current singlehanded pattern switching to be relative with the current singlehanded pattern another It is another singlehanded pattern relative with the current singlehanded pattern from current singlehanded pattern switching during one singlehanded pattern.
11. the switching device of singlehanded pattern as claimed in claim 7, it is characterised in that described device also includes:
Antenna switch module, under singlehanded pattern, controlling the antenna in the terminal to be connected to and current singlehanded pattern Corresponding antenna tuning circuit.
12. the switching device of singlehanded pattern as claimed in claim 7, it is characterised in that described device also includes:
Operation interface handover module, under singlehanded pattern, the operation interface of the terminal to be arranged to and current one hand Operation scenario corresponding to pattern.
CN201710816935.0A 2017-09-12 2017-09-12 Switching method and device of single-hand mode Expired - Fee Related CN107589844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710816935.0A CN107589844B (en) 2017-09-12 2017-09-12 Switching method and device of single-hand mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710816935.0A CN107589844B (en) 2017-09-12 2017-09-12 Switching method and device of single-hand mode

Publications (2)

Publication Number Publication Date
CN107589844A true CN107589844A (en) 2018-01-16
CN107589844B CN107589844B (en) 2020-07-28

Family

ID=61051512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710816935.0A Expired - Fee Related CN107589844B (en) 2017-09-12 2017-09-12 Switching method and device of single-hand mode

Country Status (1)

Country Link
CN (1) CN107589844B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989578A (en) * 2018-09-21 2018-12-11 Oppo(重庆)智能科技有限公司 Methods of exhibiting, device, terminal and the storage medium of prompting message

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638609A (en) * 2011-02-10 2012-08-15 三星电子株式会社 Mobile terminal and method for controlling the same in consideration of communication environment
CN104571839A (en) * 2013-10-17 2015-04-29 中兴通讯股份有限公司 Terminal and processing method and device thereof
WO2015078350A1 (en) * 2013-11-27 2015-06-04 华为终端有限公司 Terminal
CN104750489A (en) * 2015-03-26 2015-07-01 努比亚技术有限公司 Method and device for exiting from single-hand mode
CN105094318A (en) * 2015-06-30 2015-11-25 小米科技有限责任公司 Mode switching method and apparatus
CN105474131A (en) * 2013-08-13 2016-04-06 三星电子株式会社 Method and apparatus for recognizing grip state in electronic device
CN106648419A (en) * 2016-11-16 2017-05-10 努比亚技术有限公司 Display processing method and device and terminal
CN106850024A (en) * 2016-12-15 2017-06-13 奇酷互联网络科技(深圳)有限公司 Antenna-switching device, method and mobile terminal
CN106953979A (en) * 2017-03-28 2017-07-14 努比亚技术有限公司 The method and device that a kind of double antenna in call intelligently switches

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638609A (en) * 2011-02-10 2012-08-15 三星电子株式会社 Mobile terminal and method for controlling the same in consideration of communication environment
CN105474131A (en) * 2013-08-13 2016-04-06 三星电子株式会社 Method and apparatus for recognizing grip state in electronic device
CN104571839A (en) * 2013-10-17 2015-04-29 中兴通讯股份有限公司 Terminal and processing method and device thereof
WO2015078350A1 (en) * 2013-11-27 2015-06-04 华为终端有限公司 Terminal
CN104750489A (en) * 2015-03-26 2015-07-01 努比亚技术有限公司 Method and device for exiting from single-hand mode
CN105094318A (en) * 2015-06-30 2015-11-25 小米科技有限责任公司 Mode switching method and apparatus
CN106648419A (en) * 2016-11-16 2017-05-10 努比亚技术有限公司 Display processing method and device and terminal
CN106850024A (en) * 2016-12-15 2017-06-13 奇酷互联网络科技(深圳)有限公司 Antenna-switching device, method and mobile terminal
CN106953979A (en) * 2017-03-28 2017-07-14 努比亚技术有限公司 The method and device that a kind of double antenna in call intelligently switches

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989578A (en) * 2018-09-21 2018-12-11 Oppo(重庆)智能科技有限公司 Methods of exhibiting, device, terminal and the storage medium of prompting message

Also Published As

Publication number Publication date
CN107589844B (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN103885592B (en) Method and device for displaying information on screen
US8711112B2 (en) Electronic device and recording medium
JP2013222283A (en) Electronic device, and method and program for controlling the same
US20130257793A1 (en) Method and system of data input for an electronic device equipped with a touch screen
CN105446838A (en) Terminal control method and terminal
CN112306248B (en) Hybrid circuit for touch pad and keyboard
CN107092369A (en) Wired stylus, screen touch electronic device, touch-control electronic system and touch-control processing method
CN108920055A (en) touch operation method, device, storage medium and electronic equipment
CN106647942A (en) Wearable equipment control method and device and wearable equipment
CN109002339A (en) touch operation method, device, storage medium and electronic equipment
WO2018008492A1 (en) Touch panel control device and electronic device
CN106295420A (en) A kind of information processing method and device
CN107589844A (en) The switching method and device of singlehanded pattern
US10268362B2 (en) Method and system for realizing functional key on side surface
CN108958628A (en) touch operation method, device, storage medium and electronic equipment
CN104750292A (en) Touch device and touch mode switching method thereof
CN204302672U (en) A kind of intelligent watch
CN104951038A (en) Power saving method of operating portable computing device
CN105373319A (en) Control method, control apparatus and electronic apparatus
CN108418908A (en) A kind of mobile phone right-hand man operates identification device and method
CN101621291B (en) Capacitance type touch control induction circuit
CN109960483A (en) A kind of control method and electronic equipment
CN105373320A (en) Control method, control device and electronic device
CN110308850B (en) Proximity sensing control method and control device for equipment
CN105573466A (en) Mobile terminal control method and apparatus and mobile terminal

Legal Events

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

Granted publication date: 20200728