Screen control method, device and equipment of intelligent cabin system and medium

By using the display partition in the smart cockpit system to store the ID and mapping relationship of the historical display, the target display can be quickly obtained and initialized, which solves the problem of long boot time caused by enumeration search and improves the user experience.

CN118656142APending Publication Date: 2024-09-17FIBOCOM AUTO INC
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410687124.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In the smart cockpit system, enumeration to find the model of the screen connected to the system will cause the boot time to be too long and affect the user experience.

Method used

When the smart cockpit system is turned on, the ID of the historical display screen is obtained from the display partition of the processing chip, and the ID and initialization file of the target display screen are obtained through the mapping relationship. The initialization file is directly used for initialization to avoid enumeration search.

Benefits of technology

It reduces the boot time and improves the user experience. By pre-storing screen-related data and mapping relationships, it quickly matches and initializes the display screen, solving the problem of long boot time caused by enumeration searches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656142A
    Figure CN118656142A
Patent Text Reader

Abstract

The invention relates to a screen control method, device and equipment of an intelligent cabin system and a medium, the intelligent cabin system comprises a processing chip and a screen end, the method comprises the steps that when it is detected that the intelligent cabin system is started, a first display screen ID is acquired from a display screen partition of the processing chip, a plurality of display screen IDs are pre-stored in the display screen partition, and the first display screen ID is stored in the processing chip; the first display screen ID is an ID of a used historical display screen connected with the intelligent cabin system; obtaining a second display screen ID of a target display screen of the screen end through a mapping relation corresponding to the first display screen ID; under the condition that the second display screen ID is the same as the first display screen ID, obtaining a first initialization file corresponding to the first display screen ID; and utilizing the first initialization file to initialize the target display screen so as to enable the target display screen to operate normally. The problem that the startup time is too long due to the fact that the model of the screen connected with the system is found through enumeration is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart cockpit technology, and in particular to a screen control method, device, equipment and medium for a smart cockpit system. Background Art

[0002] At present, with the intelligent development of cockpit experience, users no longer only require mechanical properties such as power push-back feeling, but pursue a more refined and comfortable smart cockpit environment and interactive experience. In order to meet users' more interactive experiences, various types of screens have emerged, but different types of screens use different screen ICs (Integrated Circuits) and parameters, so different screens need to be configured with different initialization parameters. When the software of the same version of the cockpit platform is adapted to different types of screens, it obtains the correct screen ID (Identity document) through enumeration at startup, and then finds the corresponding parameters to initialize the screen, but this will increase the startup time of the system, especially when the system is compatible with many display screen models. Finding the model of the screen connected to the system through enumeration will cause the startup time to be too long, which will waste time and cost, and will also affect the user experience.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The present application provides a screen control method, device, equipment and medium for an intelligent cockpit system to solve the above-mentioned technical problem of "enumerating and searching for the model of the screen connected to the system will result in a long boot time".

[0005] According to one aspect of an embodiment of the present application, the present application provides a screen control method for a smart cockpit system, the smart cockpit system including a processing chip and a screen end, the method including: when it is detected that the smart cockpit system is turned on, obtaining a first display screen ID from a display screen partition of the processing chip, wherein a plurality of display screen IDs are pre-stored in the display screen partition, and the first display screen ID is the ID of a historical display screen connected to and used by the smart cockpit system; obtaining a second display screen ID of a target display screen on the screen end through a mapping relationship corresponding to the first display screen ID; when the second display screen ID is the same as the first display screen ID, obtaining a first initialization file corresponding to the first display screen ID; and initializing the target display screen using the first initialization file to enable the target display screen to operate normally.

[0006] Optionally, obtaining the second display screen ID of the target display screen at the screen end through a mapping relationship corresponding to the first display screen ID includes: obtaining a storage address that has a mapping relationship with the first display screen ID; locating a storage unit of the target display screen according to the storage address; if the storage unit is successfully located, reading the second display screen ID of the target display screen from the storage unit.

[0007] Optionally, after locating the storage unit of the target display screen according to the storage address, the method further includes: if locating the storage unit fails, determining that the target display screen is different from the historical display screen; if locating the storage unit succeeds and the second display screen ID obtained from the storage unit is different from the first display screen ID, determining that the target display screen is different from the historical display screen.

