CN107743218A - Projector's Atomatic focusing method, device and electronic equipment - Google Patents
Projector's Atomatic focusing method, device and electronic equipment Download PDFInfo
- Publication number
- CN107743218A CN107743218A CN201710876185.6A CN201710876185A CN107743218A CN 107743218 A CN107743218 A CN 107743218A CN 201710876185 A CN201710876185 A CN 201710876185A CN 107743218 A CN107743218 A CN 107743218A
- Authority
- CN
- China
- Prior art keywords
- focusing
- projector
- auto
- kernel
- operation system
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/12—Picture reproducers
- H04N9/31—Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
- H04N9/3141—Constructional details thereof
- H04N9/317—Convergence or focusing systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Abstract
The present invention relates to digital projection art, more particularly to a kind of projector's Atomatic focusing method, device and electronic equipment.This method includes:After kernel and the equipment interface initialization of the Android operation system are completed, start init processes;Pass through the init process initiations Android operation system process;During the Android operation system process is started, auto-focusing program is loaded by the init processes, focusing is completed by projector described in the auto-focusing programme-control.The embodiment can not only quickly realize that projector focuses, and reduce projector's focusing cost.
Description
【Technical field】
The present invention relates to digital projection art, more particularly to a kind of projector's Atomatic focusing method, device and electronics
Equipment.
【Background technology】
In projection field, due to the difference of usage scenario, perspective plane that projector equipment is projected with its projected image
Distance is also different, in order to obtain apparent projected picture, typically the focal length of camera lens is adjusted accordingly, passed through
Focus to compensate defocus caused by various factors.
At present, the method for projector's automatic focusing is included the focus adjustment method of independent circuits plate control and entered using Android system
The focus adjustment method of row main control.Wherein, the focus adjustment method of independent circuits plate control is completed certainly before Android system startup
Dynamic focusing;The focus adjustment method that main control is carried out using Android system is just to carry out auto-focusing after projector enters Android system
Work.
Inventor has found that correlation technique has problems with during the embodiment of the present invention is realized:Independent circuits plate control
The cost spent required for the focus adjustment method of system is high, and the focus adjustment method that main control is carried out using Android system is deposited when being focused
Timeliness is slow the problem of.
【The content of the invention】
The technical problem to be solved in the present invention is to provide a kind of projector's Atomatic focusing method, device and electronic equipment, solution
Certainly there is the problem of cost is high and timeliness is slow in auto-focusing in projector.
The one side of the embodiment of the present invention, there is provided a kind of projector's Atomatic focusing method, applied to Android operation system,
Including:
After kernel and the equipment interface initialization of the Android operation system are completed, start init processes;
Pass through the init process initiations Android operation system process;
During the Android operation system process is started, auto-focusing program is loaded by the init processes,
Focusing is completed by projector described in the auto-focusing programme-control.
In certain embodiments, the equipment interface includes the first equipment interface and the second equipment interface,
It is described that focusing is completed by projector described in the auto-focusing programme-control, including:
By first equipment interface, the camera lens of the projector is controlled to be opened respectively in several default focal length projections
Machine picture;
By second equipment interface, the camera of the projector is controlled to gather the start picture projected respectively
Face, and calculate the parameter value of each start-up picture;
The parameter value is analyzed, to obtain optimal value of the parameter;
The focal length for controlling the camera lens of the projector is focal length corresponding to the optimal value of the parameter.
In certain embodiments, in the loading auto-focusing program by the init processes, methods described is also wrapped
Include:
Focusing is sent to the kernel and starts prompting message, is closed so that the kernel starts prompting message according to the focusing
Close remote focus control and user triggers focusing;
Completed in the projector to defocused, methods described also includes:
Focusing is sent to the kernel and terminates prompting message, is opened so that the kernel terminates prompting message according to the focusing
Move the remote focus control and user triggers focusing.
In certain embodiments, methods described also includes:
After the Android operation system enters homepage, start default projection management application program;
According to the default projection management application program, manage the projector and complete to defocused state.
In certain embodiments, it is described according to the default projection management application program, manage the projector and complete
To defocused state, including:
Whether the angle and/or position for detecting the projector change;
If changed, based on the projection management application program, start the auto-focusing program and focused.
The another aspect of the embodiment of the present invention, there is provided a kind of projection automatic focusing device, applied to Android operation system, bag
Include:
First starting module, after being completed in the kernel of the Android operation system and equipment interface initialization,
Start init processes;
Second starting module, for passing through the init process initiations Android operation system process;
Processing module, for during the Android operation system process is started, being loaded by the init processes
Auto-focusing program, focusing is completed by projector described in the auto-focusing programme-control.
In certain embodiments, the equipment interface includes the first equipment interface and the second equipment interface,
The processing module includes:
First control unit, for by first equipment interface, controlling the camera lens of the projector respectively default
Several focal length projection start-up pictures;
Second control unit, for by second equipment interface, controlling the camera of the projector to gather respectively
The start-up picture projected, and calculate the parameter value of each start-up picture;
Analytic unit, for analyzing the parameter value, to obtain optimal value of the parameter;
3rd control unit, it is Jiao corresponding to the optimal value of the parameter for controlling the focal length of camera lens of the projector
Away from.
In certain embodiments, in the loading auto-focusing program by the init processes, the processing module
It is additionally operable to:
Focusing is sent to the kernel and starts prompting message, is closed so that the kernel starts prompting message according to the focusing
Close remote focus control and user triggers focusing;
Completed in the projector to defocused, the processing module is additionally operable to:
Focusing is sent to the kernel and terminates prompting message, is opened so that the kernel terminates prompting message according to the focusing
Move the remote focus control and user triggers focusing.
In certain embodiments, described device also includes:
3rd starting module, should for after the Android operation system enters homepage, starting default projection management
Use program;
Management module, for according to the default projection management application program, managing the projector and completing to defocused
State.
In certain embodiments, the management module includes:
Whether detection unit, angle and/or position for detecting the projector change;
Processing unit, if for changing, based on the projection management application program, start the auto-focusing program
Focused.
The another aspect of the embodiment of the present invention, there is provided a kind of electronic equipment, including:Processor;And with the processor
The memory of communication connection;Wherein, have can be by the instruction of the computing device for the memory storage, and the instruction is described
Computing device, so that the processor is able to carry out method as described above.
In embodiments of the present invention, by init process initiation Android operation systems, and by the loading of init processes certainly
Dynamic focusing program, during starting in Android operation system, pass through auto-focusing programme-control projector completion pair
It is burnt.The embodiment can make projector in startup stage, i.e., complete projection into can before operating system main operation interface
The auto-focusing of machine, and extra hardware need not be increased, therefore, the embodiment can not only quickly realize projector pair
Jiao, and reduce projector's focusing cost.
【Brief description of the drawings】
One or more embodiments are illustrative by the picture in corresponding accompanying drawing, these exemplary theorys
The bright restriction not formed to embodiment, the element for having same reference numbers label in accompanying drawing are expressed as similar element, removed
Non- have a special statement, and composition does not limit the figure in accompanying drawing.
Fig. 1 is a kind of schematic flow sheet of projector's Atomatic focusing method provided in an embodiment of the present invention;
Fig. 2 is by the auto-focusing program control in a kind of projector's Atomatic focusing method provided in an embodiment of the present invention
Make the schematic flow sheet that the projector completes the method for focusing;
Fig. 3 is a kind of schematic flow sheet for projector's Atomatic focusing method that another embodiment of the present invention provides;
Fig. 4 is according to default projection management in a kind of projector's Atomatic focusing method that another embodiment of the present invention provides
Application program management projector completes the schematic flow sheet to the method for defocused state;
Fig. 5 is a kind of structural representation of projection automatic focusing device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation for projection automatic focusing device that another embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention.
【Embodiment】
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not
For limiting the present invention.
If it should be noted that not conflicting, each feature in the embodiment of the present invention can be mutually combined, in this hair
Within bright protection domain.In addition, though having carried out the division of functional module in schematic device, show in flow charts
Logical order, but in some cases, can be with the order different from the Module Division in schematic device, or in flow chart
Perform shown or described step.
The embodiments of the invention provide a kind of projector's Atomatic focusing method, this method is applied to any suitable type,
Projector with operational capability.The operating system of the projector is the Android operation system based on Linux, and the projector includes
Home theater type projector, portable business type projector, educational conference type projector, main flow Engineering-type projector and specialty are acute
Yuan Xing projectors etc..Wherein, projector's Atomatic focusing method can be that the system software functional mode in projector is realized,
Can also be the software installed in projector to realize, can also be that the APP modes run in projector are realized.
In embodiments of the present invention, projector realizes that the operation principle of auto-focusing is in start process:Projector
USB or DVP the shooting communication interface (i.e. V4L2) of standard can be formed after linux kernel start completion, can be led in application layer
The USB or DVP shooting communication interface controls projector projection start-up picture is crossed, and passes through the USB or DVP shooting communications
The start-up picture of Interface Controller projector acquired projections, so as to obtain the relevant parameter of start-up picture (such as image sharpness),
After the relevant parameter of several start-up pictures is got, by analyzing these relevant parameters, to obtain optimal relevant parameter, from
And the optimal relevant parameter is utilized to complete focusing.Because the time of os starting is far longer than the operation of auto-focusing program
Time, therefore, during the entire process of starting projector and loading start-up picture, there is time enough to carry out at auto-focusing
Reason.
Specifically, referring to Fig. 1, Fig. 1 is a kind of flow of projector's Atomatic focusing method provided in an embodiment of the present invention
Schematic diagram.As shown in figure 1, this method includes:
S11, the Android operation system kernel and equipment interface initialization complete after, start init processes;
The Android operation system is a kind of freedom based on Linux and the operating system of open source code, is mainly used in
Intelligent terminal, such as mobile phone, tablet personal computer and smart projector etc..Android operation system is mainly by application layer, application
Program frame, core library, Android run-time library layer and the most of composition of linux kernel five.Application framework provides greatly
The application programming interface (Application Programming Interface, API) of amount uses for developer, no matter
It is the program that Android operation system provides, or the commonly program of developer's offer, the API can be accessed.
The process of kernel and the equipment interface initialization of the Android operation system includes:Start the operation of projector first
System and the application program related to projection, and initialized;Then loading starts linux kernel, and initializes
The input-output apparatus interface related to auto-focusing, and the communication interface of the hardware abstraction layer offer to operating system.
Wherein, the said equipment interface includes the input-output apparatus interface related to auto-focusing, and to operating system
Hardware abstraction layer provide communication interface.
Wherein, start the operating system of projector, i.e., it is electric on BootLoader.BootLoader is in Android operation system
Run a bit of program that performs before, by it can with initiating hardware equipment, establish memory headroom mapping table, so as to establish
Suitable hardware environment, it is ready for the final linux kernel for calling Android operation system.Herein, BootLoader
Main task be to read linux kernel image in RAM from hard disk, the entrance for then jumping to linux kernel is gone to run,
Start to start the (SuSE) Linux OS.
Behind entrance of the above-mentioned BootLoader programming jumps to linux kernel, bring into operation head-armv.S journeys
Sequence, by the core type of the program looks processor, corresponding initialization function is called according to the core type of processor, and
And page table is established, start_kernel functions are finally jumped to, to proceed by the initial work of kernel.Wherein, should
Start_kernel functions are the entrance functions that all Linux platforms enter after operating system nucleus initialization, and it is mainly used in
The related content of system is further initialized, so that system enters a kind of service state, there is provided a kind of service of virtual machine, carry
For the service of various API Calls.
In the present embodiment, the initial work of the kernel specifically includes:
A, exception vector table and initialization interrupt processing function are created;
B, system core process scheduler and tick interrupt treatment mechanism are initialized;
C, serial ports console (serial-console) is initialized;
D, console of the serial ports as kernel is initialized;
E, establishment and initialization system cache, provide caching, it includes Dram point for various internal memory call-by mechanisms
Match somebody with somebody, Virtual File System (Virtual File System) and caching of page;
F, memory management is initialized, detects memory size and the internal memory situation taken by kernel;
G, the inter-process communication mechanisms (IPC) of system are initialized;
H, related hardware driving is loaded, related hardware driving includes the driving related to auto-focusing, such as, with taking pictures
Related V4L2 drivings, the GPIO related to control motor drive, the button related to external event triggering driving, remote control driving
Deng.
Wherein, the USB that the communication interface provided to the hardware abstraction layer of operating system includes standard images communication interface, can
To call the USB to image communication interface by Application Program Interface in application layer, so as to the correlation such as projected, taken pictures
Operation.
After above-mentioned initialization is completed, start init processes, the init processes are used to generate device drives file, and solution
Release and perform init.rc files.Because application layer operates to kernel in the form of a file, and file is with device node
The form of (such as webcam driver node/dev/video/, dev/gpio etc.) is present, therefore, here by startup init
Process next life forming apparatus drives file and explanation and performs init.rc files.Wherein, the driving file is included in application program
Layer completes all files of operated mistake during auto-focusing, such as open, write, read, ioctl etc..The init.rc files
For depositing starting up's process, starting up's process includes auto-focusing program.
S12, pass through the init process initiations Android operation system process;
In the present embodiment, the init processes are applied not only to start auto-focusing process, but also for starting Android behaviour
Make system process, so as to ensure projector in start process with regard to auto-focusing can be completed.
S13, during the Android operation system process is started, pass through the init processes and load auto-focusing journey
Sequence, focusing is completed by projector described in the auto-focusing programme-control.
In the present embodiment, the equipment interface includes the first equipment interface and the second equipment interface, as shown in Fig. 2 described
Focusing is completed by projector described in the auto-focusing programme-control, including:
S131, by first equipment interface, control the camera lens of the projector respectively in several default focal lengths
Project start-up picture;
S132, by second equipment interface, control the camera of the projector gather respectively projected it is described
Start-up picture, and calculate the parameter value of each start-up picture;
S133, the analysis parameter value, to obtain optimal value of the parameter;
S134, the focal length of camera lens for controlling the projector are focal length corresponding to the optimal value of the parameter.
It is understood that the process of projector's focusing is to adjust the process of projector lens position, work as projector lens
When a certain opening position can obtain clearly image, that is, think to focus successfully.Different lens locations corresponds to different focal lengths,
And there is certain scope in the focal length for understanding projector according to the distance of projector and projection screen, the scope is rational mirror
The adjustable scope in head position, clearly image can not be then obtained beyond the scope.
Therefore, in the present embodiment, based on the rational focal range, several focal lengths are preset, and control video camera
Camera lens start-up picture is projected in each default focal length respectively, further, also pass through the second equipment interface control projection
The camera of machine is acquired to the start-up picture projected each time, so as to obtain several start-up pictures, by being calculated
The parameter value of each start-up picture, optimal value of the parameter is obtained by comparing this several parameter value, finally according to the optimized parameter
Value searches its corresponding focal length, now, that is, thinks that the focal length is projector accurately to defocused focal length.Wherein, the parameter value bag
Include image definition, image pixel, image resolution ratio etc..
Wherein, above-mentioned first equipment interface is used for by application layer by calling first equipment interface to control projector
Camera lens projection start-up picture, above-mentioned second equipment interface be used for by application layer by call second equipment interface control
The start-up picture of the camera acquired projections of projector.It should be noted that in certain embodiments, first equipment interface and
Second equipment interface can be same interface, can realize that above-mentioned first equipment interface and the second equipment connect by an interface
The function of mouth.Can be respectively one in addition, to the quantity of first equipment interface and the second equipment interface and being not limited
It is individual, can also be respectively multiple.
Wherein, the camera for gathering projected start-up picture can be USB camera, its can plug and play, and its
USB is difference cabling, has stronger anti-interference.Certainly, in actual applications, it can also be other kinds of camera.
Illustrate above-mentioned auto-focusing process below by an example.
For example, being projected in start-up picture to projection screen, the camera lens of projector is discharged into by outermost by drive motor
End, that is to say the longest focal length position of camera lens.During drive motor adjusts lens location, if detecting that outermost end limits
Position signal is triggered, then it is assumed that camera lens is located at outermost end, now closes drive motor, and starts initial projection machine camera
Photo environment, such as exposure value, frame per second, output resolution ratio and form etc. of initialization camera.Then, adopted by camera
Collect current projected picture, obtain the view data of the projected picture, and isolate the Y in the view data, by Y preserve to
Two-dimensional array;Further, drive motor is opened, the position of camera lens is adjusted by drive motor, is occurred every time in lens location
During change, the image parameter that said process calculates projected picture corresponding to the lens location is repeated, Y is obtained according to image parameter
Value, and Y value is preserved into the two-dimensional array.During drive motor adjusts lens location, if detected most interior
End limit signal is triggered, then closes drive motor, that is, represent to have completed adjustment of the lens location from outermost end to inner terminal
Process.Now, multiple Y values are preserved in the two-dimensional array, a certain scope is calculated based on the multiple Y values preserved in the two-dimensional array
The quadratic sum of interior two neighboring Y difference, and the quadratic sum is preserved into one-dimension array, at the same time record a dimension
The number of the quadratic sum preserved in group.Wherein, any one model of a certain Range Representation outermost end to inner terminal in the range of this
Enclose;The Y value is used for the parameter for representing projected image, such as definition, resolution ratio etc..The two neighboring Y in by a certain scope
The quadratic sum of difference all preserve to after above-mentioned one-dimension array, by each two neighboring Y preserved in the one-dimension array difference
Quadratic sum carry out size comparison, obtain the maximum numerical value of quadratic sum, its corresponding Y value, the Y obtained according to the maximum numerical value
The position of camera lens corresponding to value is the position that projector accurately focuses, and thus, completes the auto-focusing of projector.
Wherein, in the control of drive motor, the detection of limit signal and focus process the calculating of parameter value all in Android
Run in the hardware abstraction layer of operating system, drive motor advance or the letter retreated are only provided to the upper strata of Android operation system
Number, limit signal, feedback signal, auto-focusing ON/OFF signal, auto-focusing completion/failure signal.
In certain embodiments, when loading auto-focusing program by the init processes in above-mentioned S13, this method is also
Including:Focusing is sent to the kernel and starts prompting message, is closed so that the kernel starts prompting message according to the focusing
Remote focus control and user trigger focusing.Corresponding, after the completion of auto-focusing, this method also includes:To kernel transmission pair
Close-burning beam prompting message, so that the kernel terminates according to the focusing, prompting message starts the remote focus control and user triggers
Focusing.It is the implementation for adjusting projector's focal length that the remote focus control and user, which trigger focusing, and it was specifically focused
Journey is on the books in the related art, will not be repeated here.In the present embodiment, when performing auto-focusing program, it is closed
His focusing function, process when other focusing functions on the one hand can be avoided to influence to be focused using the auto-focusing program,
On the other hand, other focusing functions are closed, resource is concentrated to the auto-focusing process, improves the efficiency of auto-focusing.
The embodiments of the invention provide a kind of projector's Atomatic focusing method, this method is grasped by init process initiations Android
Make system, and auto-focusing program is loaded by init processes, during starting in Android operation system, by this
Auto-focusing programme-control projector completes focusing.The embodiment can make projector in startup stage, i.e. entrance operation system
Can completes the auto-focusing of projector before main operation interface of uniting, and need not increase extra hardware, therefore, the implementation
Mode can not only quickly realize that projector focuses, and reduce projector's focusing cost.
Referring to Fig. 3, Fig. 3 is a kind of flow signal for projector's Atomatic focusing method that another embodiment of the present invention provides
Figure.Fig. 3 and Fig. 1 main distinction is that this method also includes:
S14, the Android operation system enter homepage after, start default projection management application program;
S15, according to the default projection management application program, manage the projector and complete to defocused state.
In the present embodiment, projection management application program is started after the homepage of operating system is entered
(Application, APP), the projection state after the completion of projector's auto-focusing is managed by the APP, is mainly used in
Judge current whether accurately focusing, if without accurately focusing, can be adjusted by the APP.
The APP selectable functions include:After os starting trigger auto-focusing switch, mode select button and
Focusing state is indicated, controls auto-focusing selecting switch, controls automatic trapezoidal correction selecting switch, and control DLP parameter settings are pressed
Button, and control DLP SRs etc..
Wherein, as shown in figure 4, according to the default projection management application program, manage the projector and complete focusing
State afterwards, including:
Whether S151, the angle of the detection projector and/or position change;
If S152, changed, based on the projection management application program, start the auto-focusing program and carry out pair
It is burnt.
In the present embodiment, can be by the angle of the other instruments such as gyroscope or angular transducer detection projector
No to change, whether the position that projector can be detected by other instruments such as position sensor or range sensors occurs
Change.In the event of change, then it can start auto-focusing program so as to be focused, the specific focussing process may be referred to
Above-described embodiment.If angles and positions do not change, do not deal with.
Wherein, it can be seen from above-described embodiment, join in the control of drive motor, the detection of limit signal and focus process
The calculating of numerical value is all run in the hardware abstraction layer of Android operation system, and driving horse is only provided to the upper strata of Android operation system
Complete/unsuccessfully believe up to signal, limit signal, feedback signal, auto-focusing ON/OFF signal, the auto-focusing for advancing or retreating
Number.Therefore, when based on the APP to perform above-mentioned auto-focusing process, these signals can make general signal detection
Interface, so as to be communicated by the signal detection interface with the application layer APP of Android operation system.The APP can lead to
Cross kernel direct controlling and driving motor to advance or retreat, read limit signal state and read auto-focusing ON/OFF signal
Deng, the limit signal state, auto-focusing ON/OFF signal etc. can be fed back to linux kernel by application layer, then by
Linux kernel feeds back to APP.
In certain embodiments, after the angle of projector and/or position change, it is also based on the projection management
APP controls remote focus control device, so as to being focused.
It should be noted that entering the homepage of operating system, and when the angle of projector and/or position change
After change, it can also be focused by other means.
The embodiments of the invention provide a kind of projector's Atomatic focusing method, this method is grasped by init process initiations Android
Make system, and auto-focusing program is loaded by init processes, during starting in Android operation system, by this
Auto-focusing programme-control projector completes focusing, after completing to focus and entering operating system homepage, also passes through projection
Manage the focusing state of APP management projector.The embodiment can not only reduce projector's focusing cost, quick to realize projection
Machine is focused, and can also ensure that projector maintains focusing state always, improves Consumer's Experience.
Referring to Fig. 5, Fig. 5 is a kind of structural representation of projection automatic focusing device provided in an embodiment of the present invention.Such as
Shown in Fig. 5, the device 20 includes:First starting module 21, the second starting module 22 and processing module 23.
Wherein, the first starting module 21, initialized for the kernel and equipment interface in the Android operation system
Into afterwards, start init processes;Second starting module 22, for passing through the init process initiations Android operation system process;
Processing module 23, for during the Android operation system process is started, it to be automatic right to be loaded by the init processes
Burnt program, focusing is completed by projector described in the auto-focusing programme-control.
In the present embodiment, the equipment interface includes the first equipment interface and the second equipment interface, and the processing module 23 is wrapped
Include:First control unit 231, the second control unit 232, the control unit 234 of analytic unit 233 and the 3rd.First control is single
Member 231, for by first equipment interface, controlling the camera lens of the projector respectively in several default focal length projections
Start-up picture;Second control unit 232, for by second equipment interface, controlling the camera of the projector to distinguish
The start-up picture projected is gathered, and calculates the parameter value of each start-up picture;Analytic unit 233, for analyzing
Parameter value is stated, to obtain optimal value of the parameter;3rd control unit 234, it is institute for controlling the focal length of camera lens of the projector
State focal length corresponding to optimal value of the parameter.
Alternatively, in the loading auto-focusing program by the init processes, the processing module 23 is additionally operable to:
Focusing is sent to the kernel and starts prompting message, is adjusted so that the kernel closes remote control according to the focusing beginning prompting message
Burnt and user triggers focusing;Completed in the projector to defocused, the processing module 23 is additionally operable to:To kernel transmission pair
Close-burning beam prompting message, so that the kernel terminates according to the focusing, prompting message starts the remote focus control and user triggers
Focusing.
Alternatively, referring to Fig. 6, the device 20 also includes:3rd starting module 24 and management module 25.3rd starts mould
Block 24, for after the Android operation system enters homepage, starting default projection management application program;Management module
25, for according to the default projection management application program, managing the projector and completing to defocused state.
Wherein, management module 25 includes detection unit 251 and processing unit 252.Detection unit 251, it is described for detecting
Whether the angle of projector and/or position change;Processing unit 252, if for changing, based on the projection management
Application program, start the auto-focusing program and focused.
It should be noted that between modules, unit in projector's automatic focusing mechanism in the embodiment of the present invention
Information exchange, the content such as implementation procedure, due to being based on same design with the inventive method embodiment, particular content is equally applicable
In projector's automatic focusing mechanism.Modules in the embodiment of the present invention can be used as single hardware or software to realize,
And the combination of the function of unit can be realized using single hardware or software as needed, and possess the side of execution
The corresponding beneficial effect of method.
The embodiments of the invention provide a kind of projector's automatic focusing mechanism, the device is grasped by init process initiations Android
Make system, and auto-focusing program is loaded by init processes, during starting in Android operation system, by this
Auto-focusing programme-control projector completes focusing, after completing to focus and entering operating system homepage, also passes through projection
Manage the focusing state of APP management projector.The embodiment can not only reduce projector's focusing cost, quick to realize projection
Machine is focused, and can also ensure that projector maintains focusing state always, improves Consumer's Experience.
Referring to Fig. 7, Fig. 7 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention, as shown in fig. 7,
The electronic equipment 30 includes:
Processor 31 and memory 32, are electrically connected between processor 31 and memory 32.
Memory 32 is used as a kind of non-volatile computer readable storage medium storing program for executing, available for storage non-volatile software journey
Sequence, non-volatile computer executable program and module, as projector's Atomatic focusing method in the embodiment of the present invention is corresponding
Programmed instruction/module (for example, first starting module 21, the second starting module 22 and processing module 23 shown in accompanying drawing 5).
Processor 31 is by running non-volatile software program, instruction and the module of storage in memory 32, so as to perform service
The various function application of device and data processing, that is, realize above method embodiment projector Atomatic focusing method.
Memory 32 can include storing program area and storage data field, wherein, storing program area can storage program area,
Application program required at least one function;Storage data field can store to be created according to using for projector's automatic focusing mechanism
Data built etc..
One or more of modules are stored in the memory 32, when by one or more of processors 31
During execution, projector's Atomatic focusing method in above-mentioned any means embodiment is performed, for example, performing in Fig. 1 described above
Method and step S11 to step S13, method and step S11 in the method and step S131 to step S134 in Fig. 2, Fig. 3 to step
The module 21- in module 21-23, unit 231-234, Fig. 6 in method and step S151 to step S152 in S15, Fig. 4, Fig. 5
25th, unit 231-234, unit 251-252 function.
The said goods can perform the method that the embodiment of the present invention is provided, and possesses the corresponding functional module of execution method and has
Beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present invention is provided.
The embodiments of the invention provide a kind of non-volatile computer readable storage medium storing program for executing, the non-volatile computer can
Read storage medium and be stored with computer executable instructions, the computer executable instructions perform above-mentioned any means by electronic equipment
Projector's Atomatic focusing method in embodiment, for example, the method and step S11 to step S13 in Fig. 1 described above is performed,
Method and step S151 in method and step S11 to step S15 in method and step S131 to step S134 in Fig. 2, Fig. 3, Fig. 4
To step S152, the module 21-23 in Fig. 5, the module 21-25 in unit 231-234, Fig. 6, unit 231-234, unit 251-
252 function.
The embodiments of the invention provide a kind of computer program product, including it is stored in non-volatile computer readable storage
Calculation procedure on medium, the computer program include programmed instruction, when described program instruction is computer-executed, make institute
Projector's Atomatic focusing method in the above-mentioned any means embodiment of computer execution is stated, for example, performing in Fig. 1 described above
Method and step S11 to step S13, method and step S11 in the method and step S131 to step S134 in Fig. 2, Fig. 3 to step
The module 21- in module 21-23, unit 231-234, Fig. 6 in method and step S151 to step S152 in S15, Fig. 4, Fig. 5
25th, unit 231-234, unit 251-252 function.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can
To be or may not be physically separate, it can be as the part that unit is shown or may not be physics list
Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs
In some or all of module realize the purpose of this embodiment scheme.
Through the above description of the embodiments, those of ordinary skill in the art can be understood that each embodiment
The mode of general hardware platform can be added by software to realize, naturally it is also possible to pass through hardware.Those of ordinary skill in the art can
To understand that all or part of flow realized in above-described embodiment method is can to instruct the hard of correlation by computer program
Part is completed, and described program can be stored in a computer read/write memory medium, the program is upon execution, it may include as above
State the flow of the embodiment of each method.Wherein, described storage medium can be magnetic disc, CD, read-only memory (Read-
Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;At this
Under the thinking of invention, it can also be combined between the technical characteristic in above example or different embodiments, step can be with
Realized with random order, and many other changes of the different aspect of the present invention as described above be present, for simplicity, they do not have
Have and provided in details;Although the present invention is described in detail with reference to the foregoing embodiments, the ordinary skill people of this area
Member should be understood:It can still modify to the technical scheme described in foregoing embodiments, or to which part skill
Art feature carries out equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from each reality of the present invention
Apply the scope of a technical scheme.
Claims (11)
- A kind of 1. projector's Atomatic focusing method, applied to Android operation system, it is characterised in that including:After kernel and the equipment interface initialization of the Android operation system are completed, start init processes;Pass through the init process initiations Android operation system process;During the Android operation system process is started, auto-focusing program is loaded by the init processes, passed through Projector described in the auto-focusing programme-control completes focusing.
- 2. according to the method for claim 1, it is characterised in that the equipment interface is set including the first equipment interface and second Standby interface,It is described that focusing is completed by projector described in the auto-focusing programme-control, including:By first equipment interface, the camera lens of the projector is controlled respectively in several default focal length projections start picture Face;By second equipment interface, the camera of the projector is controlled to gather the start-up picture projected respectively, And calculate the parameter value of each start-up picture;The parameter value is analyzed, to obtain optimal value of the parameter;The focal length for controlling the camera lens of the projector is focal length corresponding to the optimal value of the parameter.
- 3. according to the method for claim 1, it is characterised in thatIn the loading auto-focusing program by the init processes, methods described also includes:Start prompting message to kernel transmission focusing, so that the kernel is distant according to the focusing beginning prompting message closing Control focusing and user trigger focusing;Completed in the projector to defocused, methods described also includes:Focusing is sent to the kernel and terminates prompting message, so that the kernel terminates prompting message according to the focusing starts institute State remote focus control and user triggers focusing.
- 4. according to the method described in any one of claims 1 to 3, it is characterised in that methods described also includes:After the Android operation system enters homepage, start default projection management application program;According to the default projection management application program, manage the projector and complete to defocused state.
- 5. according to the method for claim 4, it is characterised in that it is described according to the default projection management application program, The projector is managed to complete to defocused state, including:Whether the angle and/or position for detecting the projector change;If changed, based on the projection management application program, start the auto-focusing program and focused.
- A kind of 6. projection automatic focusing device, applied to Android operation system, it is characterised in that including:First starting module, after being completed in the kernel of the Android operation system and equipment interface initialization, start Init processes;Second starting module, for passing through the init process initiations Android operation system process;Processing module, for during the Android operation system process is started, being loaded by the init processes automatic Focusing program, pass through projector described in the auto-focusing programme-control and complete focusing.
- 7. device according to claim 6, it is characterised in that the equipment interface is set including the first equipment interface and second Standby interface,The processing module includes:First control unit, for by first equipment interface, if controlling the camera lens of the projector respectively default Dry focal length projection start-up picture;Second control unit, for by second equipment interface, controlling the camera of the projector to gather respectively and being thrown The start-up picture of shadow, and calculate the parameter value of each start-up picture;Analytic unit, for analyzing the parameter value, to obtain optimal value of the parameter;3rd control unit, it is focal length corresponding to the optimal value of the parameter for controlling the focal length of camera lens of the projector.
- 8. device according to claim 6, it is characterised in thatIn the loading auto-focusing program by the init processes, the processing module is additionally operable to:Start prompting message to kernel transmission focusing, so that the kernel is distant according to the focusing beginning prompting message closing Control focusing and user trigger focusing;Completed in the projector to defocused, the processing module is additionally operable to:Focusing is sent to the kernel and terminates prompting message, so that the kernel terminates prompting message according to the focusing starts institute State remote focus control and user triggers focusing.
- 9. according to the device described in any one of claim 6 to 8, it is characterised in that described device also includes:3rd starting module, for after the Android operation system enters homepage, starting default projection management application journey Sequence;Management module, for according to the default projection management application program, managing the projector and completing to defocused shape State.
- 10. device according to claim 9, it is characterised in that the management module includes:Whether detection unit, angle and/or position for detecting the projector change;Processing unit, if for changing, based on the projection management application program, start the auto-focusing program and carry out Focusing.
- 11. a kind of electronic equipment, it is characterised in that including:Processor;And the memory being connected with the processor communication;Wherein, the memory storage have can by the instruction of the computing device, the instruction by the computing device, with The processor is set to be able to carry out the method described in any one of claim 1 to 5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710876185.6A CN107743218A (en) | 2017-09-25 | 2017-09-25 | Projector's Atomatic focusing method, device and electronic equipment |
PCT/CN2018/080698 WO2019056723A1 (en) | 2017-09-25 | 2018-03-27 | Automatic focusing method and apparatus of projector, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710876185.6A CN107743218A (en) | 2017-09-25 | 2017-09-25 | Projector's Atomatic focusing method, device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107743218A true CN107743218A (en) | 2018-02-27 |
Family
ID=61235327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710876185.6A Pending CN107743218A (en) | 2017-09-25 | 2017-09-25 | Projector's Atomatic focusing method, device and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107743218A (en) |
WO (1) | WO2019056723A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109005393A (en) * | 2018-08-01 | 2018-12-14 | 苏州佳世达光电有限公司 | A kind of Atomatic focusing method and its system |
WO2019056723A1 (en) * | 2017-09-25 | 2019-03-28 | 广景视睿科技(深圳)有限公司 | Automatic focusing method and apparatus of projector, and electronic device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111698489B (en) * | 2020-06-22 | 2021-04-02 | 深圳市亿兆创新科技有限公司 | Projection method and projection equipment based on Linux system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012832A (en) * | 2010-12-14 | 2011-04-13 | Tcl集团股份有限公司 | Method and device for accelerating starting Android system |
CN104023191A (en) * | 2014-06-13 | 2014-09-03 | 暨南大学 | Android-based camera projection system and implementation method |
CN105607921A (en) * | 2015-10-29 | 2016-05-25 | Tcl集团股份有限公司 | System service startup method and system based on Android system |
CN105867965A (en) * | 2015-12-18 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Method and system for playing startup video on basis of android system |
CN205485256U (en) * | 2016-03-01 | 2016-08-17 | 四川维优科技有限责任公司 | Projector with real -time auto focus function is optimized in start |
CN205510255U (en) * | 2016-03-01 | 2016-08-24 | 四川维优科技有限责任公司 | Projector with real -time auto focus function |
US20170208299A1 (en) * | 2016-01-18 | 2017-07-20 | Seiko Epson Corporation | Display apparatus, and control method for display apparatus |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014232167A (en) * | 2013-05-28 | 2014-12-11 | 株式会社リコー | Image projection device and control method of image projection device |
CN106250106A (en) * | 2016-07-15 | 2016-12-21 | 青岛海信宽带多媒体技术有限公司 | The startup method and device of projector equipment |
CN106291869A (en) * | 2016-09-27 | 2017-01-04 | 青岛海信宽带多媒体技术有限公司 | The control method of a kind of projector start auto-focusing and device |
CN107743218A (en) * | 2017-09-25 | 2018-02-27 | 广景视睿科技(深圳)有限公司 | Projector's Atomatic focusing method, device and electronic equipment |
-
2017
- 2017-09-25 CN CN201710876185.6A patent/CN107743218A/en active Pending
-
2018
- 2018-03-27 WO PCT/CN2018/080698 patent/WO2019056723A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012832A (en) * | 2010-12-14 | 2011-04-13 | Tcl集团股份有限公司 | Method and device for accelerating starting Android system |
CN104023191A (en) * | 2014-06-13 | 2014-09-03 | 暨南大学 | Android-based camera projection system and implementation method |
CN105607921A (en) * | 2015-10-29 | 2016-05-25 | Tcl集团股份有限公司 | System service startup method and system based on Android system |
CN105867965A (en) * | 2015-12-18 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Method and system for playing startup video on basis of android system |
US20170208299A1 (en) * | 2016-01-18 | 2017-07-20 | Seiko Epson Corporation | Display apparatus, and control method for display apparatus |
CN205485256U (en) * | 2016-03-01 | 2016-08-17 | 四川维优科技有限责任公司 | Projector with real -time auto focus function is optimized in start |
CN205510255U (en) * | 2016-03-01 | 2016-08-24 | 四川维优科技有限责任公司 | Projector with real -time auto focus function |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019056723A1 (en) * | 2017-09-25 | 2019-03-28 | 广景视睿科技(深圳)有限公司 | Automatic focusing method and apparatus of projector, and electronic device |
CN109005393A (en) * | 2018-08-01 | 2018-12-14 | 苏州佳世达光电有限公司 | A kind of Atomatic focusing method and its system |
CN109005393B (en) * | 2018-08-01 | 2021-02-19 | 苏州佳世达光电有限公司 | Automatic focusing method and system thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2019056723A1 (en) | 2019-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102196178B (en) | Image pickup apparatus and its control method | |
EP3793185A1 (en) | Method and apparatus for image processing based on multiple camera modules, electronic device, and storage medium | |
CN107743218A (en) | Projector's Atomatic focusing method, device and electronic equipment | |
JP6602361B2 (en) | Electronic device and control method thereof | |
CN105827942A (en) | Rapid photographing method and electronic device | |
WO2020259445A1 (en) | Device imaging method and apparatus, storage medium, and electronic device | |
US10254922B2 (en) | User interface for customizing menus | |
US9692971B2 (en) | Image capturing apparatus capable of automatically switching from reproduction mode to shooting mode and displaying live view image and control method thereof | |
CN110290324A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
CN110290299B (en) | Imaging method, imaging device, storage medium and electronic equipment | |
WO2019237798A1 (en) | Camera control method, mobile terminal, and computer readable storage medium | |
US20200099853A1 (en) | Electronic device, and region selection method | |
CN104994305A (en) | Shooting method and equipment | |
CN108459882B (en) | Electronic device and control method thereof | |
CN104767934A (en) | Information processing method and electronic equipment | |
US10511761B2 (en) | Image capturing control apparatus, control method, and storage medium | |
CN116112787B (en) | Method for displaying thumbnail during photographing and electronic equipment | |
CN103578515A (en) | Movie processing apparatus and control method thereof | |
CN103826061A (en) | Information processing method and electronic device | |
CN114189628A (en) | Control method and device of shooting function, AR device and storage medium | |
CN105681667A (en) | Control method, control device and electronic device | |
TWM519367U (en) | Camera system capable of fast switching recording mode | |
JP6436764B2 (en) | Display control apparatus and control method thereof | |
JP6188484B2 (en) | Electronic device, control method and program thereof, and storage medium | |
CN113055597B (en) | Camera calling implementation method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180227 |
|
RJ01 | Rejection of invention patent application after publication |