CN105607733A - Regulation method, regulation device and terminal - Google Patents

Regulation method, regulation device and terminal Download PDF

Info

Publication number
CN105607733A
CN105607733A CN201510528308.8A CN201510528308A CN105607733A CN 105607733 A CN105607733 A CN 105607733A CN 201510528308 A CN201510528308 A CN 201510528308A CN 105607733 A CN105607733 A CN 105607733A
Authority
CN
China
Prior art keywords
terminal
facing
current distance
privileged site
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510528308.8A
Other languages
Chinese (zh)
Other versions
CN105607733B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201510528308.8A priority Critical patent/CN105607733B/en
Priority to PCT/CN2016/080596 priority patent/WO2017032035A1/en
Publication of CN105607733A publication Critical patent/CN105607733A/en
Application granted granted Critical
Publication of CN105607733B publication Critical patent/CN105607733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

The invention provides a regulation method, a regulation device and a terminal. The regulation method comprises the following steps: detecting a current distance between the specific position of a user of the terminal and the screen of the terminal through any two front-facing cameras in a plurality of front-facing cameras; and according to the current distance and/ or the working mode of the terminal, regulating the terminal. Through the technical scheme, various parameters, including the screen luminance, the volume size, the character size and the like of the terminal can be automatically reguated, and the manual regulation of the user is avoided so as to improve user experience.

Description