[0008] Optionally, the target display screen is initialized using the first initialization file, including: merging the first initialization file with a common file of a device tree to obtain a device tree, wherein the format of the first initialization file is a device tree binary format, and the first initialization file is obtained by pre-compiling configuration parameters corresponding to the first display screen ID; parsing the device tree by traversing each node of the device tree to obtain configuration parameters; and initializing the target display screen using the configuration parameters.

[0009] Optionally, after initializing the target display screen using the first initialization file, the method further includes: generating a target node, wherein the target node includes a second display screen ID of the target display screen; reading the second display screen ID on the target node through a preset loading service, and loading a touch screen module corresponding to the second display screen ID, wherein the matching display screen ID and the touch screen module are pre-mapped and stored, and the touch screen module is obtained by compiling touch screen drivers of various models; and initializing the touch screen device to enable the touch screen device to operate normally.

[0010] Optionally, after obtaining the second display screen ID of the screen end, the method further includes: if the first display screen ID is different from the second display screen ID, obtaining an ID list, wherein the ID list includes multiple display screen IDs with pre-established mapping relationships; finding a third display screen ID that is the same as the second display screen ID from the ID list, and storing the second display screen ID in a display screen partition of the processing chip; obtaining a second initialization file corresponding to the third display screen ID according to the mapping relationship, and using the second initialization file to initialize the target display screen.

[0011] Optionally, after failing to locate the storage unit, the method further includes: obtaining an ID list and each storage address that has a mapping relationship with each display screen ID in the ID list; locating the storage unit of the target display screen in sequence according to the storage address of each display screen ID until the fourth display screen ID is found, wherein the storage address corresponding to the fourth display screen ID is used to successfully locate the storage unit of the target display screen, and the fourth display screen ID is the same as the fifth display screen ID obtained from the storage unit; storing the fourth display screen ID in the display screen partition of the processing chip; obtaining a third initialization file corresponding to the fourth display screen ID, and using the third initialization file to initialize the target display screen.

[0012] According to another aspect of an embodiment of the present application, the present application provides a screen control device for an intelligent cockpit system, the intelligent cockpit system including a processing chip and a screen end, the device including: a first acquisition module, for acquiring a first display screen ID from a display screen partition of the processing chip when it is detected that the intelligent cockpit system is turned on, wherein a plurality of display screen IDs are pre-stored in the display screen partition, and the first display screen ID is the ID of a historical display screen connected to and used by the intelligent cockpit system; a second acquisition module, for acquiring a second display screen ID of a target display screen on the screen end through a mapping relationship corresponding to the first display screen ID; a third acquisition module, for acquiring a first initialization file corresponding to the first display screen ID when the second display screen ID is the same as the first display screen ID; an initialization module, for initializing the target display screen using the first initialization file so that the target display screen can operate normally.

[0013] According to another aspect of an embodiment of the present application, the present application provides an electronic device, including a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program that can be run on the processor, the memory and the processor communicate through the communication bus and the communication interface, and the steps of the above method are implemented when the processor executes the computer program.

[0014] According to another aspect of an embodiment of the present application, the present application also provides a computer-readable medium having a non-volatile program code executable by a processor, and the program code enables the processor to execute the above method.

[0015] The above technical solution provided by the embodiment of the present application has the following advantages compared with the related art:

[0016] The present application provides a screen control method for an intelligent cockpit system, wherein the intelligent cockpit system includes a processing chip and a screen end, and the method includes: when detecting that the intelligent cockpit system is turned on, obtaining a first display screen ID from a display screen partition of the processing chip, wherein a plurality of display screen IDs are pre-stored in the display screen partition, and the first display screen ID is the ID of a historical display screen connected to and used by the intelligent cockpit system; obtaining a second display screen ID of a target display screen of the screen end through a mapping relationship corresponding to the first display screen ID; when the second display screen ID is the same as the first display screen ID, obtaining a first initialization file corresponding to the first display screen ID; and initializing the target display screen using the first initialization file to enable the target display screen to operate normally. By obtaining the previously used first display screen ID from the display screen partition, it is only necessary to compare the first display screen ID with the ID of the currently connected screen. If they are the same, the initialization file corresponding to the first display screen ID can be directly obtained to configure the display screen, without spending a lot of time on enumeration, thereby solving the problem that enumeration to find the model of the screen connected to the system will result in a long boot time. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

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

