CN116674377A - Method, device, equipment and storage medium for switching theme of vehicle-mounted instrument - Google Patents

Method, device, equipment and storage medium for switching theme of vehicle-mounted instrument Download PDF

Info

Publication number
CN116674377A
CN116674377A CN202310582670.8A CN202310582670A CN116674377A CN 116674377 A CN116674377 A CN 116674377A CN 202310582670 A CN202310582670 A CN 202310582670A CN 116674377 A CN116674377 A CN 116674377A
Authority
CN
China
Prior art keywords
theme
vehicle
target
current
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310582670.8A
Other languages
Chinese (zh)
Inventor
余鑫洋
马齐成
刘棨
冉光伟
张莹
刘俊峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinghe Zhilian Automobile Technology Co Ltd
Original Assignee
Xinghe Zhilian Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xinghe Zhilian Automobile Technology Co Ltd filed Critical Xinghe Zhilian Automobile Technology Co Ltd
Priority to CN202310582670.8A priority Critical patent/CN116674377A/en
Publication of CN116674377A publication Critical patent/CN116674377A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K35/00Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/0464Convolutional networks [CNN, ConvNet]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • Molecular Biology (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Evolutionary Computation (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Mechanical Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for switching a theme of a vehicle-mounted instrument, wherein the method comprises the following steps: acquiring the information of the environment outside the vehicle; inputting the vehicle exterior environment information into a preset theme model to obtain a target theme; the theme model is obtained through training of a preset neural network based on vehicle external environment information and a vehicle-mounted instrument theme; and switching the display theme of the vehicle-mounted instrument from the current theme to the target theme. According to the embodiment of the invention, the display theme of the vehicle-mounted instrument can be dynamically adjusted according to the vehicle exterior environment, and the visual experience and driving safety of a driver are improved.

Description

Method, device, equipment and storage medium for switching theme of vehicle-mounted instrument
Technical Field
The present invention relates to the field of vehicle technologies, and in particular, to a method, an apparatus, a device, and a storage medium for switching a theme of a vehicle-mounted instrument.
Background
The current automobile market has higher and higher requirements on intelligence, and the rapid development of intelligent cabin technology has become a development trend of the automobile industry. With this trend, the subject matter of the instrument system interface display of the vehicle is becoming more and more rich, for example: night mode, daytime mode, high speed mode, city mode, etc., each theme has different properties of color, font, brightness, etc. These topics may meet the different needs and driving circumstances of the vehicle owners. However, the brightness, color and other attributes of the current vehicle-mounted instrument cannot be self-adapted to the environment outside the vehicle, so that driving experience is reduced. For example, if the vehicle instrument is too bright during night driving, the driver's sight line may be affected, and driving safety may be lowered.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for switching a theme of a vehicle-mounted instrument, which are used for solving the problem that the driving experience is reduced because the theme of the vehicle-mounted instrument cannot be self-adapted to the environment outside a vehicle in the prior art.
In order to achieve the above object, an embodiment of the present invention provides a method for switching a theme of a vehicle-mounted instrument, including:
acquiring the information of the environment outside the vehicle;
inputting the vehicle exterior environment information into a preset theme model to obtain a target theme; the theme model is obtained through training of a preset neural network based on vehicle external environment information and a vehicle-mounted instrument theme;
and switching the display theme of the vehicle-mounted instrument from the current theme to the target theme.
As an improvement of the above-described aspect, the vehicle exterior environment information includes at least: the illumination intensity outside the vehicle, the speed, the time, the weather, the position and the traffic jam degree.
As an improvement of the above solution, the switching the display theme of the vehicle-mounted instrument from the current theme to the target theme includes:
calculating the difference degree between the current theme and the target theme;
when the difference is larger than a preset difference threshold, gradually changing display parameters of the vehicle-mounted instrument according to a preset time interval so as to gradually switch the current theme to the target theme;
and when the difference degree is smaller than or equal to the difference degree threshold value, directly switching the display parameters of the vehicle-mounted instrument to target display parameters so as to directly switch the current theme to the target theme.
As an improvement of the scheme, the difference degree is color difference degree, and the corresponding display parameter is color;
and when the difference is greater than a preset difference threshold, gradually changing display parameters of the vehicle-mounted instrument according to a preset time interval to gradually switch the current theme to the target theme, wherein the gradually changing comprises the following steps:
when the color difference is larger than a preset color difference threshold, acquiring a first color mapping table of the current theme, a second color mapping table of the target theme and a third color mapping table of all colors from the current theme to the target theme;
calculating a plurality of transition color values from the current theme to the target theme based on the first color mapping table and the second color mapping table by adopting a linear interpolation method;
and based on the third color mapping table, displaying sequentially from the transition color value until the last transition color value is displayed, and the color of the target theme is reached.
As an improvement of the above solution, the calculating, by using a linear interpolation method, a plurality of transition color values from the current theme to the target theme based on the first color mapping table and the second color mapping table includes:
calculating a first weight of a current theme and a second weight of a target theme at each time within a preset total transition time length:
and calculating all transition color values from the current theme to the target theme at each time in the total transition duration according to the first weight and the second weight.
As an improvement of the above solution, the first weight is calculated according to the following formula: first weight = 1-current time/total transition length;
calculating the second weight according to the following formula: second weight = current time/total transition duration;
calculating the transition color value at the current time according to the following formula: transition color value = current topic first weight + target topic second weight.
In order to achieve the above object, an embodiment of the present invention further provides a device for switching a theme of a vehicle-mounted instrument, including:
the vehicle exterior environment information acquisition module is used for acquiring vehicle exterior environment information;
the target theme acquisition module is used for inputting the vehicle external environment information into a preset theme model to obtain a target theme; the theme model is obtained through training of a preset neural network based on vehicle external environment information and a vehicle-mounted instrument theme;
and the theme switching module is used for switching the display theme of the vehicle-mounted instrument from the current theme to the target theme.
As an improvement of the above solution, the switching the display theme of the vehicle-mounted instrument from the current theme to the target theme includes:
calculating the difference degree between the current theme and the target theme;
when the difference is larger than a preset difference threshold, gradually changing display parameters of the vehicle-mounted instrument according to a preset time interval so as to gradually switch the current theme to the target theme;
and when the difference degree is smaller than or equal to the difference degree threshold value, directly switching the display parameters of the vehicle-mounted instrument to target display parameters so as to directly switch the current theme to the target theme.
To achieve the above object, an embodiment of the present invention further provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the above-mentioned in-vehicle meter theme switching method when executing the computer program.
To achieve the above object, embodiments of the present invention also provide a computer-readable storage medium including a stored computer program; the computer program controls the equipment where the computer readable storage medium is located to execute the vehicle-mounted instrument theme switching method.
Compared with the prior art, the method, the device, the equipment and the storage medium for switching the theme of the vehicle-mounted instrument provided by the embodiment of the invention acquire the information of the environment outside the vehicle; inputting the vehicle exterior environment information into a preset theme model to obtain a target theme; the theme model is obtained through training of a preset neural network based on vehicle external environment information and a vehicle-mounted instrument theme; and switching the display theme of the vehicle-mounted instrument from the current theme to the target theme for display. Therefore, the embodiment of the invention senses the change of the environmental parameter in real time, dynamically adjusts the theme of the vehicle-mounted instrument to adapt to the changes of different weather, time, position, driving scene and the like, improves the visual experience and driving safety of a driver, and can realize the transitional effect of theme switching so that the theme switching is smoother and more natural.
Drawings
FIG. 1 is a flow chart of a method for switching the theme of a vehicle-mounted instrument provided by an embodiment of the invention;
fig. 2 is a block diagram of a device for switching a theme of a vehicle-mounted instrument according to an embodiment of the present invention;
fig. 3 is a block diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for switching a theme of a vehicle-mounted instrument, provided in an embodiment of the present invention, where the method for switching a theme of a vehicle-mounted instrument includes:
s1, acquiring external environment information;
s2, inputting the information of the outside environment of the vehicle into a preset theme model to obtain a target theme; the theme model is obtained through training of a preset neural network based on vehicle external environment information and a vehicle-mounted instrument theme;
s3, switching the display theme of the vehicle-mounted instrument from the current theme to the target theme.
Illustratively, a, collecting data from the sensors and combining it with the internet data set to form a complete data set. The dataset should include a variety of variables and tags related to different environmental conditions, such as sensor acquired data: illumination intensity, vehicle speed, time, weather, location and data acquired from the internet: traffic congestion degree. b. Randomly dividing the data set into a training set and a test set: 70% of the data are used for training and the remaining 30% are used for testing. c. Constructing a deep neural network model: the deep neural network model is trained using the training set. Suitable neural network structures may be selected, such as Convolutional Neural Networks (CNNs), recurrent Neural Networks (RNNs), and the like. d. Optimizing a model: an optimizer (e.g., SGD, adam, etc.) and a loss function (e.g., mean square error, cross entropy, etc.) are used to optimize the model so that it fits the data better. e. Test model: the test set is used to test the performance of the model. Various metrics may be calculated, such as accuracy, recall, F1 score, and the like. f. Deployment model: and deploying the trained theme model on a vehicle-mounted instrument panel so as to monitor environmental changes in real time and automatically switch themes. g. And (3) real-time prediction: as the vehicle travels, the sensors will continually collect data and input it into the deployed topic model. The theme model predicts the characteristics of the current environment in real time according to the data, and automatically adjusts the theme of the vehicle-mounted instrument panel, so that the visual experience and driving safety of a driver are improved.
In an alternative embodiment, the vehicle exterior environment information includes at least: the illumination intensity outside the vehicle, the speed, the time, the weather, the position and the traffic jam degree.
In the embodiment of the invention, the vehicle-mounted instrument automatically adjusts parameters such as background color, font size, icon style and the like of a theme according to the current illumination intensity, vehicle speed, time, weather, position, traffic jam degree and the like outside the vehicle so as to adapt to different driving environments. For example, on sunny days, the theme of the meter can select a pattern with higher brightness and brighter color, so that a driver can observe the display content of the meter more easily; in rainy days or at night, the theme of the instrument can select a pattern with lower brightness and softer color so as to reduce glare and visual fatigue of a driver.
In an optional embodiment, the switching the display theme of the vehicle-mounted instrument from the current theme to the target theme includes:
calculating the difference degree between the current theme and the target theme;
when the difference is larger than a preset difference threshold, gradually changing display parameters of the vehicle-mounted instrument according to a preset time interval so as to gradually switch the current theme to the target theme;
and when the difference degree is smaller than or equal to the difference degree threshold value, directly switching the display parameters of the vehicle-mounted instrument to target display parameters so as to directly switch the current theme to the target theme.
It will be appreciated that the display parameters include: color, brightness, contrast, and font size, the difference may be color difference, brightness difference, contrast difference, font size difference, etc.; when any difference is larger than the corresponding difference threshold, gradually changing the corresponding display parameters of the vehicle-mounted instrument until the display parameters of the target theme are reached, and completing gradual change switching of the target theme; and when any difference degree is smaller than or equal to the corresponding difference degree threshold value, directly switching the display parameter corresponding to the vehicle-mounted instrument to the corresponding target display parameter.
In an optional embodiment, the difference degree is a color difference degree, and the corresponding display parameter is a color;
and when the difference is greater than a preset difference threshold, gradually changing display parameters of the vehicle-mounted instrument according to a preset time interval to gradually switch the current theme to the target theme, wherein the gradually changing comprises the following steps:
when the color difference is larger than a preset color difference threshold, acquiring a first color mapping table of the current theme, a second color mapping table of the target theme and a third color mapping table of all colors from the current theme to the target theme;
calculating a plurality of transition color values from the current theme to the target theme based on the first color mapping table and the second color mapping table by adopting a linear interpolation method;
and based on the third color mapping table, displaying sequentially from the transition color value until the last transition color value is displayed, and the color of the target theme is reached.
Specifically, the calculating, by using a linear interpolation method, a plurality of transition color values from the current theme to the target theme based on the first color mapping table and the second color mapping table includes:
calculating a first weight of a current theme and a second weight of a target theme at each time within a preset total transition time length:
and calculating all transition color values from the current theme to the target theme at each time in the total transition duration according to the first weight and the second weight.
Specifically, the first weight is calculated according to the following formula: first weight = 1-current time/total transition length;
calculating the second weight according to the following formula: second weight = current time/total transition duration;
calculating the transition color value at the current time according to the following formula: transition color value = current topic first weight + target topic second weight.
Exemplary, a, defines a color mapping table for each theme. Each color mapping table contains a mapping of all colors from the current theme to the target theme. b. A total transition period is defined that represents the time required to smoothly transition from the current topic to the target topic. c. A loop is defined, each loop being incremented by a small transition amount until the total transition period has ended. The amount of transition may be a small fraction of time, for example 1/30 of a second. In the loop, a weight between the current topic and the target topic is calculated based on the current transition amount. If the current transition amount is the 10 th second of 30 seconds, that is, the current time is represented, the first weight w1 of the current theme at the current time is 1-10/30=0.67, and the second weight w2 of the target theme is 10/30=0.33. And calculating the transition color between the color of the current theme and the color of the target theme according to the first weight and the second weight at the current time by using the color mapping table of the current theme and the color mapping table of the target theme, and calculating the transition color between the color of the current theme and the color of the target theme by using a linear interpolation method. Specifically, assuming that the current color is transition_color, the color of the current theme is c1, the color of the target theme is c2, the first weight of the current theme is w1, and the second weight of the target theme is w2, the transition color may be calculated using the following formula: transition_color=w1×c1+w2×c2. Wherein the sum of w1 and w2 is equal to 1 and is a real number between 0 and 1. This formula corresponds to linear interpolation between c1 and c2 to calculate the transition color value between the current topic and the target topic. d. In the loop, the transition color value is used to update the color of the dashboard. If the target theme is not reached after the cycle is finished, restarting a new cycle until the total transition duration is finished to reach the target theme.
According to the method for switching the theme of the vehicle-mounted instrument, provided by the embodiment of the invention, the information of the environment outside the vehicle is obtained; inputting the vehicle exterior environment information into a preset theme model to obtain a target theme; the theme model is obtained through training of a preset neural network based on vehicle external environment information and a vehicle-mounted instrument theme; and switching the display theme of the vehicle-mounted instrument from the current theme to the target theme for display. Therefore, the embodiment of the invention senses the change of the environmental parameter in real time, dynamically adjusts the theme of the vehicle-mounted instrument to adapt to the changes of different weather, time, position, driving scene and the like, improves the visual experience and driving safety of a driver, and can realize the transitional effect of theme switching so that the theme switching is smoother and more natural.
Referring to fig. 2, fig. 2 is a block diagram of a vehicle-mounted instrument theme switching device 10 according to an embodiment of the present invention, where the vehicle-mounted instrument theme switching device 10 includes:
an outside environment information acquisition module 11 for acquiring outside environment information;
the target theme obtaining module 12 is configured to input the vehicle exterior environment information into a preset theme model to obtain a target theme; the theme model is obtained through training of a preset neural network based on vehicle external environment information and a vehicle-mounted instrument theme;
and the theme switching module 13 is used for switching the display theme of the vehicle-mounted instrument from the current theme to the target theme.
Preferably, the vehicle exterior environment information at least includes: the illumination intensity outside the vehicle, the speed, the time, the weather, the position and the traffic jam degree.
Preferably, the switching the display theme of the vehicle-mounted instrument from the current theme to the target theme includes:
calculating the difference degree between the current theme and the target theme;
when the difference is larger than a preset difference threshold, gradually changing display parameters of the vehicle-mounted instrument according to a preset time interval so as to gradually switch the current theme to the target theme;
and when the difference degree is smaller than or equal to the difference degree threshold value, directly switching the display parameters of the vehicle-mounted instrument to target display parameters so as to directly switch the current theme to the target theme.
Preferably, the difference degree is a color difference degree, and the corresponding display parameter is a color;
and when the difference is greater than a preset difference threshold, gradually changing display parameters of the vehicle-mounted instrument according to a preset time interval to gradually switch the current theme to the target theme, wherein the gradually changing comprises the following steps:
when the color difference is larger than a preset color difference threshold, acquiring a first color mapping table of the current theme, a second color mapping table of the target theme and a third color mapping table of all colors from the current theme to the target theme;
calculating a plurality of transition color values from the current theme to the target theme based on the first color mapping table and the second color mapping table by adopting a linear interpolation method;
and based on the third color mapping table, displaying sequentially from the transition color value until the last transition color value is displayed, and the color of the target theme is reached.
Preferably, the calculating, by using a linear interpolation method, a plurality of transition color values between the current theme and the target theme based on the first color mapping table and the second color mapping table includes:
calculating a first weight of a current theme and a second weight of a target theme at each time within a preset total transition time length:
and calculating all transition color values from the current theme to the target theme at each time in the total transition duration according to the first weight and the second weight.
Preferably, the first weight is calculated according to the following formula: first weight = 1-current time/total transition length;
calculating the second weight according to the following formula: second weight = current time/total transition duration;
calculating the transition color value at the current time according to the following formula: transition color value = current topic first weight + target topic second weight.
It should be noted that, the working process of each module in the vehicle-mounted instrument theme switching device 10 according to the embodiment of the present invention may refer to the working process of the vehicle-mounted instrument theme switching method according to the above embodiment, which is not described herein again.
The vehicle-mounted instrument theme switching device 10 provided by the embodiment of the invention acquires the information of the environment outside the vehicle; inputting the vehicle exterior environment information into a preset theme model to obtain a target theme; the theme model is obtained through training of a preset neural network based on vehicle external environment information and a vehicle-mounted instrument theme; and switching the display theme of the vehicle-mounted instrument from the current theme to the target theme for display. Therefore, the embodiment of the invention senses the change of the environmental parameter in real time, dynamically adjusts the theme of the vehicle-mounted instrument to adapt to the changes of different weather, time, position, driving scene and the like, improves the visual experience and driving safety of a driver, and can realize the transitional effect of theme switching so that the theme switching is smoother and more natural.
Embodiments of the present invention also provide a computer-readable storage medium including a stored computer program; the computer program controls the device where the computer readable storage medium is located to execute the method for switching the theme of the vehicle-mounted instrument according to any embodiment when running.
Referring to fig. 3, fig. 3 is a block diagram of a structure of a terminal device 20 according to an embodiment of the present invention, where the terminal device 20 includes: a processor 21, a memory 22 and a computer program stored in said memory 22 and executable on said processor 21. The processor 21, when executing the computer program, implements the steps in the above-described embodiments of the on-vehicle meter theme switching method. Alternatively, the processor 21 may implement the functions of the modules/units in the above-described device embodiments when executing the computer program.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory 22 and executed by the processor 21 to complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program in the terminal device 20.
The terminal device 20 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The terminal device 20 may include, but is not limited to, a processor 21, a memory 22. It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the terminal device 20 and does not constitute a limitation of the terminal device 20, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device 20 may further include input and output devices, network access devices, buses, etc.
The processor 21 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 21 is a control center of the terminal device 20, and connects various parts of the entire terminal device 20 using various interfaces and lines.
The memory 22 may be used to store the computer program and/or module, and the processor 21 may implement various functions of the terminal device 20 by running or executing the computer program and/or module stored in the memory 22 and invoking data stored in the memory 22. The memory 22 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 22 may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the integrated modules/units of the terminal device 20 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as a stand alone product. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of each of the method embodiments described above when executed by the processor 21. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (10)

1. The method for switching the theme of the vehicle-mounted instrument is characterized by comprising the following steps of:
acquiring the information of the environment outside the vehicle;
inputting the vehicle exterior environment information into a preset theme model to obtain a target theme; the theme model is obtained through training of a preset neural network based on vehicle external environment information and a vehicle-mounted instrument theme;
and switching the display theme of the vehicle-mounted instrument from the current theme to the target theme.
2. The vehicle-mounted instrument theme switching method according to claim 1, wherein the vehicle-mounted environment information includes at least: the illumination intensity outside the vehicle, the speed, the time, the weather, the position and the traffic jam degree.
3. The method for switching the theme of the vehicle-mounted instrument according to claim 1, wherein the switching the theme of the display of the vehicle-mounted instrument from the current theme to the target theme comprises:
calculating the difference degree between the current theme and the target theme;
when the difference is larger than a preset difference threshold, gradually changing display parameters of the vehicle-mounted instrument according to a preset time interval so as to gradually switch the current theme to the target theme;
and when the difference degree is smaller than or equal to the difference degree threshold value, directly switching the display parameters of the vehicle-mounted instrument to target display parameters so as to directly switch the current theme to the target theme.
4. The method for switching the theme of the vehicle-mounted instrument according to claim 3, wherein the difference degree is a color difference degree, and the corresponding display parameter is a color;
and when the difference is greater than a preset difference threshold, gradually changing display parameters of the vehicle-mounted instrument according to a preset time interval to gradually switch the current theme to the target theme, wherein the gradually changing comprises the following steps:
when the color difference is larger than a preset color difference threshold, acquiring a first color mapping table of the current theme, a second color mapping table of the target theme and a third color mapping table of all colors from the current theme to the target theme;
calculating a plurality of transition color values from the current theme to the target theme based on the first color mapping table and the second color mapping table by adopting a linear interpolation method;
and based on the third color mapping table, displaying sequentially from the transition color value until the last transition color value is displayed, and the color of the target theme is reached.
5. The method for switching the theme of the vehicle-mounted instrument according to claim 4, wherein the calculating a plurality of transition color values from the current theme to the target theme based on the first color map and the second color map by using a linear interpolation method includes:
calculating a first weight of a current theme and a second weight of a target theme at each time within a preset total transition time length:
and calculating all transition color values from the current theme to the target theme at each time in the total transition duration according to the first weight and the second weight.
6. The in-vehicle meter theme switching method of claim 5, wherein the first weight is calculated according to the following formula: first weight = 1-current time/total transition length;
calculating the second weight according to the following formula: second weight = current time/total transition duration;
calculating the transition color value at the current time according to the following formula: transition color value = current topic first weight + target topic second weight.
7. The utility model provides a on-vehicle instrument theme auto-change over device which characterized in that includes:
the vehicle exterior environment information acquisition module is used for acquiring vehicle exterior environment information;
the target theme acquisition module is used for inputting the vehicle external environment information into a preset theme model to obtain a target theme; the theme model is obtained through training of a preset neural network based on vehicle external environment information and a vehicle-mounted instrument theme;
and the theme switching module is used for switching the display theme of the vehicle-mounted instrument from the current theme to the target theme.
8. The in-vehicle meter theme switching apparatus according to claim 7, wherein the switching of the display theme of the in-vehicle meter from the current theme to the target theme includes:
calculating the difference degree between the current theme and the target theme;
when the difference is larger than a preset difference threshold, gradually changing display parameters of the vehicle-mounted instrument according to a preset time interval so as to gradually switch the current theme to the target theme;
and when the difference degree is smaller than or equal to the difference degree threshold value, directly switching the display parameters of the vehicle-mounted instrument to target display parameters so as to directly switch the current theme to the target theme.
9. A terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the in-vehicle meter theme switching method according to any one of claims 1 to 6 when the computer program is executed.
10. A computer readable storage medium, wherein the computer readable storage medium comprises a stored computer program; wherein the computer program, when running, controls the device in which the computer readable storage medium is located to execute the in-vehicle meter theme switching method according to any one of claims 1 to 6.
CN202310582670.8A 2023-05-22 2023-05-22 Method, device, equipment and storage medium for switching theme of vehicle-mounted instrument Pending CN116674377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310582670.8A CN116674377A (en) 2023-05-22 2023-05-22 Method, device, equipment and storage medium for switching theme of vehicle-mounted instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310582670.8A CN116674377A (en) 2023-05-22 2023-05-22 Method, device, equipment and storage medium for switching theme of vehicle-mounted instrument

Publications (1)

Publication Number Publication Date
CN116674377A true CN116674377A (en) 2023-09-01

Family

ID=87788224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310582670.8A Pending CN116674377A (en) 2023-05-22 2023-05-22 Method, device, equipment and storage medium for switching theme of vehicle-mounted instrument

Country Status (1)

Country Link
CN (1) CN116674377A (en)

Similar Documents

Publication Publication Date Title
CN110146100B (en) Trajectory prediction method, apparatus and storage medium
US8483907B2 (en) Customizable graphical display
CN110956202B (en) Image training method, system, medium and intelligent device based on distributed learning
CN111143197B (en) Automatic driving test case generation method, device, equipment and storage medium
CN110850829B (en) Weather-based intelligent control method and system for vehicle-mounted equipment
WO2022228530A1 (en) Method and apparatus for simulating environment outside vehicle, storage medium and terminal device
US20200125356A1 (en) Automated usage driven engineering
CN110780960B (en) Webpage making method, webpage making system, readable storage medium and server
CN106950698A (en) Support the automobile HUD methods and terminal of brightness self adapting and study
CN112685125A (en) Theme switching method and device of application program and computer readable storage medium
CN116674377A (en) Method, device, equipment and storage medium for switching theme of vehicle-mounted instrument
CN116442787A (en) Electric automobile energy consumption early warning method, device, medium and equipment
CN109780192B (en) Solving method and device for gear transmission ratio of gearbox, terminal and storage medium
CN115545118A (en) Vehicle driving evaluation and training method, device, equipment and medium of model thereof
CN115049151A (en) Navigation route recommendation method, device, equipment and storage medium
CN114333715A (en) Vehicle backlight brightness adjusting method and device, computer equipment and storage medium
CN107784309A (en) A kind of realization method and system to vehicle cab recognition
CN111949109A (en) Power consumption control method of vehicle-mounted terminal, vehicle-mounted terminal and vehicle
CN110895576A (en) Display method and device for terminal screen protection
CN115220834A (en) Theme switching method and device, vehicle-mounted terminal and storage medium
CN111091581A (en) Pedestrian trajectory simulation method and device based on generation of countermeasure network and storage medium
CN116483983B (en) Method and related equipment for generating emotion change quantity of virtual character
CN115220835A (en) Theme adaptation method and device, theme service platform and storage medium
CN117807748A (en) Calibration method and device for vehicle creep strategy, electronic equipment and storage medium
CN116966588A (en) Material management method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination