Projection equipment starting method and device, computer equipment and storage medium

The guide program controls the distance measurement sensor to measure the distance between the projection device and the projection screen and performs focus processing based on the focus data, which solves the problem of blurred screen when the projection device is started, and a clear projection screen display is realized, improving the user experience.

CN119906806APending Publication Date: 2025-04-29FORMOVIE (CHONGQING) INNOVATIVE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311411519.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-27
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

When the projection device is started, it needs to adjust the focus through repeated shooting and calculations, resulting in a change in the picture from blur to clear, affecting the user experience.

Method used

By calling the boot program to control the distance measurement sensor to measure the distance between the projection device and the projection screen, determine the corresponding focus data based on the boot program, focus processing is performed based on the focus data, and the projection process of the projection device is started through the boot program.

Benefits of technology

While avoiding the process of changing the picture from blur to clear, focus is achieved to ensure that the projection device displays a clear projection screen when it is started, and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906806A_ABST
    Figure CN119906806A_ABST
Patent Text Reader

Abstract

The invention relates to a projection equipment starting method and device, computer equipment and a storage medium. The method comprises the following steps: calling a bootstrap program to control a distance measuring sensor, and measuring the distance between the projection equipment and a projection screen to obtain a screen distance; determining focusing data corresponding to the screen distance based on the bootstrap program; controlling the bootstrap program to focus the projection equipment according to the focusing data; and starting a projection process of the projection equipment through the bootstrap program. By adopting the method, focusing can be realized on the premise of avoiding the changing process of the picture from blurring to clearness, so that the clear projection picture can be displayed when the projection equipment is started.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a method and device for starting a projection device, a computer device, a storage medium, and a computer program product. Background Art

[0002] A projection device is a device that displays images or videos by projection. The projection device will display the image or video on a projection screen, which can be any wall, or a curtain or electronic screen that comes with the projection device.

[0003] The focus method of the projection device often requires displaying a logo or other images as a focus image, and then taking a focus image with a camera to calculate the clarity of the projected image taken by the camera, and adjusting the focus motor according to the change in clarity. This process requires repeated shooting and calculation to make the image clear, which will cause the image to change from blurry to clear. Summary of the invention

[0004] Based on this, it is necessary to provide a method, device, computer device, computer-readable storage medium and computer program product for starting a projection device to address the above-mentioned technical problems, which can achieve focusing while avoiding the process of the picture changing from blurry to clear, so as to display a clear projection picture when the projection device is started.

[0005] In a first aspect, the present application provides a method for starting a projection device, comprising:

[0006] Calling the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the screen distance;

[0007] Determine focus data corresponding to the screen distance based on the boot program;

[0008] According to the focus data, controlling the guide program to perform focus processing on the projection device;

[0009] The projection process of the projection device is started through the boot program.

[0010] In one embodiment, the calling of the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the screen distance includes:

[0011] Calling the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen, and obtaining the measurement result of the distance measuring sensor;

[0012] The boot program is called to obtain the measurement result of the distance measuring sensor to obtain the screen distance.

[0013] In one embodiment, the calling of the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the measurement result of the distance measuring sensor includes:

[0014] Calling the boot program to load the driver of the ranging sensor;

[0015] Controlling a driver of the distance measuring sensor according to the boot program;

[0016] The distance measuring sensor is controlled by a driver of the distance measuring sensor to measure the distance between the projection device and the projection screen, thereby obtaining a measurement result of the distance measuring sensor.

[0017] In one of the embodiments, the projection device includes a focus component, and a driver of the focus component is loaded by a boot program;

[0018] The step of controlling the guiding program to perform focusing processing on the projection device according to the focusing data includes:

[0019] Controlling the boot program according to the focus data to call a driver of the focus component;

[0020] The focus component is driven by a driver of the focus component to perform focus processing of the projection device.

[0021] In one embodiment, determining the focus data corresponding to the screen distance based on the boot program includes:

[0022] Determining a preset focus relationship of the projection device based on the guidance program;

[0023] The guiding program is controlled to map the screen distance according to the preset focus relationship to obtain focus data.

[0024] In one of the embodiments, before determining the preset focus relationship of the projection device based on the boot program, the method further includes:

[0025] Based on the fit of the multiple focus relationship templates under the focus sample data, the multiple focus relationship templates are adjusted respectively to obtain respective candidate focus relationships;

[0026] Selecting the preset focus relationship from each of the candidate focus relationships according to the condition satisfied by the fit degree of each of the candidate focus relationships;