[0019] Figure 1 A flowchart of an optional screen control method for an intelligent cockpit system provided according to an embodiment of the present application;

[0020] Figure 2 This is an architecture diagram of an optional smart cockpit system provided according to an embodiment of the present application;

[0021] Figure 3 A block diagram of an optional screen control device for an intelligent cockpit system provided according to an embodiment of the present application;

[0022] Figure 4 A schematic diagram of an optional electronic device structure provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0024] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application and have no specific meaning. Therefore, "module" and "component" can be used interchangeably.

[0025] At present, with the intelligent development of cockpit experience, users no longer only require mechanical properties such as power push-back feeling, but pursue a more refined and comfortable smart cockpit environment and interactive experience. In order to meet users' more interactive experiences, various types of screens have emerged, but different types of screens use different screen ICs and parameters, so different screens need to be configured with different initialization parameters. When the software of the same version of the cockpit platform is adapted to different types of screens, it obtains the correct screen ID through enumeration at startup, and then finds the corresponding parameters to initialize the screen, but this will increase the startup time of the system, especially when the system is compatible with many display screen models. Finding the model of the screen connected to the system through enumeration will cause the startup time to be too long, which will waste time and cost, and will also affect the user experience.

[0026] In order to solve the problems mentioned in the background technology, according to one aspect of an embodiment of the present application, a screen control method of an intelligent cockpit system is provided. The intelligent cockpit system includes a processing chip and a screen end, such as Figure 1 As shown, the method includes:

[0027] Step 101, when it is detected that the smart cockpit system is powered on, a first display screen ID is obtained from a display screen partition of the processing chip, wherein a plurality of display screen IDs are pre-stored in the display screen partition, and the first display screen ID is an ID of a historical display screen connected to and used by the smart cockpit system;

[0028] Step 103, obtaining the second display screen ID of the target display screen at the screen end through a mapping relationship corresponding to the first display screen ID;

[0029] Step 105, when the second display screen ID is the same as the first display screen ID, obtain a first initialization file corresponding to the first display screen ID;

[0030] Step 107: Initialize the target display screen using the first initialization file to enable the target display screen to operate normally.

[0031] The solution provided in this application requires storing screen-related data on the screen side before powering on, storing screen-related data with a mapping relationship in the firmware, and storing the IDs of each display screen connected to and used by the smart cockpit system in the display screen partition of the processing chip.

[0032] This application gives priority to describing the ID of the historical display screen that was last connected to and used with the smart cockpit as the first display screen ID.

[0033] Figure 2 The architecture diagram of the smart cockpit system provided for this application. The SOC (System on a Chip) and serializer in the figure belong to the processing chip part (which can also be understood as the smart cockpit body part), the deserializer, EEPROM (Electrically Erasable Programmable Read-Only Memory), LCD (Liquid Crystal Display) and TP (Touch Panel) belong to the screen end part (represented by screen A in the figure), I2C is a serial communication bus for transmitting data, and MIPIDSI is a serial interface used in display technology. Among them, the SOC establishes a connection with the serializer through MIPIDSI and I2C, the serializer and the deserializer are connected through GMSL (Gigabit Multimedia Serial Link), and the deserializer is connected to the EEPROM through I2C, to the LCD through LVDS (Low Voltage Differential Signaling), and to the TP through I2C.

[0034] Specifically, storing screen-related data at the screen end includes: storing information such as the current screen ID, screen manufacturer, display resolution, and display size in a storage unit at each screen end. The screen ID is mainly used in this application. By adding a storage unit at the screen end to save screen-related information, different screens can be distinguished.

[0035] Specifically, the data related to the screen of the same model needs to be mapped and saved to the firmware, which can be stored in the form of a structure array. The firmware stores the screen-related data with a mapping relationship, including: storing the display screen ID, the configuration parameters corresponding to the display screen, the storage address corresponding to the display screen, the initialization file corresponding to the display screen, and the touch screen module of the touch screen matching the display screen. By establishing a mapping relationship, other related data can be quickly extracted based on one of the data when needed.

[0036] Specifically, the firmware stores initialization parameters (i.e., configuration parameters) corresponding to each screen and serial deserializer. The initialization parameters are mainly determined by the display hardware. The initialization parameters can be configured according to the hardware principle of the display and stored after configuration. When the target display is initialized using the configuration parameters, the serial deserializer is also initialized.

