CN105138320B - Control the method and relevant device of screen display direction - Google Patents

Control the method and relevant device of screen display direction Download PDF

Info

Publication number
CN105138320B
CN105138320B CN201510466575.7A CN201510466575A CN105138320B CN 105138320 B CN105138320 B CN 105138320B CN 201510466575 A CN201510466575 A CN 201510466575A CN 105138320 B CN105138320 B CN 105138320B
Authority
CN
China
Prior art keywords
fingerprint
screen display
terminal device
display direction
whipping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510466575.7A
Other languages
Chinese (zh)
Other versions
CN105138320A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510466575.7A priority Critical patent/CN105138320B/en
Publication of CN105138320A publication Critical patent/CN105138320A/en
Application granted granted Critical
Publication of CN105138320B publication Critical patent/CN105138320B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of methods and relevant device of control screen display direction.A method of screen display direction is controlled, may include:Obtain fingerprint i of the user by the fingerprint identification area typing of terminal device;Determine screen display direction corresponding with the fingerprint i;In the case of the screen display direction corresponding different from the fingerprint i of the current screen display direction of the terminal device, the current screen display direction of the terminal device is adjusted to the corresponding screen display directions the fingerprint i.Technical solution provided in an embodiment of the present invention is conducive to simplify the adjustment complexity in screen display direction, reduces degree of the adjustment screen display direction to system resource, reduces system power dissipation.

Description

