Method for controlling user interaction element of vehicle, electronic device, and vehicle
By obtaining multiple parameters of the vehicle and transmitting control parameters through the local Internet network LIN bus, the problem of single functions and low intelligence of existing vehicle user interaction components is solved, and a multifunctional user interaction experience is realized, improving the intelligent and personalized characteristics of the vehicle.
Patent Information
- Application Number
- CN202311650702.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-04
- Publication Date
- 2025-06-13
AI Technical Summary
The user interaction components such as ambient lights in existing vehicles have single functions and cannot meet the personalized needs of users. They are low in intelligence and have low user interaction, which affects the user's driving experience.
By obtaining multiple parameters of the vehicle, such as status parameters, audio playback information and user input information, the control parameters used to control the user interaction elements, including brightness, color and frequency of change, and transmit these parameters through the local Internet network LIN bus to control user interaction elements such as atmosphere lights.
It realizes multi-function control of user interaction components in different scenarios, improves user experience, increases the usage scenarios of ambient lights, reduces the wiring cost of user interaction components, and improves system reliability and development difficulty.
Smart Images

Figure CN120135199A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of vehicles, and particularly to a method, an electronic device, and a vehicle for controlling user interaction elements of a vehicle. Background Art
[0002] The intelligent cockpits in the current vehicle field are developing rapidly. User interaction elements in the vehicle, such as ambient lights, are not only used for lighting, but more importantly, can display the intelligence and personalization of the vehicle, enhance the brand recognition, highlight the differences, and thus improve the user's driving and riding experience. The development of ambient lights will be more and more applied to ordinary vehicle models and become a standard configuration of automobiles. Summary of the Invention
[0003] In a first aspect of the present disclosure, a method for controlling user interaction elements of a vehicle is provided. The method includes: obtaining a plurality of parameters of the vehicle, the parameters at least including the state parameters of the vehicle, audio playback information, and user input information; determining at least according to the parameters control parameters for controlling the user interaction elements, the control parameters at least being used to control at least one of the brightness, color, and change frequency of a predetermined user interaction element; and transmitting the control parameters to the user interaction elements via a Local Interconnect Network (LIN) bus to control the user interaction elements.
[0004] In some embodiments, transmitting the control parameters via a Local Interconnect Network (LIN) bus includes: transmitting the control parameters to a microcontroller unit (MCU) of the vehicle so that the microcontroller transmits the control parameters via the Local Interconnect Network (LIN) bus.
[0005] In some embodiments, the method further includes: generating control parameters according to a set value of at least one of the brightness, color, and change frequency of the user interaction element in the user input information; and sending the control parameters to the microcontroller unit (MCU) so that the microcontroller generates a control signal for controlling the user interaction element based on the control parameters and a breathing rhythm matrix table.
[0006] In some embodiments, obtaining a plurality of parameters of the vehicle includes: obtaining audio playback information from a Digital Signal Processing (DSP) unit; and / or obtaining voice control information in the user input information from the Digital Signal Processing (DSP) unit.
[0007] In some embodiments, obtaining a plurality of parameters of the vehicle further includes: obtaining control information input by the user through a touch screen or a button in the user input information from a serializer.
[0008] In some embodiments, obtaining a plurality of parameters of the vehicle further includes: obtaining the state parameters of the vehicle from a Controller Area Network (CAN) bus through the microcontroller unit (MCU).
[0009] In some embodiments, the status parameter includes the Advanced Driver Assistance System (ADAS) alarm information of the vehicle.
[0010] In some embodiments, the method further includes: determining and storing user preference settings based at least on user input information; and determining control parameters for controlling a user interaction element based on the parameters and the preference settings.
[0011] In some embodiments, determining control parameters for controlling a user interaction element includes: determining at least one of the brightness and color of the user interaction element and a corresponding change frequency based on user input information.
[0012] In a second aspect of the present disclosure, there is provided an electronic device. The electronic device includes: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing machine-executable instructions that, when executed by the at least one processing unit, cause the device to perform actions, the actions including: obtaining a plurality of parameters of a vehicle, the parameters including at least the status parameter, audio playback information, and user input information of the vehicle; determining control parameters for controlling a user interaction element based at least on the parameters, the control parameters being at least for controlling at least one of the brightness, color, and change frequency of a predetermined user interaction element; and transmitting the control parameters to the user interaction element via a Local Interconnect Network (LIN) bus to control the user interaction element.
[0013] In a third aspect of the present disclosure, there is provided a computer-readable storage medium. A computer program is stored on the computer-readable storage medium and can be executed by a processor to implement the method of the first aspect.
[0014] In a fourth aspect of the present disclosure, there is provided a vehicle. The vehicle includes: a user interaction element including an ambient light; and the electronic device described in the second aspect above.
[0015] It should be understood that the content described in this part is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] By describing the exemplary embodiments of the present disclosure in more detail in conjunction with the drawings, the above and other objects, features, and advantages of the present disclosure will become more apparent, wherein, in the exemplary embodiments of the present disclosure, the same reference numerals generally represent the same components.
[0017] Figure 1 A simplified schematic diagram showing a scenario to which the method according to the embodiment of the present disclosure can be applied;
[0018] Figure 2A andFigure 2B A schematic block diagram of a control system according to an embodiment of the present disclosure is shown;
[0019] Figure 3 A schematic block diagram of a part of a control system for implementing a respiratory rhythm according to an embodiment of the present disclosure is shown;
[0020] Figure 4 An exemplary flowchart of a method for controlling a user interaction element of a vehicle according to an embodiment of the present disclosure is shown; and
[0021] Figure 5 A schematic block diagram of an electronic device suitable for implementing an embodiment of the present disclosure is shown. Detailed implementation manners
[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.
[0023] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this document, and any type of embodiment can be included under any section / subsection. In addition, the embodiments described in any section / subsection can be combined with any other embodiments described in the same section / subsection and / or different sections / subsections in any manner.
[0024] In the description of the embodiments of the present disclosure, the term "including" and its like should be understood as an open inclusion, that is, "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". There may also be other explicit and implicit definitions hereinafter. The terms "first", "second", etc. may refer to different or the same objects. There may also be other explicit and implicit definitions hereinafter.
[0025] As used herein, the term "model" can learn the association between corresponding inputs and outputs from training data, so that after training, for a given input, the corresponding output can be generated. The generation of the model can be based on machine learning techniques. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs by using multiple layers of processing units. In this document, "model" can also be referred to as "machine learning model", "machine learning network" or "network", and these terms are used interchangeably herein. A model can also include different types of processing units or networks.
[0026] As used herein, a "unit", "operation unit" or "sub-unit" can be composed of a machine learning model or network with any suitable structure. As used herein, a set of elements or similar expressions can include one or more such elements.
[0027] Embodiments of the present disclosure may involve the user's data, data acquisition and / or use, etc. These aspects all comply with the corresponding laws, regulations and related provisions. In the embodiments of the present disclosure, the collection, acquisition, processing, processing, forwarding, use, etc. of all data are carried out on the premise that the user is aware of and confirms. Accordingly, when implementing the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained through appropriate means according to the relevant laws and regulations. The specific notification and / or authorization methods may vary according to the actual situation and application scenarios, and the scope of the present disclosure is not limited in this regard.
[0028] A vehicle includes a variety of user interaction components including ambient lights. In current traditional solutions, most vehicles' ambient lights have a single function. Usually, they can only be used for single purposes such as lighting, and the color and brightness are usually set to a fixed single mode at the factory, which cannot meet the user's demand for personalization.
[0029] In addition, the current ambient lights have a low degree of interaction with users. Usually, only fixed modes can be used, and at most, users can only manually trigger the switch, with a low degree of intelligence. In addition, the usage scenarios of most current ambient lights are relatively single and fixed, which all affect the user experience.
[0030] Embodiments of the present disclosure provide a method and an electronic device for controlling user interaction elements of a vehicle to solve or at least partially solve the above problems or other potential problems existing in the use of traditional user interaction elements such as ambient lights. The method according to the embodiments of the present disclosure controls the brightness, color, change frequency, etc. of the user interaction elements by obtaining various parameters of the vehicle, including state parameters, audio playback information, user input information, etc., and can achieve different display forms in different scenarios. It can be turned on, turned off, and control related functions of user interaction elements such as ambient lights through multiple methods such as voice and touch: for example, including but not limited to switch settings (color adjustment, brightness adjustment, breathing setting, constant on), reading lamp function, music rhythm, video linkage, welcome when getting in the car, and the ambient light can display vehicle status alarms and other multiple functions.
[0031] In addition, the method according to the embodiments of the present disclosure controls multiple user interaction elements through the Local Interconnect Network (LIN) bus, so as to be able to achieve single-wire transmission at a lower cost, and further reduce the wiring cost of the user interaction elements. In addition, the LIN communication protocol supports one master and multiple slaves. By using the Microcontroller Unit (MCU) as the master node and multiple user interaction elements as slave nodes, multiple user elements can be controlled more flexibly. In addition, using the LIN bus also has the advantages of improving system reliability and reducing development difficulty.
[0032] The inventive concept according to the present disclosure will be described below with reference to the accompanying drawings. Figure 1 A simplified schematic diagram of a vehicle capable of applying the method according to the embodiments of the present disclosure is shown. As Figure 1 shown, the vehicle according to the embodiments of the present disclosure includes an intelligent cockpit development platform (CDP) 101 and user interaction elements 102 such as ambient lights. Figure 2A And Figure 2B shows the various components inside the intelligent cockpit CDP domain and the example bus transmission methods between them, as well as the data transmission methods between the intelligent cockpit CDP and the vehicle domain and the touch screen, etc. It should be noted that in addition to using Figure 2A shown, the microphone input can be input to the DSP by using an Analog-to-Digital Converter (ADC) module, and can also be implemented through Figure 2B shown by using the Automotive Audio Bus (A2B). A2B is a high-bandwidth, two-way, digital audio bus and supports 11 nodes (1 master node and 10 slave nodes). The A2B master node transmits data with multiple slave nodes, and the A2B master node transmits data through the Inter-Integrated Circuit (I2C) and Serial Digital Audio Bus (I2S) / Time Division Multiplexing (TDM) interfaces.
[0033] The intelligent cockpit CDP includes a microprocessor MCU, a system-on-chip SoC, a processing unit implementing digital signal processing DSP technology, an electrically erasable programmable read-only memory (EEPROM), and a serializer for communicating with the touch screen, etc. The MCU is based on the central processing unit (CPU), with the addition of a random access memory (RAM), a read-only memory (ROM), a counter / timer, and input / output (I / O) interfaces, integrating them into one to form a "chip-level chip".
[0034] The MCU can communicate with the vehicle domain to obtain various information of the vehicle domain and / or send control information to the vehicle domain, etc. The vehicle domain can include, for example, a power domain, a chassis domain, and an assisted driving domain, etc. The power domain controller is an intelligent powertrain management unit that realizes transmission management, engine management, battery monitoring, and alternator regulation. Its advantage lies in calculating and distributing torque for multiple powertrain units (internal combustion engine, motor / generator, battery, transmission), achieving CO 2 emission reduction, communication gateway, etc., mainly used for the optimization and control of the powertrain, and at the same time having functions such as electrical intelligent fault diagnosis, intelligent power saving, and bus communication.
[0035] The chassis domain is related to vehicle driving and usually includes a drive train, a running gear, a steering system, and a braking system. The drive train is responsible for transmitting the power of the engine to the driving wheels and can be divided into mechanical, hydraulic, and electric types, etc. The mechanical drive train mainly includes a clutch, a transmission, a universal drive device, and a drive axle, etc. The hydraulic drive train mainly includes a hydraulic torque converter, an automatic transmission, a universal drive device, and a drive axle, etc. The running gear connects all parts of the vehicle into a whole and supports the whole vehicle. Components such as the frame, suspension, wheels, and axles are all its parts. The steering system ensures that the vehicle can drive straight or turn according to the driver's intention. The braking system forces the road surface to apply a certain external force opposite to the driving direction of the vehicle on the vehicle wheels to perform a certain degree of forced braking on the vehicle. Its function is to decelerate and stop, and park the vehicle.
[0036] The assisted driving domain includes an environment perception module, a decision-making and planning module, and a control execution module. The environment perception module relies on various sensors (including but not limited to: cameras, millimeter-wave radars, ultrasonic radars, lidars, high-precision maps / Inertial Measurement Unit (IMU) / Global Positioning System (GPS) / BeiDou satellite positioning system, etc.) to obtain information about the vehicle's environment and information about surrounding vehicles, pedestrians, traffic lights, and road signs, etc., providing data support for the vehicle's comprehensive decision-making. The decision-making and planning module performs data fusion based on the results of environment perception, determines a suitable working model in combination with high-precision map data, and decides on the corresponding trajectory planning scheme to achieve the purpose of replacing humans in making driving decisions and integrating intelligent vehicles into the entire traffic flow in an anthropomorphic manner. The control execution module controls the vehicle's drive, braking, and steering systems through various control theories and algorithms, thereby realizing the lateral and longitudinal control of the vehicle and enabling the vehicle to accurately perform effective avoidance, deceleration, distance keeping, steering, etc. actions according to the decision-making and planning.
[0037] The MCU can communicate with the vehicle domain through the Controller Area Network (CAN) bus to obtain various information or parameters of the various components mentioned above in the vehicle domain. For example, these information or parameters are usually transmitted in the form of CAN messages, including but not limited to: vehicle torque information, throttle information, steering wheel angle information, vehicle sensor information, Advanced Driver Assistance System (ADAS) alarm information, battery circuit, transmission information, etc., and can also send control parameters to these components. The MCU can also communicate with the EEPROM through the Inter-Integrated Circuit (I2C) bus to store or read various setting information, parameters. For example, as will be mentioned below, the MCU can store the user's preference setting information about user interaction elements in the EEPROM and read it when needed, thereby improving the user experience.
[0038] The MCU can also communicate with multiple user interaction elements such as ambient lights through a LIN transceiver. User interaction elements can include ambient lights, touch screens, speakers, etc. In the following, the ambient light will be mainly used as an example of the user interaction element to describe the concept of the present disclosure. It should be understood that the situation where the user interaction element is other components is similar, and will not be separately described hereinafter.
[0039] The ambient lights of the vehicle can include ambient lights arranged in different areas and / or different components of the vehicle. For example, they can include ambient lights arranged on components such as doors, center consoles, ceilings, etc., and can also include ambient lights arranged in areas such as the driver's position, co-driver's position, and rear space, etc. These ambient lights can be connected to different slave nodes of the LIN bus according to the different positions or areas where they are arranged, facilitating the flexible control of ambient lights in different areas or positions.
[0040] A System-on-Chip (SoC), also known as a system-level chip, is an integrated circuit with a dedicated purpose, which contains a complete system and all the contents of the embedded software (such as the Android system, etc.). The SoC can include a system-level chip control logic module, a microprocessor / microcontroller CPU core module, a digital signal processor (DSP) module, an embedded memory module, an interface module for communicating with the outside, an analog front-end module containing analog-to-digital conversion / digital-to-analog conversion (ADC / DAC), a power supply and power consumption management module. For a wireless SoC, there is also a radio frequency front-end module, user-defined logic (which can be implemented by a field-programmable gate array (FPGA) or an application-specific integrated circuit (ASIC)), and a microelectromechanical module. More importantly, an SoC chip embeds basic software (such as the Android system and other application software) modules or loadable user software, etc.
[0041] As Figure 2A 、 Figure 2B and Figure 3 shown, the system-on-chip can communicate with the microcontroller (MCU) in the vehicle through appropriate transceiver devices (such as a serial peripheral interface (SPI) device and / or a universal asynchronous receiver / transmitter (UART)) to obtain various parameters of the vehicle that the MCU obtains from the vehicle domain. For example, as mentioned in the previous text, the MCU receives CAN messages from the vehicle domain through a CAN transceiver, and after packing and processing the CAN message data on the MCU side, it is transmitted to the SoC side through the SPI / UART communication protocol. After parsing, the SoC obtains the ADAS alarm signal on the vehicle domain.
[0042] For example, the SoC determines through analyzing the CAN message data provided by the MCU that the vehicle is in a stopped state and there is an object (such as a person or a vehicle, etc.) passing by the vehicle from the left rear to the front. At this time, the SoC can generate corresponding control parameters based on this information to control the left door or the ambient light in the driver's area to be red to remind the user to pay attention to the moving object outside when opening the door. These control parameters will be transmitted to the microcontroller MCU and used to control the left door or the ambient light in the driver's area through the LIN bus accordingly.
[0043] For example, the SoC determines through analyzing the CAN message data provided by the MCU that the vehicle has just been unlocked, and the user opens the door and is about to get in the car. At this time, the SoC can generate corresponding control parameters based on this information to control the ambient light of the vehicle to change color to welcome the user to get in the car. These control parameters will be transmitted to the microcontroller MCU and used to control the ambient light through the LIN bus accordingly.
[0044] In some embodiments, the SoC analyzes the current driving speed of the vehicle and the speed limit sign information from the CAN message data provided by the MCU. If the SoC determines that the vehicle is speeding based on the current driving speed and the speed limit sign information, the SoC can generate corresponding control parameters according to the current driving speed information of the vehicle in combination with the speed limit information in the speed limit sign to control the ambient light of the vehicle to display red. These control parameters will be transmitted to the microprocessor MCU and used to control the ambient light via the LIN bus, thereby reminding the user that they are speeding.
[0045] It should be understood that the above examples are not exhaustive, but only illustrate schematically that the SoC can obtain various parameters of the vehicle from the MCU, and control the ambient light according to various parameters of the vehicle in combination with other relevant parameters (such as traffic sign parameters such as speed limit signs obtained from cameras or high-definition maps), increasing the usage scenarios of the ambient light and improving the user experience.
[0046] In addition, the SoC can also be connected to the touch screen through a serializer via Low-Voltage Differential Signaling (LVDS) and I2C to achieve human-machine interaction. The user can input various user input information through the touch screen. For example, the user can adjust the color and / or brightness of the ambient light through the touch bar or similar display elements displayed on the touch screen. In response to the user's control of these display elements, the SoC can receive the user input information and convert it into control parameters for controlling the ambient light. These parameters will be transmitted to the MCU, and the MCU will control the relevant ambient lights among multiple ambient lights via the LIN bus according to the control parameters.
[0047] In addition, the user can also input user preference setting information through the touch screen. The user preference setting information can set the color, brightness level, and change frequency, etc., of the ambient light that the user likes. The change frequency can represent at least one of the following: the frequency of change of the ambient light color, the frequency of change of the brightness (such as bright and dark changes), and the frequency of change of the brightness and color of the ambient light in different regions or positions. The user preference information can also be stored in the EEPROM coupled to the MCU to avoid loss due to power-off. In this way, the user experience can be improved.
[0048] The SoC can also cooperate with the DSP to achieve voice input and speaker output in the intelligent cockpit. The microphones at different positions in the vehicle can transmit the voices of passengers at different positions to the DSP and then to the SoC. The SoC can analyze these voice input signals (as a type of user input information) to achieve voice recognition and control of user interaction components. The transmission of voice control signals can be carried out through a serial digital audio bus (I2S) / time division multiplexing (TDM) interface. In addition, speakers at different positions in the vehicle can also achieve different scenario sound outputs.
[0049] For example, the SoC can obtain music data of a music application (APP) and parameters such as the mood and genre of the song (such as audio playback information), set these parameters into an algorithm, and finally generate control parameters to control the color and brightness of the ambient light, and transmit them to the MCU side through SPI / UART. Finally, the MCU transmits this control parameter to the ambient light through the LIN bus to achieve corresponding changes in the ambient light according to the music playback information. At the same time, the SoC also transmits music audio information to the DSP, and finally the DSP outputs music sound through the power amplifier and speakers.
[0050] In some embodiments, the SoC can also identify the position of the user who inputs the voice input signal in the vehicle and accordingly control the change of the ambient light at that position.
[0051] In some embodiments, the MCU can also detect hardware communication faults of the ambient light and report the fault information to the SoC. The SoC can then present it to the user in an appropriate manner to prompt the user for repair. For example, the SoC can display the ambient light communication fault information on the touch screen through an adder to prompt the user for inspection, thereby improving the reliability of the vehicle.
[0052] In the following, two examples will be used to describe that the method according to the embodiments of the present disclosure can make the interior of the intelligent cockpit more three-dimensional, enhance the texture, improve the driving safety in abnormal scenarios, ensure the attention and comfort of the user driver, and create a relaxed and pleasant atmosphere.
[0053] Example 1 is that abnormal driving alarms can be achieved through the ambient light. In some embodiments, as mentioned above, the MCU receives CAN message information from the vehicle domain, such as some alarm signals of ADAS and vehicle speed signals, etc. The MCU side transmits these CAN message information to the SoC through the RPC protocol of UART or SPI communication.
[0054] After processing and analyzing the received CAN message information, the SoC converts it into control parameters to indicate the enabling (switching) of different areas of the ambient light, color settings (which can display different stimulating colors according to different danger levels, such as red, yellow, etc.), brightness settings (which can display different brightness levels according to different danger levels), and blinking frequencies, etc.
[0055] The SoC transmits the control parameters to the MCU side through the RPC protocol of UART or SPI communication. The MCU converts the control parameters into LIN message information and transmits it to the ambient light through the LIN bus, thus realizing the light alarm function to visually remind the driver, thereby improving driving safety and user experience.
[0056] In addition, the SoC can also transmit different warning tone audio data to the DSP according to different danger level signals, and finally drive the speaker to emit an alarm sound through the power amplifier, thus realizing the sound alarm function to aurally remind the driver to further improve driving safety and user experience.
[0057] Example 2 is that the ambient light can be controlled according to the breathing rhythm. The breathing rhythm refers to stable breathing at a certain rhythm (the brightness gradually changes periodically). For example, the breathing rhythm can mean that the brightness of the ambient light gradually decreases from the brightest until it goes out, and then gradually increases to the brightest, repeating in cycles. Of course, the breathing rhythm can also represent the situation where the color of the ambient light changes periodically.
[0058] To implement the function of the ambient light changing with the breathing rhythm requires smooth changes in brightness and high real-time requirements. If the brightness change signal is sent from the SoC side, the control signal is packed and transmitted to the MCU side through the RPC protocol. The MCU side needs to parse the data and send the brightness signal to the LIN ambient light node through the LIN scheduling table, which has a certain delay and occupies the RPC communication load. Eventually, it may cause the breathing brightness display to be uneven, with stuttering and lag phenomena, affecting the user experience.
[0059] Since the breathing rhythm changes according to a fixed rule, the implementation of the change of the ambient light according to the breathing rhythm according to the method of the embodiments of the present disclosure is mainly completed by the MCU side. The MCU side can generate a matrix table of various breathing rhythms with different frequencies according to a certain algorithm formula. For example, in some embodiments, the MCU can generate a matrix table of the breathing rhythm according to the following formula (1).
[0060]
[0061] Where y is the real-time brightness of the ambient light, B is the maximum brightness set by the user on the display interface of the touch screen (for example, in the manner mentioned above), ω is the angular frequency, which depends on the breathing frequency set by the user, and t is the time, with the unit of s.
[0062] As mentioned in the foregoing, the user can input information such as the period (frequency), color, and brightness (e.g., maximum brightness) corresponding to the breathing rhythm effect to the SoC through the touch screen. In some embodiments, as mentioned in the foregoing, the user can also input this information (i.e., voice control information here) to the SoC through the DSP via voice input.
[0063] The SoC converts this information and transmits control parameters regarding the color of the ambient light, the maximum brightness range to breathe rhythmically, and the frequency, etc. to the MCU.
[0064] After receiving and parsing the control parameters sent by the SoC, the MCU side selects and sets the corresponding breathing rhythm matrix table, obtains brightness data from this matrix table according to the LIN scheduling period, and sends the data to the LIN ambient light, finally realizing the breathing rhythm. In this way, the brightness change display of the breathing rhythm can be made smoother, without stuttering or lag phenomena, thus improving the user experience.
[0065] Figure 4 The flowchart shows a method for controlling a user interaction element of a vehicle according to an embodiment of the present disclosure. In some embodiments, this method can be implemented by the SoC or any other suitable electronic device mentioned in the foregoing. For ease of understanding, the specific examples, numbers, or values mentioned in the following description are merely exemplary and do not limit the protection scope of the present disclosure.
[0066] As Figure 4 shown, in the method executed by the server, at block 410, the electronic device acquires a plurality of parameters of the vehicle. The plurality of parameters at least include the state parameters of the vehicle, audio playback information, user input information, etc. After acquiring these parameters, at block 420, the electronic device determines control parameters for controlling user interaction elements such as ambient lights at least according to the parameters. The control parameters are at least used to control at least one of the brightness, color, and change frequency of the predetermined user interaction element.
[0067] At block 430, the electronic device transmits the control parameters to the user interaction element through the Local Interconnect Network (LIN) bus to control the user interaction element.
[0068] In some embodiments, an electronic device such as an SoC can transmit the control parameters to the microprocessor MCU of the vehicle, so that the microprocessor transmits the control parameters via the Local Interconnect Network (LIN) bus.
[0069] In some embodiments, the electronic device may also generate a control parameter according to at least one set value of the brightness, color, and change frequency of the user interaction element in the user input information, and send the control parameter to the microprocessor MCU so that the microprocessor generates a control signal for controlling the user interaction element based on the control parameter and the breathing rhythm matrix table.
[0070] In some embodiments, obtaining multiple parameters of the vehicle may further include: obtaining audio playback information from a digital signal processing (DSP) unit; and / or obtaining voice control information in the user input information from the digital signal processing (DSP) unit.
[0071] In some embodiments, obtaining multiple parameters of the vehicle may further include: obtaining control information input by the user through a touch screen or buttons in the user input information from an adder.
[0072] In some embodiments, obtaining multiple parameters of the vehicle may further include: obtaining the status parameters of the vehicle from a controller area network (CAN) bus through a microprocessor MCU.
[0073] In some embodiments, the status parameters include advanced driver assistance system (ADAS) alarm information of the vehicle.
[0074] In some embodiments, the electronic device may also determine and store user preference settings at least according to the user input information. The electronic device may determine a control parameter for controlling the user interaction element according to the parameters and preference settings.
[0075] In some embodiments, the electronic device may determine at least one of the brightness and color of the user interaction element and the corresponding change frequency according to the user input information.
[0076] Figure 5 A block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that Figure 5 The illustrated electronic device 500 is merely exemplary and should not constitute any limitation to the functions and scopes of the embodiments described herein. Figure 5 The illustrated electronic device 500 may be used to implement the electronic device mentioned above.
[0077] As Figure 5As shown, the electronic device 500 is in the form of a general-purpose computing device. The components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to the programs stored in the memory 520. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing ability of the electronic device 500.
[0078] The electronic device 500 generally includes multiple computer storage media. Such media can be any accessible media that can be obtained by the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be volatile memory (such as registers, caches, random access memory (RAM)), non-volatile memory (such as read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 may be removable or non-removable media and may include machine-readable media, such as a flash drive, a magnetic disk, or any other medium that can be used to store information and / or data (such as training data for training) and can be accessed within the electronic device 500.
[0079] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in Figure 5 a disk drive for reading from or writing to a removable, non-volatile magnetic disk (such as a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform the various methods or actions of the various embodiments of the present disclosure.
[0080] The communication unit 540 enables communication with other computing devices through a communication medium. Additionally, the functions of the components of the electronic device 500 may be implemented in a single computing cluster or multiple computer machines that are capable of communicating through a communication connection. Thus, the electronic device 500 may operate in a networked environment using a logical connection with one or more other servers, network personal computers (PCs), or another network node.
[0081] The input device 550 can be one or more input devices, such as including but not limited to the touch screen or voice input device (such as a microphone) mentioned above. The output device 560 can be one or more output devices, such as a display (such as a touch screen), a speaker, etc. The electronic device 500 can also communicate with one or more external devices (not shown) as needed through the communication unit 540. The external devices such as storage devices, display devices, etc., communicate with one or more devices that enable the user to interact with the electronic device 500, or communicate with any device that enables the electronic device 500 to communicate with one or more other computing devices (for example, a network card, a modem, etc.). Such communication can be performed via an input / output (I / O) interface (not shown).
[0082] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, and the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided. The computer program product is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0083] Aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and the combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0084] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is produced that implements the functions / acts specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, the programmable data processing device, and / or other devices to work in a specific manner. Thus, the computer-readable medium storing the instructions includes a manufacture, which includes instructions for implementing various aspects of the functions / acts specified in one or more blocks of the flowchart and / or block diagram.
[0085] Computer-readable program instructions may be loaded onto a computer, other programmable data processing apparatus, or other devices, causing a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other devices to generate a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other devices to implement the functions / acts specified in one or more boxes of the flowchart and / or block diagram.
[0086] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two consecutive blocks may in fact be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or acts, or by a combination of dedicated hardware and computer instructions.
[0087] The various implementations of the present disclosure have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art in the field without departing from the scope and spirit of the described implementations. The choice of terms used herein is intended to best explain the principles of the implementations, the practical application, or the improvement of technologies in the market, or to enable other ordinary skill in the art in the field to understand the various implementation manners disclosed herein.
Claims
1. A method for controlling a user interaction element of a vehicle, comprising: obtaining a plurality of parameters of the vehicle, the parameters at least including vehicle state parameters, audio playback information, and user input information; determining at least control parameters for controlling the user interaction element based on at least the parameters, the control parameters at least for controlling at least one of brightness, color, and change frequency of the predetermined user interaction element; and transmitting the control parameters to the user interaction element via a Local Interconnect Network (LIN) bus to control the user interaction element.
2. The method according to claim 1, wherein transmitting the control parameters via a Local Interconnect Network (LIN) bus comprises: transmitting the control parameters to a microcontroller unit (MCU) of the vehicle, so that the microcontroller transmits the control parameters via the Local Interconnect Network (LIN) bus.
3. The method according to claim 1, further comprising: generating control parameters according to a set value of at least one of brightness, color, and change frequency of the user interaction element in the user input information; and sending the control parameters to a microcontroller unit (MCU) so that the microcontroller generates a control signal for controlling the user interaction element based on the control parameters and a breathing rhythm matrix table.
4. The method according to claim 1, wherein obtaining a plurality of parameters of the vehicle comprises: obtaining the audio playback information from a Digital Signal Processing (DSP) unit; and / or obtaining voice control information in the user input information from the Digital Signal Processing (DSP) unit.
5. The method according to claim 1, wherein obtaining a plurality of parameters of the vehicle further comprises: obtaining control information input by the user through a touch screen or a button in the user input information from an adder.
6. The method according to claim 1, wherein obtaining a plurality of parameters of the vehicle further comprises: obtaining the state parameters of the vehicle from a Controller Area Network (CAN) bus through a microcontroller unit (MCU).
7. The method according to any one of claims 1 - 6, wherein the state parameters include Advanced Driver Assistance System (ADAS) alarm information of the vehicle.
8. The method according to any one of claims 1 - 6, further comprising: determining and storing user preference settings based on at least the user input information; and determining control parameters for controlling the user interaction element based on the parameters and the preference settings.
9. The method according to any one of claims 1 - 6, wherein determining control parameters for controlling the user interaction element comprises: determining at least one of brightness and color of the user interaction element and a corresponding change frequency based on the user input information.
10. An electronic device, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing machine - executable instructions, which when executed by the at least one processing unit cause the device to perform actions, the actions including: obtaining a plurality of parameters of the vehicle, the parameters at least including vehicle state parameters, audio playback information, and user input information; Determine at least a control parameter for controlling the user interaction element based on the parameters, where the control parameter is at least used to control at least one of the brightness, color, and change frequency of the predetermined user interaction element; and Transmit the control parameter to the user interaction element via a Local Interconnect Network (LIN) bus to control the user interaction element.
11. The electronic device according to claim 10, wherein the control parameter is transmitted via a Local Interconnect Network (LIN) bus includes: Transmit the control parameter to the microcontroller unit (MCU) of the vehicle, so that the microcontroller transmits the control parameter via the Local Interconnect Network (LIN) bus.
12. The electronic device according to claim 10, wherein the action further includes: Generate a control parameter according to at least one set value of the brightness, color, and change frequency of the user interaction element in the user input information; and Send the control parameter to the microcontroller unit (MCU) so that the microcontroller generates a control signal for controlling the user interaction element based on the control parameter and a breathing rhythm matrix table.
13. The electronic device according to claim 10, wherein obtaining a plurality of parameters of the vehicle includes: Obtain the audio playback information from a Digital Signal Processing (DSP) unit; and / or Obtain the voice control information in the user input information from the Digital Signal Processing (DSP) unit.
14. The electronic device according to claim 10, wherein obtaining a plurality of parameters of the vehicle further includes: Obtain the control information input by the user through a touch screen or a button in the user input information from a serializer.
15. The electronic device according to claim 10, wherein obtaining a plurality of parameters of the vehicle further includes: Obtain the state parameter of the vehicle from a Controller Area Network (CAN) bus through a microcontroller unit (MCU).
16. The electronic device according to any one of claims 10-15, wherein the state parameter includes the Advanced Driver Assistance System (ADAS) alarm information of the vehicle.
17. The electronic device according to any one of claims 10-15, wherein the action further includes: Determine and store user preference settings at least according to the user input information; and Determine a control parameter for controlling the user interaction element according to the parameter and the preference settings.
18. The electronic device according to any one of claims 10-15, wherein determining a control parameter for controlling the user interaction element includes: Determine at least one of the brightness and color of the user interaction element and the corresponding change frequency according to the user input information.
19. A computer-readable storage medium, on which a computer program is stored, and the computer program can be executed by a processor to implement the method according to any one of claims 1-9.
20. A vehicle,[[]] includes: A user interaction element, including an ambient light; and The electronic device according to any one of claims 10-18.