[0037] Preferably, the configuration parameters are stored in the xml file of UEFI (Unified Extensible Firmware Interface) and the device tree of the kernel, wherein the configuration parameters in the device tree are compiled into an initialization file (DISP_DTBO) in the device tree binary format using DTC (Device Tree Compiler), and each model of display screen corresponds to an initialization file, for example, screen A corresponds to DISP_DTBO_A, and screen B corresponds to DISP_DTBO_B. The subsequent serial deserializer driver obtains the initialization parameters from the xml file and the device tree, so that a serial deserializer driver can be compatible with all serial deserializers.

[0038] Compiling the configuration parameters of each display screen into an initialization file in advance can achieve the purpose of minimum modification and compilation, saving compilation time during debugging.

[0039] In addition, the drivers of different types of touch screens need to be compiled into corresponding touch screen module ko, for example, the touch screen of type a corresponds to tp_a.ko, and the touch screen of type b corresponds to tp_b.ko.

[0040] The present application also adds a display screen partition in the SOC of the smart cockpit platform to store the ID and serial deserializer information of the display screen that has been connected to the smart cockpit and used. The serial deserializer information is saved through the display screen partition. If it is not the first time to connect the screen or start up or change the screen, there is no need to enumerate the serial deserializer, saving startup time.

[0041] The purpose of this application is to quickly find the initialization parameters that match the connected screen to initialize the connected screen when the smart cockpit system is turned on, rather than directly using a time-consuming enumeration method to find the corresponding display ID or display model, which can save startup time and improve user experience.

[0042] As an optional embodiment, obtaining the second display screen ID of the target display screen on the screen end through the mapping relationship corresponding to the first display screen ID includes: obtaining a storage address that has a mapping relationship with the first display screen ID; locating the storage unit of the target display screen according to the storage address; if the storage unit is successfully located, reading the second display screen ID of the target display screen from the storage unit.

[0043] During the UEFI startup phase, the first display screen ID of the last used display screen is read from the display screen partition, specifically including: using an existing interface to directly read a string from the display screen partition, parsing the string to obtain the first display screen ID stored in this partition; and then obtaining a storage address that has a mapping relationship with the first display screen ID.

[0044] Specifically, the storage address corresponding to the first display screen ID is obtained according to the mapping relationship, and the storage address includes the I2C address of the EEPROM and the EEPROM register address. The I2C address is used to uniquely identify the device on the I2C bus, and the EEPROM register address is used to locate specific data or configuration in the EEPROM.

[0045] Locating the storage unit of the target display screen according to the storage address includes: locating the display screen device on the bus through the I2C address, then locating the storage unit inside the device through the EEPROM register address, and further acquiring the second display screen ID of the target display screen.

[0046] As an optional embodiment, after locating the storage unit of the target display screen according to the storage address, the method further includes: if locating the storage unit fails, determining that the target display screen is different from the historical display screen; if locating the storage unit succeeds, and the second display screen ID obtained from the storage unit is different from the first display screen ID, determining that the target display screen is different from the historical display screen.

[0047] If the reading of the storage unit fails, it means that the storage unit cannot be located according to the storage address, that is, the model of the historical display screen is different from that of the currently connected display screen.

[0048] Generally speaking, the I2C address and EEPROM register address of the EEPROM of the same model of display screen are the same, but it is also possible that the supplier may have duplicated the address configuration, so it is possible that different models of display screens correspond to the same storage address.

[0049] If the storage unit is read successfully, but the second display screen ID obtained from the storage unit is different from the first display screen ID, it still means that the historical display screen is different from the model of the currently connected display screen.

[0050] The data of the mapping relationship can be stored in a structure array.

[0051] For example, the panel_list structure array sequentially stores the mapping relationship between the I2C address of the EEPROM, the EEPROM register address, the display screen ID (within the partition), and the display screen model. This application provides an example of a panel_list structure array as follows:

[0052] {0x58, 0x02, 0x20, "a.xml"}, / / panel_list[0] Model A screen;

[0053] {0x58, 0x03, 0x30, "b.xml"}, / / panel_list[1] Model B screen;

[0054] {0x52, 0x04, 0x40, "c.xml"}, / / panel_list[2] Model C screen.