[0027] The degree of fit is used to characterize the consistency between the projection picture clarity determined by multiple focus relationship templates based on the focus sample data and the actual clarity.

[0028] In one embodiment, starting the projection process of the projection device through the boot program includes:

[0029] The guiding program guides the projection device that has completed the focusing process to project the projection image onto the projection screen until the projection process of the projection device is started and completed;

[0030] When the projection process of the projection device is started and completed, the system program of the projection device is called to control the distance measuring sensor and the focusing component of the projection device.

[0031] In a second aspect, the present application further provides a device for starting a projection device, comprising:

[0032] A screen distance measurement module is used to call the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the screen distance;

[0033] A focus data determination module, configured to determine focus data corresponding to the screen distance based on the boot program;

[0034] A projection device focusing module, used for controlling the boot program to perform focusing processing on the projection device according to the focusing data;

[0035] The projection device startup module is used to start the projection process of the projection device through the boot program.

[0036] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of starting the projection device in any of the above embodiments are implemented.

[0037] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of starting the projection device in any of the above embodiments are implemented.

[0038] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of starting the projection device in any of the above embodiments are implemented.

[0039] The startup method, device, computer device, storage medium and computer program product of the projection device described above, since the screen distance is measured by calling the boot program to control the distance measuring sensor, the process does not need to turn on the camera, which can avoid generating additional light information and will not generate a projection picture, thereby preventing the user from perceiving a blurred picture; based on the boot program, the focus data corresponding to the screen distance is determined, so as to adaptively determine the focus data of the projection device for the screen distance in different environments; based on the focus data, the boot program is controlled to focus the projection device, thereby realizing the process of the boot program controlling the focus of the projection device; finally, the projection process of the projection device is started, so that when the focus is performed by the boot program, the projection device is started by the boot program to perform projection, thereby achieving focus while avoiding the process of the picture changing from blurred to clear, so as to display a clear projection picture when the projection device is started. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 An application environment diagram of a method for starting a projection device in an embodiment;

[0042] Figure 2 A schematic diagram of a flowchart of a method for starting a projection device in one embodiment;

[0043] Figure 3 A schematic diagram of a flow chart of a step of determining focus data in one embodiment;

[0044] Figure 4 is a flow chart of a method for starting a projection device in another embodiment;

[0045] Figure 5 is a structural block diagram of a starting device of a projection device in one embodiment;

[0046] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] The method for starting a projection device provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the projection device 102 can be set up separately or integrated into other terminals, which are but not limited to various Internet of Things devices, and the Internet of Things devices can be smart vehicle-mounted devices, smart airborne devices, etc.

[0049] In an exemplary embodiment, Figure 2 As shown, a method for starting a projection device is provided, and the method is applied to Figure 1 The projection device 102 includes the following steps 202 to 208. Among them:

[0050] Step 202: Call the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the screen distance.

[0051] The boot program is a program that guides the system program of the projection device 102 to perform an initialization process. Optionally, the system program includes but is not limited to an operating program of an Android system or an operating program of an IOS system, and the boot program includes but is not limited to a universal boot loader (Uboot) or a fast boot loader (Fastboot).

[0052] The initialization process guided by the boot program includes two categories of steps, namely, a focusing step and a starting step of the projection process. Optionally, the focusing step includes steps 202-206, and the starting step includes step 208. The focusing step is performed first, and then the starting step of the projection process is performed, so that the focusing step is performed before the starting step, so that when the projection device starts projection, a clear projection picture is displayed.

[0053] The distance measuring sensor is a sensor used to measure the distance in the focusing step. In the focusing step, the distance measuring sensor is controlled by the boot program to perform distance measurement, and the measurement result of the distance measuring sensor is used as input data of the boot program to control the distance measurement process through the boot program. Optionally, the distance measuring sensor is used to measure the distance between the projection device and the projection screen along the projection direction of the projection device, and then the distance is fed back to the boot program. Optionally, after the initialization process of the projection device is completed, the distance measuring sensor is controlled by the system program.

[0054] The projection screen is the carrier to which the image projected by the projection device arrives, and is used to carry the corresponding projection picture. There may be a corresponding relationship between the projection screen and the projection device, and the projection screen can be adaptively adjusted according to the projection direction of the projection device. Optionally, the projection screen includes, but is not limited to, a curtain, a wall, and an electronic screen (such as a touch-screen interactive projection screen). The screen distance is the distance between the projection device and the projection screen. Optionally, a boot program may be called to control a distance measuring sensor to measure the distance along the projection direction of the projection device to obtain the screen distance. Optionally, the projection device calls the boot program through an integrated circuit bus (Inter-Integrated Circuit, I2C), and controls the distance measuring sensor through the integrated circuit bus.

[0055] Since the screen distance is measured by calling the boot program to control the distance measuring sensor, this process does not require turning on the camera, which can avoid generating additional light information and will not produce projection, thereby preventing users from perceiving a blurry picture. At the same time, the screen distance measurement process is not driven by the system program, but by calling the boot program to control the distance measuring sensor, so as to avoid the projection picture from changing from blurry to clear.

[0056] Step 204: determining focus data corresponding to the screen distance based on the guidance program.

[0057] The focus data is the data required to adjust the focus process of the camera of the projection device. Optionally, the focus data is determined based on at least one component of the projection device, and the focal length of the camera can be changed by the component so that the projection image of the projection device can be clearly placed on the projection screen.

[0058] In one embodiment, determining the focus data corresponding to the screen distance based on the boot program includes: determining a preset focus relationship based on the boot program; and determining the focus data indicated by the screen distance by the boot program according to the preset focus relationship. The preset focus relationship is determined by the boot program, and the focus data indicated by the screen distance is adaptively adjusted. Optionally, the preset focus relationship can be determined by a preset mapping table to more quickly find the corresponding focus data.

[0059] In an optional implementation, determining a preset focus relationship based on a bootstrap program includes: determining a preset focus fitting function based on the bootstrap program.

[0060] Correspondingly, according to the preset focus relationship, the guide program determines the focus data indicated by the screen distance, including: controlling the guide program to calculate the screen distance according to the preset focus fitting function to obtain the focus data. Thus, the focus data is calculated by the preset focus fitting function to more accurately determine the focus data corresponding to any screen distance, thereby improving the accuracy of the focus processing, thereby improving the clarity of the projected image.

[0061] Step 206: Control the guidance program to perform focusing processing on the projection device according to the focusing data.

[0062] In one embodiment, according to the focus data, the control guidance program performs focus processing on the projection device, including: according to the focus data, the control guidance program calls the focus component of the projection device to perform focus processing, so as to complete the focus of the projection device through the focus component.

[0063] In one embodiment, after the control guidance program performs focusing processing on the projection device according to the focusing data, a focusing projection device can be obtained; the focusing projection device is used to execute step 208 .

[0064] Based on this, both step 202 and step 206 are steps of performing hardware control by replacing the system program with the boot program, and step 204 is a step of converting the data fed back by the distance sensor by replacing the system program with the boot program. Specifically, in step 202, the distance sensor is controlled by the boot program so that the boot program obtains the screen distance; in step 204, the screen distance is converted into corresponding focus data by the boot program, and the focus data is adjusted; next, in step 206, the boot program is controlled to control the focus processing of the projection device, which is a process of driving the projection device. Therefore, before starting the projection process of the projection device, the focus processing of the projection device is completed.

[0065] Step 208: Start the projection process of the projection device through the boot program.

[0066] The projection process is a process in which the projection device projects an image onto a projection screen to obtain a projection picture. Optionally, in the startup step of the projection process, it includes: projecting a power-on logo of the projection device onto the projection screen to indicate that the projection device is in a normal power-on state. The power-on logo of the projection device may be a logo of the manufacturer of the projection device.

[0067] Optionally, after the projection process of starting the projection device is completed, the boot program is started, and the projection process of the projection device is controlled by the system program.

[0068] In an optional embodiment, after the projection device is started, steps 202-206 are in the boot loader stage, and step 208 is in the kernel boot stage. Steps 202-206 are the first stage of the universal boot loader, which determines the storage location of the kernel such as the system program involved in the universal boot loader; and the kernel boot stage is the second stage of the universal boot loader, which starts the projection process of the projection device by completing the loading of the kernel such as the system program.

[0069] Optionally, there is a function of senseless focus in the projection system, which is to enable the user to complete the focus without the user's perception after changing the position of the projection and the screen, so that the projected picture is clear. If the projection device is implemented based on a system program, the senseless focus function is implemented by an application program in the system program environment after the system program is fully started. At the system program level, senseless focus only does not display the focus map, and it is impossible to be truly senseless, because during the senseless focus process, the picture will go from blurry to clear. In one embodiment of the present application, in the Uboot stage before the projection device emits light, the screen distance is obtained by a ranging sensor, and the number of steps of the focus motor is adjusted according to the screen distance to complete the focus, and the light is turned on to display the projection picture after the focus is completed. Thus, the focusing solution is completed before the projection device emits light, so when the user sees the first picture, it is already a clear picture, and truly senseless focus is achieved.