Control the method and relevant device of screen display direction
Technical field
The present invention relates to computer electronic technology fields, and in particular to a kind of method and correlation of control screen display direction Equipment.
Background technology
With the continuous development of science and technology, screen possessed by terminal device (such as smart mobile phone etc.) is increasing, And the function of terminal device can increasingly meet the diversified demand of people.It is main also most basic end to listen song, see video End equipment function, during seeing video, user sometimes wishes that the display direction of screen can be adjusted, to obtain More preferably viewing effect.
In general, the mode in tradition adjustment screen display direction is arranged in terminal menu.Recently as increasingly It is configured with gravity sensor on more terminal devices, the method for the screen display direction adjustment based on gravity sensing has obtained extensively Use.
During using the terminal for carrying gravity sensor, gravity sensor can more sense that terminal is set in time The change of standby direction, and screen display direction timely adjust, is changed, it is ensured that the appreciation effect of user is best 's.
Inventor has found in the implementation of the present invention, traditional by being configured screen display direction to menu Its operating process of method is comparatively laborious, is not easy to user's operation, is not suitable for needing to carry out screen display direction more frequent The user of switching.And the currently popular method that the screen display direction of terminal device is adjusted based on gravity sensor induction, Whether gravity sensor is changed every a cycle detection terminal equipment direction;In general, if the period is shorter, when User change terminal device towards when, gravity sensor can detect and terminal device is notified to adjust screen accordingly in time Display direction, but gravity sensor can occupy more system resource at this time, while system power dissipation can be made to increase, also, one A bit due to user accidentally or external environment be possible to vibrations that terminal device is brought can be because of terminal gravity sensor Period is too short, or can say that the sensitivity of terminal gravity sensor is excessively high and trigger terminal device adjustment screen display direction, to use It makes troubles at family;And if the period is longer, gravity sensor reduces the occupancy of system resource, and the power consumption of system can also drop It is low, but terminal device can be caused not to be adjusted in time to screen display direction.
Invention content
The embodiment of the present invention provides the method and relevant device of control screen display direction, to simplify screen display direction Adjustment complexity, reduce adjustment screen display direction to the degree of system resource, reduce system power dissipation.
First aspect of the embodiment of the present invention provides a kind of method of control screen display direction, including:
Obtain fingerprint i of the user by the fingerprint identification area typing of terminal device;
Determine screen display direction corresponding with the fingerprint i;
It is different from the feelings in the corresponding screen display directions the fingerprint i in the current screen display direction of the terminal device Under condition, the current screen display direction of the terminal device is adjusted to the corresponding screen display directions the fingerprint i.
With reference to first aspect, in the first possible embodiment of first aspect, i pairs of the determination and the fingerprint The screen display direction answered, including:
Inquiry is recorded with the presence or absence of with the matched mapping relations of the fingerprint i in mapping table, the mapping relations Every mapping relations record in table includes the fingerprint field for recording fingerprint and the direction for recording screen display direction Field;J is recorded with the matched mapping relations of the fingerprint i if having been inquired in the mapping table, the mapping is closed The screen display direction of direction field record in system record j is as the corresponding screen display directions the fingerprint i.
The possible embodiment of with reference to first aspect the first, in second of possible embodiment of first aspect In,
Before the fingerprint i that user is obtained by the fingerprint identification area typing of terminal device, including:
N mapping relations record, every mapping in the N mapping relations record are created in the mapping table The fingerprint that the fingerprint field of relation record is recorded is different, every mapping relations note in the N mapping relations record The screen display direction that the direction field of record is recorded is different, and the N is the integer more than 1.
Second of possible embodiment with reference to first aspect, in the third possible embodiment of first aspect In, the fingerprint that the fingerprint field of every mapping relations record in the N mapping relations record is recorded is to shield with change Effective fingerprint of curtain display direction permission.
The third possible embodiment with reference to first aspect, in the 4th kind of possible embodiment of first aspect In,
Further include before N mapping relations record of the establishment in the mapping table:Display is used on the screen Prompt the prompt message of the effective fingerprint of user's typing;Receive the N number of of fingerprint identification area typing of the user by the terminal device Effective fingerprint determines the correspondence screen display side that user is set separately for the effective fingerprint of each of N number of effective fingerprint To.
With reference to first aspect or second of the first possible embodiment of first aspect or first aspect possible 4th kind of possible embodiment of the possible embodiment of the third of embodiment or first aspect or first aspect, In 5th kind of possible embodiment of one side,
The method further includes:
It detects the terminal device and whether occurs first and get rid of action event, if the terminal device occurs the first whipping and makees Event detects the specified wearable device of the terminal device and whether occurs second and get rid of action event, if the wearable device occurs Second gets rid of action event, judges that described first gets rid of action event and whether second whipping gets rid of direction of action as what event included Identical, if got rid of, direction of action is identical, judges that described first gets rid of action event and whipping that second whipping includes as event Make whether initial time is respectively positioned in preset duration, judges that described first gets rid of action event and second whipping includes as event Whipping make whether duration is respectively positioned in the preset duration, if described first gets rid of action event and second whipping The whipping for including as event is respectively positioned on as initial time in preset duration, and described first gets rid of action event and described second and get rid of The whipping that action event includes is respectively positioned on as duration within the preset duration, judges that described first gets rid of action event and institute State the whipping that the second whipping includes as event make initial time difference whether be less than the first predetermined threshold value, if described first gets rid of The difference that the whipping that action event includes as event with second whipping makees initial time is less than the first predetermined threshold value, judges institute It states first and gets rid of whether in advance less than second the whipping that action event includes as event with second whipping makees the difference of duration If threshold value, if described first get rid of the whipping that action event and second whipping include as event make duration difference it is small In the second predetermined threshold value, determine that same action thing occurs in the preset duration for the terminal device and the wearable device Part;
Wherein, the screen display direction that the terminal device is current is adjusted to the corresponding screens of the fingerprint i and shows Show direction, including:Determining that same action thing occurs in the preset duration for the terminal device and the wearable device In the case of part, the current screen display direction of the terminal device is adjusted to the corresponding screen display directions the fingerprint i.
Second aspect of the present invention provides a kind of device of control screen display direction, including:
Acquiring unit, the fingerprint i for obtaining fingerprint identification area typing of the user by terminal device;
Determination unit, for determining screen display direction corresponding with the fingerprint i;
Adjustment unit, for being different from the corresponding screens of the fingerprint i in the current screen display direction of the terminal device In the case of curtain display direction, the current screen display direction of the terminal device is adjusted to the corresponding screens of the fingerprint i Display direction.
In conjunction with second aspect, in the first possible embodiment of second aspect, the determination unit is specifically used for, Inquiry is recorded with the presence or absence of with the matched mapping relations of the fingerprint i in mapping table, every in the mapping table Mapping relations record includes the fingerprint field for recording fingerprint and the direction field for recording screen display direction;If institute It states to have inquired in mapping table and records j with the matched mapping relations of the fingerprint i, the mapping relations are recorded in j The screen display direction of direction field record is as the corresponding screen display directions the fingerprint i.
In conjunction with the first possible embodiment of second aspect, in second of possible embodiment of second aspect In, described device further includes:
Creating unit, for creating N mapping relations record, the N mapping relations note in the mapping table The fingerprint that the fingerprint field of every mapping relations record in record is recorded is different, in the N mapping relations record The screen display direction that the direction field of every mapping relations record is recorded is different, and the N is the integer more than 1.
In conjunction with second of possible embodiment of second aspect, in the third possible embodiment of second aspect In, the fingerprint that the fingerprint field of every mapping relations record in the N mapping relations record is recorded is to shield with change Effective fingerprint of curtain display direction permission.
In conjunction with the third possible embodiment of second aspect, in the 4th kind of possible embodiment of second aspect In, the creating unit is additionally operable to show the prompt message for prompting the effective fingerprint of user's typing on the screen;Receive user By N number of effective fingerprint of the fingerprint identification area typing of the terminal device, determine user in N number of effective fingerprint Each correspondence screen display direction that effectively fingerprint is set separately.
With reference to first aspect or second of the first possible embodiment of first aspect or first aspect possible 4th kind of possible embodiment of the possible embodiment of the third of embodiment or first aspect or first aspect, In 5th kind of possible embodiment of one side,
Described device further includes:
Whether detection unit occurs first for detecting the terminal device and gets rid of action event, if the terminal device Occur first to get rid of action event, detects the specified wearable device of the terminal device and whether occur second and get rid of action event, if institute It states wearable device to occur second to get rid of action event, judges that described first gets rid of action event and second whipping includes as event It whether identical gets rid of direction of action, if it is identical to get rid of direction of action, judges that described first gets rid of action event and second whipping is made The whipping that event includes makees whether initial time is respectively positioned in preset duration, judges that described first gets rid of action event and described second The whipping that whipping includes as event makees whether duration is respectively positioned in the preset duration, if described first gets rid of action event The whipping for including as event with second whipping is respectively positioned on as initial time in preset duration, and first whipping makees thing Part and second whipping are respectively positioned on as duration within the preset duration as the whipping that event includes, and judge described first It gets rid of the whipping that action event and second whipping include as event and makees the difference of initial time and whether be less than the first predetermined threshold value, If described first, which gets rid of the whipping that action event includes as event with second whipping, makees the difference of initial time less than first Predetermined threshold value judges that described first gets rid of the difference that the whipping that action event includes as event with second whipping makees duration Whether the second predetermined threshold value is less than, if described first gets rid of the whipping that action event includes as event with second whipping and hold The difference of continuous duration is less than the second predetermined threshold value, determines the terminal device and the wearable device in the preset duration Same action event occurs;
Wherein, the current screen display direction of the terminal device is being adjusted to the corresponding screen displays of the fingerprint i The aspect in direction, adjustment unit are specifically used for:Determining the terminal device and the wearable device in the preset duration In the case of the interior same action event of generation, the current screen display direction of the terminal device is adjusted to i pairs of the fingerprint The screen display direction answered.
As can be seen that in the scheme of the embodiment of the present invention, fingerprint identification area that terminal device is passed through according to the user of acquisition The fingerprint of typing adjusts screen display direction, provide the user a kind of mechanism of the display direction of novel adjustment screen, The mechanism can be when user carries out simple and practicable operation to terminal device in time depending on the user's operation to terminal device Screen display direction is adjusted.The mechanism had both solved traditional mechanism by being configured screen display direction to menu The excessively cumbersome defect of operating process, and overcome the machine that terminal screen display direction is adjusted based on gravity sensor induction The deficiency of system, for example, overcome the system resource occupied when the gravity sensor period is shorter it is more and make system power dissipation on Rise deficiency, and overcome the gravity sensor period it is longer when cannot depending on the user's operation to screen display direction carry out and When adjustment deficiency.And since present mechanism is to realize that fingerprint recognition is only right based on the terminal device with fingerprint recognition The fingerprint of human body responds, and avoids and non-user needs occurs, and the feelings for being adjusted, changing to the direction of screen display Condition.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill of field, it can also be obtained according to these attached drawings without creative efforts other attached Figure.
Fig. 1 is a kind of flow diagram of the method for control screen display direction that one embodiment of the present of invention provides;
Fig. 2-a are that the flow of the method for another control screen display direction that an alternative embodiment of the invention provides is shown It is intended to;
Fig. 2-b are a kind of schematic diagram for mapping table that an alternative embodiment of the invention provides;
Fig. 2-c are the schematic diagram in the current screen display direction of terminal device that an alternative embodiment of the invention provides;
Fig. 2-d~Fig. 2-f are several possible screens after the terminal device adjustment that an alternative embodiment of the invention provides The schematic diagram of curtain display direction;
Fig. 3-a are that the flow of the method for another control screen display direction that an alternative embodiment of the invention provides is shown It is intended to;
Fig. 3-b are the schematic diagram for another mapping table that an alternative embodiment of the invention provides;
Fig. 4 is the flow signal of the method for another control screen display direction that an alternative embodiment of the invention provides Figure;
Fig. 5 is the flow signal of the method for another control screen display direction that an alternative embodiment of the invention provides Figure;
Fig. 6 is a kind of framework signal of the device for control screen display direction that an alternative embodiment of the invention provides Figure;
Fig. 7 is the configuration diagram for another terminal device that an alternative embodiment of the invention provides.
Specific implementation mode
The embodiment of the present invention provides the method and relevant device of control screen display direction, to simplify screen display direction Adjustment complexity, reduce adjustment screen display direction to the degree of system resource, reduce system power dissipation.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical solution in the embodiment of the present invention are explicitly described, it is clear that described embodiment is only the present invention The embodiment of a part, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having There is the every other embodiment obtained under the premise of making creative work, should all belong to the scope of protection of the invention.
Term " first ", " second " and " third " occurred in description of the invention, claims and attached drawing etc. is to use In the different object of difference, and it is not intended to describe specific sequence.In addition, term " comprising " and " having " and they are any Deformation, it is intended that cover and non-exclusive include.Such as contain the process of series of steps or unit, method, system, product Or equipment the step of being not limited to list or unit, but further include the steps that optionally not listing or unit, or it can Selection of land further includes for the intrinsic other steps of these processes, method, product or equipment or unit.
The present invention control screen display direction method one embodiment, it is a kind of control screen display direction method can Including:Obtain fingerprint i of the user by the fingerprint identification area typing of terminal device;Determine that screen corresponding with the fingerprint i is aobvious Show direction;It is different from the feelings in the corresponding screen display directions the fingerprint i in the current screen display direction of the terminal device Under condition, the current screen display direction of the terminal device is adjusted to the corresponding screen display directions the fingerprint i.
Referring to Fig. 1, Fig. 1 is a kind of flow of the method for control screen display direction that one embodiment of the present of invention provides Schematic diagram.Shown in Fig. 1 citings, a kind of method for control screen display direction that one embodiment of the present of invention provides can wrap It includes:
101, fingerprint i of the user by the fingerprint identification area typing of terminal device is obtained.
Wherein, the fingerprint identification area of terminal device can be located at the surface of the screen of terminal device or can be located at terminal device Around screen (such as the top of screen, the lower section of screen, the left of screen or screen right) or can also be located at terminal The back side of equipment or other positions.
102, screen display direction corresponding with the fingerprint i is determined.
Wherein, there is correspondence, such as the corresponding screen of user's left index finger fingerprint between fingerprint and screen display direction Curtain display direction is from left to right, wherein the corresponding screen display direction of user's right hand index fingerprint is from top to bottom, with such It pushes away.
103, it is different from the corresponding screen display directions the fingerprint i in the current screen display direction of the terminal device In the case of, the current screen display direction of the terminal device is adjusted to the corresponding screen display directions the fingerprint i.
As can be seen that in the scheme of the embodiment of the present invention, fingerprint identification area that terminal device is passed through according to the user of acquisition The fingerprint of typing adjusts screen display direction, provide the user a kind of mechanism of the display direction of novel adjustment screen, The mechanism can be when user carries out simple and practicable operation to terminal device in time depending on the user's operation to terminal device Screen display direction is adjusted.The mechanism had both solved traditional mechanism by being configured screen display direction to menu The excessively cumbersome defect of operating process, and overcome the machine that terminal screen display direction is adjusted based on gravity sensor induction The deficiency of system, for example, overcome the system resource occupied when the gravity sensor period is shorter it is more and make system power dissipation rise Deficiency, and overcome the gravity sensor period it is longer when screen display direction cannot be carried out depending on the user's operation it is timely Adjustment deficiency.And since present mechanism is realized based on the terminal device with fingerprint recognition, fingerprint recognition is only to people The fingerprint of body responds, the case where avoiding and non-user needs occur, and be adjusted, change to the direction of screen display.
Wherein, in practical applications, determine that the mode in screen display direction corresponding with the fingerprint i can be a variety of samples 's.
Optionally, in some possible embodiments of the present invention, screen display side corresponding with the fingerprint i is determined To may include:Inquiry is recorded with the presence or absence of with the matched mapping relations of the fingerprint i in mapping table, the mapping Every mapping relations record in relation table includes fingerprint field for recording fingerprint and for recording screen display direction Direction field;J is recorded with the matched mapping relations of the fingerprint i if having been inquired in the mapping table, is reflected described The screen display direction of the direction field record in relation record j is penetrated as the corresponding screen display directions the fingerprint i.This Outside, every mapping relations record in the mapping table may also include the field for recording other information.
Optionally, in some possible embodiments of the present invention, the acquisition fingerprint of the user by terminal device Before the fingerprint i of cog region typing, further include:N mapping relations record is created in the mapping table, wherein the N The fingerprint that the fingerprint field of every mapping relations record in mapping relations record is recorded is different, the N items mapping The screen display direction that the direction field of every mapping relations record in relation record is recorded is different, and the N is big In 1 integer.
Such as the N can be equal to 2,9,18,5,3,8,7,11,6,4,10,15,17 or other values.
Optionally, in some possible embodiments of the present invention, every mapping in the N mapping relations record The fingerprint that the fingerprint field of relation record is recorded is with the effective fingerprint for changing screen display direction permission.
Optionally, described that the mapping of N items is created in the mapping table in some possible embodiments of the invention Before relation record, it may also include:
The prompt message for prompting the effective fingerprint of user's typing is shown on the screen;User is received to set by the terminal N number of effective fingerprint of standby fingerprint identification area typing determines user for each of N number of effective fingerprint effective fingerprint point The correspondence screen display direction not set.
Wherein, according to the user received by N number of effective fingerprint of the fingerprint identification area typing of the terminal device, and The correspondence screen display direction that the user determined is set separately for the effective fingerprint of each of N number of effective fingerprint, can To be created that N mapping relations record, wherein what the fingerprint field record for the every mapping relations record being created that received has Effect fingerprint, and the corresponding screen display direction that direction field record is determined.
Optionally, in some possible embodiments of the invention, by the current screen display direction of the terminal device The corresponding screen display directions the fingerprint i are adjusted to, including:Belong to the mapping relations at the typing moment of the fingerprint i In the case of the term of validity for recording the term of validity field record in j, the current screen display direction of the terminal device is adjusted For the corresponding screen display directions the fingerprint i.
Optionally, in some possible embodiments of the invention, the method may also include:
It detects the terminal device and whether occurs first and get rid of action event, if the terminal device occurs the first whipping and makees thing Part detects the specified wearable device of the terminal device and whether occurs second and gets rid of action event, if the wearable device occurs the Two get rid of action event, judge described first get rid of action event and second whipping as event include get rid of direction of action whether phase Together, if getting rid of, direction of action is identical, judges that described first gets rid of action event and whipping that second whipping includes as event rises Whether time of beginning is respectively positioned in preset duration, judges that described first gets rid of action event and second whipping is got rid of as what event included Whether action duration is respectively positioned in the preset duration, if described first gets rid of action event and second whipping makees thing The whipping that part includes is respectively positioned on as initial time in preset duration, and described first gets rid of action event and second whipping work The whipping that event includes is respectively positioned on as duration within the preset duration, judges that described first gets rid of action event and described the Whether the difference that the whipping that two whippings include as event makees initial time is less than the first predetermined threshold value, if first whipping is made The difference that the whipping that event and second whipping include as event makees initial time is less than the first predetermined threshold value, judges described the Whether one gets rid of the whipping that action event includes as event with second whipping makees the difference of duration less than the second default threshold Value, if described first gets rid of the whipping that action event and second whipping include as event and make the difference of duration and be less than the Two predetermined threshold values determine that same action event occurs in the preset duration for the terminal device and the wearable device;
Wherein, the screen display direction that the terminal device is current is adjusted to the corresponding screens of the fingerprint i and shows Show direction, including:Determining that same action thing occurs in the preset duration for the terminal device and the wearable device In the case of part, the current screen display direction of the terminal device is adjusted to the corresponding screen display directions the fingerprint i.
Optionally, the preset duration can be 10 seconds, 20 seconds, 30 seconds, 50 seconds, 70 seconds, 100 seconds or other time.
Optionally, the first predetermined threshold value can be 3 seconds, 5 seconds, 10 seconds, 20 seconds, 50 seconds, 80 seconds or other time.
Optionally, the second predetermined threshold value can be 13 seconds, 15 seconds, 22 seconds, 20 seconds, 50 seconds, 81 seconds or other time.
For ease of being better understood from and implementing the technical solution of the above embodiment of the present invention, with reference to application scenes Carry out citing description.
Referring to Fig. 2-a, Fig. 2-a are the side for another control screen display direction that an alternative embodiment of the invention provides The flow diagram of method.As shown in Fig. 2-a citings, the another kind that an alternative embodiment of the invention provides controls screen display side To method may include:
201, terminal device obtains fingerprint i of the user by the fingerprint identification area typing of terminal device.
Wherein, the fingerprint identification area of terminal device can be located at the surface of the screen of terminal device or can be located at terminal device Around screen (such as the top of screen, the lower section of screen, the left of screen or screen right) or can also be located at terminal The back side of equipment or other positions.
202, terminal device is inquired in mapping table records with the presence or absence of with the matched mapping relations of the fingerprint i. Wherein, every mapping relations record in the mapping table includes fingerprint field for recording fingerprint and for recording screen The direction field of curtain display direction.
If so, thening follow the steps 203.
If it is not, thening follow the steps 205.
Wherein, the form of mapping table for example can be as shown in Fig. 2-b citings, mapping table shown in Fig. 2-b citings In every mapping relations record include the fingerprint field for recording fingerprint and the direction word for recording screen display direction Section.
It is recorded with the matched mapping relations of the fingerprint i if 203, terminal device has inquired in the mapping table It is current to judge whether the screen display direction of the direction field record in the mapping relations record j is same as the terminal device by j Screen display direction.
If it is not, thening follow the steps 204.
If so, thening follow the steps 205.
204, the current screen display direction of the terminal device is adjusted to the corresponding screens of the fingerprint i by terminal device Display direction.
Such as the current screen display direction of the terminal device is as shown in Fig. 2-c citings, then can be by the terminal The current screen display direction of equipment is adjusted to as shown in Fig. 2-d citings, as shown in Fig. 2-e citings or as shown in Fig. 2-f citings.
205, display reminding can not adjust the prompt message in screen display direction to terminal device on the screen.
As can be seen that in the scheme of the present embodiment, terminal device is known according to the user of acquisition by the fingerprint of terminal device The fingerprint of other area typing adjusts screen display direction, provide the user a kind of machine of the display direction of new adjustment screen System, which can be when user carries out simple and practicable operation to terminal device in time depending on the user's operation to terminal device Screen display direction be adjusted.The mechanism had both solved traditional machine by being configured screen display direction to menu The excessively cumbersome defect of the operating process of system, and overcome and terminal screen display direction is adjusted based on gravity sensor induction The deficiency of mechanism, for example, overcome the system resource occupied when the gravity sensor period is shorter it is more and make system power dissipation on Rise deficiency, and overcome the gravity sensor period it is longer when cannot depending on the user's operation to screen display direction carry out and When adjustment deficiency.And since present mechanism is to realize that fingerprint recognition is only right based on the terminal device with fingerprint recognition The fingerprint of human body responds, and avoids and non-user needs occurs, and the feelings for being adjusted, changing to the direction of screen display Condition.
Referring to Fig. 3, Fig. 3 is the method for another control screen display direction that an alternative embodiment of the invention provides Flow diagram.As shown in Fig. 3 citings, the side for another control screen display direction that an alternative embodiment of the invention provides Method may include:
301, terminal device obtains fingerprint i of the user by the fingerprint identification area typing of terminal device.
Wherein, the fingerprint identification area of terminal device can be located at the surface of the screen of terminal device or can be located at terminal device Around screen (such as the top of screen, the lower section of screen, the left of screen or screen right) or can also be located at terminal The back side of equipment or other positions.
302, terminal device is inquired in mapping table records with the presence or absence of with the matched mapping relations of the fingerprint i. Wherein, every mapping relations record in the mapping table includes fingerprint field for recording fingerprint and for recording screen The direction field of curtain display direction.
If so, thening follow the steps 303.
If it is not, thening follow the steps 306.
Wherein, the form of mapping table for example can be as shown in Fig. 3-b citings, mapping table shown in Fig. 3-b citings In every mapping relations record include for recording the fingerprint field of fingerprint, the direction field for recording screen display direction With the term of validity field for recording the fingerprint term of validity.
It is recorded with the matched mapping relations of the fingerprint i if 303, terminal device has inquired in the mapping table J, judges whether the typing moment of the fingerprint i belongs to the term of validity of the term of validity field record in the mapping relations record j.
If so, thening follow the steps 304.
If it is not, thening follow the steps 306.
304, terminal device judges whether the screen display direction of the direction field record in the mapping relations record j is same In the current screen display direction of the terminal device.
If it is not, thening follow the steps 305.
If so, thening follow the steps 306.
305, the current screen display direction of the terminal device is adjusted to the corresponding screens of the fingerprint i by terminal device Display direction.
Such as the current screen display direction of the terminal device is as shown in Fig. 2-c citings, then can be by the terminal The current screen display direction of equipment is adjusted to as shown in Fig. 2-d citings, as shown in Fig. 2-e citings or as shown in Fig. 2-f citings.
306, display reminding can not adjust the prompt message in screen display direction to terminal device on the screen.
As can be seen that in the scheme of the present embodiment, terminal device is known according to the user of acquisition by the fingerprint of terminal device The fingerprint of other area typing adjusts screen display direction, provide the user a kind of machine of the display direction of new adjustment screen System, which can be when user carries out simple and practicable operation to terminal device in time depending on the user's operation to terminal device Screen display direction be adjusted.The mechanism had both solved traditional machine by being configured screen display direction to menu The excessively cumbersome defect of the operating process of system, and overcome and terminal screen display direction is adjusted based on gravity sensor induction The deficiency of mechanism, for example, overcome the system resource occupied when the gravity sensor period is shorter it is more and make system power dissipation on Rise deficiency, and overcome the gravity sensor period it is longer when cannot depending on the user's operation to screen display direction carry out and When adjustment deficiency.And since present mechanism is to realize that fingerprint recognition is only right based on the terminal device with fingerprint recognition The fingerprint of human body responds, and avoids and non-user needs occurs, and the feelings for being adjusted, changing to the direction of screen display Condition.
Also, the concept of the fingerprint term of validity is introduced, more simply fingerprint can effectively control with failure accordingly System.
Referring to Fig. 4, Fig. 4 is the method for another control screen display direction that an alternative embodiment of the invention provides Flow diagram.Shown in Fig. 4 citings, the method for another control screen display direction that an alternative embodiment of the invention provides May include:
401, terminal device shows the prompt message for prompting the effective fingerprint of user's typing on the screen.
Wherein, above-mentioned prompt message may include the following contents " asking the effective fingerprint of typing ".
402, terminal device receives N number of effective fingerprint of the user by the fingerprint identification area typing of the terminal device, really Determine the correspondence screen display direction that user is set separately for the effective fingerprint of each of N number of effective fingerprint.
Wherein, the fingerprint identification area of terminal device can be located at the surface of the screen of terminal device or can be located at terminal device Around screen (such as the top of screen, the lower section of screen, the left of screen or screen right) or can also be located at terminal The back side of equipment or other positions.
403, terminal device is directed to the effective fingerprint of each of N number of effective fingerprint using N number of effective fingerprint and user The correspondence screen display direction being set separately creates N mapping relations record in the mapping table.
Optionally, in some possible embodiments of the present invention, every mapping in the N mapping relations record The fingerprint that the fingerprint field of relation record is recorded is with the effective fingerprint for changing screen display direction permission.
Wherein, according to the user received by N number of effective fingerprint of the fingerprint identification area typing of the terminal device and The correspondence screen display direction that the user determined is set separately for the effective fingerprint of each of N number of effective fingerprint, can To be created that N mapping relations record, wherein what the fingerprint field record for the every mapping relations record being created that received has Effect fingerprint, and the corresponding screen display direction that direction field record is determined.
Wherein, the fingerprint that the fingerprint field of every mapping relations record in the N mapping relations record is recorded is mutual It differs, the screen display direction that the direction field that every mapping relations in the N mapping relations record record is recorded Different, the N is the integer more than 1.
Such as the N can be equal to 2,9,18,5,3,8,7,11,6,4,10,15,17 or other values.
404, terminal device obtains fingerprint i of the user by the fingerprint identification area typing of terminal device.
405, terminal device is inquired in mapping table records with the presence or absence of with the matched mapping relations of the fingerprint i. Wherein, every mapping relations record in the mapping table includes fingerprint field for recording fingerprint and for recording screen The direction field of curtain display direction.
If so, thening follow the steps 406.
If it is not, thening follow the steps 408.
Wherein, the form of mapping table for example can be as shown in Fig. 2-b citings, mapping table shown in Fig. 2-b citings In every mapping relations record include the fingerprint field for recording fingerprint and the direction word for recording screen display direction Section.
It is recorded with the matched mapping relations of the fingerprint i if 406, terminal device has inquired in the mapping table It is current to judge whether the screen display direction of the direction field record in the mapping relations record j is same as the terminal device by j Screen display direction.
If it is not, thening follow the steps 407.
If so, thening follow the steps 408.
407, the current screen display direction of the terminal device is adjusted to the corresponding screens of the fingerprint i by terminal device Display direction.
408, display reminding can not adjust the prompt message in screen display direction to terminal device on the screen.
As can be seen that in the scheme of the present embodiment, terminal device is known according to the user of acquisition by the fingerprint of terminal device The fingerprint of other area typing adjusts screen display direction, provide the user a kind of machine of the display direction of new adjustment screen System, which can be when user carries out simple and practicable operation to terminal device in time depending on the user's operation to terminal device Screen display direction be adjusted.The mechanism had both solved traditional machine by being configured screen display direction to menu The excessively cumbersome defect of the operating process of system, and overcome and terminal screen display direction is adjusted based on gravity sensor induction The deficiency of mechanism, for example, overcome the system resource occupied when the gravity sensor period is shorter it is more and make system power dissipation on Rise deficiency, and overcome the gravity sensor period it is longer when cannot depending on the user's operation to screen display direction carry out and When adjustment deficiency.And since present mechanism is to realize that fingerprint recognition is only right based on the terminal device with fingerprint recognition The fingerprint of human body responds, and avoids and non-user needs occurs, and the feelings for being adjusted, changing to the direction of screen display Condition.
Referring to Fig. 5, Fig. 5 is the method for another control screen display direction that an alternative embodiment of the invention provides Flow diagram.Shown in Fig. 5 citings, the method for another control screen display direction that an alternative embodiment of the invention provides May include:
501, terminal device shows the prompt message for prompting the effective fingerprint of user's typing on the screen.
Wherein, prompt message may include the following contents " asking the effective fingerprint of typing ".
502, terminal device receives N number of effective fingerprint of the user by the fingerprint identification area typing of the terminal device, really Determine the correspondence screen display direction that user is set separately for the effective fingerprint of each of N number of effective fingerprint, to determine user The correspondence term of validity being set separately for the effective fingerprint of each of N number of effective fingerprint.
Wherein, the fingerprint identification area of terminal device can be located at the surface of the screen of terminal device or can be located at terminal device Around screen (such as the top of screen, the lower section of screen, the left of screen or screen right) or can also be located at terminal The back side of equipment or other positions.
503, terminal device is directed to the effective fingerprint of each of N number of effective fingerprint using N number of effective fingerprint and user The correspondence screen display direction being set separately and the term of validity create N mapping relations record in the mapping table.
Optionally, in some possible embodiments of the present invention, every mapping in the N mapping relations record The fingerprint that the fingerprint field of relation record is recorded is with the effective fingerprint for changing screen display direction permission.
Wherein, according to the user received by N number of effective fingerprint of the fingerprint identification area typing of the terminal device and The correspondence screen display direction that the user determined is set separately for the effective fingerprint of each of N number of effective fingerprint, can To be created that N mapping relations record, wherein what the fingerprint field record for the every mapping relations record being created that received has Effect fingerprint, and the corresponding screen display direction that direction field record is determined, and what term of validity field record was determined The corresponding term of validity.
Wherein, the fingerprint that the fingerprint field of every mapping relations record in the N mapping relations record is recorded is mutual It differs, the screen display direction that the direction field that every mapping relations in the N mapping relations record record is recorded Different, the N is the integer more than 1.
Such as the N can be equal to 2,9,18,5,3,8,7,11,6,4,10,15,17 or other values.
504, terminal device obtains fingerprint i of the user by the fingerprint identification area typing of terminal device.
505, terminal device is inquired in mapping table records with the presence or absence of with the matched mapping relations of the fingerprint i. Wherein, every mapping relations record in the mapping table includes fingerprint field for recording fingerprint and for recording screen The direction field of curtain display direction.
If so, thening follow the steps 506.
If it is not, thening follow the steps 509.
Wherein, the form of mapping table for example can be as shown in Fig. 3-b citings, mapping table shown in Fig. 3-b citings In every mapping relations record include for recording the fingerprint field of fingerprint, the direction field for recording screen display direction With the term of validity field for recording the fingerprint term of validity.
It is recorded with the matched mapping relations of the fingerprint i if 506, terminal device has inquired in the mapping table J, judges whether the typing moment of the fingerprint i belongs to the term of validity of the term of validity field record in the mapping relations record j.
If so, thening follow the steps 507.
If it is not, thening follow the steps 509.
507, terminal device judges whether the screen display direction of the direction field record in the mapping relations record j is same In the current screen display direction of the terminal device.
If it is not, thening follow the steps 508.
If so, thening follow the steps 509.
508, the current screen display direction of the terminal device is adjusted to the corresponding screens of the fingerprint i by terminal device Display direction.
509, display reminding can not adjust the prompt message in screen display direction to terminal device on the screen.
As can be seen that in the scheme of the present embodiment, terminal device is known according to the user of acquisition by the fingerprint of terminal device The fingerprint of other area typing adjusts screen display direction, provide the user a kind of machine of the display direction of new adjustment screen System, which can be when user carries out simple and practicable operation to terminal device in time depending on the user's operation to terminal device Screen display direction be adjusted.The mechanism had both solved traditional machine by being configured screen display direction to menu The excessively cumbersome defect of the operating process of system, and overcome and terminal screen display direction is adjusted based on gravity sensor induction The deficiency of mechanism, for example, overcome the system resource occupied when the gravity sensor period is shorter it is more and make system power dissipation on Rise deficiency, and overcome the gravity sensor period it is longer when cannot depending on the user's operation to screen display direction carry out and When adjustment deficiency.And since present mechanism is to realize that fingerprint recognition is only right based on the terminal device with fingerprint recognition The fingerprint of human body responds, and avoids and non-user needs occurs, and the feelings for being adjusted, changing to the direction of screen display Condition.
Also, the concept of the fingerprint term of validity is introduced, more simply fingerprint can effectively control with failure accordingly System.
Fig. 6 is referred to, the embodiment of the present invention also provides a kind of device 600 of control screen display direction, may include:It obtains Take unit 610, determination unit 620 and adjustment unit 630.
Wherein, acquiring unit 610, the fingerprint i for obtaining fingerprint identification area typing of the user by terminal device.
Determination unit 620, for determining screen display direction corresponding with the fingerprint i.
Adjustment unit 630, it is corresponding for being different from the fingerprint i in the current screen display direction of the terminal device In the case of screen display direction, the current screen display direction of the terminal device is adjusted to the corresponding screens of the fingerprint i Curtain display direction.
Optionally, in some possible embodiments of the invention, determination unit 620 is specifically used for, in mapping table Middle inquiry is recorded with the presence or absence of with the matched mapping relations of the fingerprint i, every mapping relations note in the mapping table Record includes the fingerprint field for recording fingerprint and the direction field for recording screen display direction;If in the mapping relations It has been inquired in table and has recorded j with the matched mapping relations of the fingerprint i, the mapping relations are recorded to the direction field note in j The screen display direction of record is as the corresponding screen display directions the fingerprint i.
Optionally, in some possible embodiments of the invention, in second of possible embodiment of second aspect In, described device 600 further includes:
Creating unit, for creating N mapping relations record, the N mapping relations note in the mapping table The fingerprint that the fingerprint field of every mapping relations record in record is recorded is different, in the N mapping relations record The screen display direction that the direction field of every mapping relations record is recorded is different, and the N is the integer more than 1.
Optionally, in some possible embodiments of the invention, every mapping in the N mapping relations record is closed The fingerprint that the fingerprint field of system's record is recorded is with the effective fingerprint for changing screen display direction permission.
Optionally, in some possible embodiments of the invention, the creating unit is additionally operable to show use on the screen In the prompt message of the prompt effective fingerprint of user's typing;Receive N of the user by the fingerprint identification area typing of the terminal device A effective fingerprint determines the correspondence screen display that user is set separately for the effective fingerprint of each of N number of effective fingerprint Direction.
Optionally, in some possible embodiments of the present invention, adjustment unit 630 in the terminal device for working as Preceding screen display direction is different from the corresponding screen display directions the fingerprint i, and belongs at the typing moment of the fingerprint i In the case of the term of validity that the mapping relations record the term of validity field record in j, by the current screen of the terminal device Curtain display direction is adjusted to the corresponding screen display directions the fingerprint i.
Optionally, in some possible embodiments of the present invention, described device 600 further includes:
Whether detection unit occurs first for detecting the terminal device and gets rid of action event, if the terminal device Occur first to get rid of action event, detects the specified wearable device of the terminal device and whether occur second and get rid of action event, if institute It states wearable device to occur second to get rid of action event, judges that described first gets rid of action event and second whipping includes as event It whether identical gets rid of direction of action, if it is identical to get rid of direction of action, judges that described first gets rid of action event and second whipping is made The whipping that event includes makees whether initial time is respectively positioned in preset duration, judges that described first gets rid of action event and described second The whipping that whipping includes as event makees whether duration is respectively positioned in the preset duration, if described first gets rid of action event The whipping for including as event with second whipping is respectively positioned on as initial time in preset duration, and first whipping makees thing Part and second whipping are respectively positioned on as duration within the preset duration as the whipping that event includes, and judge described first It gets rid of the whipping that action event and second whipping include as event and makees the difference of initial time and whether be less than the first predetermined threshold value, If described first, which gets rid of the whipping that action event includes as event with second whipping, makees the difference of initial time less than first Predetermined threshold value judges that described first gets rid of the difference that the whipping that action event includes as event with second whipping makees duration Whether the second predetermined threshold value is less than, if described first gets rid of the whipping that action event includes as event with second whipping and hold The difference of continuous duration is less than the second predetermined threshold value, determines the terminal device and the wearable device in the preset duration Same action event occurs;
Wherein, the current screen display direction of the terminal device is being adjusted to the corresponding screen displays of the fingerprint i The aspect in direction, adjustment unit 630 are specifically used for:Determining the terminal device and the wearable device when described default In the case of same action event occurs in long, the current screen display direction of the terminal device is adjusted to the fingerprint i Corresponding screen display direction.
Optionally, the preset duration can be 10 seconds, 20 seconds, 30 seconds, 50 seconds, 70 seconds, 100 seconds or other time.
Optionally, the first predetermined threshold value can be 3 seconds, 5 seconds, 10 seconds, 20 seconds, 50 seconds, 80 seconds or other time.
Optionally, the second predetermined threshold value can be 13 seconds, 15 seconds, 22 seconds, 20 seconds, 50 seconds, 81 seconds or other time.
As can be seen that in the scheme of the embodiment of the present invention, fingerprint identification area that terminal device is passed through according to the user of acquisition The fingerprint of typing adjusts screen display direction, provide the user a kind of mechanism of the display direction of novel adjustment screen, The mechanism can be when user carries out simple and practicable operation to terminal device in time depending on the user's operation to terminal device Screen display direction is adjusted.The mechanism had both solved traditional mechanism by being configured screen display direction to menu The excessively cumbersome defect of operating process, and overcome and terminal device screen display direction adjusted based on gravity sensor induction The deficiency of mechanism, for example, overcome the occupying system resources when the gravity sensor period is shorter it is more and make system power dissipation on Rise deficiency, and overcome the gravity sensor period it is longer when cannot depending on the user's operation to screen display direction carry out and When adjustment deficiency.And since present mechanism is to realize that fingerprint recognition is only right based on the terminal device with fingerprint recognition The fingerprint of human body responds, and avoids and non-user needs occurs, and the feelings for being adjusted, changing to the direction of screen display Condition.
Referring to Fig. 7, Fig. 7 is the schematic diagram of terminal device 700 provided in an embodiment of the present invention, and mobile terminal 700 may include At least one bus 701, at least one processor 702 being connected with bus 701 and at least one being connected with bus 701 storage Device 703.
Wherein, processor 702 calls the code stored in memory 703 or instruction for obtaining by bus 701 The fingerprint i that user passes through the fingerprint identification area typing of terminal device 700;Determine screen display direction corresponding with the fingerprint i; In the case of the screen display direction corresponding different from the fingerprint i of the current screen display direction of the terminal device 700, The current screen display direction of the terminal device 700 is adjusted to the corresponding screen display directions the fingerprint i.
Optionally, in some possible embodiments of the invention, processor 702, which is used for the inquiry in mapping table, is No to be recorded in the presence of with the matched mapping relations of the fingerprint i, every mapping relations record in the mapping table includes using Fingerprint field in record fingerprint and direction field for recording screen display direction;If being inquired in the mapping table It has arrived and has recorded j with the matched mapping relations of the fingerprint i, the mapping relations are recorded to the screen of the direction field record in j Display direction is as the corresponding screen display directions the fingerprint i.
Optionally, in some possible embodiments of the invention, processor 702 is additionally operable in the mapping table N mapping relations record is created, what the fingerprint field that every mapping relations in the N mapping relations record record was recorded Fingerprint is different, and the screen that the direction field of every mapping relations record in the N mapping relations record is recorded is aobvious Show that direction is different, the N is the integer more than 1.
Optionally, in some possible embodiments of the invention, every mapping in the N mapping relations record is closed The fingerprint that the fingerprint field of system's record is recorded is with the effective fingerprint for changing screen display direction permission.
Optionally, in some possible embodiments of the invention, the processor 702 is additionally operable to show use on the screen In the prompt message of the prompt effective fingerprint of user's typing;Receive N of the user by the fingerprint identification area typing of the terminal device A effective fingerprint determines the correspondence screen display that user is set separately for the effective fingerprint of each of N number of effective fingerprint Direction.
Optionally, in some possible embodiments of the invention, processor is used to belong at the typing moment of the fingerprint i In the case of the term of validity that the mapping relations record the term of validity field record in j, by the current screen of the terminal device Curtain display direction is adjusted to the corresponding screen display directions the fingerprint i.
Optionally, the present invention some possible embodiments in, processor be additionally operable to detect the terminal device be Action event is got rid of in no generation first, if the terminal device, which occurs first, gets rid of action event, it is specified to detect the terminal device Wearable device whether occur second and get rid of action event, if the wearable device, which occurs second, gets rid of action event, judge described the One get rid of action event and second whipping as event include whether get rid of direction of action identical, if it is identical to get rid of direction of action, Judge described first get rid of action event and whipping that second whipping includes as event make initial time whether be respectively positioned on it is default In duration, judge that described first gets rid of action event and whipping that second whipping includes as event makees the whether equal position of duration In in the preset duration, if described first gets rid of action event and when whipping that second whipping includes as event originates Between be respectively positioned in preset duration, and described first gets rid of action event and whipping that second whipping includes as event continues Duration is respectively positioned within the preset duration, judges that described first gets rid of action event and got rid of as what event included with second whipping Whether the difference for acting initial time is less than the first predetermined threshold value, if described first gets rid of action event and second whipping work The difference that the whipping that event includes makees initial time is less than the first predetermined threshold value, judges that described first gets rid of action event and described the Whether the difference that the whipping that two whippings include as event makees duration is less than the second predetermined threshold value, if first whipping is made The difference that the whipping that event includes as event with second whipping makees duration is less than the second predetermined threshold value, determines the end Same action event occurs in the preset duration for end equipment and the wearable device;
Wherein, the current screen display direction of the terminal device is being adjusted to the corresponding screen displays of the fingerprint i The aspect in direction, processor are specifically used for:Determining the terminal device and the wearable device in the preset duration In the case of same action event occurs, the current screen display direction of the terminal device is adjusted to the fingerprint i and is corresponded to Screen display direction.
Optionally, the preset duration can be 10 seconds, 20 seconds, 30 seconds, 50 seconds, 70 seconds, 100 seconds or other time.
Optionally, the first predetermined threshold value can be 3 seconds, 5 seconds, 10 seconds, 20 seconds, 50 seconds, 80 seconds or other time.
Optionally, the second predetermined threshold value can be 13 seconds, 15 seconds, 22 seconds, 20 seconds, 50 seconds, 81 seconds or other time.
As can be seen that in the scheme of the embodiment of the present invention, fingerprint identification area that terminal device is passed through according to the user of acquisition The fingerprint of typing adjusts screen display direction, provide the user a kind of mechanism of the display direction of novel adjustment screen, The mechanism can be when user carries out simple and practicable operation to terminal device in time depending on the user's operation to terminal device Screen display direction is adjusted.The mechanism had both solved traditional mechanism by being configured screen display direction to menu The excessively cumbersome defect of operating process, and overcome and terminal device screen display direction adjusted based on gravity sensor induction The deficiency of mechanism, for example, overcome the occupying system resources when the gravity sensor period is shorter it is more and make system power dissipation on Rise deficiency, and overcome the gravity sensor period it is longer when cannot depending on the user's operation to screen display direction carry out and When adjustment deficiency.And since present mechanism is to realize that fingerprint recognition is only right based on the terminal device with fingerprint recognition The fingerprint of human body responds, and avoids and non-user needs occurs, and the feelings for being adjusted, changing to the direction of screen display Condition.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, the unit division, it is only a kind of Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code Medium.

