Method and system for adjusting color of terminal in vehicle, and electronic device and storage medium
By detecting the driver's driving status and generating color adjustment instructions, the color of the terminal in the vehicle is automatically adjusted, which solves the problem of high user dependence on manual adjustment in the existing technology and improves the performance utilization of the vehicle.
Patent Information
- Application Number
- PCT/CN2024/077778
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-19
- Filing Date
- 2024-02-20
- Publication Date
- 2024-10-24
AI Technical Summary
Existing vehicles require users to manually adjust the terminal color, which is highly dependent and fails to give full play to vehicle performance.
By acquiring the driver's head data and combining it with the pre-established driver coordinate system, trajectory data and expression feature data, the driver's driving status is detected, color adjustment instructions are generated, and the terminal color in the vehicle is automatically adjusted.
It simplifies user operations, improves vehicle utilization, gives full play to vehicle performance, and avoids reliance on manual adjustments.
Smart Images

Figure CN2024077778_24102024_PF_FP_ABST
Abstract
Description
Terminal color adjustment method, system, electronic device and storage medium in vehicle
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 19, 2023, with application number 202310445308.6 and invention name “Terminal color adjustment method, system, electronic device and storage medium in a vehicle”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present invention relates to the field of automobile safety technology, and in particular to a terminal color adjustment method in a vehicle, a terminal color adjustment system in a vehicle, an electronic device, and a computer-readable storage medium. Background Art
[0003] Nowadays, the size of car screens installed in many vehicles (especially new energy vehicles) is gradually increasing, and the proportion of colored ambient lights is also increasing rapidly. Users can actively set the theme background color and ambient light color of the car screen through the central control system.
[0004] Therefore, existing vehicles need to rely on users to manually adjust the terminal color, which is highly dependent on users and does not give full play to the performance of the vehicle.
[0005] Summary of the Invention
[0006] In view of the above problems, embodiments of the present invention are proposed to provide a method for adjusting terminal color in a vehicle, a system for adjusting terminal color in a vehicle, an electronic device, and a computer-readable storage medium that overcome the above problems or at least partially solve the above problems.
[0007] In order to solve the above problems, according to a first aspect of an embodiment of the present invention, a method for adjusting the color of a terminal in a vehicle is disclosed, the method comprising: obtaining head data of a driver; detecting and obtaining a driving status result of the driver based on the head data and at least one of a pre-established driver coordinate system, preset trajectory data, and preset expression feature data; generating a first color adjustment instruction based on the driving status result and preset multiple color adjustment rule information; and adjusting the color of the terminal in the vehicle according to the first color adjustment instruction.
[0008] Optionally, the driving status result of the driver is detected based on the head data and at least one of the pre-established driver coordinate system, preset trajectory data and preset expression feature data, including: judging whether the driver's head and / or line of sight are within a preset compliance area based on the current head position information and / or current line of sight information in the head data and the driver coordinate system, and obtaining the driver's head status result and / or line of sight status result.
[0009] Optionally, the driving status result of the driver is detected based on the head data and at least one of the pre-established driver coordinate system, preset trajectory data and preset expression feature data, including: judging whether the driver is in a dangerous driving state based on the head dynamic data and the trajectory data in the head data, and obtaining the driving status result of the driver.
[0010] Optionally, the driving status result of the driver is detected based on the head data and at least one of the pre-established driver coordinate system, preset trajectory data and preset expression feature data, including: identifying the expression status result of the driver based on the facial attribute data in the head data and the expression feature data.
[0011] Optionally, generating a first color adjustment instruction based on the driving status result and multiple preset color adjustment rule information includes: comparing the driving status result with the rule results in the multiple color adjustment rule information respectively; and extracting the first color adjustment instruction from the color adjustment rule information containing the rule result that is the same as the driving status result.
[0012] Optionally, adjusting the terminal color in the vehicle according to the first color adjustment instruction includes: adjusting the screen color and / or the ambient light color in the vehicle according to the first color adjustment instruction.
[0013] Optionally, the method includes: obtaining a passenger's head dynamic data; judging whether the passenger is in a sleeping state based on the head dynamic data and the trajectory data, and obtaining a sleeping state result of the passenger; generating a second color adjustment instruction based on the sleeping state result and a plurality of the color adjustment rule information; and adjusting the terminal color in the vehicle according to the second color adjustment instruction.
[0014] According to a second aspect of an embodiment of the present invention, a terminal color adjustment system in a vehicle is also disclosed, the system comprising: a data acquisition module for acquiring head data of a driver; a data detection module for detecting and obtaining a driving status result of the driver based on the head data and at least one of a pre-established driver coordinate system, preset trajectory data, and preset expression feature data; an instruction generation module for generating a first color adjustment instruction based on the driving status result and a plurality of preset color adjustment rule information; and a color adjustment module for adjusting the terminal color in the vehicle according to the first color adjustment instruction.
[0015] Optionally, the data detection module includes: a head sight result detection module, which is used to determine whether the driver's head and / or sight is within a preset compliance area based on the current head position information and / or current sight information in the head data, and the driver coordinate system, and obtain the driver's head status result and / or sight status result.
[0016] Optionally, the data detection module includes: a driving status result detection module, which is used to determine whether the driver is in a dangerous driving state based on the head dynamic data and the trajectory data in the head data, and obtain the driving status result of the driver.
[0017] Optionally, the data detection module includes: an expression state result detection module, which is used to identify the expression state result of the driver based on the facial attribute data and the expression feature data in the head data.
[0018] Optionally, the instruction generation module includes: a result comparison module, used to compare the driving status result with the rule results in the multiple color adjustment rule information; an instruction extraction module, used to extract the first color adjustment instruction from the color adjustment rule information where the rule result identical to the driving status result is located.
[0019] Optionally, the color adjustment module is used to adjust the screen color and / or ambient light color in the vehicle according to the first color adjustment instruction.
[0020] Optionally, the data acquisition module is further used to obtain the passenger's head dynamic data; the data detection module is further used to determine whether the passenger is in a sleeping state based on the head dynamic data and the trajectory data, and obtain the passenger's sleeping state result; the instruction generation module is further used to generate a second color adjustment instruction based on the sleeping state result and multiple color adjustment rule information; the color adjustment module is further used to adjust the terminal color in the vehicle according to the second color adjustment instruction.
[0021] According to a third aspect of an embodiment of the present invention, an electronic device is also disclosed, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method for adjusting the terminal color in a vehicle as described in the first aspect is implemented.
[0022] According to a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is further disclosed, on which a computer program is stored. When the program is executed by a processor, the method for adjusting the color of a terminal in a vehicle described in the first aspect is implemented.
[0023] According to a fifth aspect of an embodiment of the present invention, a computer program product is also disclosed, comprising a computer-readable code. When the computer-readable code is run on an electronic device, the electronic device executes the terminal color adjustment method in a vehicle as described in the first aspect.
[0024] Compared with the prior art, the technical solution provided by the embodiment of the present invention has the following advantages:
[0025] An embodiment of the present invention provides a terminal color adjustment solution within a vehicle. This solution obtains driver head data and detects the driver's driving state based on the driver's head data and at least one of a pre-established driver coordinate system, preset trajectory data, and preset facial expression data. Furthermore, a first color adjustment instruction is generated based on the driver's driving state and multiple preset color adjustment rule information. Finally, the color of the terminal within the vehicle is adjusted according to the first color adjustment instruction.
[0026] The embodiment of the present invention can pre-establish a driver coordinate system, or preset at least one of trajectory data and expression feature data. When the driver's head data is obtained, the driver's driving status result can be detected based on the driver's head data and one of the driver's coordinate system, trajectory data and expression feature data. Then, a first color adjustment instruction is generated in combination with the driving status result and a plurality of preset color adjustment rule information. Finally, the terminal color in the vehicle is adjusted according to the first color adjustment instruction. The embodiment of the present invention avoids manual operation by the user. Based on the preset driver coordinate system, trajectory data or expression feature data, the driver's driving status result can be automatically detected and the first color adjustment instruction is generated according to the color adjustment rule information. The user does not need to input the color adjustment instruction, which simplifies the user's operation steps, improves the utilization rate of the vehicle, and gives full play to the performance of the vehicle.
[0027] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0029] FIG1 schematically shows a flowchart of a method for adjusting the color of a terminal in a vehicle according to an embodiment of the present invention;
[0030] FIG2 schematically shows a structural diagram of a solution for intelligently adjusting the color inside a vehicle according to an embodiment of the present invention;
[0031] FIG3 schematically shows a structural block diagram of a terminal color adjustment system in a vehicle according to an embodiment of the present invention;
[0032] FIG4 schematically shows a structural block diagram of an electronic device according to an embodiment of the present invention. Specific embodiments
[0033] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0034] 1 , a flowchart of a method for adjusting the color of a terminal in a vehicle according to an embodiment of the present invention is shown. The method for adjusting the color of a terminal in a vehicle may specifically include the following steps:
[0035] Step 101: Acquire the driver's head data.
[0036] In embodiments of the present invention, camera-based data can be used to capture driver head data. This head data can provide information about the driver's behavior, such as head posture, facial expressions, and fatigue level. The following information may be included in the head data: Head posture: Head data can display the driver's head orientation, tilt, and rotation, as well as neck movement. This information can be used to estimate the driver's gaze direction and attention. For example, if the driver frequently turns their head left or right, it may indicate that they are looking for specific road signs or scenery. Facial expression: Head data can capture the driver's facial expressions, such as smiles, frowns, and sleepiness. This information can be used to determine the driver's emotional state. If the driver appears tired or frustrated, they may need to be reminded to rest or change drivers. Fatigue level: Head data can be used to assess the driver's fatigue level, for example, by analyzing the driver's eye movement and head posture. If the driver's head begins to droop or their eyes frequently close, they may need to be reminded to rest or change drivers. Overall, analyzing the driver's head data can help assess the driver's state and behavior, improving driving safety.
[0037] Step 102 : Detect and obtain the driver's driving status result based on the head data and at least one of a pre-established driver coordinate system, preset trajectory data, and preset expression feature data.
[0038] In an embodiment of the present invention, the following steps are taken to establish a driver coordinate system: Determine a reference point: The reference point is a fixed point in the coordinate system, typically the center of the driver's seat. Specialized tools, such as measuring tools or calibration equipment, can be used to accurately determine the reference point. Determine coordinate axes: Two perpendicular axes can be identified to describe the driver's position and posture. For example, an "X" axis can be marked on the reference point to represent the driver's left-right movement, and a "Y" axis can be marked to represent the driver's forward-backward movement. Determine the positive directions of the coordinate axes: Based on the application's requirements, the positive directions of the coordinate axes can be determined. For example, the "X" axis can be extended to the right and the "Y" axis can be extended forward. Define coordinate units: Appropriate units can be selected to represent the driver's position and posture. For example, centimeters, inches, or pixels can be used as units. Establish a coordinate system: Using the above information, a driver coordinate system can be established, with the reference point as the origin and the positive directions and units of the coordinate axes defined. After establishing the coordinate system, the driver's head data can be collected and mapped to the coordinate system. In this way, the driver's position and posture can be accurately measured and tracked to assess their driving behavior and status.
[0039] In an embodiment of the present invention, pre-setting the driver's trajectory data requires the following steps: Data acquisition: Use a camera or other sensor to collect the driver's head data. This data may include head posture, position, movement direction and speed, etc. Data processing: The collected data is pre-processed, such as removing noise, smoothing data, correcting errors, etc. This can be accomplished by using specialized data processing software or algorithms. Feature extraction: Extract useful features from the processed data, such as head position, direction, angle, speed, etc. These features can be used to describe the driver's head movement trajectory. Data labeling: In order to use machine learning algorithms for classification and prediction, the extracted features need to be labeled and classified. For example, a labeling tool can be used to add a label to each data point, such as "normal state", "fatigue state", "inattention", etc. Data storage: The pre-processed data and extracted features are stored in a database or file for subsequent use. By pre-setting the driver's trajectory data, a machine learning model can be trained to identify the driver's state and behavior, such as fatigue, distraction, or inattention. This can help improve vehicle safety and the driver's attention level.
[0040] In an embodiment of the present invention, pre-setting the driver's facial expression feature data requires the following steps: Data Acquisition: Using a camera or other sensor to collect the driver's facial data. This data may include the movement states of facial features such as lips, eyes, and eyebrows, such as openness, closure, and wrinkling. Data Processing: Pre-processing the collected data, such as removing noise, smoothing data, and correcting errors. This can be accomplished using specialized data processing software or algorithms. Feature Extraction: Extracting useful features from the processed data, such as the degree of lip openness, eye openness, and brow wrinkling. These features can be used to describe the driver's facial expressions. Data Labeling: In order to use machine learning algorithms for classification and prediction, the extracted features need to be labeled and classified. For example, a labeling tool can be used to add labels to each data point, such as "happy," "angry," or "anxious." Data Storage: The pre-processed data and extracted features are stored in a database or file for subsequent use. By pre-setting the driver's facial expression feature data, machine learning models can be trained to identify the driver's emotional state, such as happiness, anger, or anxiety. This can help improve vehicle safety and driver mental health.
[0041] Step 103 : Generate a first color adjustment instruction according to the driving status result and a plurality of preset color adjustment rule information.
[0042] In an embodiment of the present invention, pre-setting color adjustment rule information requires the following steps: Determining the color adjustment requirement: Determine the purpose and scope of the color adjustment required, such as adjusting the brightness, contrast, hue, or saturation of an image. Data acquisition: Use a camera or other sensor to capture image data. This data may include images under different lighting conditions or in different scenes. Data processing: Pre-process the collected data, such as removing noise, smoothing data, and correcting errors. This can be accomplished using specialized data processing software or algorithms. Rule definition: Define appropriate color adjustment rules based on the color adjustment requirements and the processed images. These rules may include selecting a color space and setting adjustment parameters. Data labeling: To enable classification and prediction using machine learning algorithms, the color adjustment results need to be labeled and categorized. For example, a labeling tool can be used to add labels to each image, such as "brightness adjustment," "hue adjustment," or "saturation adjustment." Data storage: Store the pre-processed data and the defined color adjustment rules in a database or file for subsequent use. By pre-setting color adjustment rule information, machine learning models can be trained to automatically identify and adjust image colors, improving image quality and visualization. In addition, automatic image processing can be achieved by using color adjustment algorithms and rules to improve image processing efficiency and accuracy.
[0043] Step 104: Adjust the color of the terminal in the vehicle according to the first color adjustment instruction.
[0044] In an embodiment of the present invention, adjusting the color of a terminal within a vehicle according to a first color adjustment instruction requires the following steps: Determining color adjustment requirements: Based on the first color adjustment instruction, determining which colors of the terminal require adjustment, such as brightness, contrast, hue, or saturation. Adjusting color parameters: Based on the color adjustment requirements, using corresponding algorithms or tools, adjust the color parameters of the terminal. For example, a color conversion algorithm or palette tool can be used to adjust the terminal's color according to the first color adjustment instruction. Applying color adjustment: Applying the adjusted color parameters to the terminal's display interface to achieve color adjustment. For example, the adjusted color parameters can be transmitted to the terminal's display device via a vehicle's internal control system or display interface, updating the display effect in real time. Checking the adjustment effect: Performing a real-time check to ensure that the color adjustment effect meets the requirements. If further adjustment is required, the first color adjustment instruction can be obtained and the color adjustment parameters can be adjusted again until the desired adjustment effect is achieved. By adjusting the color of the terminal within the vehicle according to the first color adjustment instruction, the terminal's color can be adjusted according to the user's needs and preferences, improving user experience and comfort. In addition, color adjustment can also optimize the terminal's display effects according to different environments and scenarios, thereby improving the efficiency of information transmission and interaction.
[0045] An embodiment of the present invention provides a terminal color adjustment solution within a vehicle. This solution obtains driver head data and detects the driver's driving state based on the driver's head data and at least one of a pre-established driver coordinate system, preset trajectory data, and preset facial expression data. Furthermore, a first color adjustment instruction is generated based on the driver's driving state and multiple preset color adjustment rule information. Finally, the color of the terminal within the vehicle is adjusted according to the first color adjustment instruction.
[0046] The embodiment of the present invention can pre-establish a driver coordinate system, or preset at least one of trajectory data and expression feature data. When the driver's head data is obtained, the driver's driving status result can be detected based on the driver's head data and one of the driver's coordinate system, trajectory data and expression feature data. Then, a first color adjustment instruction is generated in combination with the driving status result and a plurality of preset color adjustment rule information. Finally, the terminal color in the vehicle is adjusted according to the first color adjustment instruction. The embodiment of the present invention avoids manual operation by the user. Based on the preset driver coordinate system, trajectory data or expression feature data, the driver's driving status result can be automatically detected and the first color adjustment instruction is generated according to the color adjustment rule information. The user does not need to input the color adjustment instruction, which simplifies the user's operation steps, improves the utilization rate of the vehicle, and gives full play to the performance of the vehicle.
[0047] In a preferred embodiment of the present invention, head data may include, but is not limited to, current head position information and / or current line of sight information, head dynamic data, facial data, and the like. One embodiment of detecting and obtaining a driver's driving status result based on the head data and at least one of a pre-established driver coordinate system, preset trajectory data, and preset facial feature data involves determining whether the driver's head and / or line of sight are within a preset compliance zone based on the current head position information and / or current line of sight information in the head data and the driver coordinate system, thereby obtaining the driver's head status result and / or line of sight status result. In practical applications, the current head position information and line of sight information are obtained from the driver's head data captured by a camera. Using the pre-established driver coordinate system, the head position and line of sight information are transformed to obtain the head position and line of sight information relative to the vehicle. Based on the vehicle's design and safety specifications, the compliance zone for the driver's head and line of sight is determined. For example, the head should be facing forward, and the line of sight should fall within the forward driving field of view. The relative positions of the driver's head and line of sight are compared with the compliance zone to determine whether compliance requirements are met. For example, a geometric calculation method can be used to calculate the distance and angle between the head position and the line of sight position and the compliance area to determine whether they are within the compliance area. Based on the judgment results, the driver's head state and line of sight state are obtained. For example, if the head position and line of sight position are both within the compliance area, then the head state and line of sight state can be determined to be in compliance. Conversely, if the head position and line of sight position exceed the compliance area, then the head state and line of sight state can be determined to be in non-compliance, and corresponding reminders or warnings are required.
[0048] In a preferred embodiment of the present invention, a driver's driving status result is detected based on head data and at least one of a pre-established driver coordinate system, preset trajectory data, and preset facial feature data. In one embodiment, the driver's driving status result is determined based on head dynamic data and trajectory data in the head data to determine whether the driver is in a dangerous driving state, thereby obtaining the driver's driving status result. In practical applications, head dynamic data and trajectory data, such as head movement speed, acceleration, rotation angle, and rotation speed, are obtained from the driver's head data captured by a camera. Based on driving safety regulations and actual driving experience, indicators of dangerous driving states are defined, such as head rotation speed exceeding a certain threshold, frequent head rotation, and duration exceeding a certain threshold. The head dynamic data and trajectory data are analyzed to calculate the value of the indicator. For example, the head rotation speed, the rate of change of the head rotation angle, and so on can be calculated. The indicators of the head dynamic data and trajectory data are compared with the defined dangerous driving state indicators to determine whether the driver is in a dangerous driving state. For example, if the head rotation speed exceeds a threshold and the duration exceeds a certain time, the driver can be determined to be in a dangerous driving state. Based on the judgment result, the driver's driving status result is obtained, such as whether the driver is in a normal driving state or a dangerous driving state. Through such judgment, real-time monitoring and identification of the driver's dangerous driving status can be achieved, improving the driver's safety and driving comfort.
[0049] In a preferred embodiment of the present invention, one implementation method for detecting and obtaining a driver's driving state result based on head data and at least one of a pre-established driver coordinate system, preset trajectory data, and preset facial feature data is to identify and obtain the driver's facial state result based on facial attribute data and facial feature data in the head data. In practical applications, facial attribute data and facial feature data, such as facial contour, eye size and position, lip shape, etc., are obtained from the driver's head data captured by a camera. Based on the changing patterns of facial facial feature data, facial state indicators are defined, such as the degree of eye opening, lip opening, eyebrow curvature, etc. The facial attribute data and facial feature data are analyzed to calculate the numerical value of the indicator. For example, the rate of change of eye opening, lip opening, etc. can be calculated. The indicators of the facial attribute data and facial feature data are compared with the defined facial state indicators to determine the driver's facial state. For example, if the degree of eye opening is large and lasts for more than a certain period of time, it can be determined that the driver is in a state of fatigue. Based on the determination result, the driver's facial state result is obtained, such as normal state, fatigued state, etc. This recognition enables real-time monitoring and identification of the driver's facial expressions, improving driver safety and driving comfort. It's important to note that facial features and expressions may vary from person to person, so individual differences need to be considered when defining facial expression indicators and making judgments.
[0050] In a preferred embodiment of the present invention, a first color adjustment instruction is generated based on a driving status result and multiple preset color adjustment rule information. The driving status result is compared with the rule results in the multiple color adjustment rule information; the first color adjustment instruction is extracted from the color adjustment rule information containing the same rule results as the driving status result. In practical applications, the driving status result, such as fatigue, distraction, or normal, is obtained by analyzing facial attribute data and head trajectory data in the head data. All color adjustment rule information is retrieved from a database or file storing color adjustment rule information. The rules in each color adjustment rule information are calculated to obtain a rule result. The driving status result is compared with the rule results to find all rule results that are identical to the driving status result. The color adjustment rule information containing all rule results that are identical to the driving status result is analyzed to extract the first color adjustment instruction, such as the color to be adjusted, the adjustment method, etc. It should be noted that different color adjustment rule information may conflict; for example, a single driving status may correspond to multiple different color adjustment instructions. When comparing rule results and extracting color adjustment instructions, it is necessary to consider rule priority and conflict resolution.
[0051] In a preferred embodiment of the present invention, one implementation for adjusting the color of a terminal within a vehicle according to a first color adjustment instruction involves adjusting the screen color and / or ambient light color within the vehicle according to the first color adjustment instruction. In actual applications, the first color adjustment instruction is parsed to determine parameters such as the color to be adjusted and the adjustment method. The screen color of the terminal within the vehicle is adjusted based on the parsed adjustment parameters. For example, parameters such as screen brightness, saturation, and hue can be adjusted to ensure that the screen color conforms to the driving state and the requirements of the color adjustment rules. If the color adjustment instruction includes adjusting the ambient light color, the ambient light color within the vehicle is also adjusted based on the parsed adjustment parameters. For example, parameters such as ambient light brightness, color, and lighting effects can be adjusted to ensure that the ambient light color conforms to the driving state and the requirements of the color adjustment rules. It should be noted that color adjustment instructions may change frequently, necessitating real-time monitoring of the driver's state and performing color adjustments based on the latest color adjustment rule information to ensure driver comfort and safety. Furthermore, individual differences and preferences of different drivers must be considered to provide personalized color adjustment settings.
[0052] In a preferred embodiment of the present invention, in addition to adjusting the terminal color based on the driver's head data, the terminal color can also be adjusted based on the passenger's head dynamics data. Specifically, the passenger's head dynamics data can be obtained; based on the head dynamics data and trajectory data, whether the passenger is in a sleep state is determined, and a sleep state result is obtained. A second color adjustment instruction is generated based on the sleep state result and multiple color adjustment rule information; and the terminal color in the vehicle is adjusted according to the second color adjustment instruction. In practical applications, obtaining the passenger's head dynamics data requires using a camera or sensor similar to the one used to collect driver head data, and then processing and analyzing the data to obtain the passenger's head dynamics data. Determining whether the passenger is in a sleep state based on the passenger's head dynamics data and trajectory data can be done by analyzing information such as head position and posture. For example, if a passenger's head is constantly drooping or shaking, it may mean that the passenger is sleeping or fatigued. Passenger sleep status can also be determined based on factors such as the amount of time the passenger closes their eyes or the length of sleep. After obtaining the passenger's sleep state result, it can be compared with multiple color adjustment rule information to generate a second color adjustment instruction. For example, if a passenger is asleep, the color of the in-vehicle terminal can be adjusted to a soft, comfortable hue based on the color adjustment rule information to help the passenger relax and get a better rest. Finally, the color of the in-vehicle terminal can be adjusted according to the second color adjustment instruction. This can be done in a similar way to adjusting the color for the driver, by parsing the color adjustment instruction and adjusting parameters such as the screen color and ambient light color. It is important to note that the passenger's sleep state also needs to be monitored in real time, and color adjustments must be made based on the latest color adjustment rule information.
[0053] Based on the above description of a solution for adjusting vehicle terminal color, the following describes a solution for intelligently adjusting vehicle interior color. Referring to Figure 2, a schematic diagram of the structure of a solution for intelligently adjusting vehicle interior color according to an embodiment of the present invention is shown. This solution may include, but is not limited to, an in-vehicle occupant monitoring system, an intelligent control system, a mobile phone control system, and an infotainment system.
[0054] The occupant monitoring system can be communicatively connected to the intelligent control system. The occupant monitoring system may include a driver monitoring system (DMS) camera, an occupancy monitoring system (OMS) camera, and vehicle sensors. The DMS camera can be mounted on the steering wheel to capture real-time images of the driver and, using an image algorithm from a built-in controller, output information such as the driver's gestures, facial expressions, fatigue status, age / age range, and sleep status. The OMS camera can be mounted on the rearview mirror to capture real-time images of passengers and, using an image algorithm from a built-in controller, output information such as their gestures, facial expressions, fatigue status, age / age range, and sleep status. Vehicle sensors may include, but are not limited to, seat pressure sensors, temperature sensors, speed sensors, and other sensors. The seat pressure sensor is used to identify the presence of passengers in a seat and count the number of passengers. The temperature sensor is used to collect real-time temperatures inside and outside the vehicle. The speed sensor is used to collect real-time vehicle speed and acceleration. Other sensors are used to collect vehicle fault information. Data and information collected by the occupant monitoring system can be transmitted to the intelligent control system in real time via the Controller Area Network (CAN) bus.
[0055] The intelligent control system can communicate with the in-vehicle occupant monitoring system and the infotainment system. The intelligent control system receives occupant status and vehicle information from the in-vehicle occupant monitoring system, generates color adjustment instructions based on decision rules (color adjustment rule information), and sends the color adjustment instructions to the infotainment system. In practical applications, the decision rules may include, but are not limited to:
[0056] Gesture control decision rules: When the driver or passenger makes a designated action in a specific area, such as rotating a single finger counterclockwise or clockwise, the color tone inside the car is adjusted accordingly, keeping the color system unchanged while changing the hue. For example, the hue becomes warmer when rotating a single finger counterclockwise, and becomes cooler when rotating a single finger clockwise.
[0057] Driver emotion recognition decision rules: Drivers have specific facial expressions, including irritability, anger, depression, etc. The color tone inside the car is adjusted accordingly, keeping the color scheme unchanged while warming the hue to soothe the driver's emotions.
[0058] Driver fatigue status reminder decision rule: When the driver is in fatigue status, the red set value is quickly displayed and flashes as a warning.
[0059] Caring mode decision rules: When there are children or elderly passengers in the car, the color tone inside the car will be adjusted accordingly, keeping the color scheme unchanged while warming the hue to soothe the color atmosphere inside the car.
[0060] Sleep status monitoring decision rules: When a passenger is sleeping in the car, the color tone inside the car will be adjusted accordingly, keeping the color scheme unchanged while warming the hue to soothe the color atmosphere inside the car.
[0061] Dangerous fault reminder decision rule: When a vehicle fault occurs, the red set value will be quickly displayed and flashing as a warning.
[0062] Rapid acceleration / deceleration reminder decision rule: When the vehicle acceleration exceeds the limit, the red set value is quickly displayed and flashes as a warning.
[0063] Speeding reminder decision rule: When the vehicle speed exceeds the speed limit, the color scheme remains unchanged while the hue becomes significantly colder to provide a warning.
[0064] Temperature reminder decision rule: When the temperature state changes, the color phase changes accordingly based on the temperature difference.
[0065] When each decision rule appears in chronological order and meets the corresponding judgment threshold, the color is adjusted based on the order of the influencing factors. When multiple decision rules appear at the same time, the following priority is used, and the next round of intelligent judgment must be initiated only after the color change corresponding to the current judgment result is completed: vehicle failure > driver fatigue > occupant sleeping > speed exceeding the speed limit > specific driver facial features > presence of children or elderly occupants in the vehicle > real-time temperature changes.
[0066] The mobile control system can be connected to the intelligent control system, allowing customization of the vehicle's interior colors and adjustments to specific decision-making rules within the intelligent control system. These decisions are then transmitted to the intelligent control system in real time via the cloud platform. In practical applications, the mobile control system's adjustments to decision-making rules may include: Gesture control: On / Off, with the ability to select different preset gestures, such as single-finger rotation, fist swing, thumbs up or down, etc. Driver emotion recognition: On / Off. Driver fatigue status reminder: On / Off. Care mode: On / Off. Sleep status monitoring: On / Off. Dangerous fault reminder: On / Off. Rapid acceleration / deceleration reminder: On / Off, with a configurable threshold intensity. Speeding reminder: On / Off, with a configurable speed threshold. Temperature reminder: When the temperature status changes, the hue changes accordingly based on the temperature difference.
[0067] In actual application, users can select preset preferred colors or custom colors in the mobile control system. The same color uses adjacent hues and has differences in cold and warm. The settings made will be transmitted to the cloud platform in real time and synchronized with the intelligent control system. Examples of preset optional colors are as follows:
[0068] "Summer Light Years": Orange is the primary color, supplemented by adjacent colors, corresponding to warmer or cooler hues respectively. All colors have corresponding preset RGB values.
[0069] "Vast Ocean": Blue is the primary color, supplemented by adjacent colors, corresponding to warmer or cooler hues, respectively. All colors have corresponding preset RGB values.
[0070] "Forest Echo": Green is the primary color, supplemented by adjacent colors, corresponding to warmer or cooler hues, respectively. All colors have corresponding preset RGB values.
[0071] "Fiery": Red is the primary color, supplemented by adjacent colors, corresponding to warmer or cooler hues, respectively. All colors have corresponding preset RGB values.
[0072] The preset recommended color schemes can be continuously enriched through Over The Air (OTA) downloads.
[0073] The infotainment system is used to receive color adjustment instructions from the intelligent control system, determine the red, green, and blue (RGB) values of the target display color based on the color adjustment instructions, and control and adjust the screen theme color and the ambient light display color. Among them, the screen theme color refers to the theme color presented on the infotainment system interface, including the system's various function interaction interfaces and pop-up prompts. The infotainment system may include but is not limited to: an infotainment host, an in-vehicle display screen, and ambient lights. The infotainment host stores all displayable RGB range values and records the RGB values of the current display color. The in-vehicle display screen includes the central control screen, the co-pilot screen, the rear screen, and the instrument screen. The ambient lights include but are not limited to the dashboard ambient lights, the central control ambient lights, the door ambient lights, and the foot ambient lights. The infotainment host is used to collect identification information and processing results throughout the entire process and bind them to the driver's account. It regularly transmits data to the cloud platform, combines the mobile phone control system data and function usage feedback information in the cloud, establishes a big data model, and continuously optimizes and improves the accuracy of the intelligent algorithm.
[0074] After the vehicle is powered on, the occupant monitoring system collects the current occupant status and vehicle data through cameras and vehicle sensors, and inputs all information into the intelligent control system in real time through the CAN bus.
[0075] The driver monitoring system camera collects the driver's facial and movement information in real time, establishes a coordinate system based on the current driver's habitual head position, monitors whether the driver's head position and line of sight are within the driving compliance area, and compares the driver's head movement posture with the preset fatigue movement trajectory (simulating sleepy nodding) to determine whether the driver is distracted or fatigued. The driver's facial attribute information is compared with the expression features generated based on the database to identify expression features such as happiness, sadness, anger, and eagerness. When the comparison data fit reaches a preset value (such as >90%), it is determined to meet the specific expression state; the above preset information is generated and calculated based on the database, such as Convolutional Neural Networks (CNN); the collected information is stored locally and in the cloud at the same time.
[0076] The seat pressure sensor identifies the pressure information of each seat in the car. When the monitored seat pressure is greater than the preset value, it determines that there is a passenger in the seat, thereby determining the number and position information of the passengers in the car, and returns a signal value when there is a change in status.
[0077] The passenger monitoring system's cameras collect real-time passenger attributes and movement information. Combined with seat pressure sensor results, the system compares the passenger's facial attributes with pre-set values in a database. Age estimates are determined based on fit differences, while sleep status is determined based on eye and head movements. This pre-set information is generated and calculated using a database-based algorithm, such as a convolutional neural network. This collected information is stored both locally and in the cloud.
[0078] The temperature sensor collects the real-time temperature inside and outside the vehicle, obtains the temperature difference, and returns a signal value when the temperature difference changes.
[0079] The vehicle speed sensor collects the vehicle speed and obtains the vehicle's real-time speed and acceleration.
[0080] Fault status information is collected by other sensors and transmitted in real time via the CAN bus.
[0081] After receiving the information transmitted by the in-car occupant monitoring system, the intelligent control system generates a color adjustment instruction based on the decision rules and sends it to the infotainment host in the infotainment system. The infotainment host determines the RGB value of the target display color based on the color adjustment instruction and adjusts the screen theme color and the ambient light display color based on this control.
[0082] For ambient lights, it is necessary to adjust the grayscale level by adjusting the duty cycle of the red, green and blue colors in the ambient light, and then achieve the target luminous color.
[0083] In the mobile control system, specific decision-making rules can be customized at any time. The settings will be associated with the user account and uploaded to the cloud platform.
[0084] The infotainment host regularly transmits color adjustment instructions and display result data to the cloud platform. Based on this, the cloud platform combines data from the mobile phone control system and user feedback on function usage to establish a big data model.
[0085] It should be noted that for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0086] 3 , a block diagram of a terminal color adjustment system in a vehicle according to an embodiment of the present invention is shown. The terminal color adjustment system in a vehicle may specifically include:
[0087] A data acquisition module 31 is used to acquire the driver's head data;
[0088] a data detection module 32 for detecting and obtaining a driving status result of the driver based on the head data and at least one of a pre-established driver coordinate system, preset trajectory data, and preset expression feature data;
[0089] An instruction generating module 33 is configured to generate a first color adjustment instruction according to the driving state result and a plurality of preset color adjustment rule information;
[0090] The color adjustment module 34 is configured to adjust the color of the terminal in the vehicle according to the first color adjustment instruction.
[0091] In a preferred embodiment of the present invention, the data detection module 32 includes:
[0092] The head sight result detection module is used to determine whether the driver's head and / or sight are within a preset compliance area based on the current head position information and / or current sight information in the head data and the driver coordinate system, and obtain the driver's head status result and / or sight status result.
[0093] In a preferred embodiment of the present invention, the data detection module 32 includes:
[0094] The driving state result detection module is used to determine whether the driver is in a dangerous driving state based on the head dynamic data and the trajectory data in the head data, and obtain the driving state result of the driver.
[0095] In a preferred embodiment of the present invention, the data detection module 32 includes:
[0096] The expression state result detection module is used to identify the expression state result of the driver based on the facial attribute data and the expression feature data in the head data.
[0097] In a preferred embodiment of the present invention, the instruction generation module 33 includes:
[0098] A result comparison module, configured to compare the driving state result with the rule results in the plurality of color adjustment rule information;
[0099] The instruction extraction module is configured to extract the first color adjustment instruction from the color adjustment rule information containing the rule result that is the same as the driving state result.
[0100] In a preferred embodiment of the present invention, the color adjustment module 34 is configured to adjust the screen color and / or ambient light color in the vehicle according to the first color adjustment instruction.
[0101] In a preferred embodiment of the present invention, the data acquisition module 31 is further used to acquire passenger head dynamic data;
[0102] The data detection module 32 is further configured to determine whether the passenger is in a sleeping state based on the head dynamic data and the trajectory data, and obtain a sleeping state result of the passenger;
[0103] The instruction generating module 33 is further configured to generate a second color adjustment instruction according to the sleep state result and the plurality of color adjustment rule information;
[0104] The color adjustment module 34 is further configured to adjust the color of the terminal in the vehicle according to the second color adjustment instruction.
[0105] An embodiment of the present invention also provides an electronic device, see Figure 4, including: a processor 401, a memory 402, and a computer program 4021 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the program 4021, the terminal color adjustment method in the vehicle of the aforementioned embodiment is implemented.
[0106] An embodiment of the present invention further provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the terminal color adjustment method in a vehicle of the aforementioned embodiment.
[0107] An embodiment of the present invention further discloses a computer program product, comprising computer-readable code. When the computer-readable code is executed on an electronic device, the electronic device executes the terminal color adjustment method in a vehicle according to the aforementioned embodiment.
[0108] As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0109] It should be noted that, in the embodiments of the present invention, all actions of acquiring signals, information or data are performed in compliance with the corresponding data protection laws and policies of the country where the device is located and with authorization from the owner of the corresponding device.
[0110] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0111] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0112] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0113] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0114] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce computer-implemented processing, so that the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0115] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic creative concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0116] References herein to "one embodiment," "an embodiment," or "one or more embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Furthermore, please note that instances of the phrase "in one embodiment" do not necessarily all refer to the same embodiment.
[0117] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of this description.
[0118] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or terminal device comprising the element.
[0119] The above is a detailed introduction to the terminal color adjustment method and system in a vehicle provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for adjusting the color of a terminal in a vehicle, wherein: The method comprises: Get the driver's head data; Detecting and obtaining a driving state result of the driver according to the head data and at least one of a pre-established driver coordinate system, preset trajectory data, and preset expression feature data; generating a first color adjustment instruction according to the driving state result and a plurality of preset color adjustment rule information; The terminal color in the vehicle is adjusted according to the first color adjustment instruction.
2. The method according to claim 1, wherein: The detecting and obtaining the driving state result of the driver according to the head data and at least one of the pre-established driver coordinate system, the preset trajectory data and the preset expression feature data comprises: Based on the current head position information and / or current line of sight information in the head data, and the driver coordinate system, determine whether the driver's head and / or line of sight are within a preset compliance area, and obtain the driver's head state result and / or line of sight state result.
3. The method according to claim 1, wherein: The detecting and obtaining the driving state result of the driver according to the head data and at least one of the pre-established driver coordinate system, the preset trajectory data and the preset expression feature data comprises: According to the head dynamic data and the trajectory data in the head data, it is determined whether the driver is in a dangerous driving state, and the driving state result of the driver is obtained.
4. The method according to claim 1, wherein: The detecting and obtaining the driving state result of the driver according to the head data and at least one of the pre-established driver coordinate system, the preset trajectory data and the preset expression feature data comprises: The driver's expression state result is identified based on the facial attribute data and the expression feature data in the head data.
5. The method according to claim 1, wherein: The generating a first color adjustment instruction according to the driving state result and a plurality of preset color adjustment rule information includes: Comparing the driving state result with the rule results in the plurality of color adjustment rule information respectively; From the color adjustment rule where the rule result is the same as the driving state result The first color adjustment instruction is extracted from the information.
6. The method according to claim 1, wherein: The adjusting the terminal color in the vehicle according to the first color adjustment instruction includes: The screen color and / or ambient light color in the vehicle are adjusted according to the first color adjustment instruction.
7. The method according to claim 1, wherein: The method comprises: Obtain passenger's head dynamic data; Determine whether the passenger is in a sleeping state according to the head dynamic data and the trajectory data, and obtain a sleeping state result of the passenger; generating a second color adjustment instruction according to the sleep state result and the plurality of color adjustment rule information; The terminal color in the vehicle is adjusted according to the second color adjustment instruction.
8. A terminal color adjustment system in a vehicle, wherein: The system comprises: A data acquisition module, used to acquire the driver's head data; A data detection module, configured to detect and obtain a driving state result of the driver according to the head data and at least one of a pre-established driver coordinate system, preset trajectory data, and preset expression feature data; An instruction generation module, used for generating a first color adjustment instruction according to the driving state result and a plurality of preset color adjustment rule information; The color adjustment module is used to adjust the terminal color in the vehicle according to the first color adjustment instruction.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for adjusting the color of a terminal in a vehicle as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the terminal color adjustment method in a vehicle as described in any one of claims 1 to 7 is implemented.
11. A computer program product, comprising a computer readable code, which, when executed on an electronic device, causes the electronic device to execute the terminal color adjustment method in a vehicle as claimed in any one of claims 1 to 7.
Citation Information
Patent Citations
Fatigue driving pre-warning method
CN104318714A
Automobile ambient lighting automatic adjustment system based on driver mood recognition
CN110723066A
Self-adjusting interior atmosphere lamp system capable of sensing emotion and control method
CN111605479A
Fatigue driving coping method, terminal and automobile
CN115140063A
Method and system for adjusting color of terminal in vehicle, electronic equipment and storage medium
CN116580661A