[0055] Taking model A screen as an example, 0x58 is the I2C address, 0x02 is the EEPROM register address, 0x20 is the screen ID, "a.xml" is the XML file, and panel_list[0] indicates that the screen-related data of model A screen is the first element of the structure array.

[0056] The first display screen ID obtained from the display screen partition is 0x30. According to the mapping relationship, we know that the display screen partition stores the screen ID of the B display screen. The B display screen belongs to the data of panel_list[1]. Use the storage address in panel_list[1] to obtain the second display screen ID stored in the storage unit of the screen end. If the second display screen ID is successfully obtained and the second display screen ID is 0x30, it means that the previous screen is still used. Use b.xml to initialize the display screen directly. If the second display screen ID is not successfully obtained, or it is not 0x30, it means that the B display screen is not connected now. It is necessary to find out which model of display screen is actually connected to the smart cockpit.

[0057] As an optional embodiment, the target display screen is initialized using a first initialization file, including: merging the first initialization file with a public file of a device tree to obtain a device tree, wherein the format of the first initialization file is a device tree binary format, and the first initialization file is obtained by pre-compiling configuration parameters corresponding to the first display screen ID; parsing the device tree by traversing each node of the device tree to obtain configuration parameters; and initializing the target display screen using the configuration parameters.

[0058] The first initialization file is obtained by compiling the configuration parameters of the display screen using the DTC tool in advance, and the format is the device tree binary format.

[0059] If the screen IDs of two display screens are the same, the first initialization files of the two screens are also the same.

[0060] The public files of the device tree include DTB and DTBO. DTB is passed to the kernel by the boot loader when the kernel starts, and it contains the basic structure of the device tree. DTBO is loaded when the system is running, and it allows some configurations to be added or overwritten on the original device tree structure. The first initialization file is merged with DTB and DTBO as an added configuration to form a complete device tree. The display configuration in the device tree will be updated to correspond to the configuration defined in the loaded first initialization file (DISP_DTBO file).

[0061] The boot loader (such as abl or U-Boot) will load the configuration parameters in the device tree and then pass the configuration parameters to the kernel. The kernel will use these configuration parameters to initialize and configure the target display connected to the system, including setting parameters such as the resolution, refresh rate, and brightness of the target display to ensure that the display can work properly.

[0062] As an optional embodiment, after initializing the target display screen using the first initialization file, the method also includes: generating a target node, wherein the target node includes the second display screen ID of the target display screen; reading the second display screen ID on the target node through a preset loading service, and loading a touch screen module corresponding to the second display screen ID, wherein the matching display screen ID and the touch screen module are pre-mapped and stored, and the touch screen module is obtained by compiling touch screen drivers of various models; initializing the touch screen device to enable the touch screen device to operate normally.

[0063] After initializing the display, the kernel generates a panel_id node (i.e., target node), which contains the ID of the connected target display. The panel_id node is located at a specific position in the device tree for upper-layer applications to obtain. The upper-layer application can obtain the second display ID of the target display by reading the target node in the device tree.

[0064] The preset loading service in this application is the module_load service. The module_load service can obtain the second display ID of the target display by parsing the target node, and then load the touch screen module corresponding to the second display ID. The touch screen module includes drivers and functions related to the current model touch screen.

[0065] After the touch screen module is loaded, the touch screen device connected to the system is initialized, and the touch screen device can operate normally to receive user input.

[0066] The preset loading service loads the corresponding touch screen module according to the target node in the device tree, so that the system can automatically load the corresponding touch screen driver according to the connected target display, realizing dynamic adaptation and support for different models of touch screens.

[0067] This application stores relevant information of the display screen, touch screen and serial deserializer in the firmware, and can take into account the compatibility of the display screen, touch screen and serial deserializer at the same time.

[0068] As an optional embodiment, after obtaining the second display screen ID of the screen end, the method further includes: if the first display screen ID is different from the second display screen ID, obtaining an ID list, wherein the ID list includes multiple display screen IDs with pre-established mapping relationships; finding a third display screen ID that is the same as the second display screen ID from the ID list, and storing the second display screen ID in a display screen partition of the processing chip; obtaining a second initialization file corresponding to the third display screen ID according to the mapping relationship, and using the second initialization file to initialize the target display screen.

[0069] The display screen ID in the ID list is the display screen ID in the structure array mentioned above. The structure array can also be used as an ID list.