[0070] In the startup method of the projection device, the boot program is called to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the screen distance. Since the screen distance is measured by calling the boot program to control the distance measuring sensor, the process does not need to turn on the camera, which can avoid generating additional light information and will not generate projection, thereby preventing the user from perceiving a blurred image. The focus data corresponding to the screen distance is determined based on the boot program, so as to adaptively determine the focus data of the projection device for the screen distance in different environments. Based on the focus data, the boot program is controlled to perform focus processing on the projection device. Controlling the boot program to control the focus processing of the projection device is a process of driving the components of the projection device to focus. The projection process of the projection device is started through the boot program, so that when the focus is performed through the boot program, the projection device is started by the boot program to perform projection, thereby achieving focus while avoiding the change process of the image from blurred to clear, so as to display a clear projection image when the projection device is started.

[0071] In one embodiment, calling the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the screen distance includes:

[0072] Step 302: Call the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the measurement result of the distance measuring sensor.

[0073] The measurement result is the distance data measured by the ranging sensor controlled by the boot program. During the startup of the projection device, the system program initialization of the projection device has not been completed, and the measurement result has not been transmitted to the system program, and cannot be controlled by the system program. Specifically, when the boot program drives the ranging sensor to measure the distance, since the ranging sensor does not run based on the Android system or the iOS system, the measurement result can still be stored in the ranging sensor, or it can be stored by the ranging sensor through the integrated circuit bus.

[0074] In one embodiment, calling a boot program to control a distance measuring sensor to measure the distance between a projection device and a projection screen to obtain a measurement result of the distance measuring sensor includes: calling a boot program to load a driver of the distance measuring sensor; controlling the driver of the distance measuring sensor according to the boot program; controlling the distance measuring sensor through the driver of the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain a measurement result of the distance measuring sensor.

[0075] In a feasible implementation, calling a boot program to load a driver of a distance measuring sensor includes: calling a boot program to determine a storage location of the driver of the distance measuring sensor; determining the driver of the distance measuring sensor according to the storage location of the driver of the distance measuring sensor; loading the driver of the distance measuring sensor into a memory to obtain a loaded driver of the distance measuring sensor. Correspondingly, controlling the driver of the distance measuring sensor according to the boot program includes: controlling the loaded driver of the distance measuring sensor according to the boot program. Thus, the boot program replaces the system program to load the driver of the distance measuring sensor, and the main body code of the loading process changes relatively little, so that this solution can be more widely applied to the initialization process of various system programs.

[0076] In a feasible implementation, controlling the driver of the distance measuring sensor according to the boot program includes: sending measurement control data to the driver of the distance measuring sensor according to the boot program. Thus, the driver of the distance measuring sensor is completely controlled based on the boot program to more flexibly control the drivers of different distance measuring sensors.

[0077] In another feasible implementation, controlling the driver of the distance measuring sensor according to the boot program includes: starting the driver of the distance measuring sensor according to the boot program. Thus, the boot program only controls the starting process of the driver of the distance measuring sensor, and the driver of each distance measuring sensor can still use the original operation logic to drive the distance measuring sensor, so as to ensure that the driver of different distance measuring sensors can run stably, so that when the boot program replaces the system program to control the driver, the solution has higher compatibility and can be compatible with more drivers of distance measuring sensors.

[0078] The boot program is called to load and control the driver of the distance sensor, which changes the loading order and control order of the software and hardware drivers. The driver of the distance sensor is loaded as a program in the focus step, and can be loaded before the drivers of other software and hardware outside the focus step, so as to achieve focus without changing the picture from blur to clear. In addition, the driver of the distance sensor is still loaded, so that the modification of the boot program is relatively small and it can be better compatible with the driver of the distance sensor.

[0079] Step 304: call the boot program to obtain the measurement result of the distance measuring sensor to obtain the screen distance.

[0080] Optionally, the boot program is called to read the measurement result generated by the distance measuring sensor through the integrated circuit bus, so that the screen distance is transmitted to the boot program. Optionally, the screen distance is obtained by the boot program.

[0081] In one embodiment, calling a boot program to control a distance measuring sensor to measure the distance between a projection device and a projection screen to obtain a measurement result of the distance measuring sensor includes: calling a boot program to control the distance measuring sensor to measure the distance along a projection direction of the projection device through an integrated circuit bus to obtain the distance between the projection device and the projection screen; the distance is the measurement result of the distance measuring sensor.