Claims (7)

1. a kind of method of control screen display direction, which is characterized in that including:
Fingerprint i of the user by the fingerprint identification area typing of terminal device is obtained, the fingerprint identification area of the terminal device is located at The surface of the screen of the terminal device or the back of the body around the screen of the terminal device or positioned at the terminal device Face;
Determine screen display direction corresponding with the fingerprint i, wherein there is corresponding close between fingerprint and screen display direction System;
The case where the current screen display direction of the terminal device is different from the corresponding screen display directions the fingerprint i Under, and determining that it is same dynamic that the wearable device specified by the terminal device and the terminal device occurs in preset duration In the case of making event, the current screen display direction of the terminal device is adjusted to the corresponding screen displays of the fingerprint i Direction;
Wherein, determination screen display direction corresponding with the fingerprint i, including:
Inquiry is recorded with the presence or absence of with the matched mapping relations of the fingerprint i in mapping table, in the mapping table Every mapping relations record include the fingerprint field for recording fingerprint and the direction field for recording screen display direction; J is recorded with the matched mapping relations of the fingerprint i if having been inquired in the mapping table, the mapping relations are recorded The screen display direction of direction field record in j is as the corresponding screen display directions the fingerprint i, the mapping relations note The fingerprint recorded in record j is with the effective fingerprint for changing screen display direction permission;
Wherein, before the fingerprint i for obtaining user by the fingerprint identification area typing of terminal device, including:In the mapping N mapping relations record, the fingerprint field of every mapping relations record in the N mapping relations record are created in relation table The fingerprint recorded is different, and the direction field of every mapping relations record in the N mapping relations record is recorded Screen display direction it is different, the N is integer more than 1;
Determine that same action occurs in preset duration for the wearable device specified by the terminal device and the terminal device Event includes:It detects the terminal device and whether occurs first and get rid of action event, if the first whipping occurs for the terminal device Make event, detects the specified wearable device of the terminal device and whether occur second and get rid of action event, if the wearable device Occur second to get rid of action event, judges that described first gets rid of action event and second whipping gets rid of direction of action as what event included Whether identical, if got rid of, direction of action is identical, judges that described first gets rid of action event and second whipping includes as event Whipping makees whether initial time is respectively positioned in preset duration, judges that described first gets rid of action event and described second and get rid of action event Including whipping make whether duration is respectively positioned in the preset duration, if described first gets rid of action event and described second and gets rid of The whipping that action event includes is respectively positioned on as initial time in preset duration, and described first gets rid of action event and described second Whipping is respectively positioned on as duration within the preset duration as the whipping that event includes, judge described first get rid of action event with Whether the difference that the whipping that second whipping includes as event makees initial time is less than the first predetermined threshold value, if described first gets rid of The difference that the whipping that action event includes as event with second whipping makees initial time is less than the first predetermined threshold value, judges institute It states first and gets rid of whether in advance less than second the whipping that action event includes as event with second whipping makees the difference of duration If threshold value, if described first get rid of the whipping that action event and second whipping include as event make duration difference it is small In the second predetermined threshold value, determine that same action thing occurs in the preset duration for the terminal device and the wearable device Part.
2. according to the method described in claim 1, it is characterized in that, the N mapping relations record in every mapping relations The fingerprint that the fingerprint field of record is recorded is with the effective fingerprint for changing screen display direction permission.
3. according to the method described in claim 2, it is characterized in that, described create N items mapping pass in the mapping table Further include before system's record:
The prompt message for prompting the effective fingerprint of user's typing is shown on the screen;It receives user and passes through the terminal device N number of effective fingerprint of fingerprint identification area typing determines that user sets respectively for the effective fingerprint of each of N number of effective fingerprint Fixed correspondence screen display direction.
4. a kind of device of control screen display direction, which is characterized in that including:
Acquiring unit, the fingerprint i for obtaining fingerprint identification area typing of the user by terminal device, the finger of the terminal device Line cog region is located at the surface of the screen of the terminal device or around the screen of the terminal device or positioned at described The back side of terminal device;
Determination unit, for determining corresponding with fingerprint i screen display direction, wherein fingerprint and screen display direction it Between have correspondence;
Adjustment unit, for aobvious different from the corresponding screens of the fingerprint i in the current screen display direction of the terminal device In the case of showing direction, and determining the wearable device specified by the terminal device and the terminal device in preset duration In the case of the interior same action event of generation, the current screen display direction of the terminal device is adjusted to i pairs of the fingerprint The screen display direction answered;
Wherein, the determination unit is specifically used for, in mapping table inquiry whether there is and the matched mappings of fingerprint i Relation record, every mapping relations record in the mapping table include fingerprint field for recording fingerprint and for remembering Record the direction field in screen display direction;It is closed with the matched mappings of the fingerprint i if having been inquired in the mapping table System record j, the screen display direction that the mapping relations are recorded to the direction field record in j are corresponding as the fingerprint i Screen display direction, it is with the effective finger for changing screen display direction permission that the mapping relations, which record the fingerprint recorded in j, Line;
Wherein, described device further includes:Creating unit, for creating N mapping relations record, institute in the mapping table State that the fingerprint that the fingerprint field of every mapping relations record in N mapping relations record is recorded is different, and the N items reflect The screen display direction that the direction field for the every mapping relations record penetrated in relation record is recorded is different, and the N is Integer more than 1;
Determine that same action occurs in preset duration for the wearable device specified by the terminal device and the terminal device Event includes:It detects the terminal device and whether occurs first and get rid of action event, if the first whipping occurs for the terminal device Make event, detects the specified wearable device of the terminal device and whether occur second and get rid of action event, if the wearable device Occur second to get rid of action event, judges that described first gets rid of action event and second whipping gets rid of direction of action as what event included Whether identical, if got rid of, direction of action is identical, judges that described first gets rid of action event and second whipping includes as event Whipping makees whether initial time is respectively positioned in preset duration, judges that described first gets rid of action event and described second and get rid of action event Including whipping make whether duration is respectively positioned in the preset duration, if described first gets rid of action event and described second and gets rid of The whipping that action event includes is respectively positioned on as initial time in preset duration, and described first gets rid of action event and described second Whipping is respectively positioned on as duration within the preset duration as the whipping that event includes, judge described first get rid of action event with Whether the difference that the whipping that second whipping includes as event makees initial time is less than the first predetermined threshold value, if described first gets rid of The difference that the whipping that action event includes as event with second whipping makees initial time is less than the first predetermined threshold value, judges institute It states first and gets rid of whether in advance less than second the whipping that action event includes as event with second whipping makees the difference of duration If threshold value, if described first get rid of the whipping that action event and second whipping include as event make duration difference it is small In the second predetermined threshold value, determine that same action thing occurs in the preset duration for the terminal device and the wearable device Part.
5. device according to claim 4, which is characterized in that every mapping relations in the N mapping relations record The fingerprint that the fingerprint field of record is recorded is with the effective fingerprint for changing screen display direction permission.
6. device according to claim 5, which is characterized in that the creating unit is additionally operable to be shown on the screen for carrying Show the prompt message of the effective fingerprint of user's typing;Receive user has by the N number of of fingerprint identification area typing of the terminal device Fingerprint is imitated, determines the correspondence screen display direction that user is set separately for the effective fingerprint of each of N number of effective fingerprint.
7. a kind of computer storage media, which is characterized in that the computer storage media is stored with computer program, the meter Calculation machine program is for so that computer equipment perform claim requires the method described in 1 to 3 any one.
CN201510466575.7A 2015-07-30 2015-07-30 Control the method and relevant device of screen display direction Expired - Fee Related CN105138320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510466575.7A CN105138320B (en) 2015-07-30 2015-07-30 Control the method and relevant device of screen display direction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510466575.7A CN105138320B (en) 2015-07-30 2015-07-30 Control the method and relevant device of screen display direction

