Image data display method and system, storage medium and electronic equipment
By obtaining display instruction requests in electronic devices, determining cached image data and reconstructing them, the problems of poor user viewing and difficulty in obtaining information caused by independent display of multiple subsystems are solved, and unified display and convenient information acquisition of multiple data are realized.
Patent Information
- Application Number
- CN202311301513.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-09
- Publication Date
- 2025-04-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In existing electronic devices, independent display terminals and control terminals of multiple subsystems lead to poor user perception and the subsystems cannot be friendly and linkage, resulting in difficulty in obtaining information and complex operation.
When detecting multiple display data that needs to be displayed simultaneously, the current display instruction request is obtained, and each cached image data to be displayed is determined, and the data is reconstructed based on these data to obtain new image data containing all display data that needs to be displayed simultaneously, and finally the image data is displayed.
It realizes the fusion and unified display of multiple display data, avoids display conflicts, and facilitates users to quickly obtain information sources.
Smart Images

Figure CN119806450A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image display, and in particular to an image data display method, system, storage medium and electronic device. Background Art
[0002] Currently, electronic devices can contain several subsystems, and each subsystem can have independent display terminals and control terminals. Once the terminals of multiple systems are presented to people at the same time, the user experience is poor, and because each terminal is independently controlled, the subsystems cannot be linked in a friendly manner. Not only can important information not be quickly obtained when viewing, but the operation is also complicated and inconvenient. For example, the traditional car cockpit is composed of numerous instruments and dashboards, and the information such as air conditioning, vehicle speed, and vehicle status is relatively scattered, and the driver cannot get the information at a glance. Since all the status information of the vehicle is actively obtained by the driver, it is easy for the driver to ignore important information. Summary of the invention
[0003] The purpose of the present application is to provide an image data display method, system, storage medium and electronic device, which can integrate various display data and display different image data at the same time.
[0004] In order to solve the above technical problems, the present application provides an image data display method, and the specific technical solution is as follows:
[0005] When at least two channels of display data to be displayed simultaneously are detected, a current display instruction request is obtained;
[0006] Determine the cached image data to be displayed according to the display instruction request;
[0007] Reconstructing data based on each of the cached image data to obtain new image data; wherein the new image data includes all display data that need to be displayed simultaneously;
[0008] Image data display is performed based on the new image data.
[0009] Optionally, the obtaining the current display instruction request includes:
[0010] A data channel selection instruction, an address space selection instruction and a replacement instruction are obtained; the data channel selection instruction is used to indicate a data channel to be displayed, and the address space selection instruction is used to indicate an address space of the data channel to be displayed.
[0011] Optionally, determining the cached image data to be displayed according to the display instruction request includes:
[0012] Determine the main display data to be displayed and the corresponding data channel according to the replacement instruction, and the corresponding other buffered image data is the secondary display data;
[0013] Determine the data channels of the primary display data and the secondary display data according to the data channel selection instruction;
[0014] Determine the address space corresponding to each of the data channels according to the address space selection instruction;
[0015] The cached image data corresponding to each of the data channels is obtained from the address space.
[0016] Optionally, before obtaining the current display instruction request, the process further includes:
[0017] Determining display requests for display data to be displayed simultaneously;
[0018] Determining a cache address of the display data;
[0019] The display instruction request is generated according to the display request and the cache address.
[0020] Optionally, determining the cached image data to be displayed according to the display instruction request includes:
[0021] The cached image data to be displayed is determined according to the cache address in the display instruction request.
[0022] Optionally, determining each path of cached image data to be displayed according to the cache address in the display instruction request includes:
[0023] The cached image data to be displayed is obtained from the cached data of the field programmable gate array according to the cache address in the display instruction request.
[0024] Optionally, performing data reconstruction based on each channel of the cached image data to obtain new image data includes:
[0025] If there are two channels of display data to be displayed simultaneously, the second RGB data of the display data currently being displayed is reconstructed using the first RGB data of the display data currently not being displayed to obtain new image data.
[0026] Optionally, reconstructing the second RGB data of the currently displayed display data by using the first RGB data of the currently undisplayed display data to obtain the new image data includes:
[0027] Determine the blank position in the display data currently being displayed;
[0028] The data corresponding to the blank position in the second RGB data is replaced by the first RGB data of the display data that is not currently displayed, so as to obtain new image data.
[0029] Optionally, when replacing the data corresponding to the blank position in the second RGB data with the first RGB data of the display data that is not currently displayed, the method further includes:
[0030] The data corresponding to the blank position in the second RGB data is deleted, or the data corresponding to the blank position in the second RGB data is cached in a set storage space.
[0031] The present application also provides an image data display system, comprising:
[0032] A request acquisition module, used to acquire a current display instruction request when detecting at least two display data to be displayed simultaneously;
[0033] An image data determination module, used for determining each path of cached image data to be displayed according to the display instruction request;
[0034] A data reconstruction module, used for performing data reconstruction based on each channel of the cached image data to obtain new image data; wherein the new image data includes all display data to be displayed simultaneously;
[0035] The data display module is used for displaying the image data according to the new image data.
[0036] Optionally, the request acquisition module includes:
[0037] The instruction acquisition unit is used to acquire a data channel selection instruction, an address space selection instruction and a replacement instruction; the data channel selection instruction is used to indicate a data channel to be displayed, and the address space selection instruction is used to indicate an address space of a data channel to be displayed.
[0038] Optionally, the image data determination module includes:
[0039] A display replacement detection unit, used for determining the main display data to be displayed and the corresponding data channel according to the replacement instruction, and correspondingly the other buffered image data as the secondary display data;
[0040] a data channel determining unit, configured to determine the data channels of the primary display data and the secondary display data according to the data channel selection instruction;
[0041] An address space determining unit, configured to determine the address space corresponding to each of the data channels according to the address space selection instruction;
[0042] The image data acquisition unit is used to acquire the cached image data corresponding to each of the data channels from the address space.
[0043] Optionally, also include:
[0044] The request generation module is used to determine the display request of the display data to be displayed simultaneously; determine the cache address of the display data; and generate the display instruction request according to the display request and the cache address.
[0045] The present application also provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the steps of the above-mentioned method when executed by a processor.
[0046] The present application also provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above-mentioned method when calling the computer program in the memory.
[0047] The present application provides an image data display method, comprising: when at least two display data to be displayed simultaneously are detected, obtaining a current display instruction request; determining each cached image data to be displayed according to the display instruction request; reconstructing data based on each cached image data to obtain new image data; wherein the new image data includes all display data to be displayed simultaneously; and displaying image data according to the new image data.
[0048] When it is necessary to display multiple display data at the same time, the present application determines the cached image data to be displayed based on the display instruction request, and reconstructs the data of each cached image data to obtain new image data, so that each display data can be displayed through a new image data, avoiding display conflicts of multiple display data and facilitating users to obtain information sources in a timely manner.
[0049] The present application also provides an image data display system, a storage medium and an electronic device, which have the above-mentioned beneficial effects and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0051] Figure 1 A flowchart of an image data display method provided in an embodiment of the present application;
[0052] Figure 2 A schematic diagram of the hardware structure corresponding to an image data display process provided in an embodiment of the present application;
[0053] Figure 3 A schematic diagram of the data reconstruction process provided in an embodiment of the present application;
[0054] Figure 4 A schematic diagram of the structure of an image data display system provided in an embodiment of the present application;
[0055] Figure 5 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] 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 creative work are within the scope of protection of this application.
[0057] Please refer to Figure 1 , Figure 1 A flowchart of an image data display method provided in an embodiment of the present application, the method comprising:
[0058] S101: when at least two channels of display data to be displayed simultaneously are detected, a current display instruction request is obtained;
[0059] In this step, when at least two channels of display data that need to be displayed simultaneously are detected, a current display instruction request is obtained, where the display instruction request is used to instruct processing of display of multiple channels of display data.
[0060] In a feasible implementation, this step can obtain a data channel selection instruction, an address space selection instruction, and a replacement instruction. The data channel selection instruction is used to indicate the data channel to be displayed, and the address space selection instruction is used to indicate the address space of the data channel to be displayed. Figure 2 , Figure 2 A schematic diagram of the hardware structure corresponding to an image data display process provided in an embodiment of the present application. Figure 2 In the interactive terminal, different subsystem information is connected to different processing units inside the interactive terminal. The processing units and interactive input and output devices are introduced into the field programmable gate array, and the field programmable gate array acts as an arbitration mechanism to perform all data processing. That is, the field programmable gate array can connect to several data channel sources and the corresponding address space in the cache. The image data of each data channel is first stored in the corresponding address space in the cache, that is, each data channel source corresponds to at least one address space, and a one-to-one correspondence between the data channel source and the address space can usually be established. The data channel selection instruction, address space selection instruction and replacement instruction can all be generated according to the instructions of the user operation, or directly apply the instructions issued by the user, so as to obtain the fused RGB data and output it for display.
[0061] After detecting at least two display data to be displayed simultaneously, the display instruction request may be generated first. Specifically, the display request of the display data to be displayed simultaneously may be determined first, and the cache address of the display data may be determined in turn, and finally the display instruction request may be generated according to the display request and the cache address.
[0062] S102: Determine the cached image data to be displayed according to the display instruction request;
[0063] This step needs to determine each channel of cached image data to be displayed, and the cached image data is located in the cache of the field programmable gate array. Specifically, according to the data channel to be displayed determined by the display instruction request, the cached image data in the corresponding address space is determined.
[0064] In a feasible implementation, when displaying an image, the primary display data and the secondary display data may be determined. When executing this step, the following steps may be performed:
[0065] The first step is to determine the main display data to be displayed and the corresponding data channel according to the replacement instruction, and the corresponding other buffered image data is the secondary display data;
[0066] Step 2: determining the data channels of the primary display data and the secondary display data according to the data channel selection instruction;
[0067] Step 3: determining the address space corresponding to each of the data channels according to the address space selection instruction;
[0068] Step 4: Acquire the cached image data corresponding to each of the data channels from the address space.
[0069] That is, the main display data to be displayed is first determined according to the replacement instruction, and the other data channels correspond to the secondary display data. In the subsequent process, it is necessary to determine the data channels of the main display data and the secondary display data, as well as the corresponding address space, so that when the cached image data of the corresponding data channel is obtained, it can be clear which cached image data is the main display data.
[0070] S103: reconstructing data based on each channel of the cached image data to obtain new image data; wherein the new image data includes all display data that need to be displayed simultaneously;
[0071] S104: Display image data according to the new image data.
[0072] This step aims to reconstruct the cached image data to obtain new image data. In simple terms, the RGB data of the corresponding address space can be first taken from the data source in the cached data; then the data is reconstructed, for example, data source 1 replaces data source 2 or data source 2 replaces data source 1, and new image data can be obtained. Finally, the new data source is used to drive the display device to obtain a brand new picture.
[0073] Specifically, when reconstructing data, the blank position in the currently displayed display data, that is, the blank position in the main display data, can be determined first, and then the first RGB data of the currently undisplayed display data can be used to replace the data corresponding to the blank position in the second RGB data to obtain new image data. For the replaced data, the data corresponding to the blank position in the second RGB data can be directly deleted, or the data corresponding to the blank position in the second RGB data can be cached to a set storage space. Figure 3 , Figure 3 The data reconstruction process diagram provided in the embodiment of the present application is as follows: Figure 3 Replacing R2G2B2 in the three cells in the left image with R1G1B1 will give you the image on the right, thus achieving pixel replacement of the image data.
[0074] It is easy to understand that if there is no data being displayed currently, it is only necessary to determine the main display data and replace the blank positions in the main display data with each secondary display data in sequence. If there are multiple channels of secondary display data causing the main display data to no longer contain blank positions, an abnormal message can be displayed so that the user can re-issue the display instruction request.
[0075] When it is necessary to display multiple display data at the same time, the embodiment of the present application determines the cached image data to be displayed based on the display instruction request, and reconstructs the data of each cached image data to obtain new image data, so that each display data can be displayed through a new image data, avoiding display conflicts of multiple display data and facilitating users to obtain information sources in a timely manner.
[0076] The following is an introduction to an image data display system provided in an embodiment of the present application. The image data display system described below and the image data display method described above can be referenced to each other.
[0077] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an image data display system provided in an embodiment of the present application. The present application also provides an image data display system, including:
[0078] A request acquisition module, used to acquire a current display instruction request when detecting at least two display data to be displayed simultaneously;
[0079] An image data determination module, used for determining each path of cached image data to be displayed according to the display instruction request;
[0080] A data reconstruction module, used for performing data reconstruction based on each channel of the cached image data to obtain new image data; wherein the new image data includes all display data to be displayed simultaneously;
[0081] The data display module is used for displaying the image data according to the new image data.
[0082] Based on the above embodiment, as a preferred embodiment, the request acquisition module includes:
[0083] The instruction acquisition unit is used to acquire a data channel selection instruction, an address space selection instruction and a replacement instruction; the data channel selection instruction is used to indicate a data channel to be displayed, and the address space selection instruction is used to indicate an address space of a data channel to be displayed.
[0084] Based on the above embodiment, as a preferred embodiment, the image data determination module includes:
[0085] A display replacement detection unit, used for determining the main display data to be displayed and the corresponding data channel according to the replacement instruction, and correspondingly the other buffered image data as the secondary display data;
[0086] a data channel determining unit, configured to determine the data channels of the primary display data and the secondary display data according to the data channel selection instruction;
[0087] An address space determining unit, configured to determine the address space corresponding to each of the data channels according to the address space selection instruction;
[0088] The image data acquisition unit is used to acquire the cached image data corresponding to each of the data channels from the address space.
[0089] Based on the above embodiments, as a preferred embodiment, it also includes:
[0090] The request generation module is used to determine the display request of the display data to be displayed simultaneously; determine the cache address of the display data; and generate the display instruction request according to the display request and the cache address.
[0091] Based on the above embodiments, as a preferred embodiment, the image data determination module is a module for determining each cache image data to be displayed according to the cache address in the display instruction request.
[0092] Based on the above embodiments, as a preferred embodiment, the image data determination module is a module for obtaining various cached image data to be displayed from the cached data of the field programmable gate array according to the cache address in the display instruction request.
[0093] Based on the above embodiment, as a preferred embodiment, the data reconstruction module includes:
[0094] The reconstruction unit is used to reconstruct the second RGB data of the currently displayed display data by using the first RGB data of the currently undisplayed display data to obtain new image data if there are two channels of display data to be displayed simultaneously.
[0095] Based on the above embodiment, as a preferred embodiment, the reconstruction unit includes:
[0096] A blank detection subunit, used to determine a blank position in the display data currently being displayed;
[0097] The reconstruction subunit is used to replace the data corresponding to the blank position in the second RGB data with the first RGB data of the display data that is not currently displayed, so as to obtain new image data.
[0098] Based on the above embodiments, as a preferred embodiment, it also includes:
[0099] The blank data processing subunit is used to delete the data corresponding to the blank position in the second RGB data, or cache the data corresponding to the blank position in the second RGB data to a set storage space.
[0100] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the steps provided in the above embodiment can be implemented. The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0101] The present application also provides an electronic device, see Figure 5 , a structural diagram of an electronic device provided in an embodiment of the present application, such as Figure 5 As shown, a processor 1410 and a memory 1420 may be included.
[0102] Among them, the processor 1410 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1410 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1410 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1410 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1410 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0103] The memory 1420 may include one or more computer-readable storage media, which may be non-transitory. The memory 1420 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 1420 is at least used to store the following computer program 1421, wherein, after the computer program is loaded and executed by the processor 1410, it can implement the relevant steps in the method performed by the electronic device side disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 1420 may also include an operating system 1422 and data 1423, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 1422 may include Windows, Linux, Android, etc.
[0104] In some embodiments, the electronic device may further include a display screen 1430 , an input / output interface 1440 , a communication interface 1450 , a sensor 1460 , a power source 1470 , and a communication bus 1480 .
[0105] certainly, Figure 5 The structure of the electronic device shown does not constitute a limitation on the electronic device in the embodiments of the present application. In actual applications, the electronic device may include Figure 5 More or fewer components than shown, or combinations of certain components.
[0106] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the system provided in the embodiment, since it corresponds to the method provided in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0107] Specific examples are used herein to illustrate the principles and implementation methods of the present application, and the description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
[0108] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A method for displaying image data, characterized in that: include: When at least two channels of display data to be displayed simultaneously are detected, a current display instruction request is obtained; Determine the cached image data to be displayed according to the display instruction request; Reconstructing data based on each of the cached image data to obtain new image data; wherein the new image data includes all display data that need to be displayed simultaneously; Image data display is performed based on the new image data.
2. The image data display method according to claim 1, characterized in that: The request to obtain the current display instruction includes: A data channel selection instruction, an address space selection instruction and a replacement instruction are obtained; the data channel selection instruction is used to indicate a data channel to be displayed, and the address space selection instruction is used to indicate an address space of the data channel to be displayed.
3. The image data display method according to claim 2, characterized in that: Determining the cached image data to be displayed according to the display instruction request includes: Determine the main display data to be displayed and the corresponding data channel according to the replacement instruction, and the corresponding other buffered image data is the secondary display data; Determine the data channels of the primary display data and the secondary display data according to the data channel selection instruction; Determine the address space corresponding to each of the data channels according to the address space selection instruction; The cached image data corresponding to each of the data channels is obtained from the address space.
4. The image data display method according to claim 1, characterized in that: Before obtaining the current display instruction request, the method further includes: Determining display requests for display data to be displayed simultaneously; Determining a cache address of the display data; The display instruction request is generated according to the display request and the cache address.
5. The image data display method according to claim 4, characterized in that: Determining the cached image data to be displayed according to the display instruction request includes: The cached image data to be displayed is determined according to the cache address in the display instruction request.
6. The image data display method according to claim 5, characterized in that: Determining the cached image data to be displayed according to the cache address in the display instruction request includes: The cached image data to be displayed is obtained from the cached data of the field programmable gate array according to the cache address in the display instruction request.
7. The image data display method according to claim 1, characterized in that: Data reconstruction is performed based on the cached image data of each channel to obtain new image data including: If there are two channels of display data to be displayed simultaneously, the second RGB data of the display data currently being displayed is reconstructed using the first RGB data of the display data currently not being displayed to obtain new image data.
8. The image data display method according to claim 7, characterized in that: Reconstructing the second RGB data of the currently displayed display data by using the first RGB data of the currently undisplayed display data to obtain the new image data includes: Determine the blank position in the display data currently being displayed; The data corresponding to the blank position in the second RGB data is replaced by the first RGB data of the display data that is not currently displayed, so as to obtain new image data.
9. The image data display method according to claim 8, characterized in that: When the data corresponding to the blank position in the second RGB data is replaced by the first RGB data of the display data that is not currently displayed, the method further includes: The data corresponding to the blank position in the second RGB data is deleted, or the data corresponding to the blank position in the second RGB data is cached in a set storage space.
10. An image data display system, characterized in that: include: A request acquisition module, used to acquire a current display instruction request when detecting at least two display data to be displayed simultaneously; An image data determination module, used for determining each path of cached image data to be displayed according to the display instruction request; A data reconstruction module, used for performing data reconstruction based on each channel of the cached image data to obtain new image data; wherein the new image data includes all display data to be displayed simultaneously; The data display module is used for displaying the image data according to the new image data.
11. The image data display method according to claim 10, characterized in that: The request acquisition module includes: The instruction acquisition unit is used to acquire a data channel selection instruction, an address space selection instruction and a replacement instruction; the data channel selection instruction is used to indicate a data channel to be displayed, and the address space selection instruction is used to indicate an address space of a data channel to be displayed.
12. The image data display method according to claim 11, characterized in that: The image data determination module includes: A display replacement detection unit, used for determining the main display data to be displayed and the corresponding data channel according to the replacement instruction, and correspondingly the other buffered image data as the secondary display data; a data channel determining unit, configured to determine the data channels of the primary display data and the secondary display data according to the data channel selection instruction; An address space determining unit, configured to determine the address space corresponding to each of the data channels according to the address space selection instruction; The image data acquisition unit is used to acquire the cached image data corresponding to each of the data channels from the address space.
13. The image data display method according to claim 10, characterized in that: Also includes: A request generation module, used for determining display requests of display data to be displayed simultaneously; Determining a cache address of the display data; The display instruction request is generated according to the display request and the cache address.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the image data display method according to any one of claims 1 to 9 are implemented.
15. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the steps of the image data display method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Image generation method, device and equipment and medium
CN109799936A
Picture synthesis method and device, electronic equipment and storage medium
CN111263208A
Image processing method and device, computer equipment and storage medium
CN114245129A
Image display method and apparatus, projector and storage medium
WO2022142143A1