CN103365338B - A kind of electronic equipment control method and electronic equipment - Google Patents

A kind of electronic equipment control method and electronic equipment Download PDF

Info

Publication number
CN103365338B
CN103365338B CN201210082731.6A CN201210082731A CN103365338B CN 103365338 B CN103365338 B CN 103365338B CN 201210082731 A CN201210082731 A CN 201210082731A CN 103365338 B CN103365338 B CN 103365338B
Authority
CN
China
Prior art keywords
camera
electronic equipment
orientation
function
shooting
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.)
Active
Application number
CN201210082731.6A
Other languages
Chinese (zh)
Other versions
CN103365338A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210082731.6A priority Critical patent/CN103365338B/en
Publication of CN103365338A publication Critical patent/CN103365338A/en
Application granted granted Critical
Publication of CN103365338B publication Critical patent/CN103365338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of electronic equipment control method and electronic equipment.The electronic equipment that the control method of electronic device is applicable has sets a camera on the first noumenon and the second body being connected by rotating shaft, second body, and methods described includes:Detect the corresponding configuration information of the electronic equipment;When the configuration information shows that the electronic equipment opens the first function, according to the folding angle of the first noumenon and the second body, the shooting orientation of the camera is adjusted, to enable the camera to photograph the corresponding target area of first function.By using this programme, it is possible to achieve under different application scenarios, automatic correction camera shoots the purpose in orientation.

Description

