WO2024104096A1 - Monochromatic screen display method and system, electronic device and computer-readable storage medium - Google Patents

Monochromatic screen display method and system, electronic device and computer-readable storage medium Download PDF

Info

Publication number
WO2024104096A1
WO2024104096A1 PCT/CN2023/127439 CN2023127439W WO2024104096A1 WO 2024104096 A1 WO2024104096 A1 WO 2024104096A1 CN 2023127439 W CN2023127439 W CN 2023127439W WO 2024104096 A1 WO2024104096 A1 WO 2024104096A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
color channel
data packet
mipi protocol
logic unit
Prior art date
Application number
PCT/CN2023/127439
Other languages
French (fr)
Chinese (zh)
Inventor
邓联康
洪汉德
柯春桥
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024104096A1 publication Critical patent/WO2024104096A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals

Definitions

  • the present application relates to the field of display technology, and in particular to a monochrome screen display method, system, electronic device and computer-readable storage medium.
  • micro-LED monochrome screens are often used in augmented reality (AR) scenarios to achieve full-color effects.
  • AR augmented reality
  • three monochrome screens red, green, and blue are used to fuse colors to achieve full-color effects.
  • the system on chip sends MIPI protocol data packets to three monochrome screens through the mobile industry processor interface (MIPI).
  • MIPI protocol data packet includes image data with three color channels, for example, the image data includes R channel, G channel and B channel.
  • each monochrome screen After each monochrome screen receives the MIPI protocol data packet from the SOC, it performs monochrome display according to the MIPI protocol data packet.
  • this will cause the screen end to receive a large amount of redundant data, which requires a large transmission bandwidth and makes the processing complexity of the screen end higher.
  • the embodiments of the present application provide a monochrome screen display method, system, electronic device and computer-readable storage medium, which can solve the problem that the screen receives a large amount of redundant data during the existing monochrome screen display, occupies a large transmission bandwidth, and has high processing complexity on the screen side.
  • an embodiment of the present application provides a monochrome screen display system, including a processing module, a first monochrome screen, a second monochrome screen, and a third monochrome screen;
  • the processing module is used to: obtain a first mobile industry processor interface MIPI protocol data packet, the first MIPI protocol data packet includes image data, and the image data includes data of a first color channel, data of a second color channel, and data of a third color channel; parse the first MIPI protocol data packet, and after obtaining the image data, extract the data of the first color channel, the data of the second color channel, and the data of the third color channel from the image data; perform a packet grouping operation on the data of the first color channel to obtain a second MIPI protocol data packet, and send the second MIPI protocol data packet to the first monochrome screen; perform a packet grouping operation on the data of the second color channel to obtain a third MIPI protocol data packet, and send the third MIPI protocol data packet to the second monochrome screen; perform a packet grouping operation on the data of the third color channel to obtain a fourth MIPI protocol data packet, and send the fourth MIPI protocol data packet to the third monochrome screen;
  • the first monochrome screen is used to: receive a second MIPI protocol data packet, parse the second MIPI protocol data packet, obtain data of a first color channel, and display the data of the first color channel;
  • the second monochrome screen is used to: receive a third MIPI protocol data packet, parse the third MIPI protocol data packet, obtain data of a second color channel, and display the data of the second color channel;
  • the third monochrome screen is used to: receive a fourth MIPI protocol data packet, parse the fourth MIPI protocol data packet, obtain data of a third color channel, and display the data of the third color channel.
  • each monochrome screen only receives the color channel data that needs to be displayed, and does not receive the color channel data that does not need to be displayed, thereby reducing the redundant data received by the screen end; and, compared with the MIPI protocol data packet including image data with three color channels, the MIPI protocol data packet including only a single color channel data has a smaller amount of data, so the transmission of the MIPI protocol data packet including only a single color channel data saves the transmission bandwidth; in addition, each monochrome screen receives the MIPI protocol data packet including only a single color channel data. Therefore, after the screen parses the MIPI protocol data packet, it can send and display the single color channel data, reducing the processing complexity.
  • the processing module includes a first logic unit, a second logic unit, a third logic unit, and a fourth logic unit;
  • the first logic unit is connected to the second logic unit, the third logic unit and the fourth logic unit respectively;
  • the first logic unit is used to: parse the first MIPI protocol data packet to obtain image data; extract data of the first color channel, data of the second color channel and data of the third color channel from the image data; send the data of the first color channel to the second logic unit, send the data of the second color channel to the third logic unit, and send the data of the third color channel to the fourth logic unit;
  • the second logic unit is used to: receive data of the first color channel, perform a packetization operation on the data of the first color channel to obtain a second MIPI protocol data packet, and send the second MIPI protocol data packet to the first monochrome screen;
  • the third logic unit is used to: receive the data of the second color channel, perform a packet operation on the data of the second color channel to obtain a third MIPI protocol data packet, and send the third MIPI protocol data packet to the second monochrome screen;
  • the fourth logic unit is used to receive data of the third color channel, perform a packetization operation on the data of the third color channel to obtain a fourth MIPI protocol data packet, and send the fourth MIPI protocol data packet to the third monochrome screen.
  • the processing module is a field programmable gate array (FPGA), and the first logic unit, the second logic unit, the third logic unit, and the fourth logic unit are all D-PHY or C-PHY.
  • FPGA field programmable gate array
  • multiple logic units are simulated in the FPGA, and the parsing of MIPI protocol data packets, extraction and separation of single color channel data, repackaging and sending of single color channel data are implemented through each logic unit. It is achieved that a complete MIPI signal is divided into three customized monochrome MIPI signals through FPGA, which saves transmission bandwidth and reduces the processing complexity on the screen end.
  • the first logic unit includes a fifth logic unit and a data processing unit
  • the fifth logic unit is used to: parse the first MIPI protocol data packet to obtain image data, and send the image data to the data processing unit;
  • the data processing unit is used to: extract data of the first color channel, data of the second color channel and data of the third color channel from the image data; send the data of the first color channel to the second logic unit, send the data of the second color channel to the third logic unit, and send the data of the third color channel to the fourth logic unit.
  • the extraction and separation function of a single color channel data is implemented by the data processing unit, and the second logic unit, the third logic unit, the fourth logic unit and the fifth logic unit implement the parsing and packaging function of the MIPI data packet.
  • the functions implemented by the second logic unit, the third logic unit, the fourth logic unit and the fifth logic unit are exactly the same, which is easier to design and implement.
  • the processing module is an FPGA
  • the second logic unit, the third logic unit, the fourth logic unit, and the fifth logic unit are all D-PHY or C-PHY.
  • the image data is RGB image data
  • the first color channel is an R channel
  • the second color channel is a G channel
  • the third color channel is a B channel.
  • the processing module is specifically configured to: receive a first MIPI protocol data packet from a system on chip (SOC).
  • SOC system on chip
  • an embodiment of the present application provides a monochrome screen display method, which is applied to a processing module, and the method includes:
  • a first mobile industry processor interface MIPI protocol data packet is obtained, the first MIPI protocol data packet includes image data, and the image data includes data of a first color channel, data of a second color channel, and data of a third color channel; the first MIPI protocol data packet is parsed to obtain the image data, and then the data of the first color channel, the data of the second color channel, and the data of the third color channel are extracted from the image data; a packetization operation is performed on the data of the first color channel to obtain a second MIPI protocol data packet, and the second MIPI protocol data packet is sent to the first monochrome screen; a packetization operation is performed on the data of the second color channel to obtain a third MIPI protocol data packet, and the third MIPI protocol data packet is sent to the second monochrome screen; a packetization operation is performed on the data of the third color channel to obtain a fourth MIPI protocol data packet, and the fourth MIPI protocol data packet is sent to the third monochrome screen.
  • the processing module is an FPGA.
  • the image data is RGB image data
  • the first color channel is the R channel
  • the second color channel is the G channel
  • the third color channel is the B channel.
  • an embodiment of the present application provides an electronic device, comprising a first monochrome screen, a second monochrome screen, a third monochrome screen, a processing module, a memory, and a computer program stored in the memory and executable on the processing module, wherein the processing module implements any method of the second aspect described above when executing the computer program.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method of any one of the second aspects described above is implemented.
  • an embodiment of the present application provides a chip system, the chip system includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the method as described in any one of the second aspects above.
  • the chip system can be a single chip, or a chip module composed of multiple chips.
  • an embodiment of the present application provides a computer program product.
  • the computer program product When the computer program product is run on an electronic device, the electronic device executes any method described in the second aspect above.
  • FIG1A is a schematic block diagram of a system architecture of a monochrome screen display system provided in an embodiment of the present application
  • FIG1B is a schematic block diagram of another system architecture of a monochrome screen display system provided in an embodiment of the present application.
  • FIG2A is a schematic block diagram of another system architecture of a monochrome screen display system provided in an embodiment of the present application.
  • FIG2B is a schematic block diagram of a process of a monochrome screen display method provided in an embodiment of the present application.
  • FIG3A is a schematic diagram of a logic unit provided in an embodiment of the present application.
  • FIG3B is a schematic diagram of another logic unit provided in an embodiment of the present application.
  • FIG4A is a schematic block diagram of a monochrome screen display system architecture provided by an embodiment of the present application.
  • FIG4B is another schematic block diagram of a monochrome screen display system architecture provided in an embodiment of the present application.
  • FIG4C is a schematic block diagram of a MIPI protocol data packet provided in an embodiment of the present application.
  • FIG4D is a schematic block diagram of a logic unit of an FPGA provided in an embodiment of the present application.
  • FIG4E is a schematic diagram of MIPI protocol data packet transmission provided in an embodiment of the present application.
  • FIG5 is a schematic block diagram of a process of a monochrome screen display method provided in an embodiment of the present application.
  • FIG6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
  • Figure 1A is a schematic block diagram of a system architecture of a monochrome screen display system provided in an embodiment of the present application.
  • the system may include SOC 11, monochrome screen 12, monochrome screen 13 and monochrome screen 14.
  • SOC 11 can be connected to monochrome screen 12, monochrome screen 13, and monochrome screen 14 through MIPI interfaces.
  • SOC 11 has three MIPI interfaces, and is connected to monochrome screen 12, monochrome screen 13, and monochrome screen 14 through these three MIPI interfaces, and each MIPI interface corresponds to a monochrome screen.
  • SOC11 sends MIPI protocol data packets to monochrome screen 12, monochrome screen 13, and monochrome screen 14 respectively. After receiving the MIPI protocol data packets from SOC11, monochrome screen 12, monochrome screen 13, and monochrome screen 14 respectively perform monochrome display according to the MIPI protocol data packets.
  • the MIPI protocol data packets sent by SOC11 to each monochrome screen are the same.
  • the MIPI protocol does not support the transmission of a pixel format of a single color channel, so the MIPI protocol data packet output from the SOC 11 includes image data of three color channels.
  • FIG. 1A shows that the image data in the MIPI protocol data packet is RGB image data, which refers to image data having an R channel, a G channel, and a B channel.
  • the MIPI protocol data packets received by the monochrome screen 12, the monochrome screen 13 and the monochrome screen 14 all include image data of three color channels.
  • each monochrome screen only needs data of one color channel to realize monochrome display, and the data of the other two color channels are redundant data.
  • SOC 11 transmits RGB image data to each monochrome screen through MIPI protocol data packets; assuming that monochrome screen 12 is used to display red, monochrome screen 13 is used to display green, and monochrome screen 14 is used to display blue. At this time, monochrome screen 12 only The data of the R channel is needed to display red, and the data of the G channel and the B channel are not needed. That is, for the monochrome screen 12, the data of the G channel and the data of the B channel are redundant data.
  • the monochrome screen 13 only needs the data of the G channel to display green, and the data of the R channel and the data of the B channel are redundant data; the monochrome screen 14 only needs the data of the B channel to display blue, and the data of the R channel and the data of the G channel are redundant data.
  • SOC11 Since the data volume of the MIPI protocol data packet including the image data with three color channels is large, SOC11 transmits the image data with three color channels to each monochrome screen through the MIPI protocol data packet. In addition to causing the screen end to receive a large amount of redundant data, it also occupies a large transmission bandwidth.
  • the monochrome screen when it performs monochrome display according to the MIPI protocol data packet, it usually first parses the MIPI protocol data packet to obtain the image data in the MIPI protocol data packet, which includes data of three color channels; then extracts and separates the data of a single color channel from the image data, and identifies the color channel data required by itself from multiple single color channel data; finally, it performs monochrome display according to the color channel data required by itself.
  • the monochrome screen needs to perform processes such as MIPI protocol data packet parsing, extraction and separation of single color channel data, identification of color channel data, and monochrome display according to the color channel data required by itself, and the processing complexity is relatively high. That is, through the MIPI protocol data packet, the image data with three color channels is transmitted to each monochrome screen, which will also make the processing complexity of the display driver chip (Display Driver Integrated Circuit Chip, DDIC) on the screen side relatively high.
  • DDIC Display Driver Integrated Circuit Chip
  • the MIPI protocol data packet is parsed to obtain the RGB image data in the MIPI protocol data packet; then the R channel data, the G channel data and the B channel data are extracted and separated from the RGB image data, and the color channel data required by itself is identified as the R channel data; finally, the R channel data is displayed to display red.
  • the monochrome screen 13 and the monochrome screen 14 both perform similar processes to display green and blue, respectively.
  • the system shown in Figure 1A may also include a bridge chip 15.
  • a bridge chip 15 Specifically, refer to Figure 1B, a schematic block diagram of another system architecture of a monochrome screen display system provided in an embodiment of the present application.
  • the input end of the bridge chip 15 is connected to SOC11, and the output end of the bridge chip 15 is respectively connected to the monochrome screen 12, the monochrome screen 13 and the monochrome screen 14.
  • SOC 11 outputs a MIPI protocol data packet including RGB image data.
  • the bridge chip 15 copies the MIPI protocol data packet to obtain three identical MIPI protocol data packets, and transmits the three MIPI protocol data packets to the monochrome screen 12, the monochrome screen 13, and the monochrome screen 14. In this process, the bridge chip 15 is used to copy the MIPI protocol data packet and distribute the MIPI protocol data packet.
  • the image data with three color channels is still transmitted to each monochrome screen through the MIPI protocol data packet. Therefore, the above-mentioned problems of the screen receiving a large amount of redundant data, occupying a large transmission bandwidth, and the high processing complexity of the DDIC on the screen still exist.
  • the monochrome screen display solution provided in the embodiment of the present application divides a MIPI signal with three color channels into three MIPI signals with a single color channel, and transmits the three monochrome MIPI signals to each monochrome screen respectively, so that the screen end only receives single color channel data, reduces the redundant data received by the screen end, saves transmission bandwidth, and reduces the processing complexity of DDIC on the screen end.
  • FIG. 2A is a schematic block diagram of another system architecture of the monochrome screen display system provided in an embodiment of the present application.
  • the system may include SOC21, a processing module 22, a first monochrome screen 23, a second monochrome screen 24 and a third monochrome screen 25.
  • the SOC 21 is connected to the processing module 22 via the MIPI interface, and the processing module 22 is respectively connected to the first monochrome screen 23 , the second monochrome screen 24 and the third monochrome screen 25 via the MIPI interface.
  • SOC21 is optional. In other embodiments, SOC21 can be replaced by other devices or other modules, which are not limited here.
  • the processing module 22 may be an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • Other programmable logic devices may include programmable array logic (PAL) and general array logic (GAL); it may also be a central processing unit (CPU), other general processors or a digital signal processor (DSP).
  • the general processor may be a microprocessor or any conventional processor, etc.
  • the first monochrome screen 23, the second monochrome screen 24, and the third monochrome screen 25 are generally monochrome screens for displaying three primary colors.
  • the three primary colors are red, green, and blue
  • the first monochrome screen 23 is a monochrome screen for displaying red
  • the second monochrome screen 24 is a monochrome screen for displaying green
  • the third monochrome screen 25 is a monochrome screen for displaying blue.
  • the first monochrome screen 23 , the second monochrome screen 24 , and the third monochrome screen 25 may all be micro-LED monochrome screens, or other types of monochrome screens, which are not limited here.
  • FIG. 2B is a schematic block diagram of a process of a monochrome screen display method provided in an embodiment of the present application.
  • the method may include the following steps:
  • Step S201 The processing module 22 receives a first MIPI protocol data packet from the SOC 21 .
  • the first MIPI protocol data packet refers to a data packet that complies with the MIPI protocol
  • the data packet may include but is not limited to image data, and the image data includes data of a first color channel, data of a second color channel, and data of a third color channel.
  • the formats of image data are different, and the first color channel, the second color channel, and the third color channel may be different accordingly.
  • the first color channel may be an R channel
  • the second color channel may be a G channel
  • the third color channel may be a B channel.
  • the first color channel may be a Y channel
  • the second color channel may be a U channel
  • the third color channel may be a V channel
  • SOC21 can be replaced by other modules or other devices.
  • the processing module 22 can receive the first MIPI protocol data packet from the other modules or other devices.
  • the source of the first MIPI protocol data packet is not restricted here.
  • Step S202 The processing module 22 parses the first MIPI protocol data packet to obtain image data.
  • the first MIPI protocol data packet is a data packet obtained by performing a packet assembly operation according to the MIPI protocol, so the first MIPI protocol data packet can be unpacked according to the MIPI protocol to obtain the image data in the first MIPI protocol data packet.
  • Step S203 The processing module 22 extracts and separates data of the first color channel, data of the second color channel, and data of the third color channel from the image data.
  • the image data has complete three color channel data, while the monochrome screen only needs single color channel data to achieve monochrome display. Therefore, in order to reduce the redundant data received by the screen, the single color channel data can be extracted and separated from the image data, and then the single color channel data can be transmitted to the corresponding monochrome screen respectively.
  • the image data in the first MIPI protocol data packet is RGB image data
  • R channel data, G channel data, and B channel data are extracted and separated from the RGB image data.
  • Step S204 The processing module 22 performs a packetization operation on the data of the first color channel to obtain a second MIPI protocol data packet, performs a packetization operation on the data of the second color channel to obtain a third MIPI protocol data packet, and performs a packetization operation on the data of the third color channel to obtain a fourth MIPI protocol data packet.
  • the processing module 22 extracts and separates the single color channel data, in order to transmit the data of each color channel to the corresponding monochrome screen through the MIPI interface, the data of each color channel can be packaged according to the MIPI protocol standard, so that the packaged data packet still complies with the MIPI protocol standard and can still be transmitted through the MIPI protocol.
  • the processing module 22 may repack the single color channel data according to the MIPI protocol to obtain a MIPI protocol data packet including the single color channel data.
  • the second MIPI protocol data packet, the third MIPI protocol data packet and the fourth MIPI protocol data packet only include data of a single color channel, so compared with the first MIPI protocol data packet including data of three color channels, the second MIPI protocol data packet, the third MIPI protocol data packet and the fourth MIPI protocol data packet have smaller data volumes. In this way, when the second MIPI protocol data packet, the third MIPI protocol data packet and the fourth MIPI protocol data packet are transmitted to each monochrome screen, the transmission bandwidth occupied is smaller, thereby saving the transmission bandwidth.
  • the image data is RGB image data with three complete color channels, that is, the first MIPI protocol data packet includes data of three color channels.
  • the second MIPI protocol data packet only includes R channel data
  • the third MIPI protocol data packet only includes G channel data
  • the fourth MIPI protocol data packet only includes B channel data.
  • the data volume of the second MIPI protocol data packet, the third MIPI protocol data packet, and the fourth MIPI protocol data packet is approximately only one-third of the data volume of the first MIPI protocol data packet. That is, the size of the MIPI protocol data packet sent from the processing module 22 is only about one third of the MIPI protocol data packet sent from the SOC 21 .
  • the processing module 22 can perform a packetization operation on the data of the first color channel, the data of the second color channel, and the data of the third color channel in parallel, that is, the packetization operation of the first color channel, the packetization operation of the second color channel, and the packetization operation of the third color channel are processed in parallel. Of course, they may not be processed in parallel.
  • Step S205 The processing module 22 sends a second MIPI protocol data packet to the first monochrome screen 23 , sends a third MIPI protocol data packet to the second monochrome screen 24 , and sends a fourth MIPI protocol data packet to the third monochrome screen 25 .
  • the processing module 22 performs a packetization operation on the data of the first color channel, the data of the second color channel, and the data of the third color channel in parallel, and after obtaining the corresponding MIPI protocol data packets, the MIPI protocol data packets obtained by packetization can also be sent in parallel. That is to say, the parallel processing flow includes a packetization operation and a sending operation. Usually, in the parallel processing flow, a packetization operation is performed on the data of a single color channel, and after obtaining the MIPI protocol data packet, the MIPI protocol data packet is sent.
  • Step S206 The first monochrome screen 23 parses the second MIPI protocol data packet to obtain data of the first color channel, and displays the data of the first color channel.
  • the first monochrome screen 23 unpacks the second MIPI protocol data packet according to the MIPI protocol, obtains the data of the first color channel in the second MIPI protocol data packet, and sends the data of the first color channel for display.
  • Step S207 The second monochrome screen 24 parses the third MIPI protocol data packet to obtain data of the second color channel, and displays the data of the second color channel.
  • the second monochrome screen 24 unpacks the third MIPI protocol data packet according to the MIPI protocol, obtains the data of the second color channel in the third MIPI protocol data packet, and sends the data of the second color channel for display.
  • Step S208 The third monochrome screen 25 parses the fourth MIPI protocol data packet to obtain data of the third color channel, and displays the data of the third color channel.
  • the third monochrome screen 25 unpacks the fourth MIPI protocol data packet according to the MIPI protocol, obtains the data of the third color channel in the fourth MIPI protocol data packet, and sends the data of the third color channel for display.
  • a normal MIPI protocol data packet refers to a data packet including image data with three color channels.
  • one byte corresponds to one pixel, so a customized implementation of the DDIC on the screen side is required so that the DDIC on the screen side can display one pixel according to one byte without causing display abnormalities.
  • the DDIC on the screen needs to perform the following processes: parse the MIPI protocol data packet, extract and separate single color channel data from the image data, identify the color channel data required by itself from multiple color channel data, and send the single color channel data for display.
  • the DDIC on the screen needs to perform the following process: parsing the MIPI protocol data packet and sending the single color channel data for display.
  • the monochrome screen display solution provided in the embodiment of the present application reduces the redundant data received by the screen end, saves the transmission bandwidth, and reduces the processing complexity of the screen end.
  • the processing module 22 can realize functions such as analysis, extraction and separation of single color channel data, and packaging.
  • the analysis function refers to parsing the MIPI protocol data packet
  • the packaging function refers to performing packaging operations according to the MIPI protocol to obtain a MIPI protocol data packet.
  • multiple logic units in the processing module 22 can be used to analyze the functions, the data of a single color channel, Separation function, package group function, etc.
  • the processing module 22 may include a first logic unit 221, a second logic unit 222, a third logic unit 223 and a fourth logic unit 224.
  • the first logic unit 221 is connected to the second logic unit 222, the third logic unit 223 and the fourth logic unit 224 respectively.
  • the first logic unit 221 is used to obtain the first MIPI protocol data packet, and parse the first MIPI protocol data packet to obtain the image data in the first MIPI protocol data packet; then extract and separate the data of the first color channel, the data of the second color channel, and the data of the third color channel from the image data, and transmit the data of the first color channel to the second logic unit 222, transmit the data of the second color channel to the second logic unit 222, and transmit the data of the third color channel to the fourth logic unit 224.
  • the second logic unit 222 is used to receive the data of the first color channel from the first logic unit 221, and perform a packet operation on the data of the first color channel to obtain a second MIPI protocol data packet, and transmit the second MIPI protocol data packet to the first monochrome screen 23.
  • the first monochrome screen 23 parses the second MIPI protocol data packet, obtains the data of the first color channel, and then displays the data of the first color channel.
  • the third logic unit 223 is used to receive the data of the second color channel from the first logic unit 221, and perform a packet operation on the data of the second color channel to obtain a third MIPI protocol data packet, and transmit the third MIPI protocol data packet to the second monochrome screen 24.
  • the second monochrome screen 24 parses the third MIPI protocol data packet, obtains the data of the second color channel, and then displays the data of the second color channel.
  • the fourth logic unit 224 is used to receive the data of the third color channel from the first logic unit 221, and perform a packet operation on the data of the third color channel to obtain a fourth MIPI protocol data packet, and transmit the fourth MIPI protocol data packet to the third monochrome screen 25.
  • the third monochrome screen 25 parses the third MIPI protocol data packet, obtains the data of the third color channel, and then displays the data of the third color channel.
  • the first logic unit 221 is used to implement the parsing function and the extraction and separation function of the single color channel data, while the second logic unit 222 , the third logic unit 223 and the fourth logic unit 224 are used to implement the packaging function.
  • the first logic unit 221 can extract single color channel data from the image data in parallel and send them to the second logic unit 222, the third logic unit 223 and the fourth logic unit 224 in parallel, and the second logic unit 222, the third logic unit 223 and the fourth logic unit 224 can also perform packaging operations on the single color channel data in parallel.
  • the processing module 22 may include a data processing unit 2211 , a fifth logic unit 2212 , a second logic unit 222 , a third logic unit 223 , and a fourth logic unit 224 .
  • the output end of the fifth logic unit 2212 is connected to the input end of the data processing unit 2211 , and the output end of the data processing unit 2211 is connected to the input ends of the second logic unit 222 , the third logic unit 223 , and the fourth logic unit 224 , respectively.
  • the fifth logic unit 2212 is used to parse the first MIPI protocol data packet, obtain image data, and transmit the image data to the data processing unit 2211 .
  • the data processing unit 2211 is used to extract and separate data of the first color channel, data of the second color channel, and data of the third color channel from the image data, and transmit the data of the first color channel to the second logic unit 222, transmit the data of the second color channel to the third logic unit 223, and transmit the data of the third color channel to the fourth logic unit 224.
  • the second logic unit 222 is used to receive the data of the first color channel from the first logic unit 221 , perform a packetization operation on the data of the first color channel, obtain a second MIPI protocol data packet, and transmit the second MIPI protocol data packet to the first monochrome screen 23 .
  • the third logic unit 223 is used to receive the data of the second color channel from the first logic unit 221 , perform a packetization operation on the data of the second color channel, obtain a third MIPI protocol data packet, and transmit the third MIPI protocol data packet to the second monochrome screen 24 .
  • the fourth logic unit 224 is used to receive the data of the third color channel from the first logic unit 221 , perform a packetization operation on the data of the third color channel, obtain a fourth MIPI protocol data packet, and transmit the fourth MIPI protocol data packet to the third monochrome screen 25 .
  • FIG. 3B realizes the extraction and separation function of single color channel data through the data processing unit 2211, so that the fifth logic unit 2212, the second logic unit 222, the third logic unit 223 and the fourth logic unit 224 can be designed as the same logic unit, that is, the fifth logic unit 2212, the second logic unit 222, the third logic unit 223 and the fourth logic unit
  • the fifth logic unit 2212 uses the parsing function, while the second logic unit 222, the third logic unit 223 and the fourth logic unit 224 use the packaging function. This makes it easier to design and implement.
  • logic unit and the data processing unit shown in FIG. 3A and FIG. 3B may be software modules, hardware modules, or functional modules implemented by the combined action of software and hardware.
  • the first logic unit 221, the second logic unit 222, the third logic unit 223, the fourth logic unit 224 and the fifth logic unit 2212 in Figures 3A and 3B can all be D-PHY modules or C-PHY modules.
  • PHY Physical
  • the physical layer that is, the port physical layer, which is directly related to physical wiring, signal transmission, etc.
  • the processing module 22 can be an FPGA
  • the image data in the first MIPI protocol data packet can be RGB image data.
  • the following is combined with Figures 4A to 4E, using FPGA and RGB image data as examples for introduction and explanation.
  • Figure 4A is a schematic block diagram of the monochrome screen display system architecture provided in the embodiment of the present application
  • Figure 4B is another schematic block diagram of the monochrome screen display system architecture provided in the embodiment of the present application
  • Figure 4C is a schematic block diagram of the MIPI protocol data packet provided in the embodiment of the present application
  • Figure 4D is a schematic block diagram of the logic unit of the FPGA provided in the embodiment of the present application
  • Figure 4E is a schematic diagram of the MIPI protocol data packet transmission provided in the embodiment of the present application.
  • the monochrome screen display system may include SOC 41, FPGA 42, a first monochrome screen 43, a second monochrome screen 44, and a third monochrome screen 45.
  • FPGA 42 includes D-PHY 421, D-PHY 422, D-PHY 423, and D-PHY 424.
  • SOC 41 outputs a MIPI protocol data packet including RGB image data, and transmits the MIPI protocol data packet to FPGA 42 through a MIPI interface.
  • FPGA42 After FPGA42 receives the MIPI protocol data packet including the RGB image data, it can parse the MIPI protocol data packet through D-PHY 421 to obtain the RGB image data, and extract and separate the R channel data, G channel data and B channel data from the RGB image data; finally, the R channel data is transmitted to D-PHY 422, the G channel data is transmitted to D-PHY 423, and the B channel data is transmitted to D-PHY 424.
  • D-PHY 422 After receiving the R channel data, D-PHY 422 performs a packetization operation on the R channel data to obtain a MIPI protocol data packet including the R channel data, and transmits the MIPI protocol data packet to the first monochrome screen 43 through the MIPI interface.
  • the first monochrome screen 43 parses the received MIPI protocol data packet to obtain the R channel data, and displays red according to the R channel data.
  • D-PHY 423 After receiving the G channel data, D-PHY 423 performs a packetization operation on the G channel data to obtain a MIPI protocol data packet including the G channel data, and transmits the MIPI protocol data packet to the second monochrome screen 44 through the MIPI interface.
  • the second monochrome screen 44 parses the received MIPI protocol data packet to obtain the G channel data, and displays green according to the G channel data.
  • D-PHY 424 After receiving the B channel data, D-PHY 424 performs a packetization operation on the B channel data to obtain a MIPI protocol data packet including the B channel data, and transmits the MIPI protocol data packet to the third monochrome screen 45 through the MIPI interface.
  • the third monochrome screen 45 parses the received MIPI protocol data packet to obtain the B channel data, and displays blue according to the B channel data.
  • D-PHY 422, D-PHY 423, and D-PHY 424 can process each color channel data in parallel.
  • the logic unit in FPGA42 can be D-PHY; when the interface of the monochrome screen is the camera serial interface (CSI), the logic unit in FPGA42 can be C-PHY.
  • D-PHY 421 in FIG4A is used to implement the parsing function and the single color channel extraction and separation function, while D-PHY 422 to D-PHY 424 are used to implement the packetization function, so D-PHY 421 is different from D-PHY 422 to D-PHY 424.
  • the D-PHYs in FPGA42 can be made the same, that is, all D-PHYs are used to implement parsing and packaging functions.
  • a data processing unit is set in the FPGA, and the data processing unit is used to extract R channel data, G channel data, and B channel data from the RGB image data, and transmit each channel data to the corresponding D-PHY respectively.
  • the functions of the four D-PHYs in the FPGA are all parsing function and packaging function, except that one of the D-PHYs uses the parsing function, and the other three D-PHYs use the packaging function. The similarities between FIG4A and FIG4B are not repeated here.
  • the MIPI protocol data packet 46 transmitted by the SOC 41 to the FPGA 42 includes a low power state (LPS), a start of transmission (SOT), a package header, RGB data, and an end of transmission (EoT), etc.
  • LPS low power state
  • SOT start of transmission
  • EoT end of transmission
  • the FPGA 42 parses the MIPI protocol data packet 46 through the D-PHY 421 to obtain RGB image data, as shown in FIG4D , where the D-PHY 421 includes data such as RGBRGBRGB.
  • D-PHY421 After extracting R channel data, G channel data, and B channel data from the RGB image data, D-PHY421 transmits the R channel data to D-PHY422, transmits the G channel data to D-PHY423, and transmits the B channel data to D-PHY424.
  • the D-PHY 422 performs a packetization operation on the R channel data to obtain a MIPI protocol data packet 47 , and transmits the MIPI protocol data packet 47 to the first monochrome screen 43 .
  • the D-PHY 423 performs a packetization operation on the G channel data to obtain a MIPI protocol data packet 48 , and transmits the MIPI protocol data packet 48 to the second monochrome screen 44 .
  • the D-PHY 424 performs a packetization operation on the B channel data to obtain a MIPI protocol data packet 49 , and transmits the MIPI protocol data packet 49 to the third monochrome screen 45 .
  • the above process is an extremely fast pipeline with minimal latency.
  • the D-PHY and data processing units in the FPGA are simulated, that is, the programmable characteristics of the FPGA are used to simulate each logic unit through programming, and each logic unit implements the corresponding function.
  • FPGA divides a MIPI signal including RGB image data into three monochrome MIPI signals, and transmits the three monochrome MIPI signals to the corresponding monochrome screen respectively, so that the monochrome screen can display monochrome according to the monochrome MIPI signal, reducing the redundant data received by the screen end, saving transmission bandwidth, and reducing the processing complexity of DDIC on the screen end.
  • FIG. 5 is a schematic flow chart of a monochrome screen display method provided in an embodiment of the present application.
  • the method is applied to a processing module, and the method may include the following steps:
  • Step S501 Acquire a first mobile industry processor interface MIPI protocol data packet, where the first MIPI protocol data packet includes image data, and the image data includes data of a first color channel, data of a second color channel, and data of a third color channel.
  • the image data is RGB image data
  • the first color channel is the R channel
  • the second color channel is the G channel
  • the third color channel is the B channel.
  • Step S502 After parsing the first MIPI protocol data packet to obtain image data, data of the first color channel, data of the second color channel, and data of the third color channel are extracted from the image data.
  • Step S503 perform a packetization operation on the data of the first color channel to obtain a second MIPI protocol data packet, and send the second MIPI protocol data packet to the first monochrome screen.
  • Step S504 perform a packetization operation on the data of the second color channel to obtain a third MIPI protocol data packet, and send the third MIPI protocol data packet to the second monochrome screen.
  • Step S505 perform a packetization operation on the data of the third color channel to obtain a fourth MIPI protocol data packet, and send the fourth MIPI protocol data packet to the third monochrome screen.
  • steps S503 to S505 may be executed in parallel or not.
  • the processing module may be, but is not limited to, an FPGA.
  • Each monochrome screen receives a MIPI protocol data packet including data of a single color channel, and may perform monochrome display according to the MIPI protocol data packet.
  • the similarities between this embodiment and the above embodiments may be referred to each other, and will not be repeated here.
  • FIG6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
  • the electronic device may include a processing module 610 , a memory 620 , a first monochrome screen 630 , a second monochrome screen 640 , and a third monochrome screen 650 .
  • the structures illustrated in the embodiments of the present application do not constitute specific limitations on the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the electronic device when the electronic device is a virtual reality (VR)/AR/mixed reality (MR) device, the electronic device may also include a communication module and a sensor module, etc.
  • the sensor module may include an inertial sensor and a touch sensor, etc.
  • the processing module 610 may include one or more processing units, for example, the processing module 610 may include an application processor (AP), a graphics processing unit (GPU), an image signal processor (ISP), a digital signal processor (DSP), etc. Different processing units may be independent devices or integrated into one or more processors.
  • AP application processor
  • GPU graphics processing unit
  • ISP image signal processor
  • DSP digital signal processor
  • the processing module 610 may include one or more interfaces.
  • the interface may include a MIPI interface, etc.
  • the MIPI interface may be used to connect the processing module 610 to each monochrome screen.
  • the MIPI interface includes a camera serial interface.
  • the processing module 610 communicates with the first monochrome screen 630, the second monochrome screen 640, and the third monochrome screen 650 via the DSI interface or the CSI interface to realize the display function of the electronic device.
  • the processing module 610 may also include a general-purpose input/output (GPIO) interface.
  • the GPIO interface may be configured as a MIPI interface through software configuration.
  • the GPIO interface may be used to connect the processing module 610 and the first monochrome screen 630, the second monochrome screen 640, and the third monochrome screen 650 to realize a display function.
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device.
  • the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the electronic device implements the display function through a GPU, a first monochrome screen 630, a second monochrome screen 640, and a third monochrome screen 650, and an application processor.
  • the GPU is a microprocessor for image processing, connecting each monochrome screen and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processing module 610 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the first monochrome screen 630, the second monochrome screen 640, and the third monochrome screen 650 are used to display images, videos, etc.
  • the monochrome screen includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc.
  • the memory 620 can be used to store computer executable program codes, which include instructions.
  • the memory 620 may include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc.
  • the memory 620 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (universal flash storage, UFS), etc.
  • the processing module 610 executes various functional applications and data processing of the electronic device by running instructions stored in the memory 620 and/or instructions stored in a memory provided in the processing module. For example, the processing module 610 implements the relevant processes of the above-mentioned monochrome display method by implementing the computer program in the memory 620.
  • the electronic device may include a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the computer program, a method as described in any one of the above method embodiments is implemented.
  • the embodiment of the present application further provides a computer-readable storage medium, which stores a computer program.
  • a computer program When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
  • An embodiment of the present application provides a computer program product.
  • the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
  • the present application also provides a chip system, which includes a processor coupled to a memory, and the processor executes a computer program stored in the memory to implement the methods described in the above method embodiments.
  • the chip system can be a single chip or a chip module composed of multiple chips.
  • each embodiment has its own emphasis. For the part that is not described or recorded in detail in a certain embodiment, please refer to the relevant description of other embodiments. It should be understood that the size of the sequence number of each step in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. In addition, in the description of the present application specification and the attached claims, the terms "first”, “second”, “third”, etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Digital Computer Display Output (AREA)