[0082] Correspondingly, calling the boot program to obtain the measurement result of the distance measuring sensor to obtain the screen distance includes: calling the boot program to read the measurement result of the distance measuring sensor through the integrated circuit bus; and determining the screen distance according to the measurement result read by the boot program.

[0083] In this embodiment, on the one hand, the boot program is called to replace the system program to control the distance sensor to measure, so that the measurement process of the distance sensor can be started before the projection process is started; on the other hand, the boot program is called to replace the system program to obtain the measurement result of the distance sensor, so that the screen distance acquisition process can also be started before the projection process is started. Therefore, the screen distance measurement process and acquisition process can both be prior to the start step of the projection process, which can more reliably avoid the change process from blur to clarity of the picture, and can achieve focus.

[0084] In one embodiment, the projection device includes a focus component, and the driver of the focus component is loaded by the boot program. The focus component is a component used to perform focus processing on the projection device, and the driver of the focus component is loaded by the boot program instead of the system program.

[0085] In a feasible implementation, the driver of the focus component is loaded by the boot program, and the corresponding steps include: calling the boot program to determine the storage location of the driver of the focus component; determining the driver of the focus component according to the storage location of the driver of the focus component; loading the driver of the focus component into the memory to obtain the loaded driver of the focus component. Correspondingly, controlling the driver of the focus component according to the boot program includes: controlling the loaded driver of the focus component according to the boot program. Thus, the driver of the focus component is loaded by the boot program instead of the system program, and the main code of the loading process changes relatively little, so that this solution can be more widely applied to the initialization process of various system programs.

[0086] In a feasible implementation, controlling the driver of the focus component according to the boot program includes: sending measurement control data to the driver of the focus component according to the boot program. Thus, the driver of the focus component is controlled completely based on the boot program to more flexibly control the drivers of different focus components.

[0087] In another feasible implementation, controlling the driver of the focus component according to the boot program includes: starting the driver of the focus component according to the boot program. Thus, the boot program only controls the startup process of the driver of the focus component, and the driver of each focus component can still use the original operation logic to drive the focus component to ensure that the driver of different focus components can run stably, so that when the boot program replaces the system program to control the driver, the solution has higher compatibility and can be compatible with more driver of focus components.

[0088] Optionally, the focus data is determined based on a focus part of the projection device, so as to change the focal length of the camera through the focus part; optionally, the focus part includes but is not limited to a focus motor, a focus electromagnetic coil, or a liquid lens in the camera. Optionally, when the autofocus method is controlled based on a focus motor, the focus data is the number of steps of the focus motor, so as to change the focal length of the camera through the number of steps of the focus motor; when the autofocus method is controlled based on a focus electromagnetic coil, the focus data is data such as the current of the focus electromagnetic coil, so as to drive the camera to change the focal length through the magnetic force of the focus electromagnetic coil, etc.; when the autofocus method is controlled based on a liquid lens in the camera, the focus data is the shape of the liquid in the liquid lens, so as to change the optical path through the shape of the liquid in the liquid lens, thereby driving the camera to change the focal length.

[0089] According to the focus data, the guide program is controlled to perform focus processing on the projection device, including: according to the focus data, the guide program is controlled to call a driver of the focus component; and the focus component is driven by the driver of the focus component to perform focus processing on the projection device.

[0090] The boot program is called to load and control the driver of the focus part, which changes the loading order and control order of the software and hardware drivers. The driver of the focus part is loaded as a program in the focus step, and can be loaded before the drivers of other software and hardware outside the focus step, so as to achieve focus without changing the picture from blur to clear. In addition, the driver of the focus part is still loaded, so that the modification of the boot program is relatively small, and it can be better compatible with the driver of the focus part.

[0091] In a specific implementation, the driver program of the ranging sensor and the driver program of the focusing component are loaded simultaneously, so that the loading process of the two driver programs is carried out simultaneously, avoiding repeated loading of different driver programs, improving loading efficiency, and thus making the startup process of the projection device faster.

[0092] In one embodiment, determining focus data corresponding to the screen distance based on the guidance program includes: determining a preset focus relationship of the projection device based on the guidance program; and controlling the guidance program to map the screen distance according to the preset focus relationship to obtain the focus data.

[0093] In an optional embodiment, determining a preset focus relationship of a projection device based on a boot program includes: determining a preset focus fitting function set for the projection device based on the boot program; wherein the preset focus fitting function is a fitting function obtained by adjusting and selecting multiple focus relationship templates based on focus sample data.