Publications (2)

Publication Number Publication Date
CN105138320A CN105138320A (en) 2015-12-09
CN105138320B true CN105138320B (en) 2018-09-04

Family

ID=54723678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510466575.7A Expired - Fee Related CN105138320B (en) 2015-07-30 2015-07-30 Control the method and relevant device of screen display direction

Country Status (1)

Country Link
CN (1) CN105138320B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786345A (en) * 2016-02-25 2016-07-20 周奇 Control method and device of screen display direction
CN106951243B (en) * 2017-03-13 2020-05-15 华勤通讯技术有限公司 Screen control method and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101506760A (en) * 2005-05-27 2009-08-12 夏普株式会社 Display device
CN101714059A (en) * 2008-10-07 2010-05-26 捷讯研究有限公司 Portable electronic device and method of controlling same
CN103076960A (en) * 2011-10-26 2013-05-01 华为终端有限公司 Method for controlling screen displaying direction and terminal thereof
CN103959203A (en) * 2011-11-04 2014-07-30 国际商业机器公司 Mobile device with multiple security domains
CN104364752A (en) * 2012-04-10 2015-02-18 谷歌公司 Floating navigational controls in a tablet computer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101506760A (en) * 2005-05-27 2009-08-12 夏普株式会社 Display device
CN101714059A (en) * 2008-10-07 2010-05-26 捷讯研究有限公司 Portable electronic device and method of controlling same
CN103076960A (en) * 2011-10-26 2013-05-01 华为终端有限公司 Method for controlling screen displaying direction and terminal thereof
CN103959203A (en) * 2011-11-04 2014-07-30 国际商业机器公司 Mobile device with multiple security domains
CN104364752A (en) * 2012-04-10 2015-02-18 谷歌公司 Floating navigational controls in a tablet computer