Abstract

Disclosed in the embodiments of the present application are a monochromatic screen display method and system, an electronic device and a computer-readable storage medium. The method comprises: analyzing an MIPI protocol data packet to obtain image data comprising three color channels, extracting and separating the data of the single color channels from the image data, and separately re-packaging the data of each color channel to generate MIPI protocol data packets comprising the data of the single color channels; and finally transmitting to corresponding monochromatic screens the MIPI protocol data packets comprising the data of the single color channels, such that the monochromatic screens can perform monochrome display according to the MIPI protocol data packets comprising the data of the single color channels. Thus, the present application reduces redundant data received by screen ends, thereby saving transmission bandwidth and also lowering the processing complexity for the screen ends.

Description

单色屏显示方法、系统、电子设备及计算机可读存储介质Monochrome screen display method, system, electronic device and computer readable storage medium
本申请要求于2022年11月18日提交国家知识产权局、申请号为202211444101.9、申请名称为“单色屏显示方法、系统、电子设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on November 18, 2022, with application number 202211444101.9 and application name “Monochrome screen display method, system, electronic device and computer-readable storage medium”, the entire contents of which are incorporated by reference in this application.
技术领域Technical Field
本申请涉及显示技术领域,尤其涉及一种单色屏显示方法、系统、电子设备及计算机可读存储介质。The present application relates to the field of display technology, and in particular to a monochrome screen display method, system, electronic device and computer-readable storage medium.
背景技术Background technique
目前,在一些场景下可以通过多个单色屏实现全彩效果。例如,由于微型发光二级管(micro light-emitting diode,micro-LED)的工艺限制,在增强现实(Augmented Reality,AR)场景中多采用micro-LED单色屏实现全彩效果,具体通过红色(Red)、绿色(Green)、以及蓝色(Blue)三路单色屏进行色彩融合,以实现全彩效果。At present, full-color effects can be achieved through multiple monochrome screens in some scenarios. For example, due to the process limitations of micro light-emitting diodes (micro-LEDs), micro-LED monochrome screens are often used in augmented reality (AR) scenarios to achieve full-color effects. Specifically, three monochrome screens (red, green, and blue) are used to fuse colors to achieve full-color effects.
具体应用中,片上系统(System on Chip,SOC)通过移动产业处理器接口(mobile industry processor interface,MIPI),分别向三路单色屏发送MIPI协议数据包,每个MIPI协议数据包均包括具有三个颜色通道的图像数据,例如,该图像数据为包括R通道、G通道和B通道的图像数据。每路单色屏接收到来自SOC的MIPI协议数据包后,根据该MIPI协议数据包进行单色显示。但是,这样会导致屏幕端接收到大量冗余数据,需要占用较大传输带宽,并且使得屏幕端的处理复杂度较高。In specific applications, the system on chip (SOC) sends MIPI protocol data packets to three monochrome screens through the mobile industry processor interface (MIPI). Each MIPI protocol data packet includes image data with three color channels, for example, the image data includes R channel, G channel and B channel. After each monochrome screen receives the MIPI protocol data packet from the SOC, it performs monochrome display according to the MIPI protocol data packet. However, this will cause the screen end to receive a large amount of redundant data, which requires a large transmission bandwidth and makes the processing complexity of the screen end higher.
发明内容Summary of the invention
本申请实施例提供了一种单色屏显示方法、系统、电子设备及计算机可读存储介质,可以解决现有单色屏显示时屏幕端接收大量冗余数据,需要占用较大传输带宽,并且屏幕端的处理复杂度较高的问题。The embodiments of the present application provide a monochrome screen display method, system, electronic device and computer-readable storage medium, which can solve the problem that the screen receives a large amount of redundant data during the existing monochrome screen display, occupies a large transmission bandwidth, and has high processing complexity on the screen side.
第一方面,本申请实施例提供了一种单色屏显示系统,包括处理模块、第一单色屏、第二单色屏和第三单色屏;In a first aspect, an embodiment of the present application provides a monochrome screen display system, including a processing module, a first monochrome screen, a second monochrome screen, and a third monochrome screen;
处理模块用于:获取第一移动产业处理器接口MIPI协议数据包,第一MIPI协议数据包包括图像数据,图像数据包括第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据;对第一MIPI协议数据包进行解析,得到图像数据后,从图像数据中提取第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据;对第一颜色通道的数据进行组包操作,得到第二MIPI协议数据包,并向第一单色屏发送第二MIPI协议数据包;对第二颜色通道的数据进行组包操作,得到第三MIPI协议数据包,并向第二单色屏发送第三MIPI协议数据包;对第三颜色通道的数据进行组包操作,得到第四MIPI协议数据包,并向第三单色屏发送第四MIPI协议数据包;The processing module is used to: obtain a first mobile industry processor interface MIPI protocol data packet, the first MIPI protocol data packet includes image data, and the image data includes data of a first color channel, data of a second color channel, and data of a third color channel; parse the first MIPI protocol data packet, and after obtaining the image data, extract the data of the first color channel, the data of the second color channel, and the data of the third color channel from the image data; perform a packet grouping operation on the data of the first color channel to obtain a second MIPI protocol data packet, and send the second MIPI protocol data packet to the first monochrome screen; perform a packet grouping operation on the data of the second color channel to obtain a third MIPI protocol data packet, and send the third MIPI protocol data packet to the second monochrome screen; perform a packet grouping operation on the data of the third color channel to obtain a fourth MIPI protocol data packet, and send the fourth MIPI protocol data packet to the third monochrome screen;
第一单色屏用于:接收第二MIPI协议数据包,对第二MIPI协议数据包进行解析,得到第一颜色通道的数据,并显示第一颜色通道的数据;The first monochrome screen is used to: receive a second MIPI protocol data packet, parse the second MIPI protocol data packet, obtain data of a first color channel, and display the data of the first color channel;
第二单色屏用于:接收第三MIPI协议数据包,对第三MIPI协议数据包进行解析,得到第二颜色通道的数据,并显示第二颜色通道的数据;The second monochrome screen is used to: receive a third MIPI protocol data packet, parse the third MIPI protocol data packet, obtain data of a second color channel, and display the data of the second color channel;
第三单色屏用于:接收第四MIPI协议数据包,对第四MIPI协议数据包进行解析,得到第三颜色通道的数据,并显示第三颜色通道的数据。The third monochrome screen is used to: receive a fourth MIPI protocol data packet, parse the fourth MIPI protocol data packet, obtain data of a third color channel, and display the data of the third color channel.
由上述技术方案可见,本申请实施例从第一MIPI协议数据包中的图像数据提取分离出每个颜色通道的数据后,针对每个颜色通道的数据进行重新组包,获得只包括单个颜色通道数据的MIPI协议数据包,并分别向各路单色屏发送只包括单个颜色通道数据的MIPI协议数据包。这样,每路单色屏只接收到需要显示的颜色通道数据,不会接收到不需要显示的颜色通道数据,减少了屏幕端接收到的冗余数据;并且,相较于包括具有三个颜色通道图像数据的MIPI协议数据包,只包括单个颜色通道数据的MIPI协议数据包的数据量更小,故传输只包括单个颜色通道数据的MIPI协议数据包,节省了传输带宽;另外,每路单色屏接收到只包括单个颜色通道数据的MIPI协议数据 包,故屏幕端对MIPI协议数据包进行解析后,即可将单个颜色通道数据进行送显,降低了处理复杂度。It can be seen from the above technical solution that after the embodiment of the present application extracts and separates the data of each color channel from the image data in the first MIPI protocol data packet, the data of each color channel is repackaged to obtain a MIPI protocol data packet including only a single color channel data, and a MIPI protocol data packet including only a single color channel data is sent to each monochrome screen respectively. In this way, each monochrome screen only receives the color channel data that needs to be displayed, and does not receive the color channel data that does not need to be displayed, thereby reducing the redundant data received by the screen end; and, compared with the MIPI protocol data packet including image data with three color channels, the MIPI protocol data packet including only a single color channel data has a smaller amount of data, so the transmission of the MIPI protocol data packet including only a single color channel data saves the transmission bandwidth; in addition, each monochrome screen receives the MIPI protocol data packet including only a single color channel data. Therefore, after the screen parses the MIPI protocol data packet, it can send and display the single color channel data, reducing the processing complexity.
在第一方面的一些可能的实现方式中,处理模块包括第一逻辑单元、第二逻辑单元、第三逻辑单元和第四逻辑单元;In some possible implementations of the first aspect, the processing module includes a first logic unit, a second logic unit, a third logic unit, and a fourth logic unit;
第一逻辑单元分别与第二逻辑单元、第三逻辑单元和第四逻辑单元连接;The first logic unit is connected to the second logic unit, the third logic unit and the fourth logic unit respectively;
第一逻辑单元用于:对第一MIPI协议数据包进行解析,得到图像数据;从图像数据中提取第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据;向第二逻辑单元发送第一颜色通道的数据,向三逻辑单元发送第二颜色通道的数据,向第四逻辑单元发送第三颜色通道的数据;The first logic unit is used to: parse the first MIPI protocol data packet to obtain image data; extract data of the first color channel, data of the second color channel and data of the third color channel from the image data; send the data of the first color channel to the second logic unit, send the data of the second color channel to the third logic unit, and send the data of the third color channel to the fourth logic unit;
第二逻辑单元用于:接收第一颜色通道的数据,对第一颜色通道的数据进行组包操作,得到第二MIPI协议数据包,并向第一单色屏发送第二MIPI协议数据包;The second logic unit is used to: receive data of the first color channel, perform a packetization operation on the data of the first color channel to obtain a second MIPI protocol data packet, and send the second MIPI protocol data packet to the first monochrome screen;
第三逻辑单元用于:接收第二颜色通道的数据,对第二颜色通道的数据进行组包操作,得到第三MIPI协议数据包,并向第二单色屏发送第三MIPI协议数据包;The third logic unit is used to: receive the data of the second color channel, perform a packet operation on the data of the second color channel to obtain a third MIPI protocol data packet, and send the third MIPI protocol data packet to the second monochrome screen;
第四逻辑单元用于:接收第三颜色通道的数据,对第三颜色通道的数据进行组包操作,得到第四MIPI协议数据包,并向第三单色屏发送第四MIPI协议数据包。The fourth logic unit is used to receive data of the third color channel, perform a packetization operation on the data of the third color channel to obtain a fourth MIPI protocol data packet, and send the fourth MIPI protocol data packet to the third monochrome screen.
在第一方面的一些可能的实现方式中,处理模块为现场可编程门阵列FPGA,第一逻辑单元、第二逻辑单元、第三逻辑单元和第四逻辑单元均为D-PHY或C-PHY。In some possible implementations of the first aspect, the processing module is a field programmable gate array (FPGA), and the first logic unit, the second logic unit, the third logic unit, and the fourth logic unit are all D-PHY or C-PHY.
在该实现方式中,通过在FPGA内模拟出多个逻辑单元,并且分别通过各个逻辑单元实现MIPI协议数据包的解析、单个颜色通道数据的提取分离、单个颜色通道数据的重新组包和发送等功能,实现了通过FPGA将一路完整的MIPI信号分成三路自定义的单色MIPI信号,节省了传输带宽,降低了屏幕端处理复杂度。In this implementation, multiple logic units are simulated in the FPGA, and the parsing of MIPI protocol data packets, extraction and separation of single color channel data, repackaging and sending of single color channel data are implemented through each logic unit. It is achieved that a complete MIPI signal is divided into three customized monochrome MIPI signals through FPGA, which saves transmission bandwidth and reduces the processing complexity on the screen end.
在第一方面的一些可能的实现方式中,第一逻辑单元包括第五逻辑单元和数据处理单元;In some possible implementations of the first aspect, the first logic unit includes a fifth logic unit and a data processing unit;
第五逻辑单元用于:对第一MIPI协议数据包进行解析,得到图像数据,并向数据处理单元发送图像数据;The fifth logic unit is used to: parse the first MIPI protocol data packet to obtain image data, and send the image data to the data processing unit;
数据处理单元用于:从图像数据中提取第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据;向第二逻辑单元发送第一颜色通道的数据,向三逻辑单元发送第二颜色通道的数据,向第四逻辑单元发送第三颜色通道的数据。The data processing unit is used to: extract data of the first color channel, data of the second color channel and data of the third color channel from the image data; send the data of the first color channel to the second logic unit, send the data of the second color channel to the third logic unit, and send the data of the third color channel to the fourth logic unit.
在该实现方式中,通过数据处理单元实现单个颜色通道数据的提取分离功能,第二逻辑单元、第三逻辑单元、第四逻辑单元和第五逻辑单元实现MIPI数据包的解析和打包功能,这样,第二逻辑单元、第三逻辑单元、第四逻辑单元和第五逻辑单元所实现的功能是完全一样的,更加便于设计和实现。In this implementation, the extraction and separation function of a single color channel data is implemented by the data processing unit, and the second logic unit, the third logic unit, the fourth logic unit and the fifth logic unit implement the parsing and packaging function of the MIPI data packet. In this way, the functions implemented by the second logic unit, the third logic unit, the fourth logic unit and the fifth logic unit are exactly the same, which is easier to design and implement.
在第一方面的一些可能的实现方式中,处理模块为FPGA,第二逻辑单元、第三逻辑单元、第四逻辑单元和第五逻辑单元均为D-PHY或C-PHY。In some possible implementations of the first aspect, the processing module is an FPGA, and the second logic unit, the third logic unit, the fourth logic unit, and the fifth logic unit are all D-PHY or C-PHY.
在第一方面的一些可能的实现方式中,图像数据为RGB图像数据,第一颜色通道为R通道,第二颜色通道为G通道,第三颜色通道为B通道。In some possible implementations of the first aspect, the image data is RGB image data, the first color channel is an R channel, the second color channel is a G channel, and the third color channel is a B channel.
在第一方面的一些可能的实现方式中,处理模块具体用于:接收来自片上系统SOC的第一MIPI协议数据包。In some possible implementations of the first aspect, the processing module is specifically configured to: receive a first MIPI protocol data packet from a system on chip (SOC).
第二方面,本申请实施例提供一种单色屏显示方法,应用于处理模块,该方法包括:In a second aspect, an embodiment of the present application provides a monochrome screen display method, which is applied to a processing module, and the method includes:
获取第一移动产业处理器接口MIPI协议数据包,第一MIPI协议数据包包括图像数据,图像数据包括第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据;对第一MIPI协议数据包进行解析,得到图像数据后,从图像数据中提取第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据;对第一颜色通道的数据进行组包操作,得到第二MIPI协议数据包,并向第一单色屏发送第二MIPI协议数据包;对第二颜色通道的数据进行组包操作,得到第三MIPI协议数据包,并向第二单色屏发送第三MIPI协议数据包;对第三颜色通道的数据进行组包操作,得到第四MIPI协议数据包,并向第三单色屏发送第四MIPI协议数据包。A first mobile industry processor interface MIPI protocol data packet is obtained, the first MIPI protocol data packet includes image data, and the image data includes data of a first color channel, data of a second color channel, and data of a third color channel; the first MIPI protocol data packet is parsed to obtain the image data, and then the data of the first color channel, the data of the second color channel, and the data of the third color channel are extracted from the image data; a packetization operation is performed on the data of the first color channel to obtain a second MIPI protocol data packet, and the second MIPI protocol data packet is sent to the first monochrome screen; a packetization operation is performed on the data of the second color channel to obtain a third MIPI protocol data packet, and the third MIPI protocol data packet is sent to the second monochrome screen; a packetization operation is performed on the data of the third color channel to obtain a fourth MIPI protocol data packet, and the fourth MIPI protocol data packet is sent to the third monochrome screen.
在第二方面的一些可能的实现方式中,处理模块为FPGA。In some possible implementations of the second aspect, the processing module is an FPGA.
在第二方面的一些可能的实现方式中,图像数据为RGB图像数据,第一颜色通道为R通道,第二颜色通道为G通道,第三颜色通道为B通道。 In some possible implementations of the second aspect, the image data is RGB image data, the first color channel is the R channel, the second color channel is the G channel, and the third color channel is the B channel.
第三方面,本申请实施例提供一种电子设备,包括第一单色屏、第二单色屏、第三单色屏、处理模块、存储器、以及存储在存储器中并可在处理模块上运行的计算机程序,处理模块执行计算机程序时实现如上述第二方面任一项的方法。In a third aspect, an embodiment of the present application provides an electronic device, comprising a first monochrome screen, a second monochrome screen, a third monochrome screen, a processing module, a memory, and a computer program stored in the memory and executable on the processing module, wherein the processing module implements any method of the second aspect described above when executing the computer program.
第四方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现如上述第二方面任一项的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method of any one of the second aspects described above is implemented.
第五方面,本申请实施例提供一种芯片系统,该芯片系统包括处理器,处理器与存储器耦合,处理器执行存储器中存储的计算机程序,以实现如上述第二方面任一项所述的方法。该芯片系统可以为单个芯片,或者多个芯片组成的芯片模组。In a fifth aspect, an embodiment of the present application provides a chip system, the chip system includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the method as described in any one of the second aspects above. The chip system can be a single chip, or a chip module composed of multiple chips.
第六方面,本申请实施例提供一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行上述第二方面任一项所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes any method described in the second aspect above.
可以理解的是,上述第二方面至第六方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1A为本申请实施例提供的单色屏显示系统的一种系统架构示意框图;FIG1A is a schematic block diagram of a system architecture of a monochrome screen display system provided in an embodiment of the present application;
图1B为本申请实施例提供的单色屏显示系统的另一种系统架构示意框图;FIG1B is a schematic block diagram of another system architecture of a monochrome screen display system provided in an embodiment of the present application;
图2A为本申请实施例提供的单色屏显示系统的另一种系统架构示意框图;FIG2A is a schematic block diagram of another system architecture of a monochrome screen display system provided in an embodiment of the present application;
图2B为本申请实施例提供的单色屏显示方法的一种流程示意框图;FIG2B is a schematic block diagram of a process of a monochrome screen display method provided in an embodiment of the present application;
图3A为本申请实施例提供的逻辑单元示意图;FIG3A is a schematic diagram of a logic unit provided in an embodiment of the present application;
图3B为本申请实施例提供的另一种逻辑单元示意图;FIG3B is a schematic diagram of another logic unit provided in an embodiment of the present application;
图4A为本申请实施例提供的单色屏显示系统架构的一种示意框图;FIG4A is a schematic block diagram of a monochrome screen display system architecture provided by an embodiment of the present application;
图4B为本申请实施例提供的单色屏显示系统架构的另一种示意框图;FIG4B is another schematic block diagram of a monochrome screen display system architecture provided in an embodiment of the present application;
图4C为本申请实施例提供的MIPI协议数据包的示意框图;FIG4C is a schematic block diagram of a MIPI protocol data packet provided in an embodiment of the present application;
图4D为本申请实施例提供的FPGA的逻辑单元示意框图;FIG4D is a schematic block diagram of a logic unit of an FPGA provided in an embodiment of the present application;
图4E为本申请实施例提供的MIPI协议数据包传输示意图;FIG4E is a schematic diagram of MIPI protocol data packet transmission provided in an embodiment of the present application;
图5为本申请实施例提供的单色屏显示方法的一种流程示意框图;FIG5 is a schematic block diagram of a process of a monochrome screen display method provided in an embodiment of the present application;
图6为本申请实施例提供的电子设备的结构示意图。FIG6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures and technologies are provided to facilitate a thorough understanding of the embodiments of the present application.
下面对本申请实施例可能涉及的系统架构进行示例性介绍。The following is an exemplary introduction to the system architecture that may be involved in the embodiments of the present application.
示例性地,请参见图1A,为本申请实施例提供的单色屏显示系统的一种系统架构示意框图,该系统可以包括SOC 11、单色屏12、单色屏13以及单色屏14。For example, please refer to Figure 1A, which is a schematic block diagram of a system architecture of a monochrome screen display system provided in an embodiment of the present application. The system may include SOC 11, monochrome screen 12, monochrome screen 13 and monochrome screen 14.
其中,SOC 11可以通过MIPI接口分别与单色屏12、单色屏13、以及单色屏14连接。例如,SOC11有三个MIPI接口,通过这三个MIPI接口分别与单色屏12、单色屏13以及单色屏14连接,每个MIPI接口对应一个单色屏。Among them, SOC 11 can be connected to monochrome screen 12, monochrome screen 13, and monochrome screen 14 through MIPI interfaces. For example, SOC 11 has three MIPI interfaces, and is connected to monochrome screen 12, monochrome screen 13, and monochrome screen 14 through these three MIPI interfaces, and each MIPI interface corresponds to a monochrome screen.
具体应用中,SOC11分别向单色屏12、单色屏13以及单色屏14发送MIPI协议数据包。单色屏12、单色屏13、以及单色屏14在接收到来自SOC11的MIPI协议数据包后,分别根据MIPI协议数据包进行单色显示。SOC11给每个单色屏发送的MIPI协议数据包均是相同的。In a specific application, SOC11 sends MIPI protocol data packets to monochrome screen 12, monochrome screen 13, and monochrome screen 14 respectively. After receiving the MIPI protocol data packets from SOC11, monochrome screen 12, monochrome screen 13, and monochrome screen 14 respectively perform monochrome display according to the MIPI protocol data packets. The MIPI protocol data packets sent by SOC11 to each monochrome screen are the same.
MIPI协议不支持传输单个颜色通道的像素格式,故从SOC11输出的MIPI协议数据包中包括三个颜色通道的图像数据。作为示例,图1A示出了MIPI协议数据包中的图像数据为RGB图像数据,该RGB图像数据是指具有R通道、G通道和B通道的图像数据。The MIPI protocol does not support the transmission of a pixel format of a single color channel, so the MIPI protocol data packet output from the SOC 11 includes image data of three color channels. As an example, FIG. 1A shows that the image data in the MIPI protocol data packet is RGB image data, which refers to image data having an R channel, a G channel, and a B channel.
也就是说,单色屏12、单色屏13以及单色屏14接收到的MIPI协议数据包均是包括三个颜色通道的图像数据。但是,每个单色屏仅需要一个颜色通道的数据即可实现单色显示,其余两个颜色通道的数据是冗余数据。That is, the MIPI protocol data packets received by the monochrome screen 12, the monochrome screen 13 and the monochrome screen 14 all include image data of three color channels. However, each monochrome screen only needs data of one color channel to realize monochrome display, and the data of the other two color channels are redundant data.
如图1A所示,SOC11通过MIPI协议数据包,将RGB图像数据传输至各个单色屏;假设单色屏12用于显示红色,单色屏13用于显示绿色,单色屏14用于显示蓝色。此时,单色屏12只 需要R通道的数据即可显示红色,不需要G通道和B通道的数据,也即,对应单色屏12来说,G通道的数据和B通道的数据是冗余数据。同理,单色屏13只需要G通道的数据即可显示绿色,R通道的数据和B通道的数据是冗余数据;单色屏14只需要B通道的数据即可显示蓝色,R通道的数据和G通道的数据是冗余数据。As shown in FIG1A , SOC 11 transmits RGB image data to each monochrome screen through MIPI protocol data packets; assuming that monochrome screen 12 is used to display red, monochrome screen 13 is used to display green, and monochrome screen 14 is used to display blue. At this time, monochrome screen 12 only The data of the R channel is needed to display red, and the data of the G channel and the B channel are not needed. That is, for the monochrome screen 12, the data of the G channel and the data of the B channel are redundant data. Similarly, the monochrome screen 13 only needs the data of the G channel to display green, and the data of the R channel and the data of the B channel are redundant data; the monochrome screen 14 only needs the data of the B channel to display blue, and the data of the R channel and the data of the G channel are redundant data.
由于包括具有三个颜色通道的图像数据的MIPI协议数据包的数据量较大,故SOC11通过MIPI协议数据包,给每个单色屏均传输具有三个颜色通道的图像数据,除了可以导致屏幕端接收到大量冗余数据之前,还会占用较大的传输带宽。Since the data volume of the MIPI protocol data packet including the image data with three color channels is large, SOC11 transmits the image data with three color channels to each monochrome screen through the MIPI protocol data packet. In addition to causing the screen end to receive a large amount of redundant data, it also occupies a large transmission bandwidth.
此外,单色屏根据MIPI协议数据包进行单色显示时,通常是先对MIPI协议数据包进行解析,获得MIPI协议数据包中的图像数据,该图像数据包括三个颜色通道的数据;再从该图像数据中提取分离出单个颜色通道的数据,并从多个单颜色通道数据中识别出自身所需的颜色通道数据;最后根据自身所需的颜色通道数据进行单色显示。在此过程中,单色屏需要执行MIPI协议数据包解析、单个颜色通道数据的提取和分离、颜色通道数据的识别以及根据自身所需颜色通道数据进行单色显示等流程,处理复杂度较高。也即,通过MIPI协议数据包,给各个单色屏传输具有三个颜色通道的图像数据,还会使得屏幕端的显示驱动芯片(Display DriverIntegrated Circuit Chip,DDIC)的处理复杂度较高。In addition, when the monochrome screen performs monochrome display according to the MIPI protocol data packet, it usually first parses the MIPI protocol data packet to obtain the image data in the MIPI protocol data packet, which includes data of three color channels; then extracts and separates the data of a single color channel from the image data, and identifies the color channel data required by itself from multiple single color channel data; finally, it performs monochrome display according to the color channel data required by itself. In this process, the monochrome screen needs to perform processes such as MIPI protocol data packet parsing, extraction and separation of single color channel data, identification of color channel data, and monochrome display according to the color channel data required by itself, and the processing complexity is relatively high. That is, through the MIPI protocol data packet, the image data with three color channels is transmitted to each monochrome screen, which will also make the processing complexity of the display driver chip (Display Driver Integrated Circuit Chip, DDIC) on the screen side relatively high.
具体到图1A所示系统,对于单色屏12来说,在接收到来自SOC11的MIPI协议数据包后,对MIPI协议数据包进行解析,获得MIPI协议数据包中的RGB图像数据;再从RGB图像数据中提取分离出R通道数据、G通道数据和B通道数据,并识别出自身所需的颜色通道数据为R通道数据;最后显示R通道数据,以显示出红色。同理,单色屏13和单色屏14均执行相似过程,分别显示出绿色和蓝色。Specifically, for the system shown in FIG1A , for the monochrome screen 12, after receiving the MIPI protocol data packet from the SOC 11, the MIPI protocol data packet is parsed to obtain the RGB image data in the MIPI protocol data packet; then the R channel data, the G channel data and the B channel data are extracted and separated from the RGB image data, and the color channel data required by itself is identified as the R channel data; finally, the R channel data is displayed to display red. Similarly, the monochrome screen 13 and the monochrome screen 14 both perform similar processes to display green and blue, respectively.
可选地,图1A所示的系统还可以包括桥接芯片15,具体参见图1B示出的本申请实施例提供的单色屏显示系统的另一种系统架构示意框图,桥接芯片15的输入端与SOC11连接,桥接芯片15的输出端分别与单色屏12、单色屏13以及单色屏14连接。Optionally, the system shown in Figure 1A may also include a bridge chip 15. Specifically, refer to Figure 1B, a schematic block diagram of another system architecture of a monochrome screen display system provided in an embodiment of the present application. The input end of the bridge chip 15 is connected to SOC11, and the output end of the bridge chip 15 is respectively connected to the monochrome screen 12, the monochrome screen 13 and the monochrome screen 14.
如图1B所示,SOC11输出包括RGB图像数据的MIPI协议数据包,桥接芯片15接收到该MIPI协议数据包后,将该MIPI协议数据包进行复制,获得三个相同的MIPI协议数据包,并分别将这三个MIPI协议数据包传输至单色屏12、单色屏13以及单色屏14。在该过程中,桥接芯片15用于复制MIPI协议数据包和分发MIPI协议数据包。As shown in FIG1B , SOC 11 outputs a MIPI protocol data packet including RGB image data. After receiving the MIPI protocol data packet, the bridge chip 15 copies the MIPI protocol data packet to obtain three identical MIPI protocol data packets, and transmits the three MIPI protocol data packets to the monochrome screen 12, the monochrome screen 13, and the monochrome screen 14. In this process, the bridge chip 15 is used to copy the MIPI protocol data packet and distribute the MIPI protocol data packet.
在图1B所示的系统中,还是通过MIPI协议数据包,将具有三个颜色通道的图像数据传输至各个单色屏,故仍然会存在上文提及的屏幕端接收到大量冗余数据,占用传输带宽较大,以及屏幕端的DDIC的处理复杂度较高等问题。In the system shown in FIG. 1B , the image data with three color channels is still transmitted to each monochrome screen through the MIPI protocol data packet. Therefore, the above-mentioned problems of the screen receiving a large amount of redundant data, occupying a large transmission bandwidth, and the high processing complexity of the DDIC on the screen still exist.
针对上文提及的问题,本申请实施例提供的单色屏显示方案通过将一路具有三个颜色通道的MIPI信号分成三路单个颜色通道的MIPI信号,并分别将三路单色MIPI信号传输至各个单色屏,使得屏幕端只接收到单个颜色通道数据,减少了屏幕端接收到冗余数据,节省了传输带宽,还降低了屏幕端DDIC的处理复杂度。In response to the above-mentioned problems, the monochrome screen display solution provided in the embodiment of the present application divides a MIPI signal with three color channels into three MIPI signals with a single color channel, and transmits the three monochrome MIPI signals to each monochrome screen respectively, so that the screen end only receives single color channel data, reduces the redundant data received by the screen end, saves transmission bandwidth, and reduces the processing complexity of DDIC on the screen end.
为了更好地介绍本申请实施例提供的单色屏显示方案,下面结合图2A和图2B进行示例性介绍说明。In order to better introduce the monochrome screen display solution provided in the embodiment of the present application, an exemplary introduction is given below in conjunction with Figures 2A and 2B.
请参见图2A,为本申请实施例提供的单色屏显示系统的另一种系统架构示意框图,该系统可以包括SOC21、处理模块22、第一单色屏23、第二单色屏24以及第三单色屏25。Please refer to Figure 2A, which is a schematic block diagram of another system architecture of the monochrome screen display system provided in an embodiment of the present application. The system may include SOC21, a processing module 22, a first monochrome screen 23, a second monochrome screen 24 and a third monochrome screen 25.
其中,SOC21通过MIPI接口与处理模块22连接,处理模块22通过MIPI接口分别与第一单色屏23、第二单色屏24以及第三单色屏25连接。The SOC 21 is connected to the processing module 22 via the MIPI interface, and the processing module 22 is respectively connected to the first monochrome screen 23 , the second monochrome screen 24 and the third monochrome screen 25 via the MIPI interface.
需要说明的是,SOC21是可选的。在另一些实施例中,SOC21可以替换成其它器件或其它模块,在此不作限定。It should be noted that SOC21 is optional. In other embodiments, SOC21 can be replaced by other devices or other modules, which are not limited here.
处理模块22可以为专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其它可编程逻辑器件示例性包括可编程阵列逻辑(PAL)和通用阵列逻辑(GAL);也可以为中央处理单元(Central Processing Unit,CPU)、其他通用处理器或数字信号处理器(Digital Signal Processor,DSP)。通用处理器可以是微处理器或者任何常规的处理器等。 The processing module 22 may be an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Other programmable logic devices may include programmable array logic (PAL) and general array logic (GAL); it may also be a central processing unit (CPU), other general processors or a digital signal processor (DSP). The general processor may be a microprocessor or any conventional processor, etc.
第一单色屏23、第二单色屏24以及第三单色屏25通常是指用于显示三原色的单色屏。例如,三原色为红、绿和蓝,第一单色屏23为用于显示红色的单色屏,第二单色屏24为用于显示绿色的单色屏,第三单色屏25为用于显示蓝色的单色屏。The first monochrome screen 23, the second monochrome screen 24, and the third monochrome screen 25 are generally monochrome screens for displaying three primary colors. For example, the three primary colors are red, green, and blue, the first monochrome screen 23 is a monochrome screen for displaying red, the second monochrome screen 24 is a monochrome screen for displaying green, and the third monochrome screen 25 is a monochrome screen for displaying blue.
第一单色屏23、第二单色屏24和第三单色屏25可以均是micro-LED单色屏,也可以是其它类型的单色屏,在此不作限定。The first monochrome screen 23 , the second monochrome screen 24 , and the third monochrome screen 25 may all be micro-LED monochrome screens, or other types of monochrome screens, which are not limited here.
请参见图2B,为本申请实施例提供的单色屏显示方法的一种流程示意框图,该方法可以包括以下步骤:Please refer to FIG. 2B , which is a schematic block diagram of a process of a monochrome screen display method provided in an embodiment of the present application. The method may include the following steps:
步骤S201、处理模块22接收来自SOC21的第一MIPI协议数据包。Step S201 : The processing module 22 receives a first MIPI protocol data packet from the SOC 21 .
需要说明的是,第一MIPI协议数据包是指符合MIPI协议的数据包,该数据包可以包括但不限于图像数据,该图像数据包括第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据。It should be noted that the first MIPI protocol data packet refers to a data packet that complies with the MIPI protocol, and the data packet may include but is not limited to image data, and the image data includes data of a first color channel, data of a second color channel, and data of a third color channel.
具体应用中,图像数据的格式不同,第一颜色通道、第二颜色通道和第三颜色通道也会相应不同。In specific applications, the formats of image data are different, and the first color channel, the second color channel, and the third color channel may be different accordingly.
例如,当图像数据为RGB图像数据时,第一颜色通道可以为R通道,第二颜色通道可以为G通道,第三颜色通道可以为B通道。For example, when the image data is RGB image data, the first color channel may be an R channel, the second color channel may be a G channel, and the third color channel may be a B channel.
又例如,当图像数据为YUV图像数据时,第一颜色通道可以为Y通道,第二颜色通道可以为U通道,第三颜色通道可以为V通道。For another example, when the image data is YUV image data, the first color channel may be a Y channel, the second color channel may be a U channel, and the third color channel may be a V channel.
还需要说明的是,SOC21可以替换成其它模块或其它器件,当SOC21替换成其它模块或其它器件时,处理模块22则可以从该其它模块或其它器件接收第一MIPI协议数据包,在此不对第一MIPI协议数据包的来源作限制。It should also be noted that SOC21 can be replaced by other modules or other devices. When SOC21 is replaced by other modules or other devices, the processing module 22 can receive the first MIPI protocol data packet from the other modules or other devices. The source of the first MIPI protocol data packet is not restricted here.
步骤S202、处理模块22对第一MIPI协议数据包进行解析,获得图像数据。Step S202: The processing module 22 parses the first MIPI protocol data packet to obtain image data.
第一MIPI协议数据包是按照MIPI协议进行组包操作得到的数据包,故可以按照MIPI协议对第一MIPI协议数据包进行拆包操作,以获得第一MIPI协议数据包中的图像数据。The first MIPI protocol data packet is a data packet obtained by performing a packet assembly operation according to the MIPI protocol, so the first MIPI protocol data packet can be unpacked according to the MIPI protocol to obtain the image data in the first MIPI protocol data packet.
步骤S203、处理模块22从图像数据中提取分离出第一颜色通道的数据、第二颜色通道的数据、以及第三颜色通道的数据。Step S203: The processing module 22 extracts and separates data of the first color channel, data of the second color channel, and data of the third color channel from the image data.
图像数据具有完整三个颜色通道数据,而单色屏只需要单个颜色通道数据即可实现单色显示,故为了减少屏幕端接收到的冗余数据,则可以从图像数据中提取分离出单个颜色通道数据,再将单个颜色通道的数据分别传输至对应的单色屏。The image data has complete three color channel data, while the monochrome screen only needs single color channel data to achieve monochrome display. Therefore, in order to reduce the redundant data received by the screen, the single color channel data can be extracted and separated from the image data, and then the single color channel data can be transmitted to the corresponding monochrome screen respectively.
例如,第一MIPI协议数据包中的图像数据为RGB图像数据,从RGB图像数据中提取分离出R通道数据、G通道数据和B通道数据。For example, the image data in the first MIPI protocol data packet is RGB image data, and R channel data, G channel data, and B channel data are extracted and separated from the RGB image data.
步骤S204、处理模块22对第一颜色通道的数据进行组包操作,获得第二MIPI协议数据包,对第二颜色通道的数据进行组包操作,获得第三MIPI协议数据包,对第三颜色通道的数据进行组包操作,获得第四MIPI协议数据包。Step S204: The processing module 22 performs a packetization operation on the data of the first color channel to obtain a second MIPI protocol data packet, performs a packetization operation on the data of the second color channel to obtain a third MIPI protocol data packet, and performs a packetization operation on the data of the third color channel to obtain a fourth MIPI protocol data packet.
处理模块22在提取分离出单个颜色通道数据后,为了可以通过MIPI接口将各个颜色通道数据传输至对应的单色屏,则可以按照MIPI协议标准,对各个颜色通道的数据进行组包,以使得组包得到的数据包仍然符合MIPI协议标准,仍然可以通过MIPI协议传输。After the processing module 22 extracts and separates the single color channel data, in order to transmit the data of each color channel to the corresponding monochrome screen through the MIPI interface, the data of each color channel can be packaged according to the MIPI protocol standard, so that the packaged data packet still complies with the MIPI protocol standard and can still be transmitted through the MIPI protocol.
也即,针对单个颜色通道数据,处理模块22可以按照MIPI协议,对单个颜色通道数据进行重新组包操作,获得包括单个颜色通道数据的MIPI协议数据包。That is, for the single color channel data, the processing module 22 may repack the single color channel data according to the MIPI protocol to obtain a MIPI protocol data packet including the single color channel data.
需要指出的是,第二MIPI协议数据包、第三MIPI协议数据包和第四MIPI协议数据包均只包括单个颜色通道的数据,故相较于包括三个颜色通道数据的第一MIPI协议数据包,第二MIPI协议数据包、第三MIPI协议数据包和第四MIPI协议数据包的数据量更小。这样,在向各个单色屏传输第二MIPI协议数据包、第三MIPI协议数据包和第四MIPI协议数据包时,所占用的传输带宽更小,从而节省了传输带宽。It should be noted that the second MIPI protocol data packet, the third MIPI protocol data packet and the fourth MIPI protocol data packet only include data of a single color channel, so compared with the first MIPI protocol data packet including data of three color channels, the second MIPI protocol data packet, the third MIPI protocol data packet and the fourth MIPI protocol data packet have smaller data volumes. In this way, when the second MIPI protocol data packet, the third MIPI protocol data packet and the fourth MIPI protocol data packet are transmitted to each monochrome screen, the transmission bandwidth occupied is smaller, thereby saving the transmission bandwidth.
例如,图像数据为具有完整三个颜色通道的RGB图像数据,即第一MIPI协议数据包中包括三个颜色通道的数据。而第二MIPI协议数据包只包括R通道数据,第三MIPI协议数据包只包括G通道数据,第四MIPI协议数据包只包括B通道数据。此时,第二MIPI协议数据包、第三MIPI协议数据包、以及第四MIPI协议数据包的数据量大约只为第一MIPI协议数据包的数据量的三分 之一。也即,从处理模块22送出的MIPI协议数据包的大小大约仅为从SOC21送出的MIPI协议数据包的三分之一。For example, the image data is RGB image data with three complete color channels, that is, the first MIPI protocol data packet includes data of three color channels. The second MIPI protocol data packet only includes R channel data, the third MIPI protocol data packet only includes G channel data, and the fourth MIPI protocol data packet only includes B channel data. At this time, the data volume of the second MIPI protocol data packet, the third MIPI protocol data packet, and the fourth MIPI protocol data packet is approximately only one-third of the data volume of the first MIPI protocol data packet. That is, the size of the MIPI protocol data packet sent from the processing module 22 is only about one third of the MIPI protocol data packet sent from the SOC 21 .
通常情况下,处理模块22可以并行对第一颜色通道的数据、第二颜色通道的数据、以及第三颜色通道的数据进行组包操作,即第一颜色通道的组包操作、第二颜色通道的组包操作、以及第三颜色通道的组包操作是并行处理的。当然,也可以不是并行处理的。Typically, the processing module 22 can perform a packetization operation on the data of the first color channel, the data of the second color channel, and the data of the third color channel in parallel, that is, the packetization operation of the first color channel, the packetization operation of the second color channel, and the packetization operation of the third color channel are processed in parallel. Of course, they may not be processed in parallel.
步骤S205、处理模块22向第一单色屏23发送第二MIPI协议数据包,向第二单色屏24发送第三MIPI协议数据包,向第三单色屏25发送第四MIPI协议数据包。Step S205 : The processing module 22 sends a second MIPI protocol data packet to the first monochrome screen 23 , sends a third MIPI protocol data packet to the second monochrome screen 24 , and sends a fourth MIPI protocol data packet to the third monochrome screen 25 .
可以理解的是,处理模块22并行对第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据进行组包操作,得到对应的MIPI协议数据包后,也可以并行地发送组包得到的MIPI协议数据包。也就是说,并行处理流程中包括组包操作和发送操作,通常情况下,在并行处理流程中,针对单个颜色通道的数据进行组包操作,得到MIPI协议数据包后,则发送该MIPI协议数据包。It is understandable that the processing module 22 performs a packetization operation on the data of the first color channel, the data of the second color channel, and the data of the third color channel in parallel, and after obtaining the corresponding MIPI protocol data packets, the MIPI protocol data packets obtained by packetization can also be sent in parallel. That is to say, the parallel processing flow includes a packetization operation and a sending operation. Usually, in the parallel processing flow, a packetization operation is performed on the data of a single color channel, and after obtaining the MIPI protocol data packet, the MIPI protocol data packet is sent.
步骤S206、第一单色屏23对第二MIPI协议数据包进行解析,获得第一颜色通道的数据,并显示第一颜色通道的数据。Step S206: The first monochrome screen 23 parses the second MIPI protocol data packet to obtain data of the first color channel, and displays the data of the first color channel.
具体地,第一单色屏23按照MIPI协议,对第二MIPI协议数据包进行拆包,获得第二MIPI协议数据包中的第一颜色通道的数据,并将该第一颜色通道的数据进行送显。Specifically, the first monochrome screen 23 unpacks the second MIPI protocol data packet according to the MIPI protocol, obtains the data of the first color channel in the second MIPI protocol data packet, and sends the data of the first color channel for display.
步骤S207、第二单色屏24对第三MIPI协议数据包进行解析,获得第二颜色通道的数据,并显示第二颜色通道的数据。Step S207: The second monochrome screen 24 parses the third MIPI protocol data packet to obtain data of the second color channel, and displays the data of the second color channel.
具体地,第二单色屏24按照MIPI协议,对第三MIPI协议数据包进行拆包,获得第三MIPI协议数据包中的第二颜色通道的数据,并将该第二颜色通道的数据进行送显。Specifically, the second monochrome screen 24 unpacks the third MIPI protocol data packet according to the MIPI protocol, obtains the data of the second color channel in the third MIPI protocol data packet, and sends the data of the second color channel for display.
步骤S208、第三单色屏25对第四MIPI协议数据包进行解析,获得第三颜色通道的数据,并显示第三颜色通道的数据。Step S208: The third monochrome screen 25 parses the fourth MIPI protocol data packet to obtain data of the third color channel, and displays the data of the third color channel.
具体地,第三单色屏25按照MIPI协议,对第四MIPI协议数据包进行拆包,获得第四MIPI协议数据包中的第三颜色通道的数据,并将该第三颜色通道的数据进行送显。Specifically, the third monochrome screen 25 unpacks the fourth MIPI protocol data packet according to the MIPI protocol, obtains the data of the third color channel in the fourth MIPI protocol data packet, and sends the data of the third color channel for display.
需要指出的是,正常的MIPI协议数据包中三个字节(byte)对应一个像素,此时,屏幕端可以根据三个字节显示一个像素,不会存在显示异常。正常的MIPI协议数据包是指包括具有三个颜色通道的图像数据的数据包。It should be noted that in a normal MIPI protocol data packet, three bytes correspond to one pixel. At this time, the screen can display one pixel based on the three bytes without display abnormality. A normal MIPI protocol data packet refers to a data packet including image data with three color channels.
而第二MIPI协议数据包、第三MIPI协议数据包和第四MIPI协议数据包中一个字节对应一个像素,因此需要屏幕端的DDIC的定制化实现,使得屏幕端的DDIC可以根据一个字节显示一个像素,不会造成显示异常。In the second MIPI protocol data packet, the third MIPI protocol data packet and the fourth MIPI protocol data packet, one byte corresponds to one pixel, so a customized implementation of the DDIC on the screen side is required so that the DDIC on the screen side can display one pixel according to one byte without causing display abnormalities.
还需要指出的是,相较于根据包括完整三个颜色通道数据的MIPI协议数据包进行单色显示,屏幕端根据只包括单个颜色通道数据的MIPI协议数据包进行单色显示时,屏幕端的DDIC的处理复杂度更低。It should also be pointed out that compared with monochrome display based on a MIPI protocol data packet including complete three color channel data, the processing complexity of DDIC on the screen side is lower when the screen side performs monochrome display based on a MIPI protocol data packet including only a single color channel data.
具体来说,当屏幕端接收到包括三个颜色通道数据的MIPI协议数据包时,屏幕端的DDIC需要执行以下过程:解析MIPI协议数据包、从图像数据中提取分离出单个颜色通道数据、从多个颜色通道数据中识别出自身所需要的颜色通道数据、以及将单个颜色通道数据送显。Specifically, when the screen receives a MIPI protocol data packet including three color channel data, the DDIC on the screen needs to perform the following processes: parse the MIPI protocol data packet, extract and separate single color channel data from the image data, identify the color channel data required by itself from multiple color channel data, and send the single color channel data for display.
当屏幕端接收到只包括单个颜色通道的MIPI协议数据包时,屏幕端的DDIC需要执行以下过程:解析MIPI协议数据包、以及将单个颜色通道数据送显。When the screen receives a MIPI protocol data packet including only a single color channel, the DDIC on the screen needs to perform the following process: parsing the MIPI protocol data packet and sending the single color channel data for display.
通过对比可知,屏幕端根据包括单个颜色通道数据的MIPI协议数据进行单色显示时,不用执行从图像数据中提取分离出单个颜色通道数据、以及从多个颜色通道数据中识别出自身所需要的颜色通道数据这些过程,从而降低了处理复杂度。By comparison, it can be seen that when the screen performs monochrome display according to the MIPI protocol data including single color channel data, there is no need to perform the processes of extracting and separating single color channel data from image data, and identifying the color channel data required by itself from multiple color channel data, thereby reducing the processing complexity.
由上可见,本申请实施例提供的单色屏显示方案,减少了屏幕端接收到的冗余数据,节省了传输带宽,还降低了屏幕端的处理复杂度。As can be seen from the above, the monochrome screen display solution provided in the embodiment of the present application reduces the redundant data received by the screen end, saves the transmission bandwidth, and reduces the processing complexity of the screen end.
如上文所示,处理模块22可以实现解析、单个颜色通道数据的提取分离、组包等功能,解析功能是指对MIPI协议数据包进行解析,组包功能是指按照MIPI协议进行组包操作,获得MIPI协议数据包。As shown above, the processing module 22 can realize functions such as analysis, extraction and separation of single color channel data, and packaging. The analysis function refers to parsing the MIPI protocol data packet, and the packaging function refers to performing packaging operations according to the MIPI protocol to obtain a MIPI protocol data packet.
具体应用中,可以通过处理模块22内的多个逻辑单元分别解析功能、单个颜色通道数据的提 取分离功能、以及组包功能等。In a specific application, multiple logic units in the processing module 22 can be used to analyze the functions, the data of a single color channel, Separation function, package group function, etc.
示例性地,参见图3A示出的逻辑单元示意图,处理模块22可以包括第一逻辑单元221、第二逻辑单元222、第三逻辑单元223以及第四逻辑单元224。第一逻辑单元221分别与第二逻辑单元222、第三逻辑单元223以及第四逻辑单元224连接。3A, the processing module 22 may include a first logic unit 221, a second logic unit 222, a third logic unit 223 and a fourth logic unit 224. The first logic unit 221 is connected to the second logic unit 222, the third logic unit 223 and the fourth logic unit 224 respectively.
其中,第一逻辑单元221用于获取第一MIPI协议数据包,并对第一MIPI协议数据包进行解析,获得第一MIPI协议数据包中的图像数据;再从图像数据中提取分离出第一颜色通道的数据、第二颜色通道的数据、以及第三颜色通道的数据,并且,将第一颜色通道的数据传输至第二逻辑单元222,将第二颜色通道的数据传输至第二逻辑单元222,将第三颜色通道的数据传输至第四逻辑单元224。Among them, the first logic unit 221 is used to obtain the first MIPI protocol data packet, and parse the first MIPI protocol data packet to obtain the image data in the first MIPI protocol data packet; then extract and separate the data of the first color channel, the data of the second color channel, and the data of the third color channel from the image data, and transmit the data of the first color channel to the second logic unit 222, transmit the data of the second color channel to the second logic unit 222, and transmit the data of the third color channel to the fourth logic unit 224.
第二逻辑单元222用于接收来自第一逻辑单元221的第一颜色通道的数据,并对第一颜色通道的数据进行组包操作,获得第二MIPI协议数据包,并将该第二MIPI协议数据包传输至第一单色屏23。第一单色屏23对第二MIPI协议数据包进行解析,获得第一颜色通道的数据后,将第一颜色通道的数据进行送显。The second logic unit 222 is used to receive the data of the first color channel from the first logic unit 221, and perform a packet operation on the data of the first color channel to obtain a second MIPI protocol data packet, and transmit the second MIPI protocol data packet to the first monochrome screen 23. The first monochrome screen 23 parses the second MIPI protocol data packet, obtains the data of the first color channel, and then displays the data of the first color channel.
同理,第三逻辑单元223用于接收来自第一逻辑单元221的第二颜色通道的数据,并对第二颜色通道的数据进行组包操作,获得第三MIPI协议数据包,并将该第三MIPI协议数据包传输至第二单色屏24。第二单色屏24对第三MIPI协议数据包进行解析,获得第二颜色通道的数据后,将第二颜色通道的数据进行送显。Similarly, the third logic unit 223 is used to receive the data of the second color channel from the first logic unit 221, and perform a packet operation on the data of the second color channel to obtain a third MIPI protocol data packet, and transmit the third MIPI protocol data packet to the second monochrome screen 24. The second monochrome screen 24 parses the third MIPI protocol data packet, obtains the data of the second color channel, and then displays the data of the second color channel.
第四逻辑单元224用于接收来自第一逻辑单元221的第三颜色通道的数据,并对第三颜色通道的数据进行组包操作,获得第四MIPI协议数据包,并将该第四MIPI协议数据包传输至第三单色屏25。第三单色屏25对第三MIPI协议数据包进行解析,获得第三颜色通道的数据后,将第三颜色通道的数据进行送显。The fourth logic unit 224 is used to receive the data of the third color channel from the first logic unit 221, and perform a packet operation on the data of the third color channel to obtain a fourth MIPI protocol data packet, and transmit the fourth MIPI protocol data packet to the third monochrome screen 25. The third monochrome screen 25 parses the third MIPI protocol data packet, obtains the data of the third color channel, and then displays the data of the third color channel.
第一逻辑单元221用于实现解析功能和单个颜色通道数据的提取分离功能,而第二逻辑单元222、第三逻辑单元223以及第四逻辑单元224用于实现组包功能。The first logic unit 221 is used to implement the parsing function and the extraction and separation function of the single color channel data, while the second logic unit 222 , the third logic unit 223 and the fourth logic unit 224 are used to implement the packaging function.
第一逻辑单元221可以并行地从图像数据中分别提取出单个颜色通道数据,并且并行地发送至第二逻辑单元222、第三逻辑单元223以及第四逻辑单元224,而第二逻辑单元222、第三逻辑单元223以及第四逻辑单元224也可以并行对单个颜色通道数据进行组包操作。The first logic unit 221 can extract single color channel data from the image data in parallel and send them to the second logic unit 222, the third logic unit 223 and the fourth logic unit 224 in parallel, and the second logic unit 222, the third logic unit 223 and the fourth logic unit 224 can also perform packaging operations on the single color channel data in parallel.
又示例性地,参见图3B示出的另一种逻辑单元示意图,处理模块22可以包括数据处理单元2211、第五逻辑单元2212、第二逻辑单元222、第三逻辑单元223以及第四逻辑单元224。As another example, referring to another logic unit schematic diagram shown in FIG. 3B , the processing module 22 may include a data processing unit 2211 , a fifth logic unit 2212 , a second logic unit 222 , a third logic unit 223 , and a fourth logic unit 224 .
第五逻辑单元2212的输出端与数据处理单元2211的输入端连接,数据处理单元2211的输出端分别与第二逻辑单元222、第三逻辑单元223以及第四逻辑单元224的输入端连接。The output end of the fifth logic unit 2212 is connected to the input end of the data processing unit 2211 , and the output end of the data processing unit 2211 is connected to the input ends of the second logic unit 222 , the third logic unit 223 , and the fourth logic unit 224 , respectively.
第五逻辑单元2212用于对第一MIPI协议数据包进行解析,获得图像数据,并将图像数据传输至数据处理单元2211。The fifth logic unit 2212 is used to parse the first MIPI protocol data packet, obtain image data, and transmit the image data to the data processing unit 2211 .
数据处理单元2211用于从图像数据中提取分离出第一颜色通道的数据、第二颜色通道的数据、以及第三颜色通道的数据,并将第一颜色通道的数据传输至第二逻辑单元222,将第二颜色通道的数据传输至第三逻辑单元223,将第三颜色通道的数据传输至第四逻辑单元224。The data processing unit 2211 is used to extract and separate data of the first color channel, data of the second color channel, and data of the third color channel from the image data, and transmit the data of the first color channel to the second logic unit 222, transmit the data of the second color channel to the third logic unit 223, and transmit the data of the third color channel to the fourth logic unit 224.
第二逻辑单元222用于接收来自第一逻辑单元221的第一颜色通道的数据,并对第一颜色通道的数据进行组包操作,获得第二MIPI协议数据包,并将该第二MIPI协议数据包传输至第一单色屏23。The second logic unit 222 is used to receive the data of the first color channel from the first logic unit 221 , perform a packetization operation on the data of the first color channel, obtain a second MIPI protocol data packet, and transmit the second MIPI protocol data packet to the first monochrome screen 23 .
第三逻辑单元223用于接收来自第一逻辑单元221的第二颜色通道的数据,并对第二颜色通道的数据进行组包操作,获得第三MIPI协议数据包,并将该第三MIPI协议数据包传输至第二单色屏24。The third logic unit 223 is used to receive the data of the second color channel from the first logic unit 221 , perform a packetization operation on the data of the second color channel, obtain a third MIPI protocol data packet, and transmit the third MIPI protocol data packet to the second monochrome screen 24 .
第四逻辑单元224用于接收来自第一逻辑单元221的第三颜色通道的数据,并对第三颜色通道的数据进行组包操作,获得第四MIPI协议数据包,并将该第四MIPI协议数据包传输至第三单色屏25。The fourth logic unit 224 is used to receive the data of the third color channel from the first logic unit 221 , perform a packetization operation on the data of the third color channel, obtain a fourth MIPI protocol data packet, and transmit the fourth MIPI protocol data packet to the third monochrome screen 25 .
图3B相较于图3A,通过数据处理单元2211实现单个颜色通道数据的提取分离功能,这样可以将第五逻辑单元2212、第二逻辑单元222、第三逻辑单元223以及第四逻辑单元224设计成一样的逻辑单元,即第五逻辑单元2212、第二逻辑单元222、第三逻辑单元223以及第四逻辑单 元224是一样的逻辑单元,均具有解析和组包功能,第五逻辑单元2212使用的是解析功能,而第二逻辑单元222、第三逻辑单元223以及第四逻辑单元224使用的是组包功能。这样,更加便于设计和实现。Compared with FIG. 3A , FIG. 3B realizes the extraction and separation function of single color channel data through the data processing unit 2211, so that the fifth logic unit 2212, the second logic unit 222, the third logic unit 223 and the fourth logic unit 224 can be designed as the same logic unit, that is, the fifth logic unit 2212, the second logic unit 222, the third logic unit 223 and the fourth logic unit The fifth logic unit 2212 uses the parsing function, while the second logic unit 222, the third logic unit 223 and the fourth logic unit 224 use the packaging function. This makes it easier to design and implement.
可以理解的是,图3A和图3B中示出的逻辑单元和数据处理单元可以是软件模块,可以是硬件模块,也可以软硬件共同作用实现的功能模块。It can be understood that the logic unit and the data processing unit shown in FIG. 3A and FIG. 3B may be software modules, hardware modules, or functional modules implemented by the combined action of software and hardware.
例如,当处理模块22为FPGA时,图3A和图3B中的第一逻辑单元221、第二逻辑单元222、第三逻辑单元223、第四逻辑单元224和第五逻辑单元2212可以均是D-PHY模块或C-PHY模块。其中,PHY(Physical)属于MIPI接口的最底层部分,也就是物理层,即端口物理层,直接涉及到物理连线,信号传输等等。For example, when the processing module 22 is an FPGA, the first logic unit 221, the second logic unit 222, the third logic unit 223, the fourth logic unit 224 and the fifth logic unit 2212 in Figures 3A and 3B can all be D-PHY modules or C-PHY modules. Among them, PHY (Physical) belongs to the lowest layer of the MIPI interface, that is, the physical layer, that is, the port physical layer, which is directly related to physical wiring, signal transmission, etc.
如上文所示,处理模块22可以为FPGA,第一MIPI协议数据包中的图像数据可以为RGB图像数据。为了更好地介绍说明本申请实施例提供的单色屏显示方案,下面则结合图4A~图4E,以FPGA和RGB图像数据作为示例进行介绍说明。其中,图4A为本申请实施例提供的单色屏显示系统架构的一种示意框图,图4B为本申请实施例提供的单色屏显示系统架构的另一种示意框图,图4C为本申请实施例提供的MIPI协议数据包的示意框图,图4D为本申请实施例提供的FPGA的逻辑单元示意框图,图4E为本申请实施例提供的MIPI协议数据包传输示意图。As shown above, the processing module 22 can be an FPGA, and the image data in the first MIPI protocol data packet can be RGB image data. In order to better introduce and illustrate the monochrome screen display solution provided in the embodiment of the present application, the following is combined with Figures 4A to 4E, using FPGA and RGB image data as examples for introduction and explanation. Among them, Figure 4A is a schematic block diagram of the monochrome screen display system architecture provided in the embodiment of the present application, Figure 4B is another schematic block diagram of the monochrome screen display system architecture provided in the embodiment of the present application, Figure 4C is a schematic block diagram of the MIPI protocol data packet provided in the embodiment of the present application, Figure 4D is a schematic block diagram of the logic unit of the FPGA provided in the embodiment of the present application, and Figure 4E is a schematic diagram of the MIPI protocol data packet transmission provided in the embodiment of the present application.
如图4A所示,单色屏显示系统可以包括SOC41、FPGA42、第一单色屏43、第二单色屏44、以及第三单色屏45。FPGA42包括D-PHY 421、D-PHY 422、D-PHY 423、以及D-PHY 424。As shown in FIG4A , the monochrome screen display system may include SOC 41, FPGA 42, a first monochrome screen 43, a second monochrome screen 44, and a third monochrome screen 45. FPGA 42 includes D-PHY 421, D-PHY 422, D-PHY 423, and D-PHY 424.
SOC41输出包括RGB图像数据的MIPI协议数据包,并通过MIPI接口将该MIPI协议数据包传输至FPGA42。SOC 41 outputs a MIPI protocol data packet including RGB image data, and transmits the MIPI protocol data packet to FPGA 42 through a MIPI interface.
FPGA42接收到包括RGB图像数据的MIPI协议数据包后,可以通过D-PHY 421对该MIPI协议数据包进行解析,获得RGB图像数据,并从RGB图像数据中提取分离出R通道数据、G通道数据和B通道数据;最后,将R通道数据传输至D-PHY 422,将G通道数据传输至D-PHY 423,将B通道数据传输至D-PHY 424。After FPGA42 receives the MIPI protocol data packet including the RGB image data, it can parse the MIPI protocol data packet through D-PHY 421 to obtain the RGB image data, and extract and separate the R channel data, G channel data and B channel data from the RGB image data; finally, the R channel data is transmitted to D-PHY 422, the G channel data is transmitted to D-PHY 423, and the B channel data is transmitted to D-PHY 424.
D-PHY 422接收到R通道数据后,对R通道数据进行组包操作,获得包括R通道数据的MIPI协议数据包,并通过MIPI接口将该MIPI协议数据包传输至第一单色屏43。第一单色屏43则对接收到的MIPI协议数据包进行解析,获得R通道数据,并根据R通道数据显示红色。After receiving the R channel data, D-PHY 422 performs a packetization operation on the R channel data to obtain a MIPI protocol data packet including the R channel data, and transmits the MIPI protocol data packet to the first monochrome screen 43 through the MIPI interface. The first monochrome screen 43 parses the received MIPI protocol data packet to obtain the R channel data, and displays red according to the R channel data.
D-PHY 423接收到G通道数据后,对G通道数据进行组包操作,获得包括G通道数据的MIPI协议数据包,并通过MIPI接口将该MIPI协议数据包传输至第二单色屏44。第二单色屏44则对接收到的MIPI协议数据包进行解析,获得G通道数据,并根据G通道数据显示绿色。After receiving the G channel data, D-PHY 423 performs a packetization operation on the G channel data to obtain a MIPI protocol data packet including the G channel data, and transmits the MIPI protocol data packet to the second monochrome screen 44 through the MIPI interface. The second monochrome screen 44 parses the received MIPI protocol data packet to obtain the G channel data, and displays green according to the G channel data.
D-PHY 424接收到B通道数据后,对B通道数据进行组包操作,获得包括B通道数据的MIPI协议数据包,并通过MIPI接口将该MIPI协议数据包传输至第三单色屏45。第三单色屏45则对接收到的MIPI协议数据包进行解析,获得B通道数据,并根据B通道数据显示蓝色。After receiving the B channel data, D-PHY 424 performs a packetization operation on the B channel data to obtain a MIPI protocol data packet including the B channel data, and transmits the MIPI protocol data packet to the third monochrome screen 45 through the MIPI interface. The third monochrome screen 45 parses the received MIPI protocol data packet to obtain the B channel data, and displays blue according to the B channel data.
D-PHY 422、D-PHY 423以及D-PHY 424可以并行对各个颜色通道数据进行处理。D-PHY 422, D-PHY 423, and D-PHY 424 can process each color channel data in parallel.
可以理解的是,单色屏的接口为显示屏串行接口(display serial interface,DSI)时,FPGA42中的逻辑单元可以为D-PHY;当单色屏的接口为摄像头串行接口(camera serial interface,CSI)时,FPGA42中的逻辑单元可以为C-PHY。It can be understood that when the interface of the monochrome screen is the display serial interface (DSI), the logic unit in FPGA42 can be D-PHY; when the interface of the monochrome screen is the camera serial interface (CSI), the logic unit in FPGA42 can be C-PHY.
图4A中的D-PHY 421用于实现解析功能和单个颜色通道提取分离功能,而D-PHY 422~D-PHY 424用于实现组包功能,故D-PHY 421与D-PHY 422~D-PHY 424是不相同的。D-PHY 421 in FIG4A is used to implement the parsing function and the single color channel extraction and separation function, while D-PHY 422 to D-PHY 424 are used to implement the packetization function, so D-PHY 421 is different from D-PHY 422 to D-PHY 424.
为了便于设计和实现,可以让FPGA42中的D-PHY均相同,即所有D-PHY均用于实现解析和组包功能。此时,需要额外设置数据处理单元实现单个颜色通道提取分离功能。示例性地,如图4B所示,在FPGA内设置数据处理单元,数据处理单元用于从RGB图像数据中提取出R通道数据、G通道数据和B通道数据,并分别将各个通道数据传输至对应的D-PHY。FPGA中的四个D-PHY的功能均为解析功能和组包功能,只不过其中一个D-PHY使用的是解析功能,其它三个D-PHY使用的是组包功能。图4A和图4B的相同之处,在此不再赘述。For ease of design and implementation, the D-PHYs in FPGA42 can be made the same, that is, all D-PHYs are used to implement parsing and packaging functions. At this time, it is necessary to additionally set up a data processing unit to implement the single color channel extraction and separation function. Exemplarily, as shown in FIG4B , a data processing unit is set in the FPGA, and the data processing unit is used to extract R channel data, G channel data, and B channel data from the RGB image data, and transmit each channel data to the corresponding D-PHY respectively. The functions of the four D-PHYs in the FPGA are all parsing function and packaging function, except that one of the D-PHYs uses the parsing function, and the other three D-PHYs use the packaging function. The similarities between FIG4A and FIG4B are not repeated here.
如图4C所示,SOC41传输给FPGA42的MIPI协议数据包46包括低功耗状态(Low Power State,LPS)、传输开始(start of transmission,SOT)、包头(packageheader)、RGB数据、以及传输结束(end of transmission,EoT)等。 As shown in FIG4C , the MIPI protocol data packet 46 transmitted by the SOC 41 to the FPGA 42 includes a low power state (LPS), a start of transmission (SOT), a package header, RGB data, and an end of transmission (EoT), etc.
如图4D所示,FPGA42接收到MIPI协议数据包46后,通过D-PHY421对MIPI协议数据包46进行解析,获得RGB图像数据,如图4D中D-PHY421包括RGBRGBRGB等数据所示。As shown in FIG4D , after receiving the MIPI protocol data packet 46 , the FPGA 42 parses the MIPI protocol data packet 46 through the D-PHY 421 to obtain RGB image data, as shown in FIG4D , where the D-PHY 421 includes data such as RGBRGBRGB.
D-PHY421从RGB图像数据中提取出R通道数据、G通道数据和B通道数据后,将R通道数据传输至D-PHY422,将G通道数据传输至D-PHY423,将B通道数据传输至D-PHY424。After extracting R channel data, G channel data, and B channel data from the RGB image data, D-PHY421 transmits the R channel data to D-PHY422, transmits the G channel data to D-PHY423, and transmits the B channel data to D-PHY424.
如图4E所示,D-PHY422对R通道数据进行组包操作,获得MIPI协议数据包47,并将MIPI协议数据包47传输至第一单色屏43。As shown in FIG. 4E , the D-PHY 422 performs a packetization operation on the R channel data to obtain a MIPI protocol data packet 47 , and transmits the MIPI protocol data packet 47 to the first monochrome screen 43 .
D-PHY423对G通道数据进行组包操作,获得MIPI协议数据包48,并将MIPI协议数据包48传输至第二单色屏44。The D-PHY 423 performs a packetization operation on the G channel data to obtain a MIPI protocol data packet 48 , and transmits the MIPI protocol data packet 48 to the second monochrome screen 44 .
D-PHY424对B通道数据进行组包操作,获得MIPI协议数据包49,并将MIPI协议数据包49传输至第三单色屏45。The D-PHY 424 performs a packetization operation on the B channel data to obtain a MIPI protocol data packet 49 , and transmits the MIPI protocol data packet 49 to the third monochrome screen 45 .
需要注意的是,由于FPGA硬件的特殊性,以上过程是一条极为快速的流水线,产生的时延也极小。此外,FPGA在的D-PHY和数据处理单元是模拟出来的,即利用FPGA可编程的特性,通过编程模拟出各个逻辑单元,并让各个逻辑单元实现对应的功能。It should be noted that due to the particularity of FPGA hardware, the above process is an extremely fast pipeline with minimal latency. In addition, the D-PHY and data processing units in the FPGA are simulated, that is, the programmable characteristics of the FPGA are used to simulate each logic unit through programming, and each logic unit implements the corresponding function.
由上可见,FPGA将一路包括RGB图像数据的MIPI信号分成三路单色MIPI信号,并分别将三路单色MIPI信号传输至对应的单色屏,使得单色屏可以根据单色MIPI信号进行单色显示,减少了屏幕端接收到的冗余数据,节省了传输带宽,降低了屏幕端DDIC的处理复杂度。As can be seen from the above, FPGA divides a MIPI signal including RGB image data into three monochrome MIPI signals, and transmits the three monochrome MIPI signals to the corresponding monochrome screen respectively, so that the monochrome screen can display monochrome according to the monochrome MIPI signal, reducing the redundant data received by the screen end, saving transmission bandwidth, and reducing the processing complexity of DDIC on the screen end.
请参见图5,为本申请实施例提供的单色屏显示方法的一种流程示意框图,该方法应用于处理模块,该方法可以包括以下步骤:Please refer to FIG. 5, which is a schematic flow chart of a monochrome screen display method provided in an embodiment of the present application. The method is applied to a processing module, and the method may include the following steps:
步骤S501、获取第一移动产业处理器接口MIPI协议数据包,第一MIPI协议数据包包括图像数据,图像数据包括第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据。Step S501: Acquire a first mobile industry processor interface MIPI protocol data packet, where the first MIPI protocol data packet includes image data, and the image data includes data of a first color channel, data of a second color channel, and data of a third color channel.
在一些可能的实现方式中,图像数据为RGB图像数据,第一颜色通道为R通道,第二颜色通道为G通道,第三颜色通道为B通道。In some possible implementations, the image data is RGB image data, the first color channel is the R channel, the second color channel is the G channel, and the third color channel is the B channel.
步骤S502、对第一MIPI协议数据包进行解析,得到图像数据后,从图像数据中提取第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据。Step S502: After parsing the first MIPI protocol data packet to obtain image data, data of the first color channel, data of the second color channel, and data of the third color channel are extracted from the image data.
步骤S503、对第一颜色通道的数据进行组包操作,得到第二MIPI协议数据包,并向第一单色屏发送第二MIPI协议数据包。Step S503: perform a packetization operation on the data of the first color channel to obtain a second MIPI protocol data packet, and send the second MIPI protocol data packet to the first monochrome screen.
步骤S504、对第二颜色通道的数据进行组包操作,得到第三MIPI协议数据包,并向第二单色屏发送第三MIPI协议数据包。Step S504: perform a packetization operation on the data of the second color channel to obtain a third MIPI protocol data packet, and send the third MIPI protocol data packet to the second monochrome screen.
步骤S505、对第三颜色通道的数据进行组包操作,得到第四MIPI协议数据包,并向第三单色屏发送第四MIPI协议数据包。Step S505: perform a packetization operation on the data of the third color channel to obtain a fourth MIPI protocol data packet, and send the fourth MIPI protocol data packet to the third monochrome screen.
需要说明的是,步骤S503~步骤S505可以并行执行,也可以不并行执行。处理模块可以为但不限于FPGA。各个单色屏接收到包括单个颜色通道数据的MIPI协议数据包,可以根据MIPI协议数据包进行单色显示。本实施例与上文各个实施例的相同之处,可以相互参见,在此不再赘述。It should be noted that steps S503 to S505 may be executed in parallel or not. The processing module may be, but is not limited to, an FPGA. Each monochrome screen receives a MIPI protocol data packet including data of a single color channel, and may perform monochrome display according to the MIPI protocol data packet. The similarities between this embodiment and the above embodiments may be referred to each other, and will not be repeated here.
请参见图6,为本申请实施例提供的电子设备的结构示意图。电子设备可以包括处理模块610,存储器620,第一单色屏630,第二单色屏640,以及第三单色屏650。Please refer to FIG6 , which is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include a processing module 610 , a memory 620 , a first monochrome screen 630 , a second monochrome screen 640 , and a third monochrome screen 650 .
可以理解的是,本申请实施例示意的结构并不构成对电子设备的具体限定。在本申请另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is to be understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
例如,当电子设备为虚拟现实(Virtual Reality,VR)/AR/混合现实(Mix reality,MR)设备时,该电子设备还可以包括通信模块和传感器模块等,传感器模块可以包括惯性传感器和触摸传感器等。For example, when the electronic device is a virtual reality (VR)/AR/mixed reality (MR) device, the electronic device may also include a communication module and a sensor module, etc. The sensor module may include an inertial sensor and a touch sensor, etc.
处理模块610可以包括一个或多个处理单元,例如:处理模块610可以包括应用处理器(application processor,AP),图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),数字信号处理器(digital signal processor,DSP)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processing module 610 may include one or more processing units, for example, the processing module 610 may include an application processor (AP), a graphics processing unit (GPU), an image signal processor (ISP), a digital signal processor (DSP), etc. Different processing units may be independent devices or integrated into one or more processors.
在一些实施例中,处理模块610可以包括一个或多个接口。接口可以包括MIPI接口等。MIPI接口可以被用于连接处理模块610与各个单色屏。MIPI接口包括摄像头串行接口(camera serial  interface,CSI),以及显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理模块610和第一单色屏630、第二单色屏640以及第三单色屏650通过DSI接口或CSI接口通信,实现电子设备的显示功能。In some embodiments, the processing module 610 may include one or more interfaces. The interface may include a MIPI interface, etc. The MIPI interface may be used to connect the processing module 610 to each monochrome screen. The MIPI interface includes a camera serial interface. In some embodiments, the processing module 610 communicates with the first monochrome screen 630, the second monochrome screen 640, and the third monochrome screen 650 via the DSI interface or the CSI interface to realize the display function of the electronic device.
当然,处理模块610还可以包括通用输入输出(general-purpose input/output,GPIO)接口。GPIO接口可以通过软件配置,被配置为MIPI接口,此时,在一些实施例中,GPIO接口可以用于连接处理模块610和第一单色屏630、第二单色屏640以及第三单色屏650,实现显示功能。Of course, the processing module 610 may also include a general-purpose input/output (GPIO) interface. The GPIO interface may be configured as a MIPI interface through software configuration. In this case, in some embodiments, the GPIO interface may be used to connect the processing module 610 and the first monochrome screen 630, the second monochrome screen 640, and the third monochrome screen 650 to realize a display function.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备的结构限定。在本申请另一些实施例中,电子设备也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It is understandable that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
电子设备通过GPU,第一单色屏630,第二单色屏640,以及第三单色屏650,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接各个单色屏和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理模块610可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device implements the display function through a GPU, a first monochrome screen 630, a second monochrome screen 640, and a third monochrome screen 650, and an application processor. The GPU is a microprocessor for image processing, connecting each monochrome screen and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processing module 610 may include one or more GPUs, which execute program instructions to generate or change display information.
第一单色屏630,第二单色屏640,以及第三单色屏650用于显示图像,视频等。单色屏包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。The first monochrome screen 630, the second monochrome screen 640, and the third monochrome screen 650 are used to display images, videos, etc. The monochrome screen includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc.
存储器620可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。存储器620可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如音频数据,电话本等)等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理模块610通过运行存储在存储器620的指令,和/或存储在设置于处理模块中的存储器的指令,执行电子设备的各种功能应用以及数据处理。例如,处理模块610通过实现存储器620中的计算机程序,以实现上述单色显示方法的相关流程。The memory 620 can be used to store computer executable program codes, which include instructions. The memory 620 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (universal flash storage, UFS), etc. The processing module 610 executes various functional applications and data processing of the electronic device by running instructions stored in the memory 620 and/or instructions stored in a memory provided in the processing module. For example, the processing module 610 implements the relevant processes of the above-mentioned monochrome display method by implementing the computer program in the memory 620.
本申请实施例提供的电子设备,可以包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现如上述方法实施例中任一项的方法。The electronic device provided in the embodiments of the present application may include a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a method as described in any one of the above method embodiments is implemented.
本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行时实现可实现上述各个方法实施例中的步骤。An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
本申请实施例还提供一种芯片系统,所述芯片系统包括处理器,所述处理器与存储器耦合,所述处理器执行存储器中存储的计算机程序,以实现如上述各个方法实施例所述的方法。所述芯片系统可以为单个芯片,或者多个芯片组成的芯片模组。The present application also provides a chip system, which includes a processor coupled to a memory, and the processor executes a computer program stored in the memory to implement the methods described in the above method embodiments. The chip system can be a single chip or a chip module composed of multiple chips.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。此外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。In the above embodiments, the description of each embodiment has its own emphasis. For the part that is not described or recorded in detail in a certain embodiment, please refer to the relevant description of other embodiments. It should be understood that the size of the sequence number of each step in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. In addition, in the description of the present application specification and the attached claims, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance. The reference "one embodiment" or "some embodiments" described in the present application specification means that one or more embodiments of the present application include specific features, structures or characteristics described in combination with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in the different parts of this specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。 Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (12)

  1. 一种单色屏显示系统,其特征在于,包括处理模块、第一单色屏、第二单色屏和第三单色屏;A monochrome screen display system, characterized in that it comprises a processing module, a first monochrome screen, a second monochrome screen and a third monochrome screen;
    所述处理模块用于:获取第一移动产业处理器接口MIPI协议数据包,所述第一MIPI协议数据包包括图像数据,所述图像数据包括第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据;对所述第一MIPI协议数据包进行解析,得到所述图像数据后,从所述图像数据中提取所述第一颜色通道的数据、所述第二颜色通道的数据和所述第三颜色通道的数据;对所述第一颜色通道的数据进行组包操作,得到第二MIPI协议数据包,并向所述第一单色屏发送所述第二MIPI协议数据包;对所述第二颜色通道的数据进行组包操作,得到第三MIPI协议数据包,并向所述第二单色屏发送所述第三MIPI协议数据包;对所述第三颜色通道的数据进行组包操作,得到第四MIPI协议数据包,并向所述第三单色屏发送所述第四MIPI协议数据包;The processing module is used to: obtain a first mobile industry processor interface MIPI protocol data packet, the first MIPI protocol data packet includes image data, and the image data includes data of a first color channel, data of a second color channel, and data of a third color channel; parse the first MIPI protocol data packet, and after obtaining the image data, extract the data of the first color channel, the data of the second color channel, and the data of the third color channel from the image data; perform a packetization operation on the data of the first color channel to obtain a second MIPI protocol data packet, and send the second MIPI protocol data packet to the first monochrome screen; perform a packetization operation on the data of the second color channel to obtain a third MIPI protocol data packet, and send the third MIPI protocol data packet to the second monochrome screen; perform a packetization operation on the data of the third color channel to obtain a fourth MIPI protocol data packet, and send the fourth MIPI protocol data packet to the third monochrome screen;
    所述第一单色屏用于:接收所述第二MIPI协议数据包,对所述第二MIPI协议数据包进行解析,得到所述第一颜色通道的数据,并显示所述第一颜色通道的数据;The first monochrome screen is used to: receive the second MIPI protocol data packet, parse the second MIPI protocol data packet, obtain data of the first color channel, and display the data of the first color channel;
    所述第二单色屏用于:接收所述第三MIPI协议数据包,对所述第三MIPI协议数据包进行解析,得到所述第二颜色通道的数据,并显示所述第二颜色通道的数据;The second monochrome screen is used to: receive the third MIPI protocol data packet, parse the third MIPI protocol data packet, obtain data of the second color channel, and display the data of the second color channel;
    所述第三单色屏用于:接收所述第四MIPI协议数据包,对所述第四MIPI协议数据包进行解析,得到所述第三颜色通道的数据,并显示所述第三颜色通道的数据。The third monochrome screen is used to: receive the fourth MIPI protocol data packet, parse the fourth MIPI protocol data packet to obtain data of the third color channel, and display the data of the third color channel.
  2. 根据权利要求1所述的系统,其特征在于,所述处理模块包括第一逻辑单元、第二逻辑单元、第三逻辑单元和第四逻辑单元;The system according to claim 1, characterized in that the processing module includes a first logic unit, a second logic unit, a third logic unit and a fourth logic unit;
    所述第一逻辑单元分别与所述第二逻辑单元、所述第三逻辑单元和所述第四逻辑单元连接;The first logic unit is connected to the second logic unit, the third logic unit and the fourth logic unit respectively;
    所述第一逻辑单元用于:对所述第一MIPI协议数据包进行解析,得到所述图像数据;从所述图像数据中提取所述第一颜色通道的数据、所述第二颜色通道的数据和所述第三颜色通道的数据;向所述第二逻辑单元发送所述第一颜色通道的数据,向所述三逻辑单元发送所述第二颜色通道的数据,向所述第四逻辑单元发送所述第三颜色通道的数据;The first logic unit is used to: parse the first MIPI protocol data packet to obtain the image data; extract the data of the first color channel, the data of the second color channel and the data of the third color channel from the image data; send the data of the first color channel to the second logic unit, send the data of the second color channel to the third logic unit, and send the data of the third color channel to the fourth logic unit;
    所述第二逻辑单元用于:接收所述第一颜色通道的数据,对所述第一颜色通道的数据进行组包操作,得到所述第二MIPI协议数据包,并向所述第一单色屏发送所述第二MIPI协议数据包;The second logic unit is used to: receive the data of the first color channel, perform a packetization operation on the data of the first color channel to obtain the second MIPI protocol data packet, and send the second MIPI protocol data packet to the first monochrome screen;
    所述第三逻辑单元用于:接收所述第二颜色通道的数据,对所述第二颜色通道的数据进行组包操作,得到所述第三MIPI协议数据包,并向所述第二单色屏发送所述第三MIPI协议数据包;The third logic unit is used to: receive the data of the second color channel, perform a packetization operation on the data of the second color channel to obtain the third MIPI protocol data packet, and send the third MIPI protocol data packet to the second monochrome screen;
    所述第四逻辑单元用于:接收所述第三颜色通道的数据,对所述第三颜色通道的数据进行组包操作,得到所述第四MIPI协议数据包,并向所述第三单色屏发送所述第四MIPI协议数据包。The fourth logic unit is used to: receive the data of the third color channel, perform a packetization operation on the data of the third color channel to obtain the fourth MIPI protocol data packet, and send the fourth MIPI protocol data packet to the third monochrome screen.
  3. 根据权利要求2所述的系统,其特征在于,所述处理模块为现场可编程门阵列FPGA,所述第一逻辑单元、所述第二逻辑单元、所述第三逻辑单元和所述第四逻辑单元均为D-PHY或C-PHY。The system according to claim 2 is characterized in that the processing module is a field programmable gate array (FPGA), and the first logic unit, the second logic unit, the third logic unit and the fourth logic unit are all D-PHY or C-PHY.
  4. 根据权利要求2所述的系统,其特征在于,所述第一逻辑单元包括第五逻辑单元和数据处理单元;The system according to claim 2, characterized in that the first logic unit includes a fifth logic unit and a data processing unit;
    所述第五逻辑单元用于:对所述第一MIPI协议数据包进行解析,得到所述图像数据,并向所述数据处理单元发送所述图像数据;The fifth logic unit is used to: parse the first MIPI protocol data packet to obtain the image data, and send the image data to the data processing unit;
    所述数据处理单元用于:从所述图像数据中提取所述第一颜色通道的数据、所述第二颜色通道的数据和所述第三颜色通道的数据;向所述第二逻辑单元发送所述第一颜色通道的数据,向所述三逻辑单元发送所述第二颜色通道的数据,向所述第四逻辑单元发送所述第三颜色通道的数据。The data processing unit is used to: extract the data of the first color channel, the data of the second color channel and the data of the third color channel from the image data; send the data of the first color channel to the second logic unit, send the data of the second color channel to the third logic unit, and send the data of the third color channel to the fourth logic unit.
  5. 根据权利要求4所述的系统,其特征在于,所述处理模块为FPGA,所述第二逻辑单元、所述第三逻辑单元、所述第四逻辑单元和所述第五逻辑单元均为D-PHY或C-PHY。The system according to claim 4, characterized in that the processing module is an FPGA, and the second logic unit, the third logic unit, the fourth logic unit and the fifth logic unit are all D-PHY or C-PHY.
  6. 根据权利要求1至5任一项所述的系统,其特征在于,所述图像数据为RGB图像数据,所述第一颜色通道为R通道,所述第二颜色通道为G通道,所述第三颜色通道为B通道。The system according to any one of claims 1 to 5, characterized in that the image data is RGB image data, the first color channel is the R channel, the second color channel is the G channel, and the third color channel is the B channel.
  7. 根据权利要求1所述的系统,其特征在于,所述处理模块具体用于:接收来自片上系统SOC的所述第一MIPI协议数据包。 The system according to claim 1 is characterized in that the processing module is specifically used to: receive the first MIPI protocol data packet from the system on chip SOC.
  8. 一种单色屏显示方法,其特征在于,应用于处理模块,所述方法包括:A monochrome screen display method, characterized in that it is applied to a processing module, and the method comprises:
    获取第一移动产业处理器接口MIPI协议数据包,所述第一MIPI协议数据包包括图像数据,所述图像数据包括第一颜色通道的数据、第二颜色通道的数据和第三颜色通道的数据;Acquire a first mobile industry processor interface MIPI protocol data packet, wherein the first MIPI protocol data packet includes image data, and the image data includes data of a first color channel, data of a second color channel, and data of a third color channel;
    对所述第一MIPI协议数据包进行解析,得到所述图像数据后,从所述图像数据中提取所述第一颜色通道的数据、所述第二颜色通道的数据和所述第三颜色通道的数据;After parsing the first MIPI protocol data packet to obtain the image data, extracting data of the first color channel, data of the second color channel, and data of the third color channel from the image data;
    对所述第一颜色通道的数据进行组包操作,得到第二MIPI协议数据包,并向第一单色屏发送所述第二MIPI协议数据包;Performing a packetization operation on the data of the first color channel to obtain a second MIPI protocol data packet, and sending the second MIPI protocol data packet to the first monochrome screen;
    对所述第二颜色通道的数据进行组包操作,得到第三MIPI协议数据包,并向第二单色屏发送所述第三MIPI协议数据包;Performing a packetization operation on the data of the second color channel to obtain a third MIPI protocol data packet, and sending the third MIPI protocol data packet to the second monochrome screen;
    对所述第三颜色通道的数据进行组包操作,得到第四MIPI协议数据包,并向第三单色屏发送所述第四MIPI协议数据包。Perform a packetization operation on the data of the third color channel to obtain a fourth MIPI protocol data packet, and send the fourth MIPI protocol data packet to the third monochrome screen.
  9. 根据权利要求8所述的方法,其特征在于,所述处理模块为FPGA。The method according to claim 8, characterized in that the processing module is a FPGA.
  10. 根据权利要求8或9所述的方法,其特征在于,所述图像数据为RGB图像数据,所述第一颜色通道为R通道,所述第二颜色通道为G通道,所述第三颜色通道为B通道。The method according to claim 8 or 9 is characterized in that the image data is RGB image data, the first color channel is the R channel, the second color channel is the G channel, and the third color channel is the B channel.
  11. 一种电子设备,其特征在于,包括第一单色屏、第二单色屏、第三单色屏、处理模块、存储器、以及存储在所述存储器中并可在所述处理模块上运行的计算机程序,所述处理模块执行所述计算机程序时实现如权利要求8至10任一项所述的方法。An electronic device, characterized in that it includes a first monochrome screen, a second monochrome screen, a third monochrome screen, a processing module, a memory, and a computer program stored in the memory and executable on the processing module, wherein the processing module implements the method according to any one of claims 8 to 10 when executing the computer program.
  12. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求8至10任一项所述的方法。 A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method according to any one of claims 8 to 10.