[0094] Correspondingly, the control guide program maps the screen distance according to the preset focus relationship to obtain the focus data, including: controlling the guide program to calculate the screen distance according to the preset focus fitting function to obtain the focus data. Thus, the focus data is calculated by the preset focus fitting function to more accurately determine the focus data corresponding to any screen distance, so that the accuracy of the focus processing is higher, thereby improving the clarity of the projected image.

[0095] In this embodiment, the preset focus relationship is set for the projection device, which is highly targeted. When the boot program replaces the system program to determine the preset focus relationship, more accurate focus data can be obtained by mapping the screen distance according to the preset focus relationship, so that the projection device after the focus processing can project a clearer projection picture to avoid the picture from changing from blurred to clear.

[0096] In one embodiment, before determining a preset focus relationship of the projection device based on a boot program, the method further includes: adjusting multiple focus relationship templates based on the fit of multiple focus relationship templates under focus sample data to obtain each candidate focus relationship; selecting a preset focus relationship from each candidate focus relationship according to the conditions satisfied by the fit of each candidate focus relationship; wherein the fit is used to characterize the degree of consistency between the projection picture clarity determined by multiple focus relationship templates based on the focus sample data and the actual clarity.

[0097] The focus sample data includes multiple distances measured by the distance measuring sensor of the projection device, and the focus data at each distance. Since the distance measuring sensor is installed on the projection device, different projection devices of the same type may also have differences, so the focus sample data corresponds to the projection device. Optionally, the focus sample data is the calibration data of the projection device. The focus sample data can be first substituted into the preset focus relationship to determine the parameters to be adjusted of the template, and then the fit under the focus sample data can be determined by the focus relationship template with the parameters to be adjusted; then, based on the fit, the parameters to be adjusted of the multiple focus relationship templates are adjusted respectively to obtain each candidate focus relationship.

[0098] The fit is used to characterize the similarity between the projection picture clarity and the real clarity. The fit includes but is not limited to the difference, ratio, variance and other data between the projection picture clarity and the real clarity. The real clarity is the clarity determined based on the projection image of the projection device event before the projection device is started this time. Optionally, the condition met by the fit can be the maximum value of the fit, or a certain fit can be within a certain range. Optionally, the real clarity is the clarity determined based on the projection image of the projection device event before the projection device leaves the factory.

[0099] The focus relationship template is a preset change trend of the focus data changing with the focus sample data. The preset change trend can be adjusted by the parameters of the focus relationship template, and the change trend based on the focus relationship template can also be adjusted to obtain each candidate focus relationship. Optionally, each focus relationship template can be a fitting function, and each fitting function can be a linear function, a quadratic function, a cubic function or other functions. The candidate focus relationship is a focus relationship template obtained by adjusting the focus relationship template, and the preset focus relationship of the projection device is the candidate focus relationship with the best fit.

[0100] Taking the quadratic function and the focus motor as an example, a focus relationship template is as follows: y = ax 2+ bx + c; where y is the number of motor steps of the focus motor, and x is the measured distance; the parameters [a, b, c] of the focus relationship template are the parameters to be adjusted by fitting the focus sample data. Then, the degree of fit of the focus relationship template with the parameters to be adjusted under the focus sample data is determined; and then, based on the degree of fit, the parameters to be adjusted [a, b, c] of the focus relationship template are adjusted respectively to obtain the candidate focus relationship of the focus relationship template.

[0101] In one embodiment, based on the fit of multiple focus relationship templates under the focus sample data, multiple focus relationship templates are adjusted respectively to obtain each candidate focus relationship, including: adjusting the parameters of each focus relationship template respectively based on the focus sample data until the fit of each focus relationship template is optimal, and each focus relationship template obtained after adjustment is respectively a candidate focus relationship. Thus, adjusting the parameters of each focus relationship template respectively can make the change trend of each focus relationship template relatively stable, and only adjusting the change speed of the change trend, the adjustment rate is relatively high, and the accuracy of the focus data calculated by the candidate focus relationship is better, so that the projection device after the focus processing can project a clearer projection picture.

[0102] In a feasible implementation, the parameters of each focus relationship template are adjusted based on the focus sample data until the fit of each focus relationship template is optimal, including: adjusting the parameters of each focus relationship template based on the focus sample data to obtain the adjusted focus relationship template; calculating the projection picture clarity of each adjusted focus relationship template based on the focus sample data, and then performing similarity calculation on the calculated projection picture clarity and the real clarity to obtain the fit of each focus relationship template until the fit of each adjusted focus relationship template is the largest. Therefore, when adjusting the parameters of each focus relationship template, the fit is gradually adjusted through the similarity of the clarity, so that the fitted projection picture clarity is closer to the real clarity, so that the projection device after the focus processing can project a clearer projection picture.