Also Published As

Publication number Publication date
CN105138320A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
CN103399632B (en) The method and mobile terminal of a kind of gesture control
CN106844067B (en) A kind of processing method and mobile terminal of content
US20140089842A1 (en) Method and device for interface display
CN104850328B (en) A kind of object selection method and device of smartwatch
CN105635519B (en) Method for processing video frequency, apparatus and system
CN103631506B (en) Reading method based on terminal and corresponding terminal
CN107193519A (en) Display control method and device, computer installation and computer-readable recording medium
CN103970575B (en) A kind of quick method and device for starting the application program in mobile terminal
CN108196760A (en) A kind of method, apparatus and storage medium that collection processing is carried out using suspension list
CN106780685A (en) The generation method and terminal of a kind of dynamic picture
CN105760102A (en) Terminal interaction control method and device and application-program interaction control method
CN108111687A (en) Display control method and related product
CN108196722A (en) A kind of electronic equipment and its touch control method, computer readable storage medium
CN107885823A (en) Player method, device, storage medium and the electronic equipment of audio-frequency information
CN109471835A (en) A kind of page display method of application program, device and storage medium
CN105991415A (en) Message pushing method and mobile terminal
CN103955330B (en) A kind of method for information display and device
CN108347533A (en) A kind of message display and answering method and terminal
CN105138320B (en) Control the method and relevant device of screen display direction
US20160154545A1 (en) Electronic device and method for managing and displaying application icons
CN107040955B (en) Power consumption state identification method, device and the electronic equipment of terminal
CN109284060A (en) Display control method and relevant apparatus
CN106295472A (en) A kind of fingerprint pattern application process and device
CN106547340B (en) The method, apparatus and intelligent terminal of web page element are quickly hidden based on gravity sensing
CN106921879A (en) The based reminding method and system of a kind of intelligent television viewing distance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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: 20180904