Control method, adjusting device and terminal
Technical field
The present invention relates to terminal technology field, in particular to a kind of control method, a kind of adjustingDevice and a kind of terminal.
Background technology
At present, user can manual adjustments terminal (as mobile phone) brightness, word size and sound are lookedVolume frequently etc. But user's manual adjustments inevitably needs multi-pass operation, behaviour simultaneouslyDo also more loaded down with trivial details. For example, the frequent switching of terminal interface, has so just reduced the recreational of terminalWith intelligent.
Therefore, how to avoid screen intensity, volume and the word size of user's manual adjustments terminalDeng multiple parameters, become problem demanding prompt solution thereby promote user's experience.
Summary of the invention
The present invention, just based on the problems referred to above, has proposed a kind of new technical scheme, can realize automaticallyThe multiple parameters such as screen intensity, volume and the word size of adjusting terminal, have avoided user manualRegulate, experience thereby promote user.
In view of this, a first aspect of the present invention has proposed a kind of control method, for regulating terminal,In described terminal, be provided with multiple front-facing cameras, described control method comprises: by described multiple beforePut any two front-facing cameras in camera and detect the user's of described terminal privileged site and described endCurrent distance between the screen of end; According to the mode of operation of described current distance and/or described terminalDescribed terminal is regulated.
In this technical scheme, by detecting user's privileged site (as eyes) and the screen of terminalBetween current distance, and in conjunction with the mode of operation of terminal, the parameter of terminal is automatically adjusted, exampleAs, terminal is being carried out displaying video, when current between user's eyes and the screen of terminal being detectedDistance, in the time increasing, also just illustrates that the distance of user and terminal is more and more far away, can strengthen the bright of terminalThe volume of degree and increase displaying video, thus make user can more clearly watch video and clearHear sound clearly, avoided user manually terminal to be regulated, thereby make terminal more intelligent,Promoted user's experience simultaneously.
In technique scheme, preferably, described mode of operation comprises: Text Mode and audio frequency and videoPattern; And described according to the mode of operation of described current distance and/or described terminal to described terminalThe step regulating, specifically comprises: in the time described terminal being detected in described Text Mode, and rootAccording to described current distance, described terminal is carried out to brightness regulation and text parameter adjusting; Described in detectingTerminal, in the time of described audio frequency and video pattern, is carried out brightness regulation according to described current distance to described terminalRegulate with audio frequency and video parameter.
In this technical scheme, can be according to current distance pair in the time terminal being detected in Text ModeTerminal carries out brightness regulation and text parameter regulates, and wherein, text parameter includes but not limited to: fontSize, font weight, font color and font spacing. For example, user is using terminal to browse netWhen page or reading novel, detect that the current distance of user's eyes and the screen of terminal is more and more far away,Terminal is controlled the large and font-weight of webpage or fictitious variant font automatically, heightens terminal simultaneouslyThe brightness of screen, thus make user at browsing page or read can see when novel clearer. SeparatelyOutward, terminal can be carried out brightness regulation and audio frequency and video to terminal according to current distance under audio frequency and video patternParameter regulates, and wherein, audio frequency and video parameter includes but not limited to: volume and video resolution etc.For example, terminal under audio frequency and video pattern, when detecting that the current distance of user and terminal is more and more far away,Automatic adjustment height volume and change terminal brightness, thus reach the optimum efficiency of viewing. By above-mentioned skillArt scheme, has avoided user manually terminal to be regulated, thereby makes terminal more intelligent, and thenPromote user's experience.
In technique scheme, preferably, described according to described current distance and/or described terminalMode of operation step that described terminal is regulated, specifically comprise: according to described current distance pairDescribed terminal is carried out brightness regulation.
In this technical scheme, according to current distance, terminal is carried out to brightness regulation, wherein, terminal canWith under certain mode of operation, also can be in main operation interface, by control terminal in real timeBrightness, can regulate terminal more intelligently, makes user have best experience.
In technique scheme, preferably, described by wantonly two in described multiple front-facing camerasIndividual front-facing camera detects working as between user's the privileged site of described terminal and the screen of described terminalThe step of front distance, specifically comprises: obtain described privileged site in described any two front-facing camerasThe imaging surface of each front-facing camera on privileged site imaging point, and obtain described each prepositionDistance between the described privileged site imaging point of camera and appointment intersection point, wherein, described appointment is handed overPoint is between the optical axis of described each front-facing camera and the described imaging surface of described each front-facing cameraIntersection point; According to the distance between the central point of described any two front-facing cameras, described before any twoPut angle between the optical axis of the focal length of camera, described any two front-facing cameras and described eachDistance between described privileged site imaging point and the described appointment intersection point of front-facing camera, described in determiningDescribed current distance between user's described privileged site and the described screen of described terminal.
In this technical scheme, when any two front-facing cameras detection users' privileged site (as eyes)And when current distance between the screen of terminal, user's privileged site is in any two front-facing camerasThe imaging surface of each front-facing camera on form privileged site imaging point, and in conjunction with any two preposition taking the photographThe privileged site that can calculate exactly user as head and the index path of user's privileged site is (as eyeEyeball) and the screen of terminal between current distance.
In technique scheme, preferably, the focal length of described any two front-facing cameras is identical, logicalCross following formula and determine the institute between described user's described privileged site and the described screen of described terminalState current distance:Wherein, L represents described current distance,D represents the distance between the central point of described any two front-facing cameras, and f represents described before any twoPut the focal length of camera, the angle described in α represents between the optical axis of any two front-facing cameras, x1The described privileged site imaging point that represents the arbitrary front-facing camera in described any two front-facing cameras withDistance between corresponding described appointment intersection point, and x2 represents in described any two front-facing camerasDescribed privileged site imaging point and the corresponding described appointment intersection point of another front-facing camera between distanceFrom.
In this technical scheme, create the formula of above-mentioned calculating current distance according to optical geometry,Particularly, between the triangle at privileged site place by user and the triangle at imaging point placeSimilarity relation creates the formula of above-mentioned calculating current distance, thereby can calculate more accurately and rapidlyObtain the current distance between user's privileged site and the screen of terminal.
A second aspect of the present invention has proposed a kind of adjusting device, for regulating terminal, in described terminalBe provided with multiple front-facing cameras, described adjusting device comprises: detecting unit is described many for passing throughAny two front-facing cameras in individual front-facing camera detect the user's of described terminal privileged site and instituteState the current distance between the screen of terminal; Regulon, for according to described current distance and/orThe mode of operation of described terminal regulates described terminal.
In this technical scheme, by detecting user's privileged site (as eyes) and the screen of terminalBetween current distance, and in conjunction with the mode of operation of terminal, terminal is automatically adjusted, for example, eventuallyEnd is carrying out displaying video, when detecting that the current distance between user's eyes and the screen of terminal existsWhen increase, also just illustrate that the distance of user and terminal is more and more far away, can strengthen terminal brightness andIncrease the volume of displaying video, thereby make user can more clearly watch video and clearly listenTo sound, avoid user manually terminal to be regulated, thereby made terminal more intelligent, simultaneouslyPromote user's experience.
In technique scheme, preferably, described mode of operation comprises: Text Mode and audio frequency and videoPattern; And described regulon specifically for, when detecting that described terminal is in described Text ModeTime, according to described current distance, described terminal is carried out to brightness regulation and text parameter adjusting; Work as detectionIn the time of described audio frequency and video pattern, carry out bright according to described current distance to described terminal to described terminalDegree regulates and audio frequency and video parameter regulates.
In this technical scheme, can be according to current distance pair in the time terminal being detected in Text ModeTerminal carries out brightness regulation and text parameter regulates, and wherein, text parameter includes but not limited to: fontSize, font weight, font color and font spacing. For example, user is using terminal to browse netWhen page or reading novel, detect that the current distance of user's eyes and the screen of terminal is more and more far away,Terminal is controlled the large and font-weight of webpage or fictitious variant font automatically, heightens terminal simultaneouslyThe brightness of screen, thus make user at browsing page or read can see when novel clearer. SeparatelyOutward, terminal can be carried out brightness regulation and audio frequency and video to terminal according to current distance under audio frequency and video patternParameter regulates, and wherein, audio frequency and video parameter includes but not limited to: volume and video resolution etc.For example, terminal under audio frequency and video pattern, when detecting that the current distance of user and terminal is more and more far away,Automatic adjustment height volume and change terminal brightness, thus reach the optimum efficiency of viewing. By above-mentioned skillArt scheme, has avoided user manually terminal to be regulated, thereby makes terminal more intelligent, and thenPromote user's experience.
In technique scheme, preferably, described regulon specifically for, according to described currentDistance is carried out brightness regulation to described terminal.
In this technical scheme, according to current distance, terminal is carried out to brightness regulation, wherein, terminal canWith under certain mode of operation, also can be in main operation interface, by control terminal in real timeBrightness, can regulate terminal more intelligently, makes user have best experience.
In technique scheme, preferably, described detecting unit comprises: acquiring unit, and for obtainingGet on the imaging surface of each front-facing camera of described privileged site in described any two front-facing camerasPrivileged site imaging point, and obtain the described privileged site imaging point of described each front-facing cameraAnd specify the distance between intersection point, wherein, the light that described appointment intersection point is described each front-facing cameraIntersection point between the described imaging surface of axle and described each front-facing camera; Determining unit, for basisDistance between the central point of described any two front-facing cameras, Jiao of described any two front-facing camerasAngle between the optical axis of distance, described any two front-facing cameras and described each front-facing cameraDistance between described privileged site imaging point and described appointment intersection point, determines described user's described spyDescribed current distance between the described screen of position, bonding part and described terminal.
In this technical scheme, when any two front-facing cameras detection users' privileged site (as eyes)And when current distance between the screen of terminal, user's privileged site is in any two front-facing camerasThe imaging surface of each front-facing camera on form privileged site imaging point, and in conjunction with any two preposition taking the photographThe privileged site that can calculate exactly user as head and the index path of user's privileged site is (as eyeEyeball) and the screen of terminal between current distance.
In technique scheme, preferably, the focal length of described any two front-facing cameras is identical, withAnd described determining unit specifically for, the described privileged site of determining described user by following formula withDescribed current distance between the described screen of described terminal: Wherein, L represents described current distance, and d represents described any two front-facing camerasDistance between central point, f represents the focal length of described any two front-facing cameras, α represents described appointingAngle between the optical axis of two front-facing cameras, x1 represents in described any two front-facing camerasDistance between the described privileged site imaging point of arbitrary front-facing camera and corresponding described appointment intersection point,And x2 represents the described privileged site of another front-facing camera in described any two front-facing camerasDistance between imaging point and corresponding described appointment intersection point.
In this technical scheme, create the formula of above-mentioned calculating current distance according to optical geometry,Particularly, between the triangle at privileged site place by user and the triangle at imaging point placeSimilarity relation creates the formula of above-mentioned calculating current distance, thereby can calculate more accurately and rapidlyObtain the current distance between user's privileged site and the screen of terminal.
A third aspect of the present invention has proposed a kind of terminal, comprises in technique scheme described in any oneAdjusting device, therefore, this terminal have with technique scheme in adjusting device described in any oneIdentical technique effect, does not repeat them here.
By technical scheme of the present invention, can realize automatic adjusting terminal screen intensity, give great volumeLittle and word size waits multiple parameters, has avoided user's manual adjustments, experiences thereby promote user.
Brief description of the drawings
Fig. 1 shows the schematic flow sheet of control method according to an embodiment of the invention;
Fig. 2 shows the schematic flow sheet of control method according to another embodiment of the invention;
Fig. 3 shows the structural representation of adjusting device according to an embodiment of the invention;
Fig. 4 shows the structural representation of terminal according to an embodiment of the invention;
Fig. 5 shows the light path schematic diagram of according to an embodiment of the invention pair of front-facing camera;
Fig. 6 shows the light path schematic diagram of two front-facing cameras according to another embodiment of the invention.
Detailed description of the invention
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with attachedFigure and detailed description of the invention are further described in detail the present invention. It should be noted that, notIn the situation of conflict, the feature in the application's embodiment and embodiment can combine mutually.
Set forth in the following description a lot of details so that fully understand the present invention, still,The present invention can also adopt other to be different from other modes described here and implement, therefore, and the present inventionProtection domain be not subject to the restriction of following public specific embodiment.
Fig. 1 shows the schematic flow sheet of control method according to an embodiment of the invention.
As shown in Figure 1, control method according to an embodiment of the invention, for regulating terminal,In described terminal, be provided with multiple front-facing cameras, described control method comprises:
Step 102, described in detecting by any two front-facing cameras in described multiple front-facing camerasCurrent distance between the user's of terminal privileged site and the screen of described terminal;
Step 104, enters described terminal according to the mode of operation of described current distance and/or described terminalRow regulates.
In this technical scheme, by detecting user's privileged site (as eyes) and the screen of terminalBetween current distance, and in conjunction with the mode of operation of terminal, the parameter of terminal is automatically adjusted, exampleAs, terminal is being carried out displaying video, when current between user's eyes and the screen of terminal being detectedDistance, in the time increasing, also just illustrates that the distance of user and terminal is more and more far away, can strengthen the bright of terminalThe volume of degree and increase displaying video, thus make user can more clearly watch video and clearHear sound clearly, avoided user manually terminal to be regulated, thereby make terminal more intelligent,Promoted user's experience simultaneously.
In technique scheme, preferably, described mode of operation comprises: Text Mode and audio frequency and videoPattern; And step 104, specifically comprise: in the time described terminal being detected in described Text Mode,According to described current distance, described terminal is carried out to brightness regulation and text parameter adjusting; When detectingState terminal in the time of described audio frequency and video pattern, according to described current distance, described terminal is carried out to brightness tuneJoint and audio frequency and video parameter regulate.
In this technical scheme, can be according to current distance pair in the time terminal being detected in Text ModeTerminal carries out brightness regulation and text parameter regulates, and wherein, text parameter includes but not limited to: fontSize, font weight, font color and font spacing. For example, user is using terminal to browse netWhen page or reading novel, detect that the current distance of user's eyes and the screen of terminal is more and more far away,Terminal is controlled the large and font-weight of webpage or fictitious variant font automatically, heightens terminal simultaneouslyThe brightness of screen, thus make user at browsing page or read can see when novel clearer. SeparatelyOutward, terminal can be carried out brightness regulation and audio frequency and video to terminal according to current distance under audio frequency and video patternParameter regulates, and wherein, audio frequency and video parameter includes but not limited to: volume and video resolution etc.For example, terminal under audio frequency and video pattern, when detecting that the current distance of user and terminal is more and more far away,Automatic adjustment height volume and change terminal brightness, thus reach the optimum efficiency of viewing. By above-mentioned skillArt scheme, has avoided user manually terminal to be regulated, thereby makes terminal more intelligent, and thenPromote user's experience.
In technique scheme, preferably, step 104, specifically comprises: according to described current distanceFrom described terminal is carried out to brightness regulation.
In this technical scheme, according to current distance, terminal is carried out to brightness regulation, wherein, terminal canWith under certain mode of operation, also can be in main operation interface, by control terminal in real timeBrightness, can regulate terminal more intelligently, makes user have best experience.
In technique scheme, preferably, step 102, specifically comprises: obtain described particular portionPrivileged site on the imaging surface of each front-facing camera of position in described any two front-facing cameras becomesPicture point, and the described privileged site imaging point that obtains described each front-facing camera with specify intersection point itBetween distance, wherein, the optical axis that described appointment intersection point is described each front-facing camera and described eachIntersection point between the described imaging surface of front-facing camera; According to the center of described any two front-facing camerasDistance between point, the focal length of described any two front-facing cameras, described any two front-facing camerasDescribed privileged site imaging point and the described finger of the angle between optical axis and described each front-facing cameraDetermine the distance between intersection point, determine described user's described privileged site and the described screen of described terminalBetween described current distance.
In this technical scheme, when any two front-facing cameras detection users' privileged site (as eyes)And when current distance between the screen of terminal, user's privileged site is in any two front-facing camerasThe imaging surface of each front-facing camera on form privileged site imaging point, and in conjunction with any two preposition taking the photographThe privileged site that can calculate exactly user as head and the index path of user's privileged site is (as eyeEyeball) and the screen of terminal between current distance.
In technique scheme, preferably, the focal length of described any two front-facing cameras is identical, logicalCross following formula and determine the institute between described user's described privileged site and the described screen of described terminalState current distance:Wherein, L represents described current distance,D represents the distance between the central point of described any two front-facing cameras, and f represents described before any twoPut the focal length of camera, the angle described in α represents between the optical axis of any two front-facing cameras, x1The described privileged site imaging point that represents the arbitrary front-facing camera in described any two front-facing cameras withDistance between corresponding described appointment intersection point, and x2 represents in described any two front-facing camerasDescribed privileged site imaging point and the corresponding described appointment intersection point of another front-facing camera between distanceFrom.
In this technical scheme, create the formula of above-mentioned calculating current distance according to optical geometry,Particularly, between the triangle at privileged site place by user and the triangle at imaging point placeSimilarity relation creates the formula of above-mentioned calculating current distance, thereby can calculate more accurately and rapidlyObtain the current distance between user's privileged site and the screen of terminal.
Fig. 2 shows the schematic flow sheet of control method according to another embodiment of the invention.
As shown in Figure 2, control method according to another embodiment of the invention (in this embodiment,Terminal is mobile phone, is provided with two front-facing cameras on mobile phone), comprising:
Step 202, detects user's eyes to working as between the screen of mobile phone by two front-facing camerasFront distance L.
Step 204, obtains the mode of operation of mobile phone, when mobile phone is in Web page loading state or demonstrationWhen information state, (when mobile phone is during in Text Mode), regulates the screen of mobile phone bright according to current distanceDegree and word size; When mobile phone in displaying video or music state (when mobile phone is in audio frequency and video shapeWhen state), according to screen intensity and the volume of current distance adjusting mobile phone.
Fig. 3 shows the structural representation of adjusting device according to an embodiment of the invention.
As shown in Figure 3, adjusting device 300 according to an embodiment of the invention, for regulating endEnd, is provided with multiple front-facing cameras in described terminal, described adjusting device 300 comprises: detect singleUnit 302, detects described end for any two front-facing cameras by described multiple front-facing camerasCurrent distance between user's privileged site and the screen of described terminal of end; Regulon 304,For described terminal being regulated according to the mode of operation of described current distance and/or described terminal.
In this technical scheme, by detecting user's privileged site (as eyes) and the screen of terminalBetween current distance, and in conjunction with the mode of operation of terminal, terminal is automatically adjusted, for example, eventuallyEnd is carrying out displaying video, when detecting that the current distance between user's eyes and the screen of terminal existsWhen increase, also just illustrate that the distance of user and terminal is more and more far away, can strengthen terminal brightness andIncrease the volume of displaying video, thereby make user can more clearly watch video and clearly listenTo sound, avoid user manually terminal to be regulated, thereby made terminal more intelligent, simultaneouslyPromote user's experience.
In technique scheme, preferably, described mode of operation comprises: Text Mode and audio frequency and videoPattern; And described regulon 304 specifically for, when detecting that described terminal is in described textWhen pattern, according to described current distance, described terminal is carried out to brightness regulation and text parameter adjusting; WhenDetect that described terminal, in the time of described audio frequency and video pattern, enters described terminal according to described current distanceRow brightness regulation and audio frequency and video parameter regulate.
In this technical scheme, can be according to current distance pair in the time terminal being detected in Text ModeTerminal carries out brightness regulation and text parameter regulates, and wherein, text parameter includes but not limited to: fontSize, font weight, font color and font spacing. For example, user is using terminal to browse netWhen page or reading novel, detect that the current distance of user's eyes and the screen of terminal is more and more far away,Terminal is controlled the large and font-weight of webpage or fictitious variant font automatically, heightens terminal simultaneouslyThe brightness of screen, thus make user at browsing page or read can see when novel clearer. SeparatelyOutward, terminal can be carried out brightness regulation and audio frequency and video to terminal according to current distance under audio frequency and video patternParameter regulates, and wherein, audio frequency and video parameter includes but not limited to: volume and video resolution etc.For example, terminal under audio frequency and video pattern, when detecting that the current distance of user and terminal is more and more far away,Automatic adjustment height volume and change terminal brightness, thus reach the optimum efficiency of viewing. By above-mentioned skillArt scheme, has avoided user manually terminal to be regulated, thereby makes terminal more intelligent, and thenPromote user's experience.
In technique scheme, preferably, described regulon 304 specifically for, according to describedCurrent distance is carried out brightness regulation to described terminal.
In this technical scheme, according to current distance, terminal is carried out to brightness regulation, wherein, terminal canWith under certain mode of operation, also can be in main operation interface, by control terminal in real timeBrightness, can regulate terminal more intelligently, makes user have best experience.
In technique scheme, preferably, described detecting unit 302 comprises: acquiring unit3022, for obtaining the each preposition shooting of described privileged site at described any two front-facing camerasPrivileged site imaging point on the imaging surface of head, and obtain the described spy of described each front-facing cameraPosition, bonding part imaging point and specify the distance between intersection point, wherein, described appointment intersection point be described each beforePut the intersection point between the optical axis of camera and the described imaging surface of described each front-facing camera; Determine singleUnit 3024, for according to the distance between the central point of described any two front-facing cameras, describedAngle between the focal length of two front-facing cameras, the optical axis of described any two front-facing cameras and instituteState the distance between described privileged site imaging point and the described appointment intersection point of each front-facing camera, reallyDescribed current distance between fixed described user's described privileged site and the described screen of described terminal.
In this technical scheme, when any two front-facing cameras detection users' privileged site (as eyes)And when current distance between the screen of terminal, user's privileged site is in any two front-facing camerasThe imaging surface of each front-facing camera on form privileged site imaging point, and in conjunction with any two preposition taking the photographThe privileged site that can calculate exactly user as head and the index path of user's privileged site is (as eyeEyeball) and the screen of terminal between current distance.
In technique scheme, preferably, the focal length of described any two front-facing cameras is identical, instituteState determining unit 3024 specifically for, determine between described user and described terminal by following formulaDescribed current distance:Wherein, L represents described currentDistance, the distance described in d represents between the central point of any two front-facing cameras, f represents described appointingThe focal length of two front-facing cameras, the angle described in α represents between the optical axis of any two front-facing cameras,X1 represents the described privileged site imaging of the arbitrary front-facing camera in described any two front-facing camerasDistance between point and corresponding described appointment intersection point, and x2 represent described in any two preposition shootingsBetween the described privileged site imaging point of another front-facing camera in head and corresponding described appointment intersection pointDistance.
In this technical scheme, create the formula of above-mentioned calculating current distance according to optical geometry,Particularly, between the triangle at privileged site place by user and the triangle at imaging point placeSimilarity relation creates the formula of above-mentioned calculating current distance, thereby can calculate more accurately and rapidlyObtain the current distance between user's privileged site and the screen of terminal.
Fig. 4 shows the structural representation of terminal according to an embodiment of the invention.
As shown in Figure 4, terminal 400 according to an embodiment of the invention, comprises above-mentioned technical sideAdjusting device 300 in case described in any one, therefore, this terminal 400 has and technique schemeThe identical technique effect of adjusting device 300 described in middle any one, does not repeat them here.
Fig. 5 shows the light path schematic diagram of according to an embodiment of the invention pair of front-facing camera;Fig. 6 shows the light path schematic diagram of two front-facing cameras according to another embodiment of the invention.
Describe technical scheme of the present invention (terminal in this embodiment in detail below in conjunction with Fig. 5 and Fig. 6For mobile phone, on mobile phone, be provided with two front-facing camera, i.e. front-facing camera A and front-facing camera B):
As shown in Figure 5, between front-facing camera A and the optical axis of front-facing camera B, there is certain folderAngle is formed with M point (user's spy on the imaging surface of front-facing camera A and front-facing camera BPosition, bonding part) imaging point (privileged site imaging point), M point is at the imaging surface of front-facing camera AOn imaging point and corresponding appointment intersection point (optical axis of front-facing camera A and front-facing camera A'sThe intersection point of imaging surface) between distance be x1, the one-tenth of M point on the imaging surface of front-facing camera BPicture point and the corresponding appointment intersection point (imaging surface of the optical axis of front-facing camera B and front-facing camera BIntersection point) between distance be x2, the folder between front-facing camera A and front-facing camera B optical axisAngle is α, the distance L between M point and front-facing camera A and the central point of front-facing camera B(being the current distance between user's privileged site and the screen of terminal), front-facing camera A and frontThe focal length of putting camera B is f, between front-facing camera A and the central point of front-facing camera BDistance is d, can obtain following formula according to the leg-of-mutton principle of similitude in index path:
x 1 f = x L ;
x 2 f = x + Δ x + d L = x 1 f + d L + t a n α ,
Can obtain between M point and front-facing camera A and front-facing camera B according to above-mentioned formulaThe formula of distance L be:
L = d | x 2 - x 1 | × ( f - t a n α ) ,
Therefore, by the computing formula of L can calculate exactly M point and front-facing camera A andDistance between front-facing camera B.
As shown in Figure 6, parallel between front-facing camera A and the optical axis of front-facing camera B, beforeThe angle of putting between camera A and front-facing camera B optical axis is α=0 °, at front-facing camera AWith the imaging point that is formed with M point (user's privileged site) on the imaging surface of front-facing camera B(privileged site imaging point), the imaging point of M point on the imaging surface of front-facing camera A is with correspondingAppointment intersection point (intersection point of the imaging surface of the optical axis of front-facing camera A and front-facing camera A) itBetween distance be x1, the imaging point of M point on the imaging surface of front-facing camera B and corresponding appointmentDistance between intersection point (intersection point of the imaging surface of the optical axis of front-facing camera B and front-facing camera B)From being x2, the distance L between M point and front-facing camera A and front-facing camera B (is user'sCurrent distance between privileged site and the screen of terminal), front-facing camera A and front-facing camera BFocal length be f, the distance between front-facing camera A and the central point of front-facing camera B is d,Can obtain following formula according to the leg-of-mutton principle of similitude in index path:
x 1 f = x L ;
x 2 f = x + d L ,
Can obtain between M point and front-facing camera A and front-facing camera B according to above-mentioned formulaThe formula of distance L be:
L = d | x 2 - x 1 | × f ,
Therefore, by the computing formula of L can calculate exactly M point and front-facing camera A andDistance between front-facing camera B.
More than be described with reference to the accompanying drawings technical scheme of the present invention, can have realized automatic adjusting terminalThe multiple parameters such as screen intensity, volume and word size, avoided user's manual adjustments, fromExperience and promote user.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, forThose skilled in the art, the present invention can have various modifications and variations. All in essence of the present inventionWithin god and principle, any amendment of doing, be equal to replacement, improvement etc., all should be included in the present inventionProtection domain within.

Claims (11)

1. a control method, for regulating terminal, is characterized in that, in described terminal, is provided withMultiple front-facing cameras, described control method comprises:
Detect the user of described terminal by any two front-facing cameras in described multiple front-facing camerasPrivileged site and the screen of described terminal between current distance;
According to the mode of operation of described current distance and/or described terminal, described terminal is regulated.
2. control method according to claim 1, is characterized in that, described mode of operation bagDraw together: Text Mode and audio frequency and video pattern; And described according to described current distance and/or described terminalMode of operation step that described terminal is regulated, specifically comprise:
In the time described terminal being detected in described Text Mode, according to described current distance to described endEnd carries out brightness regulation and text parameter regulates;
In the time described terminal being detected in described audio frequency and video pattern, according to described current distance to describedTerminal carries out brightness regulation and audio frequency and video parameter regulates.
3. control method according to claim 1, is characterized in that, works as described in described basisThe step that the mode of operation of front distance and/or described terminal regulates described terminal, specifically comprises:
According to described current distance, described terminal is carried out to brightness regulation.
4. according to the control method described in any one in claims 1 to 3, it is characterized in that instituteState the user who detects described terminal by any two front-facing cameras in described multiple front-facing camerasThe step of the current distance between privileged site and the screen of described terminal, specifically comprises:
Obtain the one-tenth of the each front-facing camera of described privileged site in described any two front-facing camerasPrivileged site imaging point in image planes, and obtain the described privileged site of described each front-facing cameraDistance between imaging point and appointment intersection point, wherein, described appointment intersection point is described each preposition shootingIntersection point between optical axis and the described imaging surface of described each front-facing camera of head;
According to the distance between the central point of described any two front-facing cameras, described any two preposition taking the photographAngle between the focal length of picture head, the optical axis of described any two front-facing cameras and described each prepositionDistance between described privileged site imaging point and the described appointment intersection point of camera, determines described userDescribed privileged site and the described screen of described terminal between described current distance.
5. control method according to claim 4, is characterized in that, described any two are prepositionThe focal length of camera is identical, determines described user's described privileged site and described end by following formulaDescribed current distance between the described screen of end:
L = d | x 2 - x 1 | × ( f - t a n α ) ,
Wherein, L represents described current distance, and d represents the central point of described any two front-facing camerasBetween distance, f represents the focal length of described any two front-facing cameras, α represents that described any two are prepositionAngle between the optical axis of camera, x1 represents arbitrary preposition in described any two front-facing camerasDistance between the described privileged site imaging point of camera and corresponding described appointment intersection point, andX2 represents the described privileged site imaging of another front-facing camera in described any two front-facing camerasDistance between point and corresponding described appointment intersection point.
6. an adjusting device, for regulating terminal, is characterized in that, in described terminal, is provided withMultiple front-facing cameras, described adjusting device comprises:
Detecting unit, detects for any two front-facing cameras by described multiple front-facing camerasCurrent distance between the user's of described terminal privileged site and the screen of described terminal;
Regulon, for according to the mode of operation of described current distance and/or described terminal to describedTerminal regulates.
7. adjusting device according to claim 6, is characterized in that, described mode of operation bagDraw together: Text Mode and audio frequency and video pattern; And described regulon specifically for,
In the time described terminal being detected in described Text Mode, according to described current distance to described endEnd carries out brightness regulation and text parameter regulates;
In the time described terminal being detected in described audio frequency and video pattern, according to described current distance to describedTerminal carries out brightness regulation and audio frequency and video parameter regulates.
8. adjusting device according to claim 6, is characterized in that, described regulon toolBody is used for,
According to described current distance, described terminal is carried out to brightness regulation.
9. according to the adjusting device described in any one in claim 6 to 8, it is characterized in that instituteStating detecting unit comprises:
Acquiring unit, for obtaining each at described any two front-facing cameras of described privileged sitePrivileged site imaging point on the imaging surface of front-facing camera, and obtain described each front-facing cameraDescribed privileged site imaging point and specify the distance between intersection point, wherein, described appointment intersection point is instituteState the intersection point between the optical axis of each front-facing camera and the described imaging surface of described each front-facing camera;
Determining unit, according to the distance between the central point of described any two front-facing cameras, describedAngle between the focal length of two front-facing cameras, the optical axis of described any two front-facing cameras and instituteState the distance between described privileged site imaging point and the described appointment intersection point of each front-facing camera, reallyDescribed current distance between fixed described user's described privileged site and the described screen of described terminal.
10. adjusting device according to claim 9, is characterized in that, described any two are prepositionThe focal length of camera is identical; And described determining unit specifically for, by following formula determine described inDescribed current distance between user's described privileged site and the described screen of described terminal:
L = d | x 2 - x 1 | × ( f - t a n α ) ,
Wherein, L represents described current distance, and d represents the central point of described any two front-facing camerasBetween distance, f represents the focal length of described any two front-facing cameras, α represents that described any two are prepositionAngle between the optical axis of camera, x1 represents arbitrary preposition in described any two front-facing camerasDistance between the described privileged site imaging point of camera and corresponding described appointment intersection point, andX2 represents the described privileged site imaging of another front-facing camera in described any two front-facing camerasDistance between point and corresponding described appointment intersection point.
11. 1 kinds of terminals, is characterized in that, comprising: as any one institute in claim 6 to 10The adjusting device of stating.
CN201510528308.8A 2015-08-25 2015-08-25 Adjusting method, regulating device and terminal Active CN105607733B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510528308.8A CN105607733B (en) 2015-08-25 2015-08-25 Adjusting method, regulating device and terminal
PCT/CN2016/080596 WO2017032035A1 (en) 2015-08-25 2016-04-29 Method and device for adjusting, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510528308.8A CN105607733B (en) 2015-08-25 2015-08-25 Adjusting method, regulating device and terminal

Publications (2)

Publication Number Publication Date
CN105607733A true CN105607733A (en) 2016-05-25
CN105607733B CN105607733B (en) 2018-12-25

Family

ID=55987719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510528308.8A Active CN105607733B (en) 2015-08-25 2015-08-25 Adjusting method, regulating device and terminal

Country Status (2)

Country Link
CN (1) CN105607733B (en)
WO (1) WO2017032035A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105183A (en) * 2017-04-28 2017-08-29 宇龙计算机通信科技(深圳)有限公司 recording volume adjusting method and device
CN107506171A (en) * 2017-08-22 2017-12-22 深圳传音控股有限公司 Audio-frequence player device and its effect adjusting method
CN107656621A (en) * 2017-09-27 2018-02-02 京东方科技集团股份有限公司 A kind of audiovisual adjusting device and its control method
CN108519820A (en) * 2018-03-30 2018-09-11 上海爱优威软件开发有限公司 Screen brightness regulation method and system
CN110222597A (en) * 2019-05-21 2019-09-10 平安科技(深圳)有限公司 The method and device that screen is shown is adjusted based on micro- expression
CN111832253A (en) * 2020-07-03 2020-10-27 Oppo广东移动通信有限公司 Font adjusting method and device, storage medium and electronic equipment
CN112384822A (en) * 2018-07-09 2021-02-19 Lg伊诺特有限公司 Method and device for outputting light
CN116702701A (en) * 2022-10-26 2023-09-05 荣耀终端有限公司 Word weight adjusting method, terminal and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756788B (en) * 2017-11-03 2022-08-23 腾讯科技(深圳)有限公司 Video subtitle automatic adjustment method and device, terminal and readable storage medium
CN110275612B (en) * 2019-05-28 2023-01-06 Oppo广东移动通信有限公司 Brightness adjusting method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752438A (en) * 2011-04-20 2012-10-24 中兴通讯股份有限公司 Method and device for automatically regulating terminal interface display
US20120327123A1 (en) * 2011-06-23 2012-12-27 Verizon Patent And Licensing Inc. Adjusting font sizes
CN102981422A (en) * 2012-11-23 2013-03-20 广州华多网络科技有限公司 Volume adjusting method and system
CN103019384A (en) * 2012-12-21 2013-04-03 广东欧珀移动通信有限公司 Method and device for adjusting display interface on terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752438A (en) * 2011-04-20 2012-10-24 中兴通讯股份有限公司 Method and device for automatically regulating terminal interface display
US20120327123A1 (en) * 2011-06-23 2012-12-27 Verizon Patent And Licensing Inc. Adjusting font sizes
CN102981422A (en) * 2012-11-23 2013-03-20 广州华多网络科技有限公司 Volume adjusting method and system
CN103019384A (en) * 2012-12-21 2013-04-03 广东欧珀移动通信有限公司 Method and device for adjusting display interface on terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105183A (en) * 2017-04-28 2017-08-29 宇龙计算机通信科技(深圳)有限公司 recording volume adjusting method and device
CN107506171A (en) * 2017-08-22 2017-12-22 深圳传音控股有限公司 Audio-frequence player device and its effect adjusting method
CN107656621A (en) * 2017-09-27 2018-02-02 京东方科技集团股份有限公司 A kind of audiovisual adjusting device and its control method
CN107656621B (en) * 2017-09-27 2020-07-28 京东方科技集团股份有限公司 Audio-visual adjusting equipment and control method thereof
US10774980B2 (en) 2017-09-27 2020-09-15 Boe Technology Group Co., Ltd. Audio-visual adjustment device and method for controlling the same
CN108519820A (en) * 2018-03-30 2018-09-11 上海爱优威软件开发有限公司 Screen brightness regulation method and system
CN112384822A (en) * 2018-07-09 2021-02-19 Lg伊诺特有限公司 Method and device for outputting light
CN110222597A (en) * 2019-05-21 2019-09-10 平安科技(深圳)有限公司 The method and device that screen is shown is adjusted based on micro- expression
CN110222597B (en) * 2019-05-21 2023-09-22 平安科技(深圳)有限公司 Method and device for adjusting screen display based on micro-expressions
CN111832253A (en) * 2020-07-03 2020-10-27 Oppo广东移动通信有限公司 Font adjusting method and device, storage medium and electronic equipment
WO2022001553A1 (en) * 2020-07-03 2022-01-06 Oppo广东移动通信有限公司 Font adjustment method and apparatus, storage medium, and electronic device
CN116702701A (en) * 2022-10-26 2023-09-05 荣耀终端有限公司 Word weight adjusting method, terminal and storage medium

Also Published As

Publication number Publication date
CN105607733B (en) 2018-12-25
WO2017032035A1 (en) 2017-03-02

Similar Documents

Publication Publication Date Title
CN105607733A (en) Regulation method, regulation device and terminal
US20220217255A1 (en) Macro imaging method and terminal
CN103197833B (en) The apparatus and method zoomed in and out in image display apparatus to application layout
US11158057B2 (en) Device, method, and graphical user interface for processing document
US11256919B2 (en) Method and device for terminal-based object recognition, electronic device
CN104639748A (en) Method and device for displaying desktop background based on borderless mobile phone
CN102955664A (en) Method and system for electronic book display adjustment
JP2014529385A (en) Image processing system and image processing apparatus
CN102646408A (en) Method and terminal for adjusting the font size
CN109948581B (en) Image-text rendering method, device, equipment and readable storage medium
KR20150069559A (en) Method for controlling a screen and electronic device supporting the same
CN105704369A (en) Information-processing method and device, and electronic device
CN103164231A (en) Input method virtual keyboard skin management method and device
CN105430269B (en) A kind of photographic method and device applied to mobile terminal
WO2018201876A1 (en) Image sensor, camera module, and electronic device
CN104252828A (en) Vision-protective display method, vision-protective display device and terminal equipment
CN113038165A (en) Method, apparatus and storage medium for determining a set of coding parameters
US8983227B2 (en) Perspective correction using a reflection
US20130155094A1 (en) Mobile terminal having non-readable part
CN105867868A (en) Image display method and image display terminal
EP3163370B1 (en) Electronic device and method of controlling same for capturing digital images
CN112804381A (en) Control method and device of electronic equipment, electronic equipment and readable storage medium
CN103631577A (en) Image display adjusting method and device
CN111539795A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN114063845A (en) Display method, display device and electronic equipment

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