Embodiment
In order to make object 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.
The embodiment of the present invention is carried out Real-time Collection to the relevant operational parameter of terminal touch screen in the communication process of terminal, and by each operating parameter collecting and default switching condition are compared, according to comparative result to judge the current location status of whether pressing close to ear in user of described terminal, thereby need in terminal, not place the screen that automatically goes out that proximity transducer can be realized terminal in communication process, reduce the hardware production cost of terminal.
Embodiment of the method
Fig. 1 shows the realization flow of the terminal screen control method that first embodiment of the invention provides, and details are as follows:
In step S101, when terminal is during in talking state, obtain the current operating parameter of described terminal touch screen, described operating parameter is parameter relevant to touch operation on described touch-screen.
Specifically, by terminal multi-mode operation parameter is now detected and gathered, for whether pressing close to the location status of ear by multi-mode operation parameter in user comprehensively to judge terminal.
As one embodiment of the present of invention, the operating parameter of described touch-screen comprises the first operating parameter, and described the first operating parameter includes but not limited to touch screen position and the touch screen area of terminal.Above-mentioned the first operating parameter must satisfied operating parameter for terminal being switched to the screen state that goes out institute, and scarce one likely can not judge the location status of terminal.
Further, as an alternative embodiment of the invention, operating parameter can also comprise the second operating parameter, and described the second operating parameter includes but not limited at least one in touch screen pressure, touch screen shape or gravity sensing state.Above-mentioned the second operating parameter, for terminal being switched to the optional operating parameter of screen state institute that goes out, by above-mentioned one or more operating parameter is judged, can further improve the judgement precision of terminal location state.
In step S102, when the current operating parameter of described terminal touch screen meets default switching condition, described terminal touch screen is switched to the screen state that goes out.
Optionally, as one embodiment of the present of invention, because user is in the process of utilizing terminal to converse, can carry out terminal to press close to the call action of ear, therefore, when user carries out this call action, corresponding operating parameter is respectively in following state:
Touch screen position: be a part of region of terminal near loudspeaker, only have ear is pressed close near the region of terminal horn and just can be heard the other side's sound; The difference that particular location can need according to precision presets.
Touch screen area: in a certain preset range,, because in communication process, by face or ear touch screen, the touch screen area while using finger touch screen during now than operating terminal is larger; Concrete scope can preset according to the difference of accuracy requirement.
Touch screen pressure: in a certain preset range, because in communication process, by face or ear touch screen, during now than operating terminal,, with finger touch screen, its touch screen pressure is less; Concrete scope can preset according to the difference of accuracy requirement.
Touch screen shape: irregular figure, and the touch screen shape that finger produces during touch screen is obviously a point or the subcircular of rule comparatively; Concrete area figure can be realized according to the sample of prior typing definite shape.
Gravity sensing state: in a certain angular range, existing terminal possesses gravity sensing function mostly, and because user is vertically attached to terminal by face side or ear, therefore now terminal answers relative level line to present certain angle; Concrete angular range can preset according to the difference of accuracy requirement.
In the present embodiment, by the aforesaid operations parameter collecting and default switching condition are compared to the location status that judges that terminal is current:
Particularly, when described operating parameter only comprises the first operating parameter, default switching condition is accordingly: described in each, first degree of correlation of its corresponding preset range of the first operating parameter is all not less than its corresponding the first predetermined threshold value.Described predetermined threshold value is the predetermined threshold value of the degree of correlation.
When described operating parameter comprises the first operating parameter and the second operating parameter, corresponding default switching condition is except first degree of correlation of its corresponding preset range of the first operating parameter described in each is all not less than its corresponding first predetermined threshold value, also needs to meet first degree of correlation of its corresponding preset range of the second operating parameter described at least one and is not less than its corresponding the first predetermined threshold value.
For above-mentioned switching condition, for example, by being the default corresponding scope of each operating parameter (touch screen area can in a numerical range), the terminal location state of conversing and moving for describing user, and by the operating parameter detecting and corresponding preset range are compared, get respectively first degree of correlation of its corresponding preset range of operating parameter described in each.
Acquisition methods for the degree of correlation of its corresponding preset range of operating parameter, can be by operational parameter value and the corresponding preset range of this operating parameter be compared, to give corresponding relevance degree according to result relatively, optionally, can judge according to default correlation formula, according to described preset range, according to formula, calculate the degree of correlation numerical value of described operating parameter, also can realize according to default correlation judgement form, the operating parameter that can list certain limit in described form contrasts certain degree of correlation numerical value, the embodiment of the present invention does not limit this.
In the present embodiment, first degree of correlation for its corresponding preset range of operating parameter described in each, corresponding the first predetermined threshold value all can be set, when in described the first operating parameter, first degree of correlation of each operating parameter is all not less than its corresponding first predetermined threshold value, represent that now terminal has the larger location status that may receive calls in pressing close to ear, carry out the action that touch-screen is switched to the screen state that goes out.Optionally, described the second operating parameter is mainly used to promote judgement precision, when first degree of correlation of at least one operating parameter is all not less than its corresponding first predetermined threshold value in described the second operating parameter, switches the screen state that goes out, and can promote precision.
Described each operating parameter and corresponding relatedness computation formula thereof or form, corresponding the first predetermined threshold value all can be kept in described terminal, for processor, when calculating and judging, call.
Thus, by above-mentioned steps, without proximity transducer, can utilize touch screen to respond to the action that user is pressed close to ear or face by terminal judges, thereby in user's communication process, to the terminal screen that automatically goes out, saved the hardware cost of terminal.
Optional in addition, because user is in communication process, certain operations parameter is to keep changeless, for example, during call, terminal can not keep same vertical angle, but can in certain angle, slightly rock, therefore for gravity sensing state, may have a bit of time not in preset range, now, if directly the state of terminal screen is controlled according to real-time testing result, likely produce the phenomenon of the frequent switch of screen, do not reach the effect of energy saving, also therefore shortened on the contrary the serviceable life of terminal screen.Therefore, in order to improve manipulation accuracy, can meet after described default switching condition in first degree of correlation or second degree of correlation of the described operating parameter of judgement, after the full certain hour of meter, be switched to again the action of the screen state that goes out, to reduce operate miss.Specific implementation can be: when the current operating parameter of described terminal touch screen meets default switching condition, start timing and obtain default delay switching time; When the operating parameter of full described delay switching time of described chronoscope and described touch-screen still meets described default decision condition, described terminal touch screen is switched to the screen state that goes out.
In addition, as the second embodiment of the present invention, because each user uses the custom of terminal different, in order further to improve the levels of precision to terminal location state judged result, can in the process of terminal, set up and the exclusive tcs database of optimizing user progressively by using user, and by operating parameter further with database in related parameter values compare, with control terminal screen in corresponding state.Now, default switching condition is also included as second degree of correlation of the first operating parameter described in each and is all not less than its corresponding the second predetermined threshold value accordingly, and described at least one, second degree of correlation of the second operating parameter is not less than its corresponding the second predetermined threshold value.For obtaining of described second degree of correlation, as shown in Figure 2:
In step S201, obtain respectively described in each the third phase pass degree of its corresponding preferable range in operating parameter and presetting database, described preferred parameter value or preferable range collect according to user's use habit.
In the present embodiment, preferable range in presetting database obtains by constantly gathering the parameters of user's use habit, for each user, can set up self exclusive database, the preferable range recording in database is through long-term collection and the optimal operation parameter of this user who obtains after optimizing to this terminal, for example, the touch screen position that certain user is fixing, pressure size of its facial touch screen etc.Concrete preferable range obtain manner can be by gathering user's operating parameter statistics each time, one or more the highest operating parameter of current frequency appearance is realized as current preferable range, wherein, preferable range can be continued to optimize according to the increase of user's number of operations.Concrete obtain manner is not emphasis of the present invention, at this, is not described further.
In step S202, according to first degree of correlation of operating parameter described in each and third phase pass degree, carry out COMPREHENSIVE CALCULATING, obtain second degree of correlation of operating parameter described in each.
In the present embodiment, the method for comprehensive judgement includes but not limited to summation, weighting algorithm etc., in this no limit, for first degree of correlation of each operating parameter and second degree of correlation are carried out one consider after, obtain third phase pass degree.Described third phase pass degree has been weighed preset range, and the preferable range in user habit database.
In the present embodiment, by by each operating parameter further with database in preferable range compare, can optimize further court verdict.
Device embodiment
Fig. 3 shows the structured flowchart of the terminal screen control device that third embodiment of the invention provides, and this device can run in the terminals such as mobile phone, for realizing the terminal screen control method shown in the embodiment of the present invention 1.For convenience of explanation, only show the part relevant to the present embodiment.
With reference to Fig. 3, this device comprises:
Operating parameter acquiring unit 31, for when terminal is during in talking state, obtains the current operating parameter of described terminal touch screen, and described operating parameter is parameter relevant to touch operation on described touch-screen;
Switch unit 32, when the current operating parameter of described terminal touch screen meets default switching condition, is switched to by described terminal touch screen the screen state that goes out.
Wherein, the operating parameter obtaining when described operating parameter acquiring unit comprises the first operating parameter, and when described the first operating parameter comprises touch screen position and touch screen area, correspondingly, described switch unit comprises:
First operating parameter the first degree of correlation computation subunit, for calculating first degree of correlation of its corresponding preset range of described each operating parameter of the first operating parameter;
First switches subelement, while being all not less than its corresponding first predetermined threshold value for first degree of correlation when its corresponding preset range of described each operating parameter of the first operating parameter, described terminal touch screen is switched to the screen state that goes out.
The operating parameter obtaining when described operating parameter acquiring unit also comprises the second operating parameter, and when described the second operating parameter comprises at least one in touch screen pressure, touch screen shape or gravity sensing state, described switch unit also comprises:
Second operating parameter the first degree of correlation computation subunit, for calculating first degree of correlation of its corresponding preset range of described at least one operating parameter of the second operating parameter;
Second switches subelement, while being not less than its corresponding first predetermined threshold value for first degree of correlation when its corresponding preset range of described at least one operating parameter of the second operating parameter, described terminal touch screen is switched to the screen state that goes out.
The embodiment of the present invention is carried out Real-time Collection to the relevant operational parameter of terminal touch screen in the communication process of terminal, and by each operating parameter collecting and default switching condition are compared, according to comparative result to judge the current location status of whether pressing close to ear in user of described terminal, thereby need in terminal, not place the screen that automatically goes out that proximity transducer can be realized terminal in communication process, reduce the hardware production cost of terminal.
In addition, as another kind of embodiment of the present invention, embodiment 4 provides the structured flowchart of another terminal screen control device of the present invention, and this device can run in the terminals such as mobile phone, for realizing the terminal screen control method shown in the embodiment of the present invention 2.For convenience of explanation, only show the part different with embodiment 3 from the present embodiment.
In the embodiment of the present invention 4, described switch unit can consider the preset range of described operating parameter and the operating parameter preferable range gathering according to user habit.Now, the operating parameter that described operating parameter acquiring unit obtains comprises the first operating parameter, and described the first operating parameter comprises touch screen position and touch screen area; Described operating parameter also comprises the second operating parameter, and described the second operating parameter comprises at least one in touch screen pressure, touch screen shape or gravity sensing state.
Now, described switch unit comprises:
First operating parameter the second degree of correlation computation subunit, for calculating second degree of correlation of described first each operating parameter of operating parameter;
Second operating parameter the second degree of correlation computation subunit, for calculating second degree of correlation of described second at least one operating parameter of operating parameter;
The 3rd switches subelement, for second degree of correlation when described first each operating parameter of operating parameter, be all not less than its corresponding the second predetermined threshold value, and when second degree of correlation of at least one operating parameter is not less than its corresponding second predetermined threshold value in described the second operating parameter, described terminal touch screen is switched to the screen state that goes out.
Wherein, described arbitrary operating parameter the second degree of correlation computation subunit includes:
Operating parameter the first degree of correlation computation subunit, for calculating first degree of correlation of its corresponding preset range of described each operating parameter of the first operating parameter;
Operating parameter third phase pass degree computation subunit, for calculating the third phase pass degree of the corresponding preferable range of described operating parameter and presetting database, described preferable range is for to collect according to user's use habit;
Operating parameter the second degree of correlation computation subunit, for carrying out COMPREHENSIVE CALCULATING according to first degree of correlation of described operating parameter and third phase pass degree, obtains second degree of correlation of described operating parameter.
Optionally, corresponding with embodiment of the method, the device described in described device embodiment can also comprise with lower unit:
Postpone acquiring unit switching time, for obtaining default delay switching time;
Timing unit, for start timing when the current operating parameter of described terminal touch screen meets default switching condition, and when still meeting described default decision condition, the operating parameter of full described delay switching time of described chronoscope and described touch-screen sends switching command to described switch unit.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium can read, as the floppy disk of computing machine, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection domain with claim.