[0103] In a specific embodiment, during the parameter calibration process of the projection device before leaving the factory, based on the fit of multiple focus relationship templates under the focus sample data, multiple focus relationship templates are adjusted respectively to obtain various candidate focus relationships; from each candidate focus relationship, a preset focus relationship is selected according to the conditions satisfied by the fit of each candidate focus relationship; wherein, before leaving the factory can be before the equipment leaves the factory for the first time, or before the equipment leaves the factory again after being returned to the factory for repair.

[0104] At a certain stage before the projection device is started, based on the focus sample data, multiple focus relationship templates are adjusted respectively, and a more accurate candidate focus relationship is determined through the dynamically adjusted focus relationship template; on this basis, the fit of each candidate focus relationship is compared to select a preset focus relationship with higher accuracy. Therefore, when the screen distance is mapped according to the preset focus relationship, the focus data is more accurate, so that the projection device after the focus processing can project a clearer projection picture.

[0105] In one embodiment, the projection process of the projection device is started through a boot program, including: guiding the projection device that has completed the focus process through the boot program to project the projection image onto the projection screen until the projection process of the projection device is started; when the projection process of the projection device is started, calling the system program of the projection device to control the ranging sensor and the focus component of the projection device.

[0106] In one embodiment, guiding the projection device after the focus process is completed through a boot program to project the projection image onto the projection screen until the projection process of the projection device is started, which includes: guiding the projection device after the focus process is completed through a boot program, starting the system program, and projecting the startup image of the projection process as a projection image onto the projection screen until the system program of the projection device is started; wherein the startup image may include identification information such as a startup logo and a trademark.

[0107] Correspondingly, when the projection process of the projection device is started, the system program of the projection device is called to control the ranging sensor and the focusing component of the projection device, including: when the system program of the projection device is started, the ranging sensor and the focusing component of the projection device are controlled by the started system program.

[0108] First boot the projection device that has completed the focus processing, and then project the projection image onto the projection screen, which can better ensure that the focus step is executed before the projection process. Before and after the projection process of the projection device is started, the ranging sensor and the focus component of the projection device are no longer controlled by the boot program, but by the system program. This can avoid conflicts between the boot program and the system program, ensure the reliable operation of the projection device after startup, and enable this solution to be compatible with more projection devices.

[0109] In an exemplary embodiment, Figure 4As shown, taking the universal boot loader (Uboot) as a boot program and the focus motor as a focus component as an example, the overall process of this solution is explained, which includes: S402, the projector is powered on, and the driver program of the focus motor and the driver program of the distance sensor are loaded in the universal boot loader; S404, the universal boot loader measures the screen distance through the driver program of the distance sensor, and the distance of the distance sensor is read by the universal boot loader; S406, the universal boot loader adjusts the number of motor steps according to the distance to make the projection picture clear when the projection process is completed; S408, the universal boot loader performs the normal initialization of the projection device to light up the projection, and the boot logo is displayed normally until the universal boot loader is started. As a result, non-sensing focus is achieved in the Uboot stage, and focus is completed faster and earlier.

[0110] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0111] Based on the same inventive concept, the embodiment of the present application also provides a projection device startup device for implementing the projection device startup method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in the embodiments of the startup device of one or more projection devices provided below can refer to the limitations of the projection device startup method above, and will not be repeated here.

[0112] In an exemplary embodiment, Figure 5 As shown, a starting device for a projection device is provided, comprising:

[0113] The screen distance measuring module 502 is used to call the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the screen distance;

[0114] A focus data determination module 504, configured to determine focus data corresponding to the screen distance based on the boot program;

[0115] A projection device focusing module 506, configured to control the boot program to perform focusing processing on the projection device according to the focusing data;

[0116] The projection device starting module 508 is used to start the projection process of the projection device through the boot program.

[0117] In one embodiment, the screen distance measurement module 502 is used to:

[0118] Calling the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen, and obtaining the measurement result of the distance measuring sensor;

[0119] The boot program is called to obtain the measurement result of the distance measuring sensor to obtain the screen distance.

[0120] In one embodiment, the screen distance measurement module 502 is used to:

[0121] Calling the boot program to load the driver of the ranging sensor;

[0122] Controlling a driver of the distance measuring sensor according to the boot program;

[0123] The distance measuring sensor is controlled by a driver of the distance measuring sensor to measure the distance between the projection device and the projection screen, thereby obtaining a measurement result of the distance measuring sensor.