A kind of electronic equipment control method and electronic equipment
Technical field
The present invention relates to technical field of electronic equipment, more particularly to a kind of electronic equipment control method and electronic equipment.
Background technology
With the development that science and technology is at full speed, various electronic products are constantly enriched and facilitate popular life.Due to profit There is the advantages such as convenient and swift, saving resource with electronics product treatment information so that electronic product turns into life or the work of people An indispensable part in work.
Wherein, people can be carried out Video chat using the camera on notebook, mobile phone, be taken pictures.General camera Initial shooting orientation all be display screen vertical direction, at the orientation needed for can not photographing people when camera, it will usually Rotating shaft, orientation is shot to correct camera;Or, on the premise of folding angle is not changed, directly manually adjust shooting Head, orientation is shot to correct camera.For example:In the keyboard gesture identification in carrying out notebook, it is necessary to make camera can be with Photograph keyboard area, due to each user using notebook when folding angle it is different, so can not adaptively, it is necessary to Family carries out manual correction.
How under different application scenarios, automatic correction camera shoots orientation, to cause it to photograph target area, It it is one the problem of merit attention.
The content of the invention
In order to solve the above technical problems, the embodiments of the invention provide a kind of electronic equipment control method and electronic equipment, To realize under different application scenarios, automatic correction camera shoots the purpose in orientation, and technical scheme is as follows:
A kind of electronic equipment control method, the electronic equipment being applicable has the first noumenon that is connected by rotating shaft and the A camera is set on two bodies, second body, methods described includes:
Detect the corresponding configuration information of the electronic equipment;
When the configuration information shows that the electronic equipment opens the first function, according to the first noumenon and the second body Folding angle, adjusts the shooting orientation of the camera, to enable the camera to photograph the first function correspondence Target area.
Wherein, first function includes:Keyboard area shoot function or human face region shoot function.
Wherein, the electronic equipment also includes:It is that cable is connected, being associated with camera spacing by being driven with rotating shaft Plate;
According to the folding angle of the first noumenon and the second body, the shooting orientation of the camera is adjusted, is specially:
Crush trigger linkage function so that limiting plate is linked under the rotation of rotating shaft, and then by the shooting of camera Orientation adjustment is orientation corresponding with the first function.
Wherein, the electronic equipment also includes:It is arranged at the gravity sensor of the second body;
According to the folding angle of the first noumenon and the second body, the shooting orientation of the camera is adjusted, is specially:
Obtain the angle of sensitive axes and gravity direction in the gravity sensor of the gravity sensor collection;
According to the corresponding mapping relations on angle of the first function, it is by the shooting orientation adjustment of the camera Orientation corresponding with the angle.
Wherein, the electronic equipment also includes:The limiting plate associated with the camera;
It is orientation corresponding with the angle by the shooting orientation adjustment of the camera, is specially:
It is orientation corresponding with the angle by the setting orientation adjustment of the limiting plate, and then causes the camera Shoot orientation corresponding with the angle.
Wherein, the electronic equipment also includes:The electric resistance sensor associated with rotating shaft;
According to the folding angle of the first noumenon and the second body, the shooting orientation of the camera is adjusted, is specially:
Obtain the resistance parameter of the electric resistance sensor collection;
According to the corresponding mapping relations on resistance parameter of the first function, the shooting orientation of the camera is adjusted Whole is the corresponding orientation of the resistance parameter.
Wherein, the electronic equipment also includes:The limiting plate associated with camera;
It is the corresponding orientation of the resistance parameter by the shooting orientation adjustment of the camera, is specially:
It is orientation corresponding with the resistance parameter by the setting orientation adjustment of the limiting plate, and then causes the shooting The shooting orientation of head is corresponding with the resistance parameter.
Accordingly, the embodiment of the present invention also provides a kind of electronic equipment, and it has the first noumenon being connected by rotating shaft With the second body, a camera is set on second body, the electronic equipment also includes:
Configuration information detection module, for detecting the corresponding configuration information of the electronic equipment;
Judge module, for judge the configuration information whether this is indicate that the electronic equipment open the first function, if it is, Then trigger camera adjusting module;
The camera adjusting module, for the folding angle according to the first noumenon and the second body, adjusts the shooting The shooting orientation of head, to enable the camera to photograph the corresponding target area of first function.
Wherein, the electronic equipment also includes:It is that cable is connected, being associated with camera spacing by being driven with rotating shaft Plate;
The camera adjusting module, including:
Mechanical linkage unit, for Crush trigger linkage function so that limiting plate is linked under the rotation of rotating shaft, is entered And be orientation corresponding with the first function by the shooting orientation adjustment of camera.
Wherein, the electronic equipment also includes:It is arranged at the gravity sensor of the second body;
The camera adjusting module, including:
Sensitive axes and gravity direction in angle acquiring unit, the gravity sensor for obtaining the gravity sensor collection Angle;
Orientation adjustment unit, for according to the corresponding mapping relations on angle of the first function, by the shooting The shooting orientation adjustment of head is orientation corresponding with the angle.
Wherein, the electronic equipment also includes:The limiting plate associated with the camera;
Orientation adjustment unit, including:
Orientation adjustment subelement, for being orientation corresponding with the angle by the setting orientation adjustment of the limiting plate, And then make it that the shooting orientation of the camera is corresponding with the angle.
Wherein, the electronic equipment also includes:The electric resistance sensor associated with rotating shaft;
The camera adjusting module, including:
Resistance parameter acquiring unit, the resistance parameter for obtaining the electric resistance sensor collection;
Orientation adjustment unit, for according to the corresponding mapping relations on resistance parameter of the first function, by described in The shooting orientation adjustment of camera is the corresponding orientation of the resistance parameter.
Wherein, the electronic equipment also includes:The limiting plate associated with the camera;
Orientation adjustment unit, including:
Orientation adjustment subelement, for being side corresponding with the resistance parameter by the setting orientation adjustment of the limiting plate Position, and then make it that the shooting orientation of the camera is corresponding with the resistance parameter.
The technical scheme that the embodiment of the present invention is provided a, electronic equipment has the first noumenon being connected by rotating shaft and the One camera is set on two bodies, and the second body;When the configuration information detected shows that first electronic equipment opens first During function, according to the folding angle of the first noumenon and the second body, the shooting orientation of the camera is adjusted, to cause the camera The corresponding target area of the first function can be photographed, is realized with this under different application scenarios, automatic correction shooting Head shoots the purpose in orientation.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
The first flow chart for a kind of electronic equipment control method that Fig. 1 is provided by the embodiment of the present invention;
Second of flow chart of a kind of electronic equipment control method that Fig. 2 is provided by the embodiment of the present invention;
The mechanical linkage schematic diagram that Fig. 3 is provided by the embodiment of the present invention;
Another schematic diagram for the mechanical linkage mode that Fig. 4 is provided by the embodiment of the present invention;
The third flow chart for a kind of electronic equipment control method that Fig. 5 is provided by the embodiment of the present invention;
4th kind of flow chart of a kind of electronic equipment control method that Fig. 6 is provided by the embodiment of the present invention;
The structural representation for a kind of electronic equipment that Fig. 7 is provided by the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, the scope of protection of the invention is belonged to.
In order to realize under different application scenarios, automatic correction camera shoots the purpose in orientation, the embodiment of the present invention There is provided a kind of electronic equipment control method and electronic equipment.Wherein, so-called different application scenarios are corresponding to electronic equipment Different folding angles.
A kind of electronic equipment control method provided by the present invention is introduced first below.
It should be noted that the electronic equipment that a kind of electronic equipment control method that the embodiment of the present invention is provided is applicable With the first noumenon and the second body being connected by rotating shaft, and a camera is set on second body.Wherein, the first noumenon Can be the host side of electronic equipment, the second body can be the screen display end of electronic equipment.In actual applications, the electronics Equipment can be the equipment such as the notebook computer with camera, clamshell phone with camera.
As shown in figure 1, a kind of electronic equipment control method, can include:
S101, detects the corresponding configuration information of the electronic equipment;
In the running of the electronic equipment, the corresponding configuration information of the electronic equipment in real time or regularly can be detected, Operated with carrying out different processing according to detected configuration information.It is understood that the configuration information is and the electronics The related information of the camera of equipment.Wherein, the operation of the electronic equipment can include:The opening process of the electronic equipment and The course of work of the electronic equipment.
S102, judges the configuration information whether this is indicate that the electronic equipment opens the first function, if it is, performing step S103;Otherwise, do not deal with;
Wherein, first function can include:Keyboard area shoot function or human face region shoot function.In start button After disk area shoot function, the camera can photograph keyboard area, to realize keyboard gesture identification;Opening human face region After shoot function, the orientation needed for user carries out normal chat is in the shooting orientation of the camera.Certainly, first function is not Keyboard area shoot function and human face region shoot function in the present embodiment are confined to, can also be according to actual conditions, by this First function setting is other.
After the configuration information of the electronic equipment is detected, then the configuration information is may determine that whether this is indicate that the electronic equipment The first function is opened, and according to different judged results, performs different steps.When detected configuration information shows the electricity During sub- the first function of opening of device, then need to perform step S103, to carry out the adjustment in camera orientation;And when detected When configuration information shows that the electronic equipment does not open the first function, then do not deal with.
S103, according to the folding angle of the first noumenon and the second body, adjusts the shooting orientation of the camera, to cause this Camera can photograph the corresponding target area of the first function.
, then can be according to the folding angle of the first noumenon and the second body when detecting the electronic equipment and opening the first function Degree, adjusts the orientation of the camera, to enable the camera to photograph the corresponding target area of the first function.For example: When the first function is keyboard area shoot function, then need to adjust the shooting orientation of camera, to enable the camera Photograph keyboard area;And when the first function is human face region shoot function, then need to adjust the shooting orientation of the camera, To enable the shooting orientation of the camera to reach that user carries out the demand of Video chat.
The technical scheme that the embodiment of the present invention is provided a, electronic equipment has the first noumenon being connected by rotating shaft and the One camera is set on two bodies, and the second body;When the configuration information detected shows that first electronic equipment opens first During function, according to the folding angle of the first noumenon and the second body, the shooting orientation of the camera is adjusted, to cause the camera The corresponding target area of the first function can be photographed, is realized with this under different application scenarios, automatic correction shooting Head shoots the purpose in orientation.
With reference to specific application example, a kind of electronic equipment control method provided by the present invention is introduced.
It should be noted that the electronic equipment that a kind of electronic equipment control method that the embodiment of the present invention is provided is applicable With the first noumenon and the second body being connected by rotating shaft, and a camera is set on second body.Wherein, the first noumenon Can be the host side of electronic equipment, the second body can be the screen display end of electronic equipment.In actual applications, the electronics Equipment can be the equipment such as the notebook computer with camera, clamshell phone with camera.Also, the electronic equipment is also Including:With rotating shaft by being driven limiting plate that cable is connected, being associated with camera.Wherein, the rotation of the limiting plate can band The rotation of dynamic camera, and then reach that adjustment camera shoots the purpose in orientation.
As shown in Fig. 2 a kind of electronic equipment control method, can include:
S201, detects the corresponding configuration information of the electronic equipment;
In the running of the electronic equipment, the corresponding configuration information of the electronic equipment in real time or regularly can be detected, Operated with carrying out different processing according to detected configuration information.It is understood that the configuration information is and the electronics The related information of the camera of equipment.Wherein, the operation of the electronic equipment can include:The opening process of the electronic equipment and The course of work of the electronic equipment.
S202, judges configuration information whether this is indicate that the electronic equipment opens the first function, if it is, performing step S203;Otherwise, do not deal with;
Wherein, first function can include:Keyboard area shoot function or human face region shoot function.In start button After disk area shoot function, the camera can photograph keyboard area, to realize keyboard gesture identification;Opening human face region After shoot function, the orientation needed for user carries out normal chat is in the shooting orientation of the camera.Certainly, first function is not Keyboard area shoot function and human face region shoot function in the present embodiment are confined to, can also be according to actual conditions, by this First function setting is other.
After the configuration information of the electronic equipment is detected, then the configuration information is may determine that whether this is indicate that the electronic equipment The first function is opened, and according to different judged results, performs different steps.When detected configuration information shows the electricity During sub- the first function of opening of device, then need to perform step S203, to carry out the adjustment in camera orientation;And when detected When configuration information shows that the electronic equipment does not open the first function, then do not deal with.
S203, Crush trigger linkage function so that limiting plate is linked under the rotation of rotating shaft, and then by camera Shooting orientation adjustment is orientation corresponding with the first function.
When judging that the electronic equipment opens the first function, then it can be turned in the first noumenon and the second body by rotating shaft In dynamic process, Crush trigger linkage function so that limiting plate is linked under the rotation of rotating shaft, while so that camera exists Linked under the rotation of limiting plate, it is, so that the shooting orientation of camera opening according to the first noumenon and the second body Close angle to be adjusted, finally in the case of folding angle-determining, it is corresponding that the camera can photograph first function Target area.
For example:Mechanical linkage schematic diagram as shown in Figure 3, when the first function is keyboard area shoot function, then Need to adjust the shooting orientation of camera by way of mechanical linkage, to enable the camera to photograph keyboard area; Mechanical linkage schematic diagram as shown in Figure 4, and when the first function is human face region shoot function, then need by machinery The mode of linkage adjusts the shooting orientation of the camera, and to enable the shooting orientation of the camera to reach, user carries out video The demand of chat.
It is understood that the linkage to the linkage of limiting plate and rotating shaft, limiting plate and camera is configured in advance, with During so that the first noumenon and the second body reaching certain folding angle, limiting plate is enabled to after camera linkage, can Photograph required target area.Wherein, the first different function, set interaction relation is by difference.
In the present embodiment, an electronic equipment has the first noumenon and the second body being connected by rotating shaft, and the second body One camera of upper setting, meanwhile, the electronic equipment also includes:With rotating shaft by it is being driven that cable is connected, associate with camera Limiting plate;When the configuration information detected shows that first electronic equipment opens the first function, Crush trigger linkage function makes Obtain limiting plate to be linked under the rotation of rotating shaft, and then be side corresponding with the first function by the shooting orientation adjustment of camera Position, is realized under different application scene with this, and automatic correction camera shoots the purpose in orientation.
With reference to specific application example, a kind of electronic equipment control method provided by the present invention is introduced.
It should be noted that the electronic equipment that a kind of electronic equipment control method that the embodiment of the present invention is provided is applicable With the first noumenon and the second body being connected by rotating shaft, and a camera is set on second body.Wherein, the first noumenon Can be the host side of electronic equipment, the second body can be the screen display end of electronic equipment.In actual applications, the electronics Equipment can be the equipment such as the notebook computer with camera, clamshell phone with camera.Also, the electronic equipment is also Including:It is arranged at the gravity sensor of the second body.
As shown in figure 5, a kind of electronic equipment control method, can include:
S301, detects the corresponding camera configuration information of the electronic equipment;
S302, judges the camera configuration information whether this is indicate that the electronic equipment opens the first function, if it is, performing Step S303;Otherwise, do not deal with;
In the present embodiment, step 301- steps S302 is similar to step S201- steps S202 in above-described embodiment, herein not Repeat again.
S303, obtains the angle of sensitive axes and gravity direction in the gravity sensor of gravity sensor collection;
Wherein, gravity sensor is arranged on the second body, can be obtained by the operation principle of the gravity sensor The angle of sensitive axes and gravity direction in gravity sensor.It should be noted that can by the angle of sensitive axes and gravity direction To determine the folding angle of the second body and the first noumenon.
S304, according to the corresponding mapping relations on angle of the first function, by the shooting orientation adjustment of the camera For orientation corresponding with the angle.
Wherein, the mapping relations on angle corresponding to first function are specifically as follows:Angle is shot with camera The mapping relations in orientation.It is understood that the mapping relations corresponding to the first different functions are different.For example:For keyboard For the shoot function of region, a kind of its angle of correspondence shoots the mapping relations in orientation with camera;And shot for human face region For function, it shoots correspondence different from a kind of angle of keyboard area shoot function the mapping relations in orientation with camera.
Wherein, by obtain this be arranged in the gravity sensor that the gravity sensor of the second body is gathered sensitive axes with The angle of gravity direction, it may be determined that the folding angle gone out between now the first noumenon and the second body.It is understood that by There is corresponding relation in angle and folding angle, be orientation corresponding with angle by the shooting orientation adjustment of the camera therefore, Also it is orientation corresponding with folding angle by the shooting orientation adjustment of the camera to be.Finally, by by the shooting of camera Orientation adjustment is orientation corresponding with angle, it is possible to achieve according to folding angle, the shooting orientation of camera is adjusted, to cause this Camera can photograph the target area corresponding to current first function.
In the present embodiment, an electronic equipment has the first noumenon and the second body being connected by rotating shaft, and the second body One camera of upper setting, meanwhile, the electronic equipment also includes:It is arranged on the gravity sensor of the second body;When matching somebody with somebody for detecting When confidence breath shows that first electronic equipment opens the first function, obtain sensitive in the gravity sensor of gravity sensor collection The angle of axle and gravity direction, and according to the corresponding mapping relations on angle of the first function, by the shooting of the camera Orientation adjustment is orientation corresponding with the angle, and then is side corresponding with the first function by the shooting orientation adjustment of the camera Position, is realized under different application scenarios with this, and automatic correction camera shoots the purpose in orientation.
In another embodiment of the invention, can also to include one associated with the camera spacing for the electronic equipment Plate, with according to first function is corresponding, the mapping relations of limiting plate setting orientation and angle, by the setting side of the limiting plate Position is adjusted to orientation corresponding with the angle, and then make it that the shooting orientation of the camera is corresponding with the angle, final to be somebody's turn to do Camera can photograph the target area corresponding to first function.
With reference to specific application example, a kind of electronic equipment control method provided by the present invention is introduced.
It should be noted that the electronic equipment that a kind of electronic equipment control method that the embodiment of the present invention is provided is applicable With the first noumenon and the second body being connected by rotating shaft, and a camera is set on second body.Wherein, the first noumenon Can be the host side of electronic equipment, the second body can be the screen display end of electronic equipment.In actual applications, the electronics Equipment can be the equipment such as the notebook computer with camera, clamshell phone with camera.Also, the electronic equipment is also Including:The electric resistance sensor associated with rotating shaft.
As shown in fig. 6, a kind of electronic equipment control method, can include:
S401, detects the corresponding camera configuration information of the electronic equipment;
S402, judges the camera configuration information whether this is indicate that the electronic equipment opens the first function, if it is, performing Step S403;Otherwise, do not deal with;
In the present embodiment, step 401- steps S402 is similar to step S201- steps S202 in above-described embodiment, herein not Repeat again.
S403, obtains the resistance parameter of electric resistance sensor collection;
Because the electric resistance sensor is associated with rotating shaft, when the first noumenon and the second body are rotated by rotating shaft, Under different folding angles, the resistance parameter that the electric resistance sensor is gathered is by difference.Therefore, it is determined that opening the first function Afterwards, then the shooting of the camera can be adjusted by obtaining the resistance parameter that the electric resistance sensor associated with rotating shaft is gathered Orientation.
S404, according to the corresponding mapping relations on resistance parameter of the first function, by the shooting orientation of the camera It is adjusted to the corresponding orientation of the resistance parameter.
Wherein, the corresponding mapping relations on resistance parameter of the first function be specifically as follows for:Camera shooting side Position and the mapping relations of resistance parameter.It is understood that the mapping relations corresponding to the first different functions are different.For example: For keyboard area shoot function, a kind of its camera of correspondence shoots orientation and the mapping relations of resistance parameter;And for For human face region shoot function, its correspondence shoots orientation different from a kind of camera of keyboard shooting area function and joined with resistance Several mapping relations.
Wherein, by obtaining the resistance parameter of the electric resistance sensor, it may be determined that go out now the first noumenon and the second body Between folding angle.It is understood that because resistance parameter and folding angle have corresponding relation, therefore, this is imaged The shooting orientation adjustment of head is orientation corresponding with resistance parameter, is also, and the shooting orientation adjustment of the camera is opened for one Close the corresponding orientation of angle.Finally, can be with by being orientation corresponding with resistance parameter by the shooting orientation adjustment of the camera The shooting orientation that camera is adjusted according to folding angle is realized, to enable the camera to photograph first function correspondence Target area.
In the present embodiment, an electronic equipment has the first noumenon and the second body being connected by rotating shaft, and the second body One camera of upper setting, meanwhile, the electronic equipment also includes:The electric resistance sensor associated with rotating shaft;Match somebody with somebody confidence when what is detected When breath shows that first electronic equipment opens the first function, obtain the resistance parameter of electric resistance sensor collection, and according to this The corresponding mapping relations on resistance parameter of one function, are that the resistance parameter is corresponding by the shooting orientation adjustment of the camera Orientation, and then be orientation corresponding with the first function by the shooting orientation adjustment of the camera, being realized with this should in different With under scene, automatic correction camera shoots the purpose in orientation.
In another embodiment of the invention, the electronic equipment can also include:The limiting plate associated with camera, with According to first function, limiting plate setting orientation and the mapping relations of resistance parameter, the setting orientation of the limiting plate is adjusted Whole is orientation corresponding with the resistance parameter, and then make it that the shooting orientation of the camera is corresponding with resistance parameter, is finally made The target area corresponding to first function can be photographed by obtaining the camera.
The description of embodiment of the method more than, it is apparent to those skilled in the art that the present invention can Realized by the mode of software plus required general hardware platform, naturally it is also possible to by hardware, but in many cases the former It is more preferably embodiment.Understood based on such, technical scheme substantially makes tribute to prior art in other words The part offered can be embodied in the form of software product, and the computer software product is stored in a storage medium, bag Some instructions are included to so that a computer equipment (can be personal computer, server, or network equipment etc.) performs The all or part of step of each embodiment methods described of the invention.And foregoing storage medium includes:Read-only storage (ROM), random access memory (RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Corresponding to above method embodiment, the present invention also provides a kind of electronic equipment, and it has is connected by rotating shaft The first noumenon and the second body, a camera is set on second body, as shown in fig. 7, the electronic equipment can be with Including:
Configuration information detection module 110, for detecting the corresponding configuration information of the electronic equipment;
Judge module 120, for judge the configuration information whether this is indicate that the electronic equipment open the first function, if It is then to trigger camera adjusting module 130;
Camera adjusting module 130, for the folding angle according to the first noumenon and the second body, adjusts the camera Shooting orientation, to enable the camera to photograph the corresponding target area of first function.
The electronic equipment that the embodiment of the present invention is provided, when the configuration information detected shows that first electronic equipment is opened During the first function, according to the folding angle of the first noumenon and the second body, the shooting orientation of the camera is adjusted, to cause this to take the photograph As head can photograph the corresponding target area of the first function, realized with this under different application scenarios, automatic correction Camera shoots the purpose in orientation.
Wherein, the electronic equipment can also include:With rotating shaft by being driven limit that cable is connected, being associated with camera Position plate;
Camera adjusting module 130, can include:
Mechanical linkage unit, for Crush trigger linkage function so that limiting plate is linked under the rotation of rotating shaft, is entered And be orientation corresponding with the first function by the shooting orientation adjustment of camera.
Wherein, the electronic equipment can also include:It is arranged at the gravity sensor of the second body;
Camera adjusting module 130, can include:
Sensitive axes and gravity direction in angle acquiring unit, the gravity sensor for obtaining the gravity sensor collection Angle;
Orientation adjustment unit, for according to the corresponding mapping relations on angle of the first function, by the shooting The shooting orientation adjustment of head is orientation corresponding with the angle.
Wherein, the electronic equipment can also include:The limiting plate associated with the camera;
Orientation adjustment unit, can include:
Orientation adjustment subelement, for being orientation corresponding with the angle by the setting orientation adjustment of the limiting plate, And then make it that the shooting orientation of the camera is corresponding with the angle.
Wherein, the electronic equipment can also include:The electric resistance sensor associated with rotating shaft;
Camera adjusting module 130, can include:
Resistance parameter acquiring unit, the resistance parameter for obtaining the electric resistance sensor collection;
Orientation adjustment unit, for according to the corresponding mapping relations on resistance parameter of the first function, by described in The shooting orientation adjustment of camera is the corresponding orientation of the resistance parameter.
Wherein, the electronic equipment can also include:The limiting plate associated with the camera;
Orientation adjustment unit, can include:
Orientation adjustment subelement, for being side corresponding with the resistance parameter by the setting orientation adjustment of the limiting plate Position, and then make it that the shooting orientation of the camera is corresponding with the resistance parameter.
For device or system embodiment, because it essentially corresponds to embodiment of the method, so related part referring to The part explanation of embodiment of the method.Device or system embodiment described above is only schematical, wherein described The unit illustrated as separating component can be or may not be physically separate, and the part shown as unit can be with It is or may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can To select some or all of module therein to realize the purpose of this embodiment scheme according to the actual needs.This area is common Technical staff is without creative efforts, you can to understand and implement.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method are not having Have more than in spirit and scope, can realize in other way.Current embodiment is a kind of exemplary Example, should not be taken as limitation, given particular content should in no way limit the purpose of the application.For example, the unit or The division of subelement, only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple lists First or multiple subelements combine.In addition, multiple units can with or component can combine or be desirably integrated into another and be System, or some features can be ignored, or not perform.
In addition, the schematic diagram of described system, apparatus and method and non-be the same as Example, without departing from scope of the present application It is interior, it can be combined or integrated with other systems, module, techniques or methods.Another, shown or discussed coupling each other Close or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, can be with It is electrical, machinery or other forms.
Described above is only the embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (13)

1. a kind of electronic equipment control method, the electronic equipment being applicable has the first noumenon and second being connected by rotating shaft A camera is set on body, second body, it is characterised in that methods described includes:
The corresponding configuration information of the electronic equipment is detected, is grasped with carrying out different processing according to detected configuration information Make;
When the configuration information shows that the electronic equipment opens the first function, according to the folding of the first noumenon and the second body Angle, adjusts the shooting orientation of the camera, to enable the camera to photograph the corresponding mesh of first function Mark region.
2. according to the method described in claim 1, it is characterised in that first function includes:Keyboard area shoot function or Person's human face region shoot function.
3. method according to claim 2, it is characterised in that the electronic equipment also includes:Pass through drive line with rotating shaft Limiting plate that cable is connected, being associated with camera;
According to the folding angle of the first noumenon and the second body, the shooting orientation of the camera is adjusted, is specially:
Crush trigger linkage function so that limiting plate is linked under the rotation of rotating shaft, and then by the shooting orientation of camera It is adjusted to orientation corresponding with the first function.
4. method according to claim 2, it is characterised in that the electronic equipment also includes:It is arranged at the second body Gravity sensor;
According to the folding angle of the first noumenon and the second body, the shooting orientation of the camera is adjusted, is specially:
Obtain the angle of sensitive axes and gravity direction in the gravity sensor of the gravity sensor collection;
According to the corresponding mapping relations on angle of the first function, by the shooting orientation adjustment of the camera for institute State the corresponding orientation of angle.
5. method according to claim 4, it is characterised in that the electronic equipment also includes:It is related to the camera The limiting plate of connection;
It is orientation corresponding with the angle by the shooting orientation adjustment of the camera, is specially:
It is orientation corresponding with the angle by the setting orientation adjustment of the limiting plate, and then causes the shooting of the camera Orientation is corresponding with the angle.
6. method according to claim 2, it is characterised in that the electronic equipment also includes:The electricity associated with rotating shaft Hinder sensor;
According to the folding angle of the first noumenon and the second body, the shooting orientation of the camera is adjusted, is specially:
Obtain the resistance parameter of the electric resistance sensor collection;
According to the corresponding mapping relations on resistance parameter of the first function, it is by the shooting orientation adjustment of the camera The corresponding orientation of the resistance parameter.
7. method according to claim 6, it is characterised in that the electronic equipment also includes:It is associated with camera Limiting plate;
It is the corresponding orientation of the resistance parameter by the shooting orientation adjustment of the camera, is specially:
It is orientation corresponding with the resistance parameter by the setting orientation adjustment of the limiting plate, and then causes the camera Shoot orientation corresponding with the resistance parameter.
8. a kind of electronic equipment, it has sets on the first noumenon and the second body being connected by rotating shaft, second body Put a camera, it is characterised in that the electronic equipment also includes:
Configuration information detection module, for detecting the corresponding configuration information of the electronic equipment, with according to detected configuration Information carries out different processing operations;
Judge module, for judging the configuration information whether this is indicate that the electronic equipment opens the first function, if it is, touching Send out camera adjusting module;
The camera adjusting module, for the folding angle according to the first noumenon and the second body, adjusts the camera Orientation is shot, to enable the camera to photograph the corresponding target area of first function.
9. electronic equipment according to claim 8, it is characterised in that the electronic equipment also includes:With rotating shaft by passing Limiting plate that moving-wire cable is connected, being associated with camera;
The camera adjusting module, including:
Mechanical linkage unit, for Crush trigger linkage function so that limiting plate is linked under the rotation of rotating shaft, and then will The shooting orientation adjustment of camera is orientation corresponding with the first function.
10. electronic equipment according to claim 8, it is characterised in that the electronic equipment also includes:It is arranged at second The gravity sensor of body;
The camera adjusting module, including:
The folder of sensitive axes and gravity direction in angle acquiring unit, the gravity sensor for obtaining the gravity sensor collection Angle;
Orientation adjustment unit, for according to the corresponding mapping relations on angle of the first function, by the camera Shooting orientation adjustment is orientation corresponding with the angle.
11. electronic equipment according to claim 10, it is characterised in that the electronic equipment also includes:With the shooting The associated limiting plate of head;
Orientation adjustment unit, including:
Orientation adjustment subelement, for being orientation corresponding with the angle by the setting orientation adjustment of the limiting plate, and then So that the shooting orientation of the camera is corresponding with the angle.
12. electronic equipment according to claim 8, it is characterised in that the electronic equipment also includes:It is associated with rotating shaft Electric resistance sensor;
The camera adjusting module, including:
Resistance parameter acquiring unit, the resistance parameter for obtaining the electric resistance sensor collection;
Orientation adjustment unit, for according to the corresponding mapping relations on resistance parameter of the first function, by the shooting The shooting orientation adjustment of head is the corresponding orientation of the resistance parameter.
13. electronic equipment according to claim 12, it is characterised in that the electronic equipment also includes:With the shooting The associated limiting plate of head;
Orientation adjustment unit, including:
Orientation adjustment subelement, for being orientation corresponding with the resistance parameter by the setting orientation adjustment of the limiting plate, And then make it that the shooting orientation of the camera is corresponding with the resistance parameter.
CN201210082731.6A 2012-03-26 2012-03-26 A kind of electronic equipment control method and electronic equipment Active CN103365338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210082731.6A CN103365338B (en) 2012-03-26 2012-03-26 A kind of electronic equipment control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210082731.6A CN103365338B (en) 2012-03-26 2012-03-26 A kind of electronic equipment control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103365338A CN103365338A (en) 2013-10-23
CN103365338B true CN103365338B (en) 2017-09-22

Family

ID=49366901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210082731.6A Active CN103365338B (en) 2012-03-26 2012-03-26 A kind of electronic equipment control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103365338B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094286B (en) * 2014-05-20 2018-08-10 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105446717B (en) * 2014-08-19 2019-06-25 联想(北京)有限公司 Information processing method and electronic equipment
CN104238579B (en) * 2014-09-26 2017-05-24 广东欧珀移动通信有限公司 Camera rotation control method applied to mobile terminal and mobile terminal
CN104579423B (en) * 2015-01-23 2016-03-09 国家电网公司 The on-the-spot carrier wave debugging apparatus of a kind of device for debugging signal, split type device for debugging signal and electric power system
CN104980336B (en) * 2015-04-30 2017-11-24 广东欧珀移动通信有限公司 Method for message interaction and relevant apparatus and communication system
CN109947183B (en) * 2019-03-27 2021-12-24 联想(北京)有限公司 Control method and electronic equipment
CN111050139B (en) * 2019-12-30 2021-10-22 联想(北京)有限公司 Image processing method, image output equipment and electronic equipment
CN111781993B (en) * 2020-06-28 2022-04-22 联想(北京)有限公司 Information processing method, system and computer readable storage medium
CN114691276B (en) * 2022-06-01 2023-07-21 深圳传音控股股份有限公司 Application processing method, intelligent terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201054660Y (en) * 2007-02-15 2008-04-30 联想(北京)有限公司 Camera device
CN101989126A (en) * 2009-08-07 2011-03-23 深圳富泰宏精密工业有限公司 Handheld electronic device and automatic screen picture rotating method thereof
CN102270012A (en) * 2010-06-01 2011-12-07 鸿富锦精密工业(深圳)有限公司 Electronic device and automatic adjusting method for opening angle thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1197833B1 (en) * 2000-10-13 2006-07-12 Lg Electronics Inc. Apparatus for automatically adjusting angle of an imaging device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201054660Y (en) * 2007-02-15 2008-04-30 联想(北京)有限公司 Camera device
CN101989126A (en) * 2009-08-07 2011-03-23 深圳富泰宏精密工业有限公司 Handheld electronic device and automatic screen picture rotating method thereof
CN102270012A (en) * 2010-06-01 2011-12-07 鸿富锦精密工业(深圳)有限公司 Electronic device and automatic adjusting method for opening angle thereof

Also Published As

Publication number Publication date
CN103365338A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
CN103365338B (en) A kind of electronic equipment control method and electronic equipment
EP3780577B1 (en) Photography method and mobile terminal
CN107357540B (en) Display direction adjusting method and mobile terminal
CN109710132A (en) Method of controlling operation thereof and terminal
CN106937045B (en) Display method of preview image, terminal equipment and computer storage medium
CN103677557B (en) Smart screen rotation based on user location
CN104995558B (en) A kind of method obtaining panoramic picture and terminal
CN108038825B (en) Image processing method and mobile terminal
CN108769506B (en) Image acquisition method and device, mobile terminal and computer readable medium
CN107592459A (en) A kind of photographic method and mobile terminal
CN109683777B (en) Image processing method and terminal equipment
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN111107269B (en) Photographing method, electronic device and storage medium
CN109639965A (en) Starting method, terminal and the computer readable storage medium of camera
CN108763317A (en) A kind of auxiliary chooses the method and terminal device of picture
CN105049732B (en) A kind of camera shooting head adjusting method and user terminal
CN107515669A (en) Display methods and device
CN109688253A (en) A kind of image pickup method and terminal
CN110062171A (en) A kind of image pickup method and terminal
CN110049185A (en) Image processing method and terminal device
CN112488914A (en) Image splicing method, device, terminal and computer readable storage medium
CN108924422B (en) Panoramic photographing method and mobile terminal
CN108108079A (en) A kind of icon display processing method and mobile terminal
CN109815676A (en) A kind of private space operating method and terminal device
CN108646960A (en) A kind of document handling method and flexible screen terminal

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