Ship terminal brightness automatic adjusting method, device and equipment and storage medium
By collecting and processing ambient light information in real time, calculating the target brightness of the ship terminal and generating a brightness control signal, the automatic adjustment of the brightness of the ship terminal is achieved, solving the problem that brightness adjustment depends on user subjective judgment in the prior art, and achieving high efficiency and safety of brightness adjustment.
Patent Information
- Application Number
- CN202510291302.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-06-10
AI Technical Summary
In the prior art, the brightness adjustment of the ship terminal depends on the user's subjective judgment, the operation is complicated and error-prone, and the brightness adjustment of the segmented dimming mode is not smooth or frequently jumps, resulting in visual discomfort of the user and being unable to accurately adapt to complex lighting conditions.
By collecting the indoor and outdoor ambient light information of the cab, pre-processing obtains the indoor ambient light intensity and outdoor ambient light intensity, calculates the target brightness of the ship terminal, and generates a brightness control signal to realize automatic adjustment of the ship terminal brightness.
It realizes the efficiency and safety of brightness adjustment, and can automatically offset the impact of direct light or low-light environments on the ship terminal, ensure that the brightness is always within the comfort range of the human eye, reduce the display failure rate caused by human negligence, and maintain brightness stability.
Smart Images

Figure CN120129121A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of brightness adjustment, and more specifically, to a method, device, equipment, and storage medium for automatically adjusting the brightness of a ship terminal. Background Art
[0002] Modern ship cabins usually contain a large number of electronic device terminals. These electronic device terminals generally include parts such as a display module, a control module, a service processing module, and a structural member. Among them, both the display module and the control module contain light-emitting components for providing interface display and operation prompt functions. The visibility of these light-emitting components under different ambient light conditions directly affects the user's operation experience and communication efficiency. The ambient light intensity range in the cabin is very wide. If the brightness adjustment is not timely or too drastic, it may cause visual discomfort or operation errors for the crew.
[0003] Currently, traditional dimming methods mostly adopt manual dimming or segmented dimming. During manual dimming, the crew manually adjusts the brightness of the light-emitting components through buttons or menus on the terminal, and can flexibly adjust the brightness according to personal preferences or the current ambient light conditions. During segmented dimming, the ambient light intensity is divided into several intervals, and each interval corresponds to a fixed brightness value. When the ambient light intensity changes, the system switches the brightness according to the preset intervals, and can adapt to the light change to a certain extent.
[0004] However, the current methods of manual dimming or segmented dimming cannot meet the environmental requirements of the cabin where the light changes drastically. Manually adjusting the brightness depends on the user's subjective judgment, the operation is cumbersome and prone to errors, and the uneven or frequent jumping of the brightness adjustment in the segmented dimming mode may cause visual discomfort to the user and cannot accurately adapt to complex light conditions. Therefore, there is an urgent need for an adaptive dimming method that can automatically adjust the brightness of the terminal light-emitting components according to the ambient light intensity to ensure that the terminal can maintain good visibility under different light conditions. Summary of the Invention
[0005] In view of at least one defect or improvement requirement of the prior art, the present invention provides a method, device, equipment, and storage medium for automatically adjusting the brightness of a ship terminal, which is used to solve the problem that the existing method of manually adjusting the brightness depends on the user's subjective judgment, the operation is cumbersome and prone to errors, and the uneven or frequent jumping of the brightness adjustment in the segmented dimming mode may cause visual discomfort to the user and cannot accurately adapt to complex light conditions.
[0006] To achieve the above object, according to the first aspect of the present invention, there is provided a method for automatically adjusting the brightness of a ship terminal, including:
[0007] Preprocess the collected indoor and outdoor ambient light information of the cabin to obtain the indoor ambient light intensity and the outdoor ambient light intensity;
[0008] Calculate the target brightness of the ship terminal according to the indoor ambient light intensity and the outdoor ambient light intensity;
[0009] Generate a brightness control signal based on the target brightness of the ship terminal and adjust the brightness of the ship terminal to the target brightness of the ship terminal.
[0010] In a possible implementation manner, calculating the target brightness of the ship terminal according to the indoor ambient light intensity and the outdoor ambient light intensity further includes:
[0011] Calculate the difference sensitivity factor according to the indoor ambient light intensity and the outdoor ambient light intensity;
[0012] Calculate the initial brightness of the ship terminal according to the difference sensitivity factor, the indoor ambient light intensity and the outdoor ambient light intensity;
[0013] Perform an optimization process on the initial brightness of the ship terminal to obtain the target brightness of the ship terminal.
[0014] In a possible implementation manner, performing an optimization process on the initial brightness of the ship terminal to obtain the target brightness of the ship terminal further includes:
[0015] Determine the smoothing coefficient according to the current brightness of the ship terminal, the initial brightness of the ship terminal and a preset difference threshold;
[0016] Perform a smooth transition process according to the current brightness of the ship terminal, the initial brightness of the ship terminal and the smoothing coefficient to obtain the target brightness of the ship terminal.
[0017] In a possible implementation manner, calculating the target brightness of the ship terminal according to the indoor ambient light intensity and the outdoor ambient light intensity further includes:
[0018] If the indoor ambient light intensity exceeds the preset ambient light intensity range or the outdoor ambient light intensity exceeds the preset ambient light intensity range, then set the target brightness of the ship terminal to the preset brightness.
[0019] In a possible implementation manner, generating a brightness control signal based on the target brightness of the ship terminal and adjusting the brightness of the ship terminal to the target brightness of the ship terminal further includes:
[0020] Map the target brightness of the ship terminal to the brightness control signal range of the ship terminal to obtain the brightness control signal;
[0021] Determine the brightness adjustment of the ship terminal to the target brightness of the ship terminal according to the ship terminal brightness parameter and the brightness control signal.
[0022] In a possible implementation manner, mapping the target brightness of the ship terminal to the brightness control signal range of the ship terminal to obtain the brightness control signal further includes:
[0023] If the target brightness of the ship terminal exceeds the maximum preset brightness, the brightness control signal is set to the maximum value within the range of the brightness control signal;
[0024] If the target brightness of the ship terminal is less than the minimum preset brightness, the brightness control signal is set to the minimum value within the range of the brightness control signal;
[0025] If the target brightness of the ship terminal is between the maximum preset brightness and the minimum preset brightness, the brightness control signal is calculated by mapping according to the range of the brightness control signal.
[0026] In a possible implementation, adjusting the brightness of the ship terminal to the target brightness of the ship terminal according to the brightness parameter of the ship terminal and the brightness control signal further includes:
[0027] Calculating a brightness adjustment duty cycle according to the brightness control signal and the range of the brightness control signal;
[0028] Adjusting the brightness of the ship terminal to the target brightness of the ship terminal based on the brightness adjustment duty cycle;
[0029] Calculating an error according to the real-time brightness of the ship terminal and the target brightness of the ship terminal, and dynamically correcting the brightness of the ship terminal based on the error.
[0030] According to the second aspect of the present invention, there is also provided a device for automatically adjusting the brightness of a ship terminal, including:
[0031] An acquisition module configured to preprocess the acquired indoor and outdoor ambient light information of the cab to obtain the indoor ambient light intensity and the outdoor ambient light intensity;
[0032] A calculation module configured to calculate the target brightness of the ship terminal according to the indoor ambient light intensity and the outdoor ambient light intensity;
[0033] An adjustment module configured to generate a brightness control signal based on the target brightness of the ship terminal to adjust the brightness of the ship terminal to the target brightness of the ship terminal.
[0034] According to the third aspect of the present invention, there is also provided a device for automatically adjusting the brightness of a ship terminal, which includes at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit is caused to execute the steps of the method for automatically adjusting the brightness of a ship terminal according to any one of the above.
[0035] According to the fourth aspect of the present invention, there is also provided a storage medium storing a computer program executable by an access authentication device. When the computer program runs on the access authentication device, the access authentication device is caused to execute the steps of the method for automatically adjusting the brightness of a ship terminal as described in any one of the above.
[0036] Generally speaking, compared with the prior art by the above technical solutions conceived by the present invention, the following beneficial effects can be achieved:
[0037] A method for automatically adjusting the brightness of a ship terminal provided by the present invention realizes the efficiency and safety of brightness adjustment through a closed-loop architecture of environment perception-intelligent decision-making-precise control. It can automatically offset the influence of strong light direct irradiation (such as deck sunlight) or weak light environment (such as night navigation) on the ship terminal, ensuring that the brightness is always within the comfortable range of the human eye, regardless of whether the ship is sailing in sunny, cloudy, rainy or foggy weather, or in indoor / outdoor switching scenarios. By collecting the ambient light intensity inside and outside the cab in real time to calculate the target brightness of the ship terminal and generating a brightness control signal to adjust the brightness of the ship terminal to the target brightness of the ship terminal, the adjustment process of the brightness is relatively smooth, without dazzling flicker, making the brightness adjustment more in line with the comfort of the human eye, avoiding frequent changes, realizing a full-automatic adjustment process without manual adjustment of the brightness by the crew, reducing the display failure rate caused by human negligence, and maintaining the brightness stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0039] Figure 1 It is a schematic flowchart of an embodiment of the method for automatically adjusting the brightness of a ship terminal provided by the present invention;
[0040] Figure 2 Provided by the present invention Figure 1 It is a schematic flowchart of an embodiment of step S102 in the above;
[0041] Figure 3 It is a schematic flowchart of an embodiment of adjusting the brightness of a ship terminal provided by the present invention;
[0042] Figure 4 It is a schematic structural diagram of an embodiment of the device for automatically adjusting the brightness of a ship terminal provided by the present invention;
[0043] Figure 5 It is a schematic structural diagram of the device for automatically adjusting the brightness of a ship terminal provided by the embodiments of the present invention. Detailed Implementation Manner
[0044] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0045] The terms "first", "second", "third", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or devices.
[0046] The present invention provides a method, device, equipment and storage medium for automatically adjusting the brightness of a ship terminal, which will be described separately below.
[0047] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of an embodiment of the method for automatically adjusting the brightness of a ship terminal provided by the present invention. In a specific embodiment of the present invention, a method for automatically adjusting the brightness of a ship terminal is disclosed, including:
[0048] S101. Preprocess the collected indoor and outdoor ambient light information of the cab to obtain the indoor ambient light intensity and the outdoor ambient light intensity;
[0049] S102. Calculate the target brightness of the ship terminal according to the indoor ambient light intensity and the outdoor ambient light intensity;
[0050] S103. Generate a brightness control signal based on the target brightness of the ship terminal and adjust the brightness of the ship terminal to the target brightness of the ship terminal.
[0051] In the above embodiment, first, high-precision optical sensors are respectively arranged at key positions inside and outside the cab to capture the light changes inside and outside the cab in real time. Then, the collected original optical signals are filtered to remove noise interference and ensure the accuracy of the data. Then, through algorithm conversion, the processed optical signals are converted into specific indoor ambient light intensity and outdoor ambient light intensity values for subsequent calculations.
[0052] Introduce a difference-sensitive factor, combine the indoor and outdoor ambient light intensities through the difference-sensitive factor, and calculate the target brightness value of the ship terminal. The target brightness value is a brightness level that can not only ensure display clarity but also avoid crew eye fatigue. It is also possible to establish a user habit model based on historical brightness adjustment records (storage period ≥ 7 days) through a clustering algorithm (such as K-means), allowing manually set preference weights to override the system default parameters. When a sudden increase in ambient light intensity is detected (such as strong sunlight), start the emergency brightness reduction mode, and the target brightness drops to the safety threshold within 200 ms.
[0053] Utilize a microprocessor or a dedicated brightness control system to receive and parse the calculated target brightness value. According to the target brightness value, automatically adjust the brightness settings of the ship terminal (such as the display screen, console backlight, etc.), and achieve smooth and precise brightness adjustment through PWM (Pulse Width Modulation). Real-time monitor the actual brightness after adjustment, compare it with the target brightness, and form a closed-loop feedback system to ensure that the brightness is always maintained within the set optimal range and can respond quickly even when the environmental conditions change rapidly.
[0054] Compared with the prior art, a method for automatically adjusting the brightness of a ship terminal provided in this embodiment realizes the efficiency and safety of brightness adjustment through a closed-loop architecture of environmental perception-intelligent decision-making-precise control. It can automatically offset the influence of strong light direct irradiation (such as deck sunlight) or low-light environment (such as night navigation) on the ship terminal, ensuring that the brightness is always within the comfortable range of the human eye, regardless of whether the ship is sailing in sunny, cloudy, rainy or foggy weather, or in indoor / outdoor switching scenarios. By calculating the target brightness of the ship terminal by real-time collecting the indoor and outdoor ambient light intensities and generating a brightness control signal to adjust the brightness of the ship terminal to the target brightness of the ship terminal, the brightness adjustment process is relatively smooth, without dazzling flicker, making the brightness adjustment more in line with the comfort of the human eye, avoiding frequent changes, realizing a fully automatic adjustment process without the need for crew to manually adjust the brightness, reducing the display failure rate caused by human negligence, and maintaining brightness stability.
[0055] Please refer to Figure 2 , Figure 2 For the Figure 1 flow schematic diagram of an embodiment of step S102 provided by the present invention. In some embodiments of the present invention, calculating the target brightness of the ship terminal according to the indoor ambient light intensity and the outdoor ambient light intensity further includes:
[0056] S201. Calculate the difference-sensitive factor according to the indoor ambient light intensity and the outdoor ambient light intensity;
[0057] S202. Calculate the initial brightness of the ship terminal according to the difference-sensitive factor, the indoor ambient light intensity and the outdoor ambient light intensity;
[0058] S203. Optimize the initial brightness of the ship terminal to obtain the target brightness of the ship terminal.
[0059] In the above embodiment, the difference sensitivity factor is a quantitative index reflecting the influence degree of the indoor-outdoor light difference on the crew's vision. First, calculate the absolute value of the difference between the indoor ambient light intensity and the outdoor ambient light intensity (i.e., the indoor-outdoor brightness difference) to better simulate the sensitivity of the human eye to light changes. Then, according to a preset threshold value (10 cd / m 2 ), convert the indoor-outdoor brightness difference into a difference sensitivity factor. The larger this factor is, the greater the influence of the indoor-outdoor light difference on the crew's vision, and a more detailed brightness adjustment strategy is required to reduce the visual abruptness. The specific calculation formula of the difference sensitivity factor k is as follows:
[0060]
[0061] where |ΔL| represents the absolute value of the difference between the indoor ambient light intensity and the outdoor ambient light intensity.
[0062] Use the difference sensitivity factor to weight the indoor and outdoor ambient light intensities to obtain a preliminary brightness setting value. The specific calculation formula is as follows:
[0063]
[0064] where L in and L out represent the indoor ambient light intensity and the outdoor ambient light intensity respectively. The parameter α is a constant to prevent division by zero, which is used to prevent calculation errors caused by the denominator being zero. As a preferred embodiment, the parameter α is set to 0.1.
[0065] After the initial brightness is set, the initial brightness can be fine-tuned according to historical data and crew feedback to achieve the best visual comfort and work efficiency. At the same time, considering the navigation state of the ship (such as stationary, sailing, entering or leaving the port, etc.), dynamically adjust the brightness strategy to adapt to different navigation environments, and the brightness needs to be adjusted smoothly. Finally, the optimized brightness value is determined as the target brightness of the ship terminal, which not only meets the visual needs of the crew but also takes into account safety and work efficiency.
[0066] In some embodiments of the present invention, optimizing the initial brightness of the ship terminal to obtain the target brightness of the ship terminal further includes:
[0067] Determine a smoothing coefficient according to the current brightness of the ship terminal, the initial brightness of the ship terminal and a preset difference threshold;
[0068] Perform a smoothing transition process according to the current brightness of the ship terminal, the initial brightness of the ship terminal and the smoothing coefficient to obtain the target brightness of the ship terminal.
[0069] In the above embodiments, the smoothing coefficient β is a value between 0 and 1, which is used to control the smoothness of brightness adjustment. The greater the difference, the smaller the smoothing coefficient may be, which means that the brightness adjustment will be more rapid to adapt to environmental changes; the smaller the difference, the larger the smoothing coefficient may be, which means that the brightness adjustment will be more gradual to reduce the sudden impact on the crew's vision. The specific method for determining the smoothing coefficient is as follows:
[0070]
[0071] where, △L th is the preset difference threshold, and L current is the current brightness of the ship terminal.
[0072] Using the smoothing coefficient to "soften" the brightness change makes the process of the brightness transitioning from the current value to the initial brightness (i.e., the calculated ideal value) smoother. The difference between the current brightness and the initial brightness is distributed according to the smoothing coefficient, so as to gradually adjust the brightness value to obtain the target brightness of the ship terminal. This brightness value takes into account both the change in ambient light and the smoothness of brightness adjustment and the comfort of the crew's vision. Specifically as follows:
[0073] L target = β·L current +(1 - β)·L initial .
[0074] In some embodiments of the present invention, calculating the target brightness of the ship terminal according to the indoor ambient light intensity and the outdoor ambient light intensity further includes:
[0075] If the indoor ambient light intensity exceeds the preset ambient light intensity range or the outdoor ambient light intensity exceeds the preset ambient light intensity range, the target brightness of the ship terminal is set to the preset brightness.
[0076] In the above embodiments, during actual navigation, the indoor and outdoor ambient light intensities may encounter extreme situations, such as the indoor lights being too bright and causing glare, or the outdoor sunlight shining directly and causing strong reflections. During the brightness calculation process, it is necessary to set the preset ranges of the indoor and outdoor ambient light intensities. These ranges are set based on research on crew visual comfort, analysis of terminal display characteristics, and consideration of the navigation environment, aiming to ensure that the brightness adjustment algorithm can provide appropriate brightness settings in most cases.
[0077] When it is detected that the indoor ambient light intensity exceeds the preset range, it indicates that the indoor light is too strong or too weak, which may cause discomfort to the crew's eyes or affect work efficiency. At this time, the brightness adjustment system will set the target brightness of the ship terminal to a preset brightness value L default, this value is usually a medium and comfortable brightness level, which can reduce the negative impact on the crew's vision.
[0078] It should be noted that the setting of the preset brightness should be a flexible and adjustable parameter, which can be adjusted according to different navigation environments, crew needs and terminal characteristics. At the same time, the system should also have an automatic recovery function. When the ambient light intensity returns to the normal range, it can automatically recalculate and apply the new target brightness value.
[0079] In some embodiments of the present invention, generating a brightness control signal based on the target brightness of the ship terminal to adjust the brightness of the ship terminal to the target brightness of the ship terminal further includes:
[0080] Mapping the target brightness of the ship terminal to the brightness control signal range of the ship terminal to obtain a brightness control signal;
[0081] Determining to adjust the brightness of the ship terminal to the target brightness of the ship terminal according to the brightness parameter of the ship terminal and the brightness control signal.
[0082] In the above embodiments, the brightness control signal range of the ship terminal is usually defined by the hardware characteristics and control interface of the ship terminal. It defines the minimum and maximum values that the brightness control signal can take, as well as the brightness levels corresponding to these values. Mapping the calculated target brightness of the ship terminal to this range to obtain a specific brightness control signal value. This value is within the brightness control signal range of the ship terminal and corresponds to the target brightness value, and can be used to control the brightness adjustment mechanism of the ship terminal to achieve the setting of the target brightness.
[0083] During the adjustment process, the brightness parameters of the ship terminal need to be considered. These parameters may include the step size, response time and stability of brightness adjustment, etc. According to the brightness control signal and brightness parameters, the brightness adjustment mechanism will gradually adjust the brightness level of the ship terminal until the target brightness value is reached. During the adjustment process, the brightness change can also be monitored in real time and fine-tuned as needed, which can further improve the accuracy and stability of brightness adjustment and ensure that the brightness of the ship terminal always remains near the target level.
[0084] In some embodiments of the present invention, mapping the target brightness of the ship terminal to the brightness control signal range of the ship terminal to obtain a brightness control signal further includes:
[0085] If the target brightness of the ship terminal exceeds the preset brightness maximum value, set the brightness control signal to the maximum value of the brightness control signal range;
[0086] If the target brightness of the ship terminal is less than the preset brightness minimum value, set the brightness control signal to the minimum value of the brightness control signal range;
[0087] If the target brightness of the ship terminal is between the preset maximum brightness and the preset minimum brightness, the brightness control signal is calculated by mapping according to the brightness control signal range.
[0088] In the above embodiment, according to the target brightness L of the ship terminal target and the preset brightness range [L min , L max , the brightness value is converted into a brightness control signal C compatible with the hardware signal , when Ltarget is within the normal range (that is, between the preset maximum brightness and the preset minimum brightness), a piecewise linear function is used for mapping:
[0089]
[0090] where C min , C max are the minimum and maximum values of the brightness control signal range of the ship terminal.
[0091] To prevent out-of-bounds problems caused by floating-point operation errors or sensor abnormalities, hard constraints need to be imposed on the mapping results:
[0092]
[0093] When the target brightness of the ship terminal exceeds the preset maximum brightness, if this value is directly applied for brightness adjustment, it may cause the brightness of the ship terminal to be too high, thus causing discomfort or damage to the crew's eyes. Therefore, in this case, the brightness adjustment system will set the brightness control signal to the maximum value of the brightness control signal range. This maximum value usually corresponds to the maximum brightness level that the ship terminal can safely display to ensure that it will not cause visual harm to the crew.
[0094] Similar to the case where the preset maximum brightness is exceeded, when the target brightness of the ship terminal is lower than the preset minimum brightness, if this value is directly applied for brightness adjustment, it may cause the brightness of the ship terminal to be too low, thus affecting the readability of the displayed content and the work efficiency of the crew. In this case, the brightness adjustment system will set the brightness control signal to the minimum value of the brightness control signal range. This minimum value usually corresponds to the minimum brightness level at which the ship terminal can clearly display the content to ensure the readability of the displayed content.
[0095] When the target brightness of the ship terminal is between the preset maximum brightness and the minimum brightness, it indicates that the target brightness is within the safe brightness adjustment range. At this time, the brightness adjustment system will perform a mapping calculation based on the brightness control signal range to obtain a specific brightness control signal value. The mapping calculation may involve methods such as linear transformation, non-linear transformation, or look-up tables, depending on the brightness control characteristics of the ship terminal and the required adjustment accuracy. The result of the mapping calculation is a specific brightness control signal value that is within the brightness control signal range and corresponds to the target brightness value.
[0096] Please refer to Figure 3 , Figure 3 which is a schematic flowchart of a process of an embodiment for adjusting the brightness of a ship terminal provided by the present invention. In some embodiments of the present invention, adjusting the brightness of the ship terminal to the target brightness of the ship terminal according to the ship terminal brightness parameter and the brightness control signal further includes:
[0097] S301. Calculate the brightness adjustment duty cycle according to the brightness control signal and the brightness control signal range;
[0098] S302. Adjust the brightness of the ship terminal to the target brightness of the ship terminal based on the brightness adjustment duty cycle;
[0099] S303. Calculate the error according to the real-time brightness of the ship terminal and the target brightness of the ship terminal, and dynamically correct the brightness of the ship terminal based on the error.
[0100] In the above embodiment, converting the brightness control signal into a brightness adjustment duty cycle represents a parameter that indicates the time ratio of the on and off of a brightness adjustment mechanism (such as an LED driver, a dimming circuit, etc.) within a period of time. By linear interpolation or other appropriate mathematical methods, the brightness control signal is mapped onto the duty cycle range to obtain a specific duty cycle value, and the duty cycle value will directly control the output of the brightness adjustment mechanism, thereby affecting the brightness level of the ship terminal.
[0101] Applying the brightness adjustment duty cycle to the brightness adjustment mechanism of the ship terminal, adjusting its output according to the value of the duty cycle, thereby changing the brightness level of the ship terminal. The brightness adjustment mechanism can be an electronic dimming circuit, a PWM (pulse width modulation) controller, or other types of brightness adjustment devices. Regardless of which mechanism is adopted, its goal is to accurately adjust the brightness level according to the duty cycle to reach the target brightness. During this process, it is necessary to monitor the brightness change in real time and perform fine adjustment as needed to further improve the accuracy and stability of the brightness adjustment.
[0102] To ensure the accuracy of brightness adjustment, the system needs to continuously monitor the brightness level of the ship terminal and compare it with the target brightness. The result of this comparison is an error value, which represents the difference between the current brightness and the target brightness. If the error value exceeds the preset tolerance range, the brightness will be dynamically corrected. The correction process involves adjusting the brightness adjustment duty cycle, changing the brightness adjustment strategy, or taking other measures to reduce the error. The goal of dynamic correction is to make the brightness level of the ship terminal as close as possible to the target brightness value while maintaining the stability and smoothness of the adjustment process. Through continuous monitoring and correction, the system can gradually reduce the error until the required brightness accuracy is achieved.
[0103] To better implement the automatic brightness adjustment method for ship terminals in the embodiments of the present invention, based on the automatic brightness adjustment method for ship terminals, correspondingly, please refer to Figure 4 , Figure 4 which is a schematic structural diagram of an embodiment of the automatic brightness adjustment device for ship terminals provided by the present invention. The embodiments of the present invention provide an automatic brightness adjustment device 400 for ship terminals, including:
[0104] An acquisition module 410, which is configured to preprocess the acquired ambient light information inside and outside the cab to obtain the indoor ambient light intensity and the outdoor ambient light intensity;
[0105] A calculation module 420, which is configured to calculate the target brightness of the ship terminal according to the indoor ambient light intensity and the outdoor ambient light intensity;
[0106] An adjustment module 430, which is configured to generate a brightness control signal based on the target brightness of the ship terminal and adjust the brightness of the ship terminal to the target brightness of the ship terminal.
[0107] It should be noted here that: The device 400 provided in the above embodiments can implement the technical solutions described in the above method embodiments. The specific implementation principles of the above modules or units can be referred to the corresponding content in the above method embodiments, and will not be elaborated here.
[0108] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of the automatic brightness adjustment device for ship terminals provided by the embodiments of the present invention. Based on the above automatic brightness adjustment method for ship terminals, the present invention also correspondingly provides an automatic brightness adjustment device for ship terminals. The automatic brightness adjustment device for ship terminals can be a computing device such as a mobile terminal, a desktop computer, a notebook, a palm computer, and a server. The automatic brightness adjustment device 500 for ship terminals includes a processor 510, a memory 520, and a display 530. Figure 5 Only some components of the automatic brightness adjustment device for ship terminals are shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented.
[0109] The memory 520 can be an internal storage unit of the ship terminal brightness automatic adjustment device 500 in some embodiments, such as the hard disk or memory of the ship terminal brightness automatic adjustment device 500. The memory 520 can also be an external storage device of the ship terminal brightness automatic adjustment device 500 in some other embodiments, such as a plug-in hard disk equipped on the ship terminal brightness automatic adjustment device 500, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory 520 can also include both the internal storage unit of the ship terminal brightness automatic adjustment device 500 and the external storage device. The memory 520 is used to store the application software and various types of data installed on the ship terminal brightness automatic adjustment device 500, such as the program code for installing the ship terminal brightness automatic adjustment device 500. The memory 520 can also be used to temporarily store the data that has been output or will be output. In one embodiment, a ship terminal brightness automatic adjustment program 540 is stored on the memory 520, and the ship terminal brightness automatic adjustment program 540 can be executed by the processor 510, so as to implement the ship terminal brightness automatic adjustment method of each embodiment of the present application.
[0110] The processor 510 can be a Central Processing Unit (CPU), a microprocessor or other data processing chips in some embodiments, and is used to run the program code stored in the memory 520 or process data, such as executing the ship terminal brightness automatic adjustment method, etc.
[0111] The display 530 can be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. in some embodiments. The display 530 is used to display the information in the ship terminal brightness automatic adjustment device 500 and to display a visual user interface. The components 510 - 530 of the ship terminal brightness automatic adjustment device 500 communicate with each other through the system bus.
[0112] In one embodiment, when the processor 510 executes the ship terminal brightness automatic adjustment program 540 in the memory 520, the steps in the above ship terminal brightness automatic adjustment method are implemented.
[0113] This embodiment also provides a computer-readable storage medium, on which a ship terminal brightness automatic adjustment program is stored. When the ship terminal brightness automatic adjustment program is executed by a processor, the following steps are implemented:
[0114] Preprocess the collected indoor and outdoor ambient light information of the cab to obtain the indoor ambient light intensity and the outdoor ambient light intensity;
[0115] Calculate the target brightness of the ship terminal according to the indoor ambient light intensity and the outdoor ambient light intensity;
[0116] Generate a brightness control signal based on the target brightness of the ship terminal to adjust the brightness of the ship terminal to the target brightness of the ship terminal.
[0117] In summary, an automatic brightness adjustment method for a ship terminal provided by the present invention realizes the efficiency and safety of brightness adjustment through a closed-loop architecture of environment perception-intelligent decision-making-precise control. It can automatically offset the influence of strong light direct irradiation (such as deck sunlight) or low-light environment (such as night navigation) on the ship terminal, ensuring that the brightness is always within the comfortable range of the human eye, regardless of whether the ship is sailing in sunny, cloudy, rainy or foggy weather, or in indoor / outdoor switching scenarios. By collecting the indoor and outdoor ambient light intensities of the cab in real time to calculate the target brightness of the ship terminal and generating a brightness control signal to adjust the brightness of the ship terminal to the target brightness of the ship terminal, the brightness adjustment process is relatively smooth, without dazzling flicker, making the brightness adjustment more in line with the comfort of the human eye, avoiding frequent changes, realizing a fully automatic adjustment process without manual adjustment of the brightness by the crew, reducing the display failure rate caused by human negligence, and maintaining brightness stability.
[0118] This application also provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the steps of the above method are implemented. Among them, the computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical discs, DVDs, CD-ROMs, microdrives, and magneto-optical discs, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0119] It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action sequence, because according to this application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0120] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0121] In several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling, direct coupling, or communication connection between each other can be through some service interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical or other form.
[0122] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] In addition, in each embodiment of this application, each functional unit can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0124] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of this application. The aforementioned memory includes: USB flash drive, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disc, etc., which can store program codes.
[0125] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program. This program can be stored in a computer-readable memory. The memory can include: flash drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disc, etc.
[0126] The above are only exemplary embodiments of the present disclosure, and the scope of the present disclosure cannot be limited thereby. That is, any equivalent changes and modifications made in accordance with the teachings of the present disclosure still fall within the scope covered by the present disclosure. Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not described in the present disclosure. The specification and embodiments are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.
[0127] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, 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, it should be considered as the scope described in this specification.
[0128] It is easy for those skilled in the art to understand that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for automatically adjusting brightness of a ship terminal, characterized in that: include: Preprocessing the collected indoor and outdoor ambient light information to obtain indoor ambient light intensity and outdoor ambient light intensity; Calculating the ship terminal target brightness according to the indoor ambient light intensity and the outdoor ambient light intensity; A brightness control signal is generated based on the target brightness of the ship terminal to adjust the brightness of the ship terminal to the target brightness of the ship terminal.
2. The method for automatically adjusting brightness of a ship terminal according to claim 1, characterized in that: The calculating of the ship terminal target brightness according to the indoor ambient light intensity and the outdoor ambient light intensity also includes: Calculating a difference sensitivity factor according to the indoor ambient light intensity and the outdoor ambient light intensity; Calculate the initial brightness of the ship terminal according to the difference sensitivity factor, the indoor ambient light intensity and the outdoor ambient light intensity; The initial brightness of the ship terminal is optimized to obtain the target brightness of the ship terminal.
3. The method for automatically adjusting brightness of a ship terminal according to claim 2, characterized in that: The optimizing process for the initial brightness of the ship terminal to obtain the target brightness of the ship terminal also includes: Determine a smoothing coefficient according to the current brightness of the ship terminal, the initial brightness of the ship terminal and a preset difference threshold; The target brightness of the ship terminal is obtained by performing a smooth transition process according to the current brightness of the ship terminal, the initial brightness of the ship terminal and the smoothing coefficient.
4. The method for automatically adjusting brightness of a ship terminal according to claim 1, characterized in that: The calculating of the ship terminal target brightness according to the indoor ambient light intensity and the outdoor ambient light intensity also includes: If the indoor ambient light intensity exceeds the preset ambient light intensity range or the outdoor ambient light intensity exceeds the preset ambient light intensity range, the ship terminal target brightness is set to the preset brightness.
5. The method for automatically adjusting brightness of a ship terminal according to claim 1, characterized in that: The step of generating a brightness control signal based on the target brightness of the ship terminal to adjust the brightness of the ship terminal to the target brightness of the ship terminal further includes: Mapping the target brightness of the ship terminal to a brightness control signal range of the ship terminal to obtain a brightness control signal; The brightness of the ship terminal is adjusted to the target brightness of the ship terminal according to the brightness parameter of the ship terminal and the brightness control signal.
6. The method for automatically adjusting brightness of a ship terminal according to claim 5, characterized in that: The step of mapping the target brightness of the ship terminal to the brightness control signal range of the ship terminal to obtain a brightness control signal further includes: If the ship terminal target brightness exceeds the preset maximum brightness, the brightness control signal is set to the maximum value of the brightness control signal range; If the target brightness of the ship terminal is less than the preset minimum brightness value, the brightness control signal is set to the minimum value of the brightness control signal range; If the target brightness of the ship terminal is between the preset maximum brightness value and the preset minimum brightness value, the brightness control signal is mapped and calculated according to the brightness control signal range.
7. The method for automatically adjusting brightness of a ship terminal according to claim 5, characterized in that: The step of adjusting the brightness of the ship terminal to the target brightness of the ship terminal according to the brightness parameter of the ship terminal and the brightness control signal further includes: Calculating a brightness adjustment duty cycle according to the brightness control signal and the brightness control signal range; Adjusting the brightness of the ship terminal to the target brightness of the ship terminal based on the brightness adjustment duty cycle; The error is calculated according to the real-time brightness of the ship terminal and the target brightness of the ship terminal, and the brightness of the ship terminal is dynamically corrected based on the error.
8. A device for automatically adjusting brightness of a ship terminal, characterized in that: include: A collection module is configured to pre-process the collected indoor and outdoor ambient light information of the driving room to obtain the indoor ambient light intensity and the outdoor ambient light intensity; A calculation module, configured to calculate the ship terminal target brightness according to the indoor ambient light intensity and the outdoor ambient light intensity; The adjustment module is configured to generate a brightness control signal based on the target brightness of the ship terminal to adjust the brightness of the ship terminal to the target brightness of the ship terminal.
9. A ship terminal brightness automatic adjustment device, characterized in that: It comprises at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of the method for automatic brightness adjustment of a ship terminal according to any one of claims 1 to 7.
10. A storage medium, characterized in that: It stores a computer program executable by an access authentication device. When the computer program runs on the access authentication device, the access authentication device executes the steps of the method for automatically adjusting the brightness of a ship terminal according to any one of claims 1 to 7.