PCT/CN2023/127439 2022-11-18 2023-10-28 Monochromatic screen display method and system, electronic device and computer-readable storage medium WO2024104096A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211444101.9 2022-11-18
CN202211444101.9A CN118057831A (en) 2022-11-18 2022-11-18 Single color screen display method, system, electronic device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2024104096A1 true WO2024104096A1 (en) 2024-05-23

Family

ID=91068515

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/127439 WO2024104096A1 (en) 2022-11-18 2023-10-28 Monochromatic screen display method and system, electronic device and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN118057831A (en)
WO (1) WO2024104096A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050111728A1 (en) * 2003-11-25 2005-05-26 Hall Ronald L. Monochrome and color transfer
CN208400468U (en) * 2018-07-27 2019-01-18 广东高云半导体科技股份有限公司 A kind of miniature display system based on mobile industry processor interface
CN112041919A (en) * 2018-04-09 2020-12-04 法国原子能及替代能源委员会 Method for transmitting a monochrome digital image via a transmission interface comprising a plurality of transmission channels
CN113448382A (en) * 2020-03-27 2021-09-28 华为技术有限公司 Multi-screen display electronic device and multi-screen display method of electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050111728A1 (en) * 2003-11-25 2005-05-26 Hall Ronald L. Monochrome and color transfer
CN112041919A (en) * 2018-04-09 2020-12-04 法国原子能及替代能源委员会 Method for transmitting a monochrome digital image via a transmission interface comprising a plurality of transmission channels
CN208400468U (en) * 2018-07-27 2019-01-18 广东高云半导体科技股份有限公司 A kind of miniature display system based on mobile industry processor interface
CN113448382A (en) * 2020-03-27 2021-09-28 华为技术有限公司 Multi-screen display electronic device and multi-screen display method of electronic device