[0124] In one of the embodiments, the projection device includes a focus component, and a driver of the focus component is loaded by a boot program;

[0125] The projection device focusing module 506 is used to:

[0126] Controlling the boot program according to the focus data to call a driver of the focus component;

[0127] The focus component is driven by a driver of the focus component to perform focus processing of the projection device.

[0128] In one embodiment, the focus data determination module 504 is used to:

[0129] Determining a preset focus relationship of the projection device based on the guidance program;

[0130] The guiding program is controlled to map the screen distance according to the preset focus relationship to obtain focus data.

[0131] In one of the embodiments, the device further includes a preset focus relationship generation module, wherein the preset focus relationship generation module is configured to:

[0132] Based on the fit of the multiple focus relationship templates under the focus sample data, the multiple focus relationship templates are adjusted respectively to obtain respective candidate focus relationships;

[0133] Selecting the preset focus relationship from each of the candidate focus relationships according to the condition satisfied by the fit degree of each of the candidate focus relationships;

[0134] The degree of fit is used to characterize the consistency between the projection picture clarity determined by multiple focus relationship templates based on the focus sample data and the actual clarity.

[0135] In one embodiment, the projection device startup module 508 is used to:

[0136] The guiding program guides the projection device that has completed the focusing process to project the projection image onto the projection screen until the projection process of the projection device is started and completed;

[0137] When the projection process of the projection device is started and completed, the system program of the projection device is called to control the distance measuring sensor and the focusing component of the projection device.

[0138] Each module in the startup device of the projection device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0139] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for starting a projection device is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0140] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0141] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0142] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0143] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0144] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0145] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0146] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0147] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for starting a projection device, characterized in that: The method comprises: Calling the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the screen distance; Determine focus data corresponding to the screen distance based on the boot program; According to the focus data, controlling the guide program to perform focus processing on the projection device; The projection process of the projection device is started through the boot program.

2. The method according to claim 1, characterized in that The calling of the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the screen distance includes: Calling the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen, and obtaining the measurement result of the distance measuring sensor; The boot program is called to obtain the measurement result of the distance measuring sensor to obtain the screen distance.

3. The method according to claim 2, characterized in that The calling of the guide program controls the distance measuring sensor to measure the distance between the projection device and the projection screen, and obtains the measurement result of the distance measuring sensor, including: Calling the boot program to load the driver of the ranging sensor; Controlling a driver of the distance measuring sensor according to the boot program; The distance measuring sensor is controlled by a driver of the distance measuring sensor to measure the distance between the projection device and the projection screen, thereby obtaining a measurement result of the distance measuring sensor.

4. The method according to claim 1, characterized in that The projection device comprises a focus component, and a driver of the focus component is loaded by a boot program; The step of controlling the guiding program to perform focusing processing on the projection device according to the focusing data includes: Controlling the boot program according to the focus data to call a driver of the focus component; The focus component is driven by a driver of the focus component to perform focus processing of the projection device.

5. The method according to claim 1, characterized in that The determining the focus data corresponding to the screen distance based on the boot program includes: Determining a preset focus relationship of the projection device based on the guidance program; The guiding program is controlled to map the screen distance according to the preset focus relationship to obtain focus data.

6. The method according to claim 5, characterized in that Before determining the preset focus relationship of the projection device based on the boot program, the method further includes: Based on the fit of the multiple focus relationship templates under the focus sample data, the multiple focus relationship templates are adjusted respectively to obtain respective candidate focus relationships; Selecting the preset focus relationship from each of the candidate focus relationships according to the condition satisfied by the fit degree of each of the candidate focus relationships; The degree of fit is used to characterize the consistency between the projection picture clarity determined by multiple focus relationship templates based on the focus sample data and the actual clarity.

7. The method according to claim 1, characterized in that The step of starting the projection process of the projection device through the boot program includes: The guiding program guides the projection device that has completed the focusing process to project the projection image onto the projection screen until the projection process of the projection device is started and completed; When the projection process of the projection device is started and completed, the system program of the projection device is called to control the distance measuring sensor and the focusing component of the projection device.

8. A starting device for a projection device, characterized in that: The device comprises: A screen distance measurement module is used to call the boot program to control the distance measuring sensor to measure the distance between the projection device and the projection screen to obtain the screen distance; A focus data determination module, configured to determine focus data corresponding to the screen distance based on the boot program; A projection device focusing module, used for controlling the boot program to perform focusing processing on the projection device according to the focusing data; The projection device startup module is used to start the projection process of the projection device through the boot program.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.