CN104935849B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN104935849B
CN104935849B CN201510309538.5A CN201510309538A CN104935849B CN 104935849 B CN104935849 B CN 104935849B CN 201510309538 A CN201510309538 A CN 201510309538A CN 104935849 B CN104935849 B CN 104935849B
Authority
CN
China
Prior art keywords
projector distance
focusing
distance
projection
focusing stroke
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
CN201510309538.5A
Other languages
Chinese (zh)
Other versions
CN104935849A (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 CN201510309538.5A priority Critical patent/CN104935849B/en
Publication of CN104935849A publication Critical patent/CN104935849A/en
Application granted granted Critical
Publication of CN104935849B publication Critical patent/CN104935849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Projection Apparatus (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The invention discloses a kind of information processing method and electronic equipments, including:The projection head of projecting cell is obtained to the first projector distance between the first projection surface by the first distance measuring unit of electronic equipment;Based on the correspondence between first projector distance and projector distance and focusing stroke, the first focusing stroke corresponding with first projector distance is obtained;Based on the first focusing stroke, the focus control for controlling the projecting cell is automatically adjusted to first position, so as to be in clear state by the projected picture on the projection unit projects to first projection surface.The above-mentioned technical proposal provided through the invention, can only be under the premise of having projected picture, based on the focus operations of user the technical issues of manually implemented focusing for solving electronic equipment presence in the prior art.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, more particularly to a kind of information processing method and electronic equipment.
Background technology
With the continuous development of science and technology, various electronic equipments also continuously emerge, and the combination between electronic equipment is answered It is all brought great convenience with to people’s lives and work, wherein configure built-in projecting apparatus in electronic equipment and just have become A kind of development trend.
In actual life, when user needs the visual effect obtained during seeing video or picture, just need It will be watched on video in mobile phone or picture projection to big projection screen;In the report of real work, need pen Remember that the PPT on this is projected to large screen to play out.When being projected, in order to keep the projected picture being projected out clear, then need User is wanted to carry out manual focusing.
Present inventor during technical solution, has found the above-mentioned prior art at least in invention the embodiment of the present application It has the following technical problems:
In the prior art, acquired projections picture is all needed before user carries out manual focusing or in focussing process, then divided Analysis judges whether projected picture is clear, if clearly, stopping focusing, if unintelligible, continues to focus, until projected picture In clear state, it is unable to acquire and analyze whether projected picture clearly focuses.
As it can be seen that electronic equipment presence in the prior art can only be under the premise of having projected picture, the focusing based on user Operation and the technical issues of manually implemented focusing.
Invention content
A kind of information processing method of offer of the embodiment of the present invention and electronic equipment, set for solving electronics in the prior art It is standby exist can only under the premise of having projected picture, based on the focus operations of user the technical issues of manually implemented focusing, with Realize that electronic equipment can realize the technique effect of focusing in no projected picture automatically.
The embodiment of the present application provides a kind of information processing method, including:
The projection head of projecting cell is obtained to first between the first projection surface by the first distance measuring unit of electronic equipment Projector distance;
Based on the correspondence between first projector distance and projector distance and focusing stroke, obtain and described the The corresponding first focusing stroke of one projector distance;
Based on the first focusing stroke, the focus control for controlling the projecting cell is automatically adjusted to first position, with Make to be in clear state by the projected picture on the projection unit projects to first projection surface.
Optionally, the projection head that projecting cell is obtained in the distance measuring unit by the electronic equipment is projected to first Before the first projector distance between face, the method further includes:
Described at least one distance measuring unit acquisition including first distance measuring unit by the electronic equipment Projection head is at least one second projector distance between first projection surface, wherein at least one first ranging list Member is located at the different location in the preset plane parallel with plane residing for the projection head;
Judge at least one second projector distance each second projector distance whether all same, obtain first and judge As a result, wherein when first judging result is to be, then show that the projection surface is parallel with the perspective plane of the projection head.
Optionally, the correspondence based between first projector distance and projector distance and focusing stroke, is obtained The first focusing stroke corresponding with first projector distance is obtained, is specifically included:
Obtain the first correspondence table between the projector distance and the focusing stroke;
It is searched from first correspondence table and determines that corresponding with first projector distance described first adjusts Burnt stroke.
Optionally, the correspondence based between first projector distance and projector distance and focusing stroke, is obtained The first focusing stroke corresponding with first projector distance is obtained, is specifically included:
Obtain the second projector distance, and the second focusing stroke corresponding with second projector distance, wherein described second Projector distance and the second focusing stroke are before the first focusing moment and nearest from the first focusing moment Second focusing moment corresponding projector distance and focusing stroke;
Based on first projector distance, second projector distance, the second focusing stroke obtain described first and adjust Burnt stroke.
Optionally, described to be based on first projector distance, second projector distance, the second focusing stroke obtain The first focusing stroke is obtained, is specifically included:
Obtain the first difference reciprocal between the inverse of the second focusing stroke of second projector distance;
Obtain the inverse of first projector distance;
Obtain first and value between the first difference and the inverse of first projector distance, wherein first focusing Stroke is specially described first and value.
Optionally, described based on the first focusing stroke, the focus control for controlling the projecting cell is automatically adjusted to First position, so as to be in clear state by the projected picture on the projection unit projects to first projection surface, specifically For:
Based on the first focusing stroke, one is generated for controlling the first of the electro-motor being connect with the focus control Control instruction;
First control instruction is sent to the electro-motor, so that the electro-motor can be based on described first Control instruction drives the focus control to be adjusted to the first position, so that by the projection unit projects to described first Projected picture on perspective plane is in clear state.
On the other hand the embodiment of the present application provides a kind of electronic equipment, including:
Shell;
Storage unit is arranged in the shell;
Processing unit is arranged in the shell, for being projected by the first distance measuring unit of the electronic equipment The projection head of unit is to the first projector distance between the first projection surface;For being based on first projector distance, and projection away from From the correspondence between focusing stroke, the first focusing stroke corresponding with first projector distance is obtained;And based on institute The first focusing stroke is stated, the focus control for controlling the projecting cell is automatically adjusted to first position, so that single by the projection Member projects to the projected picture on first projection surface and is in clear state.
Optionally, the processing unit is specifically used for:
The projection head is obtained to described the by least one distance measuring unit including first distance measuring unit At least one second projector distance between one projection surface, wherein at least one first distance measuring unit is located at and the throwing At different location in the parallel preset plane of plane residing for shadow head;
Judge at least one second projector distance each second projector distance whether all same, obtain first and judge As a result, wherein when first judging result is to be, then show that the projection surface is parallel with the perspective plane of the projection head.
Optionally, the processing unit is specifically used for:
Obtain the first correspondence table between the projector distance and the focusing stroke;
It is searched from first correspondence table and determines that corresponding with first projector distance described first adjusts Burnt stroke.
Optionally, the processing unit is specifically used for:
Obtain the second projector distance, and the second focusing stroke corresponding with second projector distance, wherein described second Projector distance and the second focusing stroke are before the first focusing moment and nearest from the first focusing moment Second focusing moment corresponding projector distance and focusing stroke;
Based on first projector distance, second projector distance, the second focusing stroke obtain described first and adjust Burnt stroke.
Optionally, the processing unit is specifically used for:
Obtain the first difference reciprocal between the inverse of the second focusing stroke of second projector distance;
Obtain the inverse of first projector distance;
Obtain first and value between the first difference and the inverse of first projector distance, wherein first focusing Stroke is specially described first and value.
Optionally, the processing unit is specifically used for:
Based on the first focusing stroke, one is generated for controlling the first of the electro-motor being connect with the focus control Control instruction;
First control instruction is sent to the electro-motor, so that the electro-motor can be based on described first Control instruction drives the focus control to be adjusted to the first position, so that by the projection unit projects to described first Projected picture on perspective plane is in clear state.
The embodiment of the present application also provides a kind of electronic equipment, including:
First distance measuring unit, for obtaining the projection head of projecting cell to the first projector distance between the first projection surface;
First acquisition unit, for based on corresponding between first projector distance and projector distance and focusing stroke Relationship obtains the first focusing stroke corresponding with first projector distance;
First control unit, for based on the first focusing stroke, the focus control for controlling the projecting cell to be automatic It is adjusted to first position, so as to be in clear shape by the projected picture on the projection unit projects to first projection surface State.
Said one in the embodiment of the present application or multiple technical solutions at least have following one or more technology effects Fruit:
One, due to the technical solution in the embodiment of the present application, it is single that projection is obtained by the first distance measuring unit of electronic equipment The projection head of member is to the first projector distance between the first projection surface;Based on first projector distance and projector distance and tune Correspondence between burnt stroke obtains the first focusing stroke corresponding with first projector distance;It is adjusted based on described first Burnt stroke, the focus control for controlling the projecting cell are automatically adjusted to first position so that by the projection unit projects to Projected picture on first projection surface is in clear state.It i.e. will not be as in the prior art, to realize to projecting cell Focusing, need electronic device user carry out manual focusing, and user carry out manual focusing before or focussing process in all need Acquired projections picture, then analyze and determine projected picture it is whether clear, if clearly, stopping focusing, if unintelligible, continue into Row focusing is unable to acquire and whether clearly analyze projected picture until projected picture is in clear state In the case of focus, and this programme is used, as long as obtaining projection head to the first projector distance between the first projection surface Corresponding focusing stroke is obtained, to realize focusing, so, efficiently solving that electronic equipment in the prior art exists can only be Under the premise of having projected picture, based on the focus operations of user the technical issues of manually implemented focusing, electronic equipment is reached Under the premise of no projected picture, the technique effect of focusing can be realized automatically.
Two, first distance measuring unit is included by the electronic equipment due to the technical solution in the embodiment of the present application At least one distance measuring unit inside obtain the projection head between first projection surface it is at least one second projection away from From, wherein at least one first distance measuring unit is located in the preset plane parallel with plane residing for the projection head not At position;Judge at least one second projector distance each second projector distance whether all same, obtain first and sentence Disconnected result, wherein when first judging result is to be, then show that the projection surface and the perspective plane of the projection head are flat Row.I.e. will not be as in the prior art, directly obtaining projection head to the first distance between the first projection surface, and actually using electricity During sub- equipment, since electronic equipment placement location is different, cause between projection head and the first projection surface being not parallel Relationship, the focusing stroke obtained in this way based on the first distance measured can not make the projected picture projected be in clear Clear state, and use this programme, also to judge before obtaining the first projector distance between projection head and the first projection surface whether It is parallel, only it is talented it is parallel under conditions of, just obtain the first projector distance, to reached improve focusing accuracy technology effect Fruit.
Description of the drawings
Fig. 1 is a kind of implementation flow chart for information processing method that the embodiment of the present application one provides;
Fig. 2 is the schematic diagram of the position relationship of multiple distance measuring units and projecting cell that the embodiment of the present application one provides;
Fig. 3 is the tool that step S101 further includes before step in a kind of information processing method that the embodiment of the present application one provides Body implementation flow chart;
Fig. 4 is that the first of step S102 realizes process in a kind of information processing method that the embodiment of the present application one provides Flow chart;
Second of realization process that Fig. 5 is step S102 in a kind of information processing method that the embodiment of the present application one provides Flow chart;
Fig. 6 is the specific implementation flow chart of step S103 in a kind of information processing method that the embodiment of the present application one provides;
Fig. 7 is the structure chart for a kind of electronic equipment that the embodiment of the present application two provides;
Fig. 8 is the structure chart for a kind of electronic equipment that the embodiment of the present application three provides.
Specific implementation mode
In a kind of information processing method of the embodiment of the present application offer and electronic equipment, for solving electronics in the prior art Equipment exist can only under the premise of having projected picture, based on the focus operations of user the technical issues of manually implemented focusing, Electronic equipment is realized under the premise of no projected picture, can realize the technique effect of focusing automatically.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present application:
The projection head of projecting cell is obtained to first between the first projection surface by the first distance measuring unit of electronic equipment Projector distance;
Based on the correspondence between first projector distance and projector distance and focusing stroke, obtain and described the The corresponding first focusing stroke of one projector distance;
Based on the first focusing stroke, the focus control for controlling the projecting cell is automatically adjusted to first position, with Make to be in clear state by the projected picture on the projection unit projects to first projection surface.
In above-mentioned technical proposal, the projection head that projecting cell is obtained by the first distance measuring unit of electronic equipment is thrown to first Penetrate the first projector distance between face;Based on the corresponding pass between first projector distance and projector distance and focusing stroke System obtains the first focusing stroke corresponding with first projector distance;Based on the first focusing stroke, the projection is controlled The focus control of unit is automatically adjusted to first position, so that by the throwing on the projection unit projects to first projection surface Shadow picture is in clear state.It i.e. will not be as in the prior art, to realize the focusing to projecting cell, electronic equipment being needed to use Family carries out manual focusing, and all needs acquired projections picture before user carries out manual focusing or in focussing process, then analyzes Judge whether projected picture is clear, if clearly, stopping focusing, if unintelligible, continue to focus, until at projected picture It in clear state, is unable to acquire and analyze whether projected picture clearly focuses, and uses This programme, as long as obtain projection head can be obtained corresponding focusing stroke to the first projector distance between the first projection surface, from And realize focusing, so, efficiently solving electronic equipment presence in the prior art can only be under the premise of having projected picture, base In the manually implemented focusing of the focus operations of user the technical issues of, reached electronic equipment not projected picture premise Under, the technique effect of focusing can be realized automatically.
To make the purpose of the embodiment of the present invention, technical solution and a little clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme of the present invention is clearly and completely described, it is clear that described embodiment is skill of the present invention A part of the embodiment of art scheme, instead of all the embodiments.Based on the embodiment described in present specification, this field is general The every other embodiment that logical technical staff is obtained without creative efforts, belongs to the technology of the present invention side The range of case protection.
Embodiment one
Referring to FIG. 1, for a kind of information processing method that the embodiment of the present application one provides, including:
S101:The projection head of projecting cell is obtained between the first projection surface by the first distance measuring unit of electronic equipment First projector distance;
S102:Based on the correspondence between first projector distance and projector distance and focusing stroke, acquisition and institute State the corresponding first focusing stroke of the first projector distance;
S103:Based on the first focusing stroke, the focus control for controlling the projecting cell is automatically adjusted to first It sets, so as to be in clear state by the projected picture on the projection unit projects to first projection surface.
During specific implementation, described information processing method can be applied to the electronic equipment with projecting cell, such as: The electronic equipments such as laptop, desktop computer or tablet computer.It in the embodiment of the present application, will be with described information processing method For tablet computer, to be retouched in detail to the specific implementation process of the information processing method in the embodiment of the present application It states.
In optical system, the distance of the light source to the projection lens that are projected refers to object distance, the first projection surface to projection The distance of head be refer to projector distance in image distance, that is, the embodiment of the present application, projection head to focus apart from focal length f, What the focusing in the embodiment of the present application referred to is exactly to adjust object distance.
In the embodiment of the present application, step S101 is first carried out:It is projected by the first distance measuring unit of electronic equipment The projection head of unit is to the first projector distance between the first projection surface.
Before executing step S101, referring to FIG. 2, step is first carried out:
S201:It is obtained by least one distance measuring unit including first distance measuring unit of the electronic equipment The projection head is at least one second projector distance between first projection surface, wherein described at least one first surveys It is located at away from unit at the different location in the preset plane parallel with plane residing for the projection head;
S202:Judge at least one second projector distance each second projector distance whether all same, obtain the One judging result, wherein when first judging result is to be, then show the perspective plane of the projection surface and the projection head It is parallel.
After executing the step S101, step S102 is executed:Based on first projector distance and projector distance and tune Correspondence between burnt stroke obtains the first focusing stroke corresponding with first projector distance.
In the embodiment of the present application, three ranging lists are set in the surrounding of the projection head of the built-in projecting apparatus of electronic equipment Member, three distance measuring units are in the same plane, as shown in figure 3, the first projection surface can be projection screen, can be blank, It can also be metope etc., be not specifically limited in the embodiment of the present application.
During specific implementation, is obtaining before from projection head to the first distance the first projection surface, passing through first Two distance measuring units are measured by the distance between projection head to the first projection surface, in the same plane due to two distance measuring units, So theoretically two distance measuring units measure slave the distance between projection head to the first projection surface should be equal, specific During realization, such as:To be obtained the distance between from projection head to the first projection surface by two distance measuring units be respectively 0.9 meter, 1 Rice, the two projector distances are unequal, at this moment reappose electronic equipment, remeasure by projection head to the first projection The distance between face, after the adjustment, two projector distances of acquisition are 1 meter, then illustrate between projection head and the first projection surface It is parallel.
Projection head is being determined under between the first projection surface being parallel condition, is obtaining projection head between the first projection surface First distance.
After executing the step S101, S102 is thened follow the steps:Based on first projector distance and projector distance with Correspondence between focusing stroke obtains the first focusing stroke corresponding with first projector distance.
In the embodiment of the present application, for the specific implementation process of step S102, there are two types of realization methods.
Wherein, the first realization method, referring to FIG. 4, specifically comprising the following steps:
S301:Obtain the first correspondence table between the projector distance and the focusing stroke;
S302:It is searched from first correspondence table and determines corresponding with first projector distance described the One focusing stroke.
During specific implementation, the acquisition for the first correspondence table in the embodiment of the present application is set in electronics For what is just obtained between manufacture, it can be stored in the storage unit of electronic equipment, can also be to be stored in network side, In electronic equipment using being projected using projecting cell and when being focused, obtained from network side.
The APP based on Android is mainly used in the first correspondence table for obtaining projector distance between stroke of focusing Special-purpose software and measurement jig, testing tool include the image acquisition units for obtaining projected picture, image acquisition units tool Body can be the video camera of a charge coupling device, can be the video camera or digital camera of complementary metal oxide semiconductor Or camera, as long as a kind of image acquisition units, the picture signal obtained certainly can be analog signal, can also be Digital signal, those of ordinary skill in the art can set according to specific needs, not make in the embodiment of the present application specific It limits.Measurement jig can be also used for driving electronic equipment, automatically move so as to adjust projector distance.
In the embodiment of the present application, APP special-purpose softwares are mounted in the storage unit of electronic equipment, in measurement jig by electronics Equipment is moved to the position at 1 meter of projection screen, under the premise of it is parallel to determine projection head with projection screen, in electronic equipment Distance measuring unit the distance between can to measure from projection head to the first projection surface be 1 meter, the ranging list in the embodiment of the present application Member can be laser distance inductor or infrared distance-sensor, and then, APP special-purpose softwares pass through Image Acquisition for obtaining The projected picture that unit obtains, and for the difference between analytic set picture and projected picture, judge current projected picture It is whether clear.
In the embodiment of the present application, how to judge whether projected picture clarity meets the requirements, that is, determine parsing angle value, right Modular transfer function either than angle value, modular transfer function value is the comprehensive evaluation value to image quality, than simple resolution Or contrast can more preferably reflect image quality.During specific implementation, it is assumed that the projection acquired by image acquisition units The reflection of picture and the preset consistent degree of test chart are 70%, if currently to one after projected picture and test chart comparison Cause degree is 50%, and Current projection picture is illustrated less than 70% is not in clear state;It is then sent and is controlled by APP special-purpose softwares System instruction adjusts focusing lever movement by measurement jig, and focusing lever is mechanically connected with projection head, can drive the entirety of projection head Mobile, adjustment is projected light source and arrives the distance between projection head, then obtains projected picture by image collecting device again, if this When to projected picture and test chart comparison after consistent degree degree be 80%, then illustrate that Current projection picture is in clear state, And the corresponding focusing stroke of projector distance recorded at this time is 20 millimeters, is in different location in this way by adjusting electronic equipment, And when being recorded in projected picture and being in clear state, the corresponding focusing stroke of different projector distances, you can it is real to obtain the application Apply the first correspondence table in example.
In specific focussing process, when such as the first projector distance is 1 meter, corresponding focusing stroke is 20 millimeters;First When projector distance is 3 meters, corresponding focusing stroke is 19.5 millimeters;When the first projector distance is 5 meters, corresponding focusing stroke It is 19 millimeters, is 17 millimeters to deserved focusing stroke in 10 meters of the first projector distance.Overall trend is got over for projector distance Greatly, corresponding focusing stroke is smaller.This is because for the projecting cell of electronic equipment, projection head is fixed, therefore right It is the focal length answered and fixed, when projector distance changes, in order to ensure to project to the projected picture of the first projection surface In clear state, then need to carry out corresponding focusing action, and it is exactly to adjust object distance i.e. by being thrown that the process focused is corresponding Shadow light source is to the process of the distance between projection head, and during specific implementation, with the increase of projector distance, object distance is with regard to corresponding Reduction, corresponding is exactly the focusing stroke in the embodiment of the present application.
Second of realization method of step S102, referring to FIG. 5, specifically comprising the following steps:
S401:Obtain the second projector distance, and the second focusing stroke corresponding with second projector distance, wherein institute It is before the first focusing moment and from the first focusing moment to state the second projector distance and the second focusing stroke Nearest the second focusing moment corresponding projector distance and focusing stroke;
S402:Based on first projector distance, second projector distance, the second focusing stroke, described in acquisition First focusing stroke.
After executing the step S102, step S103 is executed:Based on the first focusing stroke, it is single to control the projection The focus control of member is automatically adjusted to first position, so that by the projection on the projection unit projects to first projection surface Picture is in clear state.
During specific implementation, step S401 is first carried out:Obtain the second projector distance, and with second projection away from From corresponding second focusing stroke.
In the embodiment of the present application, the second projector distance and the second focusing stroke are to be thrown before carrying out this projection Shadow distance and corresponding projection stroke, wherein the second projector distance and the second focusing stroke can be stored in electronic equipment Can also be to be stored in the first electronic equipment can occasionally connect by radio connection or wired connection mode in storage unit The second electronic equipment in, can be obtained from the second electronic equipment when needed.
During specific implementation, such as:The second projector distance obtained is 1 meter, when projector distance is 1 meter, can be made It is 20 millimeters to project to the focusing stroke in clear state of the projected picture of the first projection surface.
After obtaining the second projector distance and corresponding focusing stroke, then step S402 is continued to execute:Based on described first Projector distance, second projector distance, the second focusing stroke, obtains the first focusing stroke.
For the specific implementation process of step step S402, specifically comprise the following steps:
First step:Obtain first between the inverse of the stroke reciprocal of focusing described second of second projector distance Difference;
Second step:Obtain the inverse of first projector distance;
Third step:Obtain first and value between the first difference and the inverse of first projector distance, wherein described First focusing stroke is specially described first and value.
In the embodiment of the present application, it is assumed that the first projector distance numerical value is obtained, then obtaining the second projector distance and right After the focusing stroke answered, since during specific implementation, the projecting cell in electronic equipment is fixed, corresponding projection head It is fixed, thus corresponding focal length is also changeless, in this way, having one between focusing stroke and projector distance and focal length Fixed relationship.
After executing the step S102, S103 is thened follow the steps:Based on the first focusing stroke, the projection is controlled The focus control of unit is automatically adjusted to first position, so that by the throwing on the projection unit projects to first projection surface Shadow picture is in clear state.
In the embodiment of the present application, for the specific implementation process of step S103, referring to FIG. 6, specifically comprising the following steps:
S501:Based on the first focusing stroke, one is generated for controlling the electro-motor being connect with the focus control The first control instruction;
S502:First control instruction is sent to the electro-motor, so that the electro-motor can be based on institute The first control instruction is stated, the focus control is driven to be adjusted to the first position, so that by the projection unit projects to institute The projected picture stated on the first perspective plane is in clear state.
In the embodiment of the present application, electro-motor can be d.c. motor, can also be alternating current motor, according to structural classification It can be syncmotor, asynchronous motor or stepper motor or induction motor etc., not make specific limit in the embodiment of the present application It is fixed.
During specific implementation, after electronic equipment obtains the first focusing stroke, electronic equipment can generate the first control System instruction drives the rotation of focus control, adjustment to be projected light source and arrive the distance between projection head for controlling electro-motor, and Adjust the size of object distance.
During specific implementation, such as when the first projector distance is 1 meter, corresponding focusing stroke is 20 millimeters, projection To the first perspective plane projected picture in clear state, and be 5 meters in the second projector distance, corresponding focusing stroke is When can ensure that projected picture is in clear state at 19 millimeters, at this moment, the first control instruction concrete function " can notify " Projection head is directly moved to the first position that distance is projected 19 millimeters of light source, the first control instruction concrete function by electro-motor Can also be " notice " electro-motor by projection head from 20 millimeters current of position, then mobile 1 millimeter, light is projected to distance Position at 19 millimeters of source, either type in both realization methods, is not especially limited in the embodiment of the present application.
Embodiment two
The embodiment of the present application also provides a kind of electronic equipment, referring to FIG. 7, including:
Shell 60;
Storage unit 61 is arranged in the shell 60;
Processing unit 62 is arranged in the shell 60, for being obtained by the first distance measuring unit of the electronic equipment The projection head of projecting cell is to the first projector distance between the first projection surface;For being based on first projector distance, and throwing Correspondence between shadow distance and focusing stroke obtains the first focusing stroke corresponding with first projector distance;And base In the first focusing stroke, the focus control for controlling the projecting cell is automatically adjusted to first position, so that by the throwing Projected picture on shadow cell projection to first projection surface is in clear state.
Optionally, the processing unit 62 is specifically used for:
The projection head is obtained to described the by least one distance measuring unit including first distance measuring unit At least one second projector distance between one projection surface, wherein at least one first distance measuring unit is located at and the throwing At different location in the parallel preset plane of plane residing for shadow head;
Judge at least one second projector distance each second projector distance whether all same, obtain first and judge As a result, wherein when first judging result is to be, then show that the projection surface is parallel with the perspective plane of the projection head.
Optionally, the processing unit 62 is specifically used for:
Obtain the first correspondence table between the projector distance and the focusing stroke;
It is searched from first correspondence table and determines that corresponding with first projector distance described first adjusts Burnt stroke.
Optionally, the processing unit 62 is specifically used for:
Obtain the second projector distance, and the second focusing stroke corresponding with second projector distance, wherein described second Projector distance and the second focusing stroke are before the first focusing moment and nearest from the first focusing moment Second focusing moment corresponding projector distance and focusing stroke;
Based on first projector distance, second projector distance, the second focusing stroke obtain described first and adjust Burnt stroke.
Optionally, the processing unit 62 is specifically used for:
Obtain the first difference reciprocal between the inverse of the second focusing stroke of second projector distance;
Obtain the inverse of first projector distance;
Obtain first and value between the first difference and the inverse of first projector distance, wherein first focusing Stroke is specially described first and value.
Optionally, the processing unit 62 is specifically used for:
Based on the first focusing stroke, one is generated for controlling the first of the electro-motor being connect with the focus control Control instruction;
First control instruction is sent to the electro-motor, so that the electro-motor can be based on described first Control instruction drives the focus control to be adjusted to the first position, so that by the projection unit projects to described first Projected picture on perspective plane is in clear state.
Embodiment three
The embodiment of the present application also provides a kind of electronic equipment, referring to FIG. 8, including:
First distance measuring unit 70, for obtain the projection head of projecting cell to the first projection between the first projection surface away from From;
First acquisition unit 71, for based on pair between first projector distance and projector distance and focusing stroke It should be related to, obtain the first focusing stroke corresponding with first projector distance;
First control unit 72, for based on the first focusing stroke, controlling the focus control of the projecting cell certainly It is dynamic to be adjusted to first position, so as to be in clear shape by the projected picture on the projection unit projects to first projection surface State.
Optionally, the electronic equipment further includes:
At least one distance measuring unit 73 including first distance measuring unit 70, for obtaining the projection head to institute State at least one second projector distance between the first projection surface, wherein at least one first distance measuring unit is located at and institute It states at the different location in the parallel preset plane of plane residing for projection head;
First judging unit 74, for judging at least one second projector distance whether is each second projector distance All same, obtain the first judging result, wherein when first judging result be when, then show the perspective plane with it is described The perspective plane of projection head is parallel.
Optionally, the first acquisition unit 71, specifically includes:
First acquisition module, for obtaining the first mapping table between the projector distance and the focusing stroke Lattice;
First determining module is determined and first projector distance for being searched from first correspondence table The corresponding first focusing stroke.
Optionally, the first acquisition unit 71, specifically includes:
Second acquisition module, for obtaining the second projector distance, and the second focusing corresponding with second projector distance Stroke, wherein second projector distance and the second focusing stroke is before the first focusing moment and from described First focusing moment nearest the second focusing moment corresponding projector distance and focusing stroke;
Third acquisition module, for being based on first projector distance, second projector distance, the second focusing row Journey obtains the first focusing stroke.
Optionally, the third acquisition module, specifically includes:
First acquisition submodule obtains the reciprocal between the inverse of the second focusing stroke of second projector distance The first difference;
Second acquisition submodule, the inverse for obtaining first projector distance;
Third acquisition submodule, for obtain between the first difference and the inverse of first projector distance first and Value, wherein the first focusing stroke is specially described first and value.
Optionally, first control unit 72, specially:
First generation module, for based on the first focusing stroke, generating one for controlling and focus control company First control instruction of the electro-motor connect;
First sending module, for first control instruction to be sent to the electro-motor, so that the electronic horse Danone is enough based on first control instruction, drives the focus control to be adjusted to the first position, so that by the projection Projected picture on cell projection to first perspective plane is in clear state.
By one or more of the embodiment of the present application technical solution, following one or more technology effects may be implemented Fruit:
One, due to the technical solution in the embodiment of the present application, it is single that projection is obtained by the first distance measuring unit of electronic equipment The projection head of member is to the first projector distance between the first projection surface;Based on first projector distance and projector distance and tune Correspondence between burnt stroke obtains the first focusing stroke corresponding with first projector distance;It is adjusted based on described first Burnt stroke, the focus control for controlling the projecting cell are automatically adjusted to first position so that by the projection unit projects to Projected picture on first projection surface is in clear state.It i.e. will not be as in the prior art, to realize to projecting cell Focusing, need electronic device user carry out manual focusing, and user carry out manual focusing before or focussing process in all need Acquired projections picture, then analyze and determine projected picture it is whether clear, if clearly, stopping focusing, if unintelligible, continue into Row focusing is unable to acquire and whether clearly analyze projected picture until projected picture is in clear state In the case of focus, and this programme is used, as long as obtaining projection head to the first projector distance between the first projection surface Corresponding focusing stroke is obtained, to realize focusing, so, efficiently solving that electronic equipment in the prior art exists can only be Under the premise of having projected picture, based on the focus operations of user the technical issues of manually implemented focusing, electronic equipment is reached Under the premise of no projected picture, the technique effect of focusing can be realized automatically.
Two, first distance measuring unit is included by the electronic equipment due to the technical solution in the embodiment of the present application At least one distance measuring unit inside obtain the projection head between first projection surface it is at least one second projection away from From, wherein at least one first distance measuring unit is located in the preset plane parallel with plane residing for the projection head not At position;Judge at least one second projector distance each second projector distance whether all same, obtain first and sentence Disconnected result, wherein when first judging result is to be, then show that the projection surface and the perspective plane of the projection head are flat Row.I.e. will not be as in the prior art, directly obtaining projection head to the first distance between the first projection surface, and actually using electricity During sub- equipment, since electronic equipment placement location is different, cause between projection head and the first projection surface being not parallel Relationship, the focusing stroke obtained in this way based on the first distance measured can not make the projected picture projected be in clear Clear state, and use this programme, also to judge before obtaining the first projector distance between projection head and the first projection surface whether It is parallel, only it is talented it is parallel under conditions of, just obtain the first projector distance, to reached improve focusing accuracy technology effect Fruit.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when computer program instructions quilt corresponding with information processing method in storage medium One electronic equipment reads or is performed, and includes the following steps:
The projection head of projecting cell is obtained to first between the first projection surface by the first distance measuring unit of electronic equipment Projector distance;
Based on the correspondence between first projector distance and projector distance and focusing stroke, obtain and described the The corresponding first focusing stroke of one projector distance;
Based on the first focusing stroke, the focus control for controlling the projecting cell is automatically adjusted to first position, with Make to be in clear state by the projected picture on the projection unit projects to first projection surface.
Optionally, stored in the storage medium and step:It is obtained in the distance measuring unit by the electronic equipment Before the projection head to the first projector distance between the first projection surface for obtaining projecting cell, corresponding computer instruction is in specifically quilt In implementation procedure, the method further includes:
Described at least one distance measuring unit acquisition including first distance measuring unit by the electronic equipment Projection head is at least one second projector distance between first projection surface, wherein at least one first ranging list Member is located at the different location in the preset plane parallel with plane residing for the projection head;
Judge at least one second projector distance each second projector distance whether all same, obtain first and judge As a result, wherein when first judging result is to be, then show that the projection surface is parallel with the perspective plane of the projection head.
Optionally, stored in the storage medium and step:It is described to be based on first projector distance and projector distance With the correspondence between focusing stroke, the first focusing stroke corresponding with first projector distance, corresponding calculating are obtained Machine instruction specifically includes during specific be performed:
Obtain the first correspondence table between the projector distance and the focusing stroke;
It is searched from first correspondence table and determines that corresponding with first projector distance described first adjusts Burnt stroke.
Optionally, stored in the storage medium and step:It is described to be based on first projector distance and projector distance With the correspondence between focusing stroke, the first focusing stroke corresponding with first projector distance, corresponding calculating are obtained Machine instruction specifically includes during specific be performed:
Obtain the second projector distance, and the second focusing stroke corresponding with second projector distance, wherein described second Projector distance and the second focusing stroke are before the first focusing moment and nearest from the first focusing moment Second focusing moment corresponding projector distance and focusing stroke;
Based on first projector distance, second projector distance, the second focusing stroke obtain described first and adjust Burnt stroke.
Optionally, stored in the storage medium and step:Described to be based on first projector distance, described second throws Shadow distance, the second focusing stroke, obtain the first focusing stroke, and corresponding computer instruction is specifically being performed process In, it specifically includes:
Obtain the first difference reciprocal between the inverse of the second focusing stroke of second projector distance;
Obtain the inverse of first projector distance;
Obtain first and value between the first difference and the inverse of first projector distance, wherein first focusing Stroke is specially described first and value.
Optionally, stored in the storage medium and step:It is described to be based on the first focusing stroke, control the throwing The focus control of shadow unit is automatically adjusted to first position, so that by the projection unit projects to first projection surface Projected picture is in clear state, and corresponding computer instruction specifically includes during specific be performed:
Based on the first focusing stroke, one is generated for controlling the first of the electro-motor being connect with the focus control Control instruction;
First control instruction is sent to the electro-motor, so that the electro-motor can be based on described first Control instruction drives the focus control to be adjusted to the first position, so that by the projection unit projects to described first Projected picture on perspective plane is in clear state.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (13)

1. a kind of information processing method, including:
The projection head that projecting cell is obtained by the first distance measuring unit of electronic equipment is projected to first between the first projection surface Distance;
Based on the correspondence between first projector distance and projector distance and focusing stroke, obtains and thrown with described first Shadow is apart from corresponding first focusing stroke;
Based on the first focusing stroke, the focus control for controlling the projecting cell is automatically adjusted to first position, so that by Projected picture on the projection unit projects to first projection surface is in clear state;
Wherein, the correspondence between projector distance and focusing stroke is that projector distance is bigger, and corresponding focusing stroke is smaller;It adjusts Coke is exactly to adjust object distance.
2. the method as described in claim 1, which is characterized in that thrown in the distance measuring unit by the electronic equipment Before the projection head of shadow unit to the first projector distance between the first projection surface, the method further includes:
The projection is obtained by least one distance measuring unit including first distance measuring unit of the electronic equipment Head arrives at least one second projector distance between first projection surface, wherein at least one first distance measuring unit position At the different location in the preset plane parallel with plane residing for the projection head;
Judge at least one second projector distance each second projector distance whether all same, obtain first and judge knot Fruit, wherein when first judging result is to be, then show that the projection surface is parallel with the perspective plane of the projection head.
3. method as claimed in claim 2, which is characterized in that it is described based on first projector distance and projector distance with Correspondence between focusing stroke obtains the first focusing stroke corresponding with first projector distance, specifically includes:
Obtain the first correspondence table between the projector distance and the focusing stroke;
It is searched from first correspondence table and determines the first focusing row corresponding with first projector distance Journey.
4. method as claimed in claim 2, which is characterized in that it is described based on first projector distance and projector distance with Correspondence between focusing stroke obtains the first focusing stroke corresponding with first projector distance, specifically includes:
Obtain the second projector distance, and the second focusing stroke corresponding with second projector distance, wherein second projection Distance and the second focusing stroke are before the first focusing moment and nearest from the first focusing moment second Focusing moment corresponding projector distance and focusing stroke;
Based on first projector distance, second projector distance, the second focusing stroke obtain the first focusing row Journey.
5. method as claimed in claim 4, which is characterized in that described to be based on first projector distance, second projection Distance, the second focusing stroke, obtain the first focusing stroke, specifically include:
Obtain the first difference reciprocal between the inverse of the second focusing stroke of second projector distance;
Obtain the inverse of first projector distance;
Obtain first and value between the first difference and the inverse of first projector distance, wherein the first focusing stroke Specially described first and value.
6. the method as described in claim 3 or 5, which is characterized in that it is described based on the first focusing stroke, control the throwing The focus control of shadow unit is automatically adjusted to first position, so that by the projection unit projects to first projection surface Projected picture is in clear state, specially:
Based on the first focusing stroke, first control for controlling the electro-motor being connect with the focus control is generated Instruction;
First control instruction is sent to the electro-motor, is controlled so that the electro-motor can be based on described first Instruction, drives the focus control to be adjusted to the first position, so that by the projection unit projects to first projection Projected picture on face is in clear state.
7. a kind of electronic equipment, including:
Shell;
Storage unit is arranged in the shell;
Processing unit is arranged in the shell, for obtaining projecting cell by the first distance measuring unit of the electronic equipment Projection head to the first projector distance between the first projection surface;For be based on first projector distance and projector distance with Correspondence between focusing stroke obtains the first focusing stroke corresponding with first projector distance;And based on described the One focusing stroke, the focus control for controlling the projecting cell is automatically adjusted to first position, so as to be thrown by the projecting cell Projected picture on shadow to first projection surface is in clear state;
Wherein, the correspondence between projector distance and focusing stroke is that projector distance is bigger, and corresponding focusing stroke is smaller;It adjusts Coke is exactly to adjust object distance.
8. electronic equipment as claimed in claim 7, which is characterized in that the processing unit is specifically used for:
The projection head is obtained by least one distance measuring unit including first distance measuring unit to throw to described first Penetrate at least one second projector distance between face, wherein at least one first distance measuring unit is located at and the projection head At different location in the parallel preset plane of residing plane;
Judge at least one second projector distance each second projector distance whether all same, obtain first and judge knot Fruit, wherein when first judging result is to be, then show that the projection surface is parallel with the perspective plane of the projection head.
9. electronic equipment as claimed in claim 8, which is characterized in that the processing unit is specifically used for:
Obtain the first correspondence table between the projector distance and the focusing stroke;
It is searched from first correspondence table and determines the first focusing row corresponding with first projector distance Journey.
10. electronic equipment as claimed in claim 8, which is characterized in that the processing unit is specifically used for:
Obtain the second projector distance, and the second focusing stroke corresponding with second projector distance, wherein second projection Distance and the second focusing stroke are before the first focusing moment and nearest from the first focusing moment second Focusing moment corresponding projector distance and focusing stroke;
Based on first projector distance, second projector distance, the second focusing stroke obtain the first focusing row Journey.
11. electronic equipment as claimed in claim 10, which is characterized in that the processing unit is specifically used for:
Obtain the first difference reciprocal between the inverse of the second focusing stroke of second projector distance;
Obtain the inverse of first projector distance;
Obtain first and value between the first difference and the inverse of first projector distance, wherein the first focusing stroke Specially described first and value.
12. the electronic equipment as described in claim 9 or 11, which is characterized in that the processing unit is specifically used for:
Based on the first focusing stroke, first control for controlling the electro-motor being connect with the focus control is generated Instruction;
First control instruction is sent to the electro-motor, is controlled so that the electro-motor can be based on described first Instruction, drives the focus control to be adjusted to the first position, so that by the projection unit projects to first projection Projected picture on face is in clear state.
13. a kind of electronic equipment, including:
First distance measuring unit, for obtaining the projection head of projecting cell to the first projector distance between the first projection surface;
First acquisition unit, the correspondence for being based between first projector distance and projector distance and focusing stroke, Obtain the first focusing stroke corresponding with first projector distance;
First control unit, for based on the first focusing stroke, controlling the focus control adjust automatically of the projecting cell To first position, so as to be in clear state by the projected picture on the projection unit projects to first projection surface;
Wherein, the correspondence between projector distance and focusing stroke is that projector distance is bigger, and corresponding focusing stroke is smaller;It adjusts Coke is exactly to adjust object distance.
CN201510309538.5A 2015-06-08 2015-06-08 A kind of information processing method and electronic equipment Active CN104935849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510309538.5A CN104935849B (en) 2015-06-08 2015-06-08 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510309538.5A CN104935849B (en) 2015-06-08 2015-06-08 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104935849A CN104935849A (en) 2015-09-23
CN104935849B true CN104935849B (en) 2018-10-12

Family

ID=54122789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510309538.5A Active CN104935849B (en) 2015-06-08 2015-06-08 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104935849B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990650B (en) * 2016-01-20 2020-05-22 中兴通讯股份有限公司 Method and device for adjusting projection picture
CN105721842B (en) * 2016-04-08 2018-08-24 海尔优家智能科技(北京)有限公司 Projecting method, device and the robot of robot with projecting function
CN106027892B (en) * 2016-05-30 2019-12-24 联想(北京)有限公司 Flash lamp device, adjusting method and electronic equipment
CN107155097A (en) * 2017-06-15 2017-09-12 上海青橙实业有限公司 Focus adjustment method, focus control and the projection terminal of projection terminal
CN110475106B (en) * 2018-05-11 2021-11-16 视联动力信息技术股份有限公司 Focal length adjusting method and device of projector
CN110491316A (en) * 2019-07-08 2019-11-22 青岛小鸟看看科技有限公司 A kind of projector and its method for controlling projection
CN110769230B (en) * 2019-08-02 2021-09-28 成都极米科技股份有限公司 Focusing method and device and projection equipment
CN111343443B (en) * 2020-04-27 2020-09-01 成都极米科技股份有限公司 Optical zooming focusing method, projection device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8964070B2 (en) * 2007-06-21 2015-02-24 Nikon Corporation Image processing method, image processing program, image processing device, image processing system, electronic camera and electronic apparatus
CN101281289A (en) * 2007-12-29 2008-10-08 青岛海信电器股份有限公司 Automatic focusing method
CN102797946B (en) * 2012-08-27 2014-07-23 深圳创维-Rgb电子有限公司 White balance debugging probe positioning device
CN104536249B (en) * 2015-01-16 2016-08-24 努比亚技术有限公司 The method and apparatus of regulation projector focal length

Also Published As

Publication number Publication date
CN104935849A (en) 2015-09-23

Similar Documents

Publication Publication Date Title
CN104935849B (en) A kind of information processing method and electronic equipment
US9588060B2 (en) Non-destructive inspection system for display panel and method, and non-destructive inspection apparatus thereof
CN103149789B (en) The method of testing of module motor curve is evaluated based on image MTF
JP6469368B2 (en) Machine vision inspection system and method for performing high speed focused height measurement operation
TWI281593B (en) Projector with automatic focus adjustment
CN203012335U (en) Automatic focusing projection system
CN106406020B (en) Auto-focusing test device
CN107003744B (en) Viewpoint determines method, apparatus and electronic equipment
CN203324017U (en) Performance test system for camera VCM motor
CN114018552B (en) Lens assembly method, device and system based on inverse projection MTF detection
CN204328521U (en) The radiographic measurement equipment of rim(ming) light lighting module and rim(ming) light illumination
CN104439695A (en) Visual detector of laser machining system
CN105723696B (en) Picture pick-up device, camera system and its control method
CN109859155A (en) Image distortion detection method and system
CN104660944A (en) Image projection apparatus and image projection method
CN109348194B (en) Acquire method, apparatus, image capture device and the electronic equipment of image data
CN105357434B (en) A kind of information processing method and electronic equipment
TW202206888A (en) Galvanometer parameter adjusting method, device and equipment and readable storage medium
CN102540638A (en) Detection device for focal position and detection method thereof
US8908084B2 (en) Electronic device and method for focusing and measuring points of objects
JP2015072444A (en) Solid focusing method and system thereof
JP2014220657A (en) Image measuring device and image measuring program
CN202998334U (en) Three-dimensional device and two-dimensional and three-dimensional automatic switching apparatus thereof
CN108844627B (en) Laser testing method for human eye safety and electronic equipment
CN103411753A (en) Image detecting system of optical module

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