Display method based on MTK vehicle-mounted platform, system on chip and vehicle-mounted platform
By introducing device detection circuits and MIPI bridge chips on the MTK vehicle platform, it supports hot plugging and resolution switching of electronic devices, solving the problem that the MIPI DSI interface does not support hot plugging in the existing technology, achieving higher flexibility and application range.
Patent Information
- Application Number
- CN202510117528.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-06-27
AI Technical Summary
The MIPI DSI interface of the existing MTK vehicle platform does not support the hot-swap function of the display device, which causes users to restart the platform to light up the display device, which has poor adaptability and cumbersome operation.
The MTK vehicle-mounted platform introduces a system on chip, a MIPI DSI interface, a MIPI bridge chip and a device detection circuit. The device detection circuit detects the plug-in and unplugging of electronic devices, generates device plug-in and unplugging information, and displays configuration and controls based on this information, supporting hot plug-in and resolution hot switching.
The MIPI DSI interface supports hot swapping function and resolution switching on the MTK vehicle platform, allowing electronic devices to be plugged and used as they are plugged in without the need for users to restart the platform, expanding the flexibility and application range of the MTK vehicle platform.
Smart Images

Figure CN120216423A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of vehicle-mounted technologies, and in particular, to a display method, a system-on-chip, and a vehicle-mounted platform based on an MTK vehicle-mounted platform. Background Art
[0002] The existing MIPI DSI interface (Mobile Industry Processor Interface Display Serial Interface) of the MTK vehicle-mounted platform does not support the hot plug function of the display device. After the MTK vehicle-mounted platform is powered on and the display device is inserted into the MTK vehicle-mounted platform, the user needs to restart the MTK vehicle-mounted platform for the MTK vehicle-mounted platform to light up the display device. Therefore, the adaptability of the existing technology is poor, and cumbersome operations are required to re-light up the display device. Summary of the Invention
[0003] An object of the embodiments of the present application is to provide a display method, a system-on-chip, and a vehicle-mounted platform based on an MTK vehicle-mounted platform to solve the technical problem that the existing MIPI DSI interface does not support hot plugging on the MTK vehicle-mounted platform.
[0004] In a first aspect, the embodiments of the present application provide a display method based on an MTK vehicle-mounted platform. The MTK vehicle-mounted platform includes a system-on-chip, a MIPI DSI interface, a MIPI bridge chip, and a device detection circuit. The system-on-chip is communicatively connected to the MIPI bridge chip based on the MIPI DSI interface and electrically connected to the device detection circuit. The MIPI bridge chip is configured with a target display interface that supports a target display protocol. The target display interface is configured to plug in an electronic device. The device detection circuit is configured to detect whether the electronic device is inserted into or removed from the target display interface. The display method includes: generating device plug-and-unplug information in response to the result of the device detection circuit detecting the target display interface. The device plug-and-unplug information is used to indicate that the electronic device is inserted into or removed from the target display interface, and the device plug-and-unplug information includes device insertion information or device removal information; detecting whether the system-on-chip finds an effective resolution that matches the target resolution of the electronic device in response to the device plug-and-unplug information being device insertion information; generating display configuration information in response to the system-on-chip finding an effective resolution that matches the target resolution of the electronic device; and controlling the electronic device based on the display configuration information.
[0005] The embodiments of this application implement the hot plug function and the hot switching function of the resolution of the MIPI DSI interface on the MTK in-vehicle platform, enabling the electronic device to be used immediately after being plugged in on the MTK in-vehicle platform without the user having to restart the MTK in-vehicle platform, which is beneficial to expanding the flexibility and application scope of the MTK in-vehicle platform.
[0006] Optionally, generating device plug and unplug information in response to the result of the device detection circuit detecting the target display interface includes: generating device insertion information in response to the device detection circuit detecting that the electronic device is inserted into the target display interface; or generating device removal information in response to the device detection circuit detecting that the electronic device is removed from the target display interface.
[0007] Optionally, when the response to the device plug and unplug information is device insertion information, detecting whether the system-on-chip finds an effective resolution that matches the target resolution of the electronic device includes: when the response to the device plug and unplug information is device insertion information, determining the device type of the electronic device; when the device type of the electronic device is a screen type, obtaining the extended display identification data of the electronic device based on the MIPI bridge chip; parsing the extended display identification data to obtain the target resolution of the electronic device; and detecting whether the system-on-chip finds an effective resolution that matches the target resolution.
[0008] Optionally, the device type includes a screen type and a non-screen type. When the response to the device plug and unplug information is device insertion information, determining the device type of the electronic device includes: when the response to the device plug and unplug information is device insertion information, sending a type determination command to the MIPI bridge chip, so that the MIPI bridge chip sends a type determination request to the electronic device based on the target display interface, and the type determination request is used to request the electronic device to output device type information to the MIPI bridge chip; obtaining the device type information returned by the MIPI bridge chip, where the device type information includes screen type information or non-screen type information; when the device type information is screen type information, determining that the device type of the electronic device is a screen type; and when the device type information is non-screen type information, determining that the device type of the electronic device is a non-screen type.
[0009] Optionally, obtaining the extended display identification data of the electronic device based on the MIPI bridge chip includes: sending a parameter acquisition command to the MIPI bridge chip, so that the MIPI bridge chip sends a parameter acquisition request to the electronic device based on the target display interface, and the parameter acquisition request is used to request the electronic device to output extended display identification data to the MIPI bridge chip; and obtaining the extended display identification data returned by the MIPI bridge chip.
[0010] Optionally, detecting whether the system-on-chip finds an effective resolution matching the target resolution includes: obtaining a resolution table pre-stored in the system-on-chip, where the resolution table includes multiple effective resolutions; and detecting whether there is an effective resolution in the resolution table that matches the target resolution.
[0011] Optionally, the display configuration information includes a working voltage, a clock frequency, and an effective resolution. Controlling the electronic device based on the display configuration information includes: outputting the working voltage to the MIPI DSI interface so that the MIPI DSI interface enters a normal working state based on the working voltage; sending a clock signal to the MIPI DSI interface at the clock frequency so that the MIPI DSI interface triggers the MIPI bridge chip to communicate with the electronic device according to the clock signal; generating image data according to the effective resolution and transmitting the image data to the MIPI bridge chip based on the MIPI DSI interface, so that the MIPI bridge chip converts the image data into image conversion data matching the target display protocol and transmits the image conversion data to the electronic device, so that the electronic device parses the image conversion data based on the effective resolution.
[0012] Optionally, the display method further includes: in response to the device plugging / unplugging information being device unplugging information, entering a low-power state.
[0013] When the MTK in-vehicle platform is not connected to a display device, the embodiment of the present application automatically enters a low-power state, which can reduce the power consumption of the MTK in-vehicle platform and extend the cruising ability of the MTK in-vehicle platform.
[0014] In a second aspect, an embodiment of the present application provides a system-on-chip, including a memory and a processor, the memory is connected to the processor, the processor is configured to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the system-on-chip implements the above-mentioned display method based on the MTK in-vehicle platform.
[0015] In a third aspect, an embodiment of the present application provides an MTK in-vehicle platform, including the above-mentioned system-on-chip, an MIPI DSI interface, an MIPI bridge chip, and a device detection circuit. The system-on-chip is communicatively connected to the MIPI bridge chip based on the MIPI DSI interface and is electrically connected to the device detection circuit. The MIPI bridge chip is configured with a target display interface supporting a target display protocol, the target display interface is configured to plug in an electronic device, and the device detection circuit is configured to detect whether the electronic device is inserted into or unplugged from the target display interface.
[0016] In a fourth aspect, an embodiment of the present application provides a vehicle, including the above-mentioned MTK vehicle-mounted platform.
[0017] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to execute the above-mentioned display method based on the MTK vehicle-mounted platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0019] Figure 1 It is a schematic diagram of the system architecture of an MTK vehicle-mounted platform provided by an embodiment of the present application;
[0020] Figure 2 It is a schematic diagram of the system architecture of an MTK vehicle-mounted platform provided by another embodiment of the present application;
[0021] Figure 3 It is a schematic flowchart of a display method based on an MTK vehicle-mounted platform provided by an embodiment of the present application;
[0022] Figure 4 It is a schematic diagram of the interaction scenario between an AR glasses and an MTK vehicle-mounted platform provided by an embodiment of the present application;
[0023] Figure 5 It is a schematic diagram of the structure of a display device based on an MTK vehicle-mounted platform provided by an embodiment of the present application;
[0024] Figure 6 It is a schematic diagram of the structure of a system-on-chip provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0025] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts belong to the scope of protection of the present application.
[0026] It should be noted that if there is no conflict, the various features in the embodiments of the present application can be combined with each other, and all are within the protection scope of the present application. In addition, although functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order from the module division in the device or the flowchart. Furthermore, the terms "first", "second", "third", etc. used in the present application do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.
[0027] The MTK in-vehicle platform is a professional solution launched by MediaTek for the automotive industry, aiming to meet the automotive industry's requirements for high performance, low power consumption, high reliability, and high safety. The MTK in-vehicle platform covers multiple fields such as in-vehicle communication systems, intelligent cockpit systems, vision driving assistance systems, and millimeter-wave radar solutions.
[0028] The MIPI DSI interface is a specification formulated by the Mobile Industry Processor Interface Alliance, aiming to efficiently and low-power transmit image data to the display device. The MIPI DSI interface is compatible with other interface standards in MIPI, such as DPI (Display Pixel Interface), DBI (Display Bus Interface), and DCS (Display Command Set).
[0029] The MIPI DSI interface in the MTK in-vehicle platform not only cannot support the hot plug function, but also has deficiencies in the hot switching function of the resolution. When the MTK in-vehicle platform needs to light up the display device according to the resolution of the display device, developers need to adapt the MTK in-vehicle platform to the corresponding model of the display device in advance, and the adaptation parameters involved in such adaptation operations need to be hard-coded in the underlying code of the MTK in-vehicle platform, so that the hardware characteristics of the display device, the compatibility of the driver, and the capabilities of the display interface can adapt to the resolution switching effect.
[0030] After the underlying code is written, the user can only connect the display devices that have been adapted in the MTK in-vehicle platform. If the user attempts to connect a new and unadapted display device, the MTK in-vehicle platform cannot correctly light up the new display device, thus limiting the user's choice space and flexibility for display products.
[0031] In order to ensure that the new display device can be normally lit by the MTK in-vehicle platform, developers often need to modify the underlying code again to adapt to the resolution of the new display device. This approach requires more costs and increases the development cycle, and this way limits the flexibility and application scope of the MTK in-vehicle platform.
[0032] The embodiments of the present application implement the hot plug function and the hot switching function of the resolution of the MIPI DSI interface on the MTK in-vehicle platform, enabling the display device to be used immediately upon plugging in on the MTK in-vehicle platform without the user having to restart the MTK in-vehicle platform, which is beneficial to expanding the flexibility and application scope of the MTK in-vehicle platform.
[0033] Hereinafter, the embodiments of the present application provide an MTK in-vehicle platform, which can be installed on a vehicle and serve as part of the intelligent cockpit of the vehicle. The vehicle includes new energy vehicles, fuel vehicles, hybrid vehicles, etc. Please refer to Figure 1 , the MTK in-vehicle platform 100 includes a system-on-chip 11, a MIPI DSI interface 12, a MIPI bridge chip 13, and a device detection circuit 14.
[0034] The system-on-chip 11 is also called a SOC chip (System on Chip). The system-on-chip 11 has strong processing and computing capabilities and is suitable for application scenarios with multi-task processing and more complex computing tasks. The system-on-chip 11 usually includes modules such as a processor core, a communication interface, a memory controller, and peripheral I / O.
[0035] The MIPI DSI interface 12 is provided on the system-on-chip 11.
[0036] The MIPI bridge chip 13 is configured with a target display interface 15 and a MIPI DSI interface that support the target display protocol. The system-on-chip 11 is communicatively connected to the MIPI DSI interface of the MIPI bridge chip 13 through the MIPI DSI interface 12, and the MIPI bridge chip 13 is communicatively connected to the display device through the target display interface. The system-on-chip 11 sends the first data to the MIPI bridge chip 13 based on the MIPI DSI display protocol. The MIPI bridge chip 13 converts the first data that conforms to the MIPI DSI display protocol into the second data that conforms to the target display protocol, and then transmits the second data to the display device based on the target display interface. The display device parses and processes the second data.
[0037] It can be understood that the target display interface can be customized by the designer. In some embodiments, the target display interface includes an HDMI interface (High Definition Multimedia Interface), a MIPI interface, an LVDS interface (Low Voltage Differential Signaling), etc. Correspondingly, the display interface of the display device is an HDMI interface, a MIPI interface, an LVDS interface, etc.
[0038] The device detection circuit 14 is electrically connected to the system on chip 11, and the device detection circuit 14 is used to detect the insertion or removal of the electronic device 16 into or from the target display interface. It can be understood that the electronic device 16 can be a display device with an interface adapted to the target display interface, or a device with an interface adapted to the target display interface but without a screen, that is, the electronic device is a display device or a non-display device.
[0039] In some embodiments, the device detection circuit 14 is a GPIO (General Purpose Input / Output) interface circuit, and the GPIO interface circuit is disposed on the target display interface. When the electronic device 16 is inserted into the target display interface, the GPIO interface circuit outputs a first level signal, and when the electronic device 16 is removed from the target display interface, the GPIO interface circuit outputs a second level signal.
[0040] It can be understood that the first level signal and the second level signal are determined by the circuit structure of the GPIO interface circuit. In some embodiments, if the first level signal is a high level, then the second level signal is a low level. In some embodiments, if the first level signal is a low level, then the second level signal is a high level.
[0041] In some embodiments, the device detection circuit 14 is a circuit formed by various discrete components and having a function of detecting device plugging and unplugging.
[0042] It can be understood that the number of MIPI DSI interfaces 12 can be one or more than two, and the system on chip 11 can be provided with one or more than two MIPI DSI interfaces. When the system on chip 11 is provided with more than two MIPI DSI interfaces, the system on chip 11 can interact with multiple display devices.
[0043] Please refer to Figure 2 , the system on chip 11 is provided with a plurality of MIPI DSI interfaces 12, and the system on chip 11 is communicatively connected to the corresponding MIPI bridge chip 13 based on each MIPI DSI interface 12. The system on chip 11 interacts with a plurality of display devices through the plurality of MIPI DSI interfaces 12, thereby achieving the effect of multi-screen display.
[0044] Next, the embodiments of the present application provide a display method based on the MTK in-vehicle platform described in the above various embodiments. Please refer to Figure 3 , the display method based on the MTK in-vehicle platform includes steps S31 to S34.
[0045] In the embodiment of the present application, step S31 is executed to generate device plugging and unplugging information in response to the result of the device detection circuit detecting the target display interface.
[0046] The target display interface is the interface for the MTK in-vehicle platform to externally connect to a display device. The designer selects the corresponding display interface as the target display interface according to the service requirements. For example, the HDMI interface, MIPI interface, or LVDS interface is selected as the target display interface. Exemplarily, if the target display interface is the HDMI interface, the system-on-chip 11 transmits the display data to the MIPI bridge chip 13 through the MIPI DSI interface 12 according to the MIPI DSI protocol. The MIPI bridge chip 13 converts the display data conforming to the MIPI DSI protocol into display data conforming to the HDMI protocol, and transmits the converted display data to the display device through the HDMI interface for parsing and display.
[0047] The device plugging information is used to indicate that an electronic device is plugged into or unplugged from the target display interface. The device plugging information includes device insertion information or device removal information. The device insertion information is used to indicate that an electronic device is plugged into the target display interface, and the device removal information is used to indicate that an electronic device is unplugged from the target display interface.
[0048] Generating the device plugging information in response to the result of the device detection circuit detecting the target display interface includes the following steps: generating the device insertion information in response to the device detection circuit detecting that an electronic device is plugged into the target display interface, or generating the device removal information in response to the device detection circuit detecting that the electronic device is unplugged from the target display interface.
[0049] When an electronic device is plugged into the target display interface, the device detection circuit outputs a first level signal. The system-on-chip responds to the first level signal and generates the device insertion information, and this device insertion information is recorded as marker information in the register of the system-on-chip.
[0050] When an electronic device is unplugged from the target display interface, the device detection circuit outputs a second level signal. The system-on-chip responds to the second level signal and generates the device removal information, and this device removal information is recorded as marker information in the register of the system-on-chip.
[0051] In the embodiment of the present application, step S32 is executed. In response to the device plugging information being the device insertion information, it is detected whether the system-on-chip finds an effective resolution that matches the target resolution of the electronic device.
[0052] The target resolution is the resolution of the electronic device, and the effective resolution is the resolution pre-adapted by the system-on-chip. The system-on-chip can pre-adapt multiple effective resolutions and save the multiple effective resolutions locally.
[0053] It can be understood that, in some embodiments, one effective resolution corresponds to a type of display device. For example, for effective resolutions of 1920x1080 or 2560x1440, the system-on-chip needs to use a resolution of 1920x1080 to light up display device A and a resolution of 2560x1440 to light up display device B.
[0054] It can also be understood that, in some embodiments, the same type of display device can also be configured with multiple effective resolutions. Display device A is an AR (Augmented Reality) glasses, which can work in 2D mode or 3D mode. When the AR glasses work in 2D mode, the resolution of the AR glasses is 1920x1080. When the AR glasses work in 3D mode, the resolution of the AR glasses is 2560x1440.
[0055] The process of detecting whether the system-on-chip finds an effective resolution that matches the target resolution of the electronic device includes steps S321 to S324.
[0056] In the embodiment of the present application, step S321 is executed. In response to the device plugging / unplugging information being device insertion information, the device type of the electronic device is determined.
[0057] The device type includes a screen type and a non-screen type. The screen type is the type of electronic device with a screen. For example, the electronic device is a display device. The non-screen type is the type of electronic device without a screen. For example, the electronic device is a test box or an electronic product with a target display interface.
[0058] If the device type of the electronic device is the non-screen type, the embodiment of the present application needs to stop executing the operation of lighting up the electronic device, so as to avoid errors caused by the incompatibility between the electronic device and the MTK in-vehicle platform, thereby ensuring the stable and reliable operation of the MTK in-vehicle platform. If the device type of the electronic device is the screen type, the embodiment of the present application can continue to execute the operation of lighting up the electronic device. For example, the system-on-chip loads the display driver program, configures the display parameters, and lights up the electronic device based on the display parameters.
[0059] Determining the device type of the electronic device in response to the device plugging / unplugging information being device insertion information includes steps S3211 to S3214.
[0060] In step S3211, in response to the device plugging / unplugging information being device insertion information, a type determination command is sent to the MIPI bridge chip, so that the MIPI bridge chip sends a type determination request to the electronic device based on the target display interface. The type determination request is used to request the electronic device to output device type information to the MIPI bridge chip.
[0061] Step S3212: Obtain the device type information returned by the MIPI bridge chip.
[0062] Step S3213: In response to the device type information being screen type information, determine that the device type of the electronic device is the screen type.
[0063] Step S3214: In response to the device type information being non-screen type information, determine that the device type of the electronic device is the non-screen type.
[0064] In step S3211, triggered by the device insertion information, the system-on-chip sends a type determination command to the MIPI bridge chip. The type determination command is used to trigger the MIPI bridge chip to generate a type determination request, and the type determination request is used to request the electronic device to return the device type information. The MIPI bridge chip responds to the type determination command and sends a type determination request to the electronic device based on the target display interface. The electronic device responds to the type determination request, encapsulates the local device type information into a type response request, and sends the type response request to the MIPI bridge chip based on the target display interface. The MIPI bridge chip parses the device type information from the type response request and transmits the device type information to the system-on-chip through the MIPI DSI interface.
[0065] In step S3212, the system-on-chip receives the device type information returned by the MIPI bridge chip based on the MIPI DSI interface. The device type information includes screen type information or non-screen type information. The screen type information is used to indicate that the device type of the electronic device is the screen type, and the non-screen type information is used to indicate that the device type of the electronic device is the non-screen type.
[0066] In step S3213, when the system-on-chip receives the screen type information, the system-on-chip determines that the electronic device is a display device.
[0067] In step S3214, when the system-on-chip receives the non-screen type information, the system-on-chip determines that the electronic device is a non-display device.
[0068] Based on the interaction among the system-on-chip, the MIPI bridge chip, and the electronic device, the embodiments of the present application reliably and effectively determine the device type of the electronic device, so as to determine whether the embodiments of the present application need to search for the effective resolution corresponding to the electronic device and generate display configuration information, thereby avoiding the MTK platform from performing invalid operations on incompatible electronic devices.
[0069] As described above, by executing step S321, the embodiments of the present application obtain the device type of the electronic device.
[0070] Next, the embodiment of the present application executes step S322. In response to the device type of the electronic device being the screen type, the extended display identification data of the electronic device is obtained based on the MIPI bridge chip.
[0071] Extended Display Identification Data (EDID) is a standard data format formulated by the Video Electronics Standards Association. The extended display identification data is mainly used to describe the performance of the display device. The extended display identification data includes important parameters such as the manufacturer information, product model, serial number, supported resolution, refresh rate, and color depth of the display device.
[0072] Obtaining the extended display identification data of the electronic device based on the MIPI bridge chip includes the following steps: sending a parameter acquisition command to the MIPI bridge chip, so that the MIPI bridge chip sends a parameter acquisition request to the electronic device based on the target display interface. The parameter acquisition request is used to request the electronic device to output the extended display identification data to the MIPI bridge chip, and obtain the extended display identification data returned by the MIPI bridge chip.
[0073] The parameter acquisition command is used to instruct the MIPI bridge chip to generate a parameter acquisition request. The MIPI bridge chip responds to the parameter acquisition command sent by the system-on-chip, and sends a parameter acquisition request to the electronic device based on the target display interface. The parameter acquisition request is used to request the electronic device to return the extended display identification data. The electronic device responds to the parameter acquisition request and returns the extended display identification data based on the target display interface. The MIPI bridge chip transmits the extended display identification data to the system-on-chip based on the MIPI DSI interface.
[0074] The embodiment of the present application executes step S323 to parse the extended display identification data to obtain the target resolution of the electronic device.
[0075] The extended display identification data includes multiple description blocks. The system-on-chip parses the extended display identification data, finds the description block containing the resolution data from the multiple description blocks as the target description block, and parses the resolution data from the target description block, and derives the target resolution of the electronic device based on the resolution data.
[0076] The embodiment of the present application executes step S324 to detect whether the system-on-chip finds a valid resolution that matches the target resolution.
[0077] Detecting whether the system-on-chip finds a valid resolution that matches the target resolution includes the following steps: obtaining the resolution table pre-stored in the system-on-chip. The resolution table includes multiple valid resolutions, and detecting whether there is a valid resolution in the resolution table that matches the target resolution.
[0078] The resolution table is a collection of multiple effective resolutions. Please refer to Table 1:
[0079] Table 1
[0080] Serial number of effective resolution Resolution 1 1280*720 2 1920*1080 3 2560*1440 4 3840*2160 5 5120*2880
[0081] As shown in Table 1, in the embodiment of the present application, a display device with a resolution of 1280*720 is selected to complete the adaptation operation with the system-on-chip, and the resolution 1280*720 is recorded in the resolution table. Similarly, in the embodiment of the present application, display devices with resolutions of 1920*1080, 2560*1440, 3840*2160, and 5120*2880 are respectively selected to complete the adaptation operation with the system-on-chip, and the resolutions 1920*1080, 2560*1440, 3840*2160, and 5120*2880 are sequentially recorded in the resolution table.
[0082] After the system-on-chip obtains the target resolution of the electronic device, it searches in the resolution table to check if there is an effective resolution that matches the target resolution. For example, if the target resolution is 7680*4320, the system-on-chip determines that there is no effective resolution in the resolution table that matches the target resolution 7680*4320. Therefore, the system-on-chip stops the operation of lighting up the electronic device. Another example, if the target resolution is 1920*1080, the system-on-chip determines that there is an effective resolution in the resolution table that matches the target resolution 1920*1080. Therefore, the system-on-chip continues to execute the operation of lighting up the electronic device.
[0083] In the embodiment of the present application, step S33 is executed, and in response to the system-on-chip finding an effective resolution that matches the target resolution of the electronic device, display configuration information is generated.
[0084] The display configuration information includes power supply configuration information, clock configuration information, and resolution configuration information. The power supply configuration information is used to configure the MIPI DSI interface to enter the normal working state. The clock configuration information is used to configure the MIPI bridge chip to communicate with the electronic device according to the clock signal. The resolution configuration information is used to configure the electronic device to present the picture based on the effective resolution.
[0085] In the embodiment of the present application, step S34 is executed to control the electronic device based on the display configuration information.
[0086] The power supply configuration information includes the working voltage. Controlling the electronic device based on the display configuration information includes the following steps: outputting the working voltage to the MIPI DSI interface so that the MIPI DSI interface enters the normal working state based on the working voltage.
[0087] The clock configuration information includes the clock frequency. Controlling the electronic device based on the display configuration information includes the following steps: sending a clock signal to the MIPI DSI interface according to the clock frequency, so that the MIPI DSI interface triggers the MIPI bridge chip to communicate with the electronic device according to the clock signal.
[0088] The resolution configuration information includes the effective resolution. Controlling the electronic device based on the display configuration information includes the following steps: generating image data according to the effective resolution, and transmitting it to the MIPI bridge chip based on the MIPI DSI interface, so that the MIPI bridge chip converts the image data into image conversion data matching the target display protocol, and transmits the image conversion data to the electronic device, so that the electronic device parses the image conversion data based on the effective resolution.
[0089] In the embodiments of the present application, by configuring the power supply, clock and resolution, it is ensured that the electronic device can display the picture normally after being inserted into the target display interface. In this way, the electronic device (i.e., the display device) can be plug-and-play on the MTK in-vehicle platform without the user manually restarting the MTK in-vehicle platform. Moreover, the embodiments of the present application can also automatically and dynamically adjust the resolution, so as to reliably light up the electronic device. Therefore, by adopting the display method provided in the above embodiments, the embodiments of the present application can greatly improve the ability and flexibility of the MTK platform to be compatible with various display devices, which is beneficial to expanding the application scope of the MTK platform.
[0090] For a detailed understanding of the display method provided in the embodiments of the present application, the embodiments of the present application are combined with Figure 4 to make a detailed description as follows:
[0091] Please refer to Figure 4 , the AR glasses 41 are plugged into the target display interface of the MTK in-vehicle platform 100. Among them, the AR glasses 41 work in the 2D mode, and the target resolution is 1920*1080 at this time. The MTK in-vehicle platform 100 executes steps S31 to S34 to light up the AR glasses 41 at a resolution of 1920*1080.
[0092] When the AR glasses 41 are unplugged from the MTK in-vehicle platform 100 and switched from the 2D mode to the 3D mode, and then plugged into the target display interface of the MTK in-vehicle platform 100, the MTK in-vehicle platform 100 executes steps S31 to S34 to light up the AR glasses 41 at a resolution of 3840x1080. Therefore, the MTK in-vehicle platform 100 can not only support the hot-plug function, but also dynamically adjust the resolution, thus improving the ability of the MTK in-vehicle platform 100 to adapt to AR glasses with different resolutions. The user does not need to manually operate the MTK in-vehicle platform to switch the resolution. The MTK in-vehicle platform 100 can quickly respond to the change of the resolution of the electronic device and can light up the electronic device according to the resolution after the electronic device is switched.
[0093] In some embodiments, in response to the device plugging and unplugging information being the device unplugging information, the embodiment of the present application enters the low-power state.
[0094] On the MTK in-vehicle platform, when the electronic device is unplugged from the target display interface, the prior art still sends image data to the target display interface or remains in the working state, so the prior art wastes a lot of CPU performance loss. In the embodiment of the present application, when the MTK in-vehicle platform is not connected to the display device, the embodiment of the present application automatically enters the low-power state, such as reducing the working frequency and working voltage of the CPU, so that the CPU enters the low-power mode. In this way, the embodiment of the present application can reduce the power consumption of the MTK in-vehicle platform and extend the cruising ability of the MTK in-vehicle platform.
[0095] On the MTK in-vehicle platform, when the electronic device is plugged into the target display interface, the system-on-chip needs to allocate a large amount of CPU computing resources and memory space to respond to the event that the electronic device is plugged into the target display interface, which will occupy a large amount of system resources. For example, the system-on-chip needs to consume a large amount of CPU computing resources and allocate a large amount of memory space to load the display driver, and there is not much system resources left for other software applications on the MTK in-vehicle platform, so it is easy to cause other software applications to freeze or crash.
[0096] In addition, when the electronic device is plugged into the target display interface, the electronic device triggers an interrupt request of the system-on-chip. The system-on-chip sets the priority of this interrupt request to the highest priority so as to be able to quickly respond to the interrupt request. When there are defects in the display driver of the electronic device or it is incompatible with the system-on-chip, the system-on-chip cannot reliably process the processing event corresponding to the interrupt request. For example, the display driver deadlocks or accesses memory incorrectly when processing the hot-plug interrupt, resulting in the instability of the system-on-chip and further affecting the normal operation of other software applications.
[0097] In some embodiments, each type of software application is configured with a priority. In the embodiments of the present application, in response to the device plugging and unplugging information being device insertion information, the first computing power resource and the first memory space reserved by the system-on-chip are obtained, the second computing power resource and the second memory space required to drive the normal display of the electronic device are determined, the third computing power resource and the third memory space required by all software applications currently running on the MTK in-vehicle platform are determined, the second computing power resource is added to the third computing power resource to obtain the total computing power resource, the second memory space is added to the third memory space to obtain the total memory space, it is determined whether the first computing power resource is greater than the total computing power resource and whether the first memory space is greater than the total memory space. If the first computing power resource is greater than the total computing power resource and the first memory space is greater than the total memory space, the display driver program of the electronic device is loaded. If the first computing power resource is less than the total computing power resource or the first memory space is less than the total memory space, software applications with priorities lower than the preset priority threshold are released until the first computing power resource is greater than the total computing power resource and the first memory space is greater than the total memory space.
[0098] In the embodiments of the present application, when the first computing power resource is less than the total computing power resource or the first memory space is less than the total memory space, software applications with priorities lower than the preset priority threshold can be released to ensure that the display driver program can be normally loaded and that important software applications with high priorities can also run normally.
[0099] In some embodiments, the embodiments of the present application monitor the duration consumed for loading the display driver program. If the duration is greater than the preset duration, the priority of the display driver program is set to the lowest priority. If the duration is greater than or equal to the preset duration, the priority of the display driver program remains unchanged. In this way, when there are problems in loading the display driver program, the embodiments of the present application can lower the priority of the display driver program to ensure that the system-on-chip can promptly respond to interrupt requests from other software applications and avoid lags or crashes in other software applications.
[0100] Generally speaking, on the MTK in-vehicle platform, the system-on-chip sets up a MIPI DSI interface. The MIPI DSI interface can support the transmission of image data. The MIPI bridge chip can convert the image data conforming to the MIPI DSI display protocol into image conversion data conforming to the target display protocol. However, the MIPI DSI interface does not support the hot plug function on the MTK in-vehicle platform, that is, for the MIPI DSI interface that needs to transmit image data on the MTK in-vehicle platform, the plug-and-play requirement of the display device is not supported.
[0101] However, the embodiments of the present application detect the plugging and unplugging situation of the electronic device based on the device detection circuit and perform hot plug operations and resolution switching operations based on the plugging and unplugging situation, thereby being able to achieve at least the following effects:
[0102] 1. Reduce CPU performance loss: The MTK in-vehicle platform can automatically reduce the CPU performance loss when the display device is not connected.
[0103] 2. Dynamic configuration management: Although the MTK in-vehicle platform has certain limitations on the dynamic configuration of MIPI DSI, for the MIPI DSI interface that needs to transmit image data, based on the display method provided in the embodiments of the present application, it can simulate the effects of hot plugging and resolution hot switching. In addition, the MTK in-vehicle platform can more intelligently monitor the display status and dynamically adjust the performance configuration according to the connection situation to minimize resource waste.
[0104] It should be noted that in the above various embodiments, there is not necessarily a certain order between the above steps. Those of ordinary skill in the art can understand from the description of the embodiments of the present application that in different embodiments, the above steps can have different execution orders, that is, they can be executed in parallel or exchanged, etc.
[0105] As another aspect of the embodiments of the present application, the embodiments of the present application provide a display device based on the MTK in-vehicle platform. The MTK in-vehicle platform includes a system-on-chip, a MIPI DSI interface, a MIPI bridge chip, and a device detection circuit. The system-on-chip is communicatively connected to the MIPI bridge chip based on the MIPI DSI interface and electrically connected to the device detection circuit. The MIPI bridge chip is configured with a target display interface that supports a target display protocol. The target display interface is configured to plug in an electronic device, and the device detection circuit is configured to detect whether the electronic device is inserted into or removed from the target display interface.
[0106] The display device based on the MTK in-vehicle platform can be a software module. The software module includes several instructions, which are stored in a memory. The processor can access the memory and call the instructions for execution to complete the display method based on the MTK in-vehicle platform described in the above various embodiments.
[0107] In some embodiments, the display device based on the MTK in-vehicle platform can also be built by hardware components. For example, the display device based on the MTK in-vehicle platform can be built by one or more than two chips, and each chip can work in coordination with each other to complete the display method based on the MTK in-vehicle platform described in the above embodiments. For another example, the display device based on the MTK in-vehicle platform can also be built by various logic devices, such as being built by a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine), or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these components.
[0108] Please refer to Figure 5 , the display device 500 includes: a plug detection module 51, a resolution search module 52, a configuration generation module 53, and a device control module 54.
[0109] The plug detection module 51 is configured to generate device plugging information in response to the result of the device detection circuit detecting the target display interface, where the device plugging information is used to indicate that the electronic device is plugged into or unplugged from the target display interface, and the device plugging information includes device insertion information or device removal information.
[0110] The resolution search module 52 is configured to detect whether the system-on-chip finds an effective resolution that matches the target resolution of the electronic device in response to the device plugging information being device insertion information.
[0111] The configuration generation module 53 is configured to generate display configuration information in response to the system-on-chip finding an effective resolution that matches the target resolution of the electronic device.
[0112] The device control module 54 is configured to control the electronic device based on the display configuration information.
[0113] The embodiment of the present application realizes the hot plug function and the hot switching function of the resolution of the MIPI DSI interface on the MTK in-vehicle platform, enabling the electronic device to be used immediately after being plugged in on the MTK in-vehicle platform without the user having to restart the MTK in-vehicle platform, which is beneficial to expanding the flexibility and application scope of the MTK in-vehicle platform.
[0114] In some embodiments, the plug detection module 51 is specifically configured to: generate device insertion information in response to the device detection circuit detecting that the electronic device is plugged into the target display interface; or, generate device removal information in response to the device detection circuit detecting that the electronic device is unplugged from the target display interface.
[0115] In some embodiments, when the device plugging and unplugging information is device insertion information, the resolution lookup module 52 is specifically configured to: in response to the device plugging and unplugging information being device insertion information, determine the device type of the electronic device; in response to the device type of the electronic device being a screen type, obtain the extended display identification data of the electronic device based on the MIPI bridge chip; parse the extended display identification data to obtain the target resolution of the electronic device; and detect whether the system-on-chip finds a valid resolution that matches the target resolution.
[0116] In some embodiments, the device type includes a screen type and a non-screen type. The resolution lookup module 52 is specifically configured to: in response to the device plugging and unplugging information being device insertion information, send a type determination command to the MIPI bridge chip, so that the MIPI bridge chip sends a type determination request to the electronic device based on the target display interface, and the electronic device outputs device type information to the MIPI bridge chip in response to the type determination request; obtain the device type information returned by the MIPI bridge chip, where the device type information includes screen type information or non-screen type information; in response to the device type information being screen type information, determine the device type of the electronic device as the screen type; and in response to the device type information being non-screen type information, determine the device type of the electronic device as the non-screen type.
[0117] In some embodiments, the resolution lookup module 52 is specifically configured to: send a parameter acquisition command to the MIPI bridge chip, so that the MIPI bridge chip sends a parameter acquisition request to the electronic device based on the target display interface, and the electronic device outputs extended display identification data to the MIPI bridge chip in response to the parameter acquisition request; and obtain the extended display identification data returned by the MIPI bridge chip.
[0118] In some embodiments, the resolution lookup module 52 is specifically configured to: obtain a resolution table pre-stored in the system-on-chip, where the resolution table includes multiple valid resolutions; and detect whether there is a valid resolution in the resolution table that matches the target resolution.
[0119] In some embodiments, the display configuration information includes an operating voltage, a clock frequency, and an effective resolution. The device control module 54 is specifically configured to: output the operating voltage to the MIPI DSI interface so that the MIPI DSI interface enters a normal operating state based on the operating voltage; send a clock signal to the MIPI DSI interface according to the clock frequency so that the MIPI DSI interface triggers the MIPI bridge chip to communicate with the electronic device according to the clock signal; generate image data according to the effective resolution and transmit the image data to the MIPI bridge chip based on the MIPI DSI interface so that the MIPI bridge chip converts the image data into image conversion data matching the target display protocol and transmits the image conversion data to the electronic device so that the electronic device analyzes the image conversion data based on the effective resolution.
[0120] In some embodiments, the device control module 54 is further specifically configured to: in response to the device plugging / unplugging information being device unplugging information, enter a low-power state.
[0121] It should be noted that the above display device based on the MTK in-vehicle platform can execute the display method based on the MTK in-vehicle platform provided by the embodiments of the present application, and has corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in the embodiments of the display device based on the MTK in-vehicle platform, reference can be made to the display method based on the MTK in-vehicle platform provided by the embodiments of the present application.
[0122] See Figure 6 , Figure 6 FIG. is a schematic structural diagram of a system-on-chip provided by an embodiment of the present application. The system-on-chip 600 includes one or more processors 61 and a memory 62. The memory 62 is connected to one or more processors 61, for example, connected to the processor 61 through a bus.
[0123] The processor 61 is configured to support the corresponding functions of the methods in the above method embodiments for the system-on-chip. The processor may be a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof. The above hardware chip may be an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0124] The memory 62 is used to store program codes, etc. The memory may include volatile memory (VM), such as random access memory (RAM); the memory may also include non-volatile memory (NVM), such as read-only memory (ROM), flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); the memory may further include a combination of the above types of memories.
[0125] The memory 62 can be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as the program instructions / modules corresponding to the display method based on the MTK vehicle platform in the embodiments of the present application. The processor executes various functional applications and data processing of the display method based on the MTK vehicle platform and the display device based on the MTK vehicle platform by running the non-volatile software programs, instructions, and modules stored in the memory, that is, realizes the functions of each module or unit of the display method based on the MTK vehicle platform and the display device based on the MTK vehicle platform provided in the above method embodiments.
[0126] The memory 62 may include a program storage area and a data storage area. The program storage area may store an operating system and application programs required for at least one function. The data storage area may store data created according to the use of the display device based on the MTK vehicle platform, etc. In some embodiments, the memory may optionally include a memory remotely set relative to the processor, and these remote memories may be connected to the display device based on the MTK vehicle platform through a network. Examples of the above network include but are not limited to the Internet, intranet, local area network, mobile communication network, and combinations thereof.
[0127] The one or more modules are stored in the memory and, when executed by the one or more processors, execute the display method based on the MTK vehicle platform in any of the above method embodiments. For example, execute the method steps described in the above method embodiments to implement the functions of the modules described in the above device embodiments.
[0128] The embodiments of the present application further provide a computer-readable storage medium. The computer-readable storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to execute the method as described in the foregoing embodiments.
[0129] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the embodiments of the above methods. Among them, the storage medium may be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0130] The foregoing disclosure is only for the preferred embodiments of the present application, and of course cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application still fall within the scope covered by the present application.
Claims
1. A display method based on MTK vehicle-mounted platform, characterized in that: The MTK vehicle-mounted platform includes a system on chip, a MIPI DSI interface, a MIPI bridge chip and a device detection circuit. The system on chip is connected to the MIPI bridge chip in communication based on the MIPI DSI interface and is electrically connected to the device detection circuit. The MIPI bridge chip is configured with a target display interface supporting a target display protocol. The target display interface is configured to be plugged into an electronic device. The device detection circuit is configured to detect that the electronic device is plugged into or unplugged from the target display interface. The display method includes: In response to a result of the device detection circuit detecting the target display interface, generating device plugging and unplugging information, the device plugging and unplugging information is used to indicate that an electronic device is plugged into or unplugged from the target display interface, the device plugging and unplugging information including device plugging information or device unplugging information; In response to the device plugging and unplugging information being device insertion information, detecting whether the system on chip has found a valid resolution matching the target resolution of the electronic device; In response to the system on chip finding an effective resolution matching a target resolution of the electronic device, generating display configuration information; The electronic device is controlled based on the display configuration information.
2. The display method according to claim 1, characterized in that: In response to the result of the device detection circuit detecting the target display interface, generating device plugging and unplugging information includes: In response to the device detection circuit detecting that the electronic device is inserted into the target display interface, generating device insertion information; or, In response to the device detection circuit detecting that the electronic device is unplugged from the target display interface, device unplugging information is generated.
3. The display method according to claim 1, characterized in that: In response to the device plugging and unplugging information being device insertion information, detecting whether the system on chip has found an effective resolution matching the target resolution of the electronic device comprises: In response to the device plugging and unplugging information being device insertion information, determining a device type of the electronic device; In response to the device type of the electronic device being a screen type, acquiring extended display identification data of the electronic device based on the MIPI bridge chip; Parsing the extended display identification data to obtain a target resolution of the electronic device; It is detected whether the system on chip finds a valid resolution matching the target resolution.
4. The display method according to claim 3, characterized in that: The device type includes a screen type and a non-screen type, and the response to the device plugging and unplugging information is device insertion information, and determining the device type of the electronic device includes: In response to the device plugging and unplugging information being device insertion information, sending a type determination command to the MIPI bridge chip, so that the MIPI bridge chip sends a type determination request to the electronic device based on the target display interface, wherein the type determination request is used to request the electronic device to output device type information to the MIPI bridge chip; Obtaining device type information returned by the MIPI bridge chip, where the device type information includes screen type information or non-screen type information; In response to the device type information being screen type information, determining that the device type of the electronic device is a screen type; In response to the device type information being non-screen type information, it is determined that the device type of the electronic device is a non-screen type.
5. The display method according to claim 3, characterized in that: The acquiring of the extended display identification data of the electronic device based on the MIPI bridge chip comprises: Sending a parameter acquisition command to the MIPI bridge chip, so that the MIPI bridge chip sends a parameter acquisition request to the electronic device based on the target display interface, wherein the parameter acquisition request is used to request the electronic device to output extended display identification data to the MIPI bridge chip; The extended display identification data returned by the MIPI bridge chip is obtained.
6. The display method according to claim 1, characterized in that: The display configuration information includes an operating voltage, a clock frequency, and an effective resolution, and controlling the electronic device based on the display configuration information includes: Outputting the operating voltage to the MIPIDSI interface so that the MIPIDSI interface enters a normal working state based on the operating voltage; Sending a clock signal to the MIPI DSI interface according to the clock frequency, so that the MIPI DSI interface triggers the MIPI bridge chip to communicate with the electronic device according to the clock signal; Image data is generated according to the effective resolution, and transmitted to the MIPI bridge chip based on the MIPI DSI interface, so that the MIPI bridge chip converts the image data into image conversion data matching the target display protocol, and transmits the image conversion data to the electronic device, so that the electronic device parses the image conversion data based on the effective resolution.
7. The display method according to any one of claims 1 to 6, characterized in that: Also includes: In response to the device plugging and unplugging information being device unplugging information, a low power consumption state is entered.
8. A system on chip, characterized in that: It includes a memory and a processor, the memory is connected to the processor, the processor is used to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the system on chip implements the display method based on the MTK vehicle platform as described in any one of claims 1-7.
9. An MTK vehicle-mounted platform, characterized in that: It includes the system on chip, MIPI DSI interface, MIPI bridge chip and device detection circuit as described in claim 8, the system on chip is communicatively connected with the MIPI bridge chip based on the MIPI DSI interface and is electrically connected with the device detection circuit, the MIPI bridge chip is configured with a target display interface supporting a target display protocol, the target display interface is configured to plug in an electronic device, and the device detection circuit is configured to detect that the electronic device is inserted into or unplugged from the target display interface.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the display method based on the MTK vehicle-mounted platform as described in any one of claims 1 to 7.
Citation Information
Cited By
Data processing method and data processing device
CN120428945A
Data processing method and data processing device
CN120428945B
Method for bridge chip to actively switch source end resolution and related product
CN121151627A