Also Published As

Publication number Publication date
CN118057831A (en) 2024-05-21

Similar Documents

Publication Publication Date Title
US10459674B2 (en) Apparatus and methods for packing and transporting raw data
US8854345B2 (en) Monitor chaining and docking mechanism
TWI763781B (en) Method and system for supplying data to display apparatus
US8358656B2 (en) System and method for communication of uncompressed visual information through a network
US8886846B2 (en) Flexible implementation of serial bus support over display interface
US9497358B2 (en) Video latency reduction
US6798418B1 (en) Graphics subsystem including a RAMDAC IC with digital video storage interface for connection to a graphics bus
US11764996B2 (en) Streaming on diverse transports
US8918569B2 (en) Streaming audio visual content simultaneously to different topologies on a wireless adapter
KR102362054B1 (en) Display apparatus consisting a multi display system and control method thereof
US8458370B1 (en) Method and system for supporting multiple display interface standards
KR102249191B1 (en) Electronic device, controlling method thereof and display system comprising electronic device and a plurality of display apparatus
JP2006268483A (en) Data transfer controller and electronic apparatus
KR20170092596A (en) Virtualized display output ports configuration
JP2006267379A (en) Data transfer controller and electronic apparatus
CN108345559B (en) Virtual reality data input device and virtual reality equipment
US20100026692A1 (en) Hybrid graphic display
US20120281150A1 (en) Apparatus and method for multi-streaming for more than three pixel component values
EP4055468A1 (en) Artificial reality system using superframes to communicate surface data
US7929525B2 (en) System and method for adding transport layer to uncompressed visual information packets
WO2024104096A1 (en) Monochromatic screen display method and system, electronic device and computer-readable storage medium
JP2008310349A (en) Data transfer controller and electronic apparatus
US20190182531A1 (en) Video input port
TWI736937B (en) Method for synchronously adjusting screen settings and related devices
US8189681B1 (en) Displaying multiple compressed video streams on display devices