[0070] Since the second display screen ID of the screen end has been obtained, the mapping data corresponding to the second display screen ID is directly searched in the ID list. If there is a third display screen ID that is the same as the second display screen ID in the ID list, the second initialization file can be directly obtained according to the mapping relationship, and the target display screen can be initialized using the second initialization file. The specific initialization steps have been described above and will not be repeated here.

[0071] Specifically, the second display screen ID also needs to be stored in the display screen partition of the processing chip, so that the display screen ID obtained from the display screen partition when the computer is turned on next time is the second display screen ID.

[0072] As an optional embodiment, after failing to locate the storage unit, the method further includes: obtaining an ID list and each storage address that has a mapping relationship with each display screen ID in the ID list; locating the storage unit of the target display screen in sequence according to the storage address of each display screen ID until the fourth display screen ID is found, wherein the storage address corresponding to the fourth display screen ID is used to successfully locate the storage unit of the target display screen, and the fourth display screen ID is the same as the fifth display screen ID obtained from the storage unit; storing the fourth display screen ID in the display screen partition of the processing chip; obtaining a third initialization file corresponding to the fourth display screen ID, and using the third initialization file to initialize the target display screen.

[0073] The storage unit of the target display screen is located in sequence according to the storage address of each display screen ID, that is, the display screen device on the bus is located through the I2C address, and then the storage unit inside the device is located through the EEPROM register address. If the positioning fails, the I2C address and EEPROM register address of the next display screen ID are obtained for positioning until the positioning is successful.

[0074] If an attempt is made to locate the storage unit of the target display screen and it succeeds, the display screen ID stored in the storage unit is read to determine whether the display screen ID currently being verified is the same as the display screen ID stored in the storage unit. If they are the same, the display screen ID currently being verified is determined as the fourth display screen ID. If they are not the same, the I2C address and EEPROM register address of the next display screen ID are continuously obtained for positioning.

[0075] Obtain the third initialization file corresponding to the fourth display screen ID, and use the third initialization file to initialize the target display screen. The specific initialization steps have been described above and will not be repeated here.

[0076] If there are N compatible screens in the ID list, then the number of verifications required is 1 to N. For example, if the connected screen is the Mth (M≤)N in the list, it needs to be read M times.

[0077] The present application provides a screen control method for an intelligent cockpit system, wherein the intelligent cockpit system includes a processing chip and a screen end, including: when detecting that the intelligent cockpit system is turned on, obtaining a first display screen ID from a display screen partition of the processing chip, wherein a plurality of display screen IDs are pre-stored in the display screen partition, and the first display screen ID is the ID of a historical display screen connected to and used by the intelligent cockpit system; obtaining a second display screen ID of a target display screen of the screen end through a mapping relationship corresponding to the first display screen ID; when the second display screen ID is the same as the first display screen ID, obtaining a first initialization file corresponding to the first display screen ID; and initializing the target display screen using the first initialization file to enable the target display screen to operate normally. By obtaining the first display screen ID used last time from the display screen partition, it is only necessary to compare the first display screen ID with the ID of the currently connected screen. If they are the same, the initialization file corresponding to the first display screen ID can be directly obtained to configure the display screen, without spending a lot of time on enumeration, thereby solving the problem that enumeration to find the model of the screen connected to the system will result in a long boot time.

[0078] According to another aspect of the embodiment of the present application, the present application provides a screen control device for an intelligent cockpit system, the intelligent cockpit system includes a processing chip and a screen end, such as Figure 3 As shown, the device comprises:

[0079] A first acquisition module 302 is used to acquire a first display screen ID from a display screen partition of a processing chip when detecting that the smart cockpit system is powered on, wherein a plurality of display screen IDs are pre-stored in the display screen partition, and the first display screen ID is an ID of a historical display screen that has been connected to and used by the smart cockpit system;

[0080] The second acquisition module 304 is used to acquire the second display screen ID of the target display screen at the screen end through a mapping relationship corresponding to the first display screen ID;

[0081] A third acquisition module 306, configured to acquire a first initialization file corresponding to the first display screen ID when the second display screen ID is the same as the first display screen ID;

[0082] The initialization module 308 is used to initialize the target display screen using the first initialization file so that the target display screen can operate normally.

[0083] It should be noted that the first acquisition module 302 in this embodiment can be used to execute step 101 in the embodiment of the present application, the second acquisition module 304 in this embodiment can be used to execute step 103 in the embodiment of the present application, the third acquisition module 306 in this embodiment can be used to execute step 105 in the embodiment of the present application, and the initialization module 308 in this embodiment can be used to execute step 107 in the embodiment of the present application.

[0084] Optionally, the second acquisition module 304 is further used to acquire a storage address that is mapped to the first display screen ID; locate the storage unit of the target display screen according to the storage address; if the storage unit is successfully located, read the second display screen ID of the target display screen from the storage unit.

[0085] Optionally, the second acquisition module 304 is further used to, after locating the storage unit of the target display screen according to the storage address, if locating the storage unit fails, determine that the target display screen is different from the historical display screen; if locating the storage unit is successful and the second display screen ID obtained from the storage unit is different from the first display screen ID, determine that the target display screen is different from the historical display screen.

[0086] Optionally, the initialization module 308 is also used to merge the first initialization file with the public file of the device tree to obtain a device tree, wherein the format of the first initialization file is a device tree binary format, and the first initialization file is pre-compiled with configuration parameters corresponding to the first display screen ID; the device tree is parsed by traversing each node of the device tree to obtain the configuration parameters; and the target display screen is initialized using the configuration parameters.

[0087] Optionally, the device also includes a first processing module, which is used to generate a target node after initializing the target display screen using the first initialization file, wherein the target node includes the second display screen ID of the target display screen; read the second display screen ID on the target node through a preset loading service, and load the touch screen module corresponding to the second display screen ID, wherein the matching display screen ID and the touch screen module are pre-mapped and stored, and the touch screen module is obtained by compiling touch screen drivers of various models; initialize the touch screen device so that the touch screen device can operate normally.

[0088] Optionally, the device also includes a second processing module, which is used to, after obtaining the second display screen ID of the screen end, if the first display screen ID is different from the second display screen ID, obtain an ID list, wherein the ID list includes multiple display screen IDs with pre-established mapping relationships; find out the third display screen ID that is the same as the second display screen ID from the ID list, and store the second display screen ID in the display screen partition of the processing chip; obtain a second initialization file corresponding to the third display screen ID according to the mapping relationship, and use the second initialization file to initialize the target display screen.

[0089] Optionally, the device further comprises a second processing module, which is used to obtain the ID list and each storage address having a mapping relationship with each display screen ID in the ID list after failing to locate the storage unit; locate the storage unit of the target display screen in sequence according to the storage address of each display screen ID until the fourth display screen ID is found, wherein the storage address corresponding to the fourth display screen ID is used to successfully locate the storage unit of the target display screen, and the fourth display screen ID is the same as the fifth display screen ID obtained from the storage unit; store the fourth display screen ID in the display screen partition of the processing chip; obtain a third initialization file corresponding to the fourth display screen ID, and use the third initialization file to initialize the target display screen.

[0090] It should be noted here that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments.

[0091] According to another aspect of the embodiments of the present application, the present application provides an electronic device, such as Figure 4 As shown, it includes a memory 401, a processor 403, a communication interface 405 and a communication bus 407. The memory 401 stores a computer program that can be run on the processor 403. The memory 401 and the processor 403 communicate through the communication interface 405 and the communication bus 407. When the processor 403 executes the computer program, the steps of the above method are implemented.

[0092] The memory and processor in the above electronic device communicate via a communication bus and a communication interface. The communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus may be divided into an address bus, a data bus, a control bus, etc.

[0093] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0094] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0095] According to another aspect of the embodiments of the present application, a computer-readable medium having a non-volatile program code executable by a processor is provided.

[0096] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0097] When the embodiments of the present application are specifically implemented, reference may be made to the above-mentioned embodiments, which have corresponding technical effects.

[0098] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.

[0099] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0100] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0101] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0102] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0103] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0104] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0105] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk. It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such a process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.

[0106] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A screen control method for an intelligent cockpit system, characterized in that: The smart cockpit system includes a processing chip and a screen end, and the method includes: When it is detected that the smart cockpit system is turned on, a first display screen ID is obtained from a display screen partition of the processing chip, wherein a plurality of display screen IDs are pre-stored in the display screen partition, and the first display screen ID is an ID of a historical display screen connected to and used by the smart cockpit system; Acquire the second display screen ID of the target display screen of the screen end through the mapping relationship corresponding to the first display screen ID; When the second display screen ID is the same as the first display screen ID, obtaining a first initialization file corresponding to the first display screen ID; The target display screen is initialized using the first initialization file to enable the target display screen to operate normally.

2. The method according to claim 1, characterized in that The acquiring the second display screen ID of the target display screen of the screen end through the mapping relationship corresponding to the first display screen ID includes: Acquire a storage address having the mapping relationship with the first display screen ID; Locating a storage unit of the target display screen according to the storage address; If the storage unit is located successfully, the second display screen ID of the target display screen is read from the storage unit.

3. The method according to claim 2, characterized in that After locating the storage unit of the target display screen according to the storage address, the method further comprises: If locating the storage unit fails, determining that the target display screen is different from the historical display screen; If the storage unit is successfully located, and the second display screen ID obtained from the storage unit is different from the first display screen ID, it is determined that the target display screen is different from the historical display screen.

4. The method according to claim 1, characterized in that: The step of initializing the target display screen by using the first initialization file includes: Merging the first initialization file with a common file of a device tree to obtain the device tree, wherein the format of the first initialization file is a device tree binary format, and the first initialization file is obtained by pre-compiling configuration parameters corresponding to the first display screen ID; Parsing the device tree by traversing each node of the device tree to obtain the configuration parameters; The target display screen is initialized using the configuration parameters.

5. The method according to claim 1, characterized in that After initializing the target display screen using the first initialization file, the method further includes: Generate a target node, wherein the target node includes the second display screen ID of the target display screen; Read the second display screen ID on the target node through a preset loading service, and load the touch screen module corresponding to the second display screen ID, wherein the matching display screen ID and the touch screen module are pre-mapped and stored, and the touch screen module is obtained by compiling touch screen drivers of various models; Initialize the touch screen device to enable the touch screen device to operate normally.

6. The method according to claim 1, characterized in that After obtaining the second display screen ID of the screen end, the method further includes: If the first display screen ID is different from the second display screen ID, an ID list is obtained, wherein the ID list includes multiple display screen IDs for which the mapping relationship is pre-established; Find out a third display screen ID that is the same as the second display screen ID from the ID list, and store the second display screen ID in the display screen partition of the processing chip; A second initialization file corresponding to the third display screen ID is acquired according to the mapping relationship, and the target display screen is initialized using the second initialization file.

7. The method according to claim 3, characterized in that After failing to locate the storage unit, the method further comprises: Obtaining an ID list and each storage address having the mapping relationship with each display screen ID in the ID list; The storage unit of the target display screen is located sequentially according to the storage addresses of the respective display screen IDs until a fourth display screen ID is found, wherein the storage address corresponding to the fourth display screen ID is used to successfully locate the storage unit of the target display screen, and the fourth display screen ID is the same as the fifth display screen ID obtained from the storage unit; Storing the fourth display screen ID in the display screen partition of the processing chip; A third initialization file corresponding to the fourth display screen ID is obtained, and the target display screen is initialized using the third initialization file.

8. A screen control device for an intelligent cockpit system, characterized in that: The smart cockpit system includes a processing chip and a screen end, and the device includes: A first acquisition module is used to acquire a first display screen ID from a display screen partition of the processing chip when detecting that the smart cockpit system is powered on, wherein the display screen partition stores a plurality of display screen IDs in advance, and the first display screen ID is an ID of a historical display screen that has been connected to and used by the smart cockpit system; A second acquisition module, configured to acquire a second display screen ID of the target display screen of the screen end through a mapping relationship corresponding to the first display screen ID; A third acquisition module, configured to acquire a first initialization file corresponding to the first display screen ID when the second display screen ID is the same as the first display screen ID; The initialization module is used to initialize the target display screen by using the first initialization file so that the target display screen can operate normally.

9. An electronic device, comprising a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program that can be run on the processor, and the memory and the processor communicate through the communication bus and the communication interface, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer readable medium having a non-volatile program code executable by a processor, characterized in that: The program code enables the processor to execute the method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Method, device, equipment and medium for compatibility of system-on-chip and screen

    CN119473387A

  • Screen control method and apparatus for intelligent cabin system, device, and medium

    WO2025246155A1