CN111193948B - Picture transmission and display method and system of display terminal - Google Patents

Picture transmission and display method and system of display terminal Download PDF

Info

Publication number
CN111193948B
CN111193948B CN202010013856.8A CN202010013856A CN111193948B CN 111193948 B CN111193948 B CN 111193948B CN 202010013856 A CN202010013856 A CN 202010013856A CN 111193948 B CN111193948 B CN 111193948B
Authority
CN
China
Prior art keywords
data packet
display terminal
picture data
module
display
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202010013856.8A
Other languages
Chinese (zh)
Other versions
CN111193948A (en
Inventor
闫至利
罗钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bupin Electronic Technology Co ltd
Original Assignee
Shanghai Bupin Electronic Technology Co ltd
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 Shanghai Bupin Electronic Technology Co ltd filed Critical Shanghai Bupin Electronic Technology Co ltd
Priority to CN202010013856.8A priority Critical patent/CN111193948B/en
Publication of CN111193948A publication Critical patent/CN111193948A/en
Application granted granted Critical
Publication of CN111193948B publication Critical patent/CN111193948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer

Abstract

The invention provides a method and a system for transmitting and displaying pictures of a display terminal, wherein the display terminal displays images by applying voltage to colored particles; the method for transmitting and displaying the pictures of the display terminal comprises the following steps: s1: acquiring an original picture to be displayed from an upper computer; s2: dividing the original picture into a plurality of pixel blocks; s3: dividing the pixel blocks into pixel block data packets of different colors; s4: compressing the pixel blocks with the same color by using a redundancy compression algorithm based on the color gray value, and compressing the pixel blocks into a preset format; s5: combining the compressed pixel block data packets into compressed picture data packets, and transmitting the compressed picture data packets to the display terminal; s6: and the display terminal receives the compressed picture data packet, generates decompressed picture data to be displayed according to the reverse analysis of the redundant compression algorithm, and displays the decompressed picture data through a display screen. The invention improves the transmission efficiency of the picture data.

Description

Picture transmission and display method and system of display terminal
Technical Field
The invention relates to an image transmission technology, in particular to a method and a system for transmitting and displaying pictures of a display terminal.
Background
In the prior art, an upper computer transmits picture data to a lower computer. When the picture format transmitted by the upper computer is a bmp or jpg file, certain requirements are imposed on the lower computer at the moment, for example, the frequency of a single chip of the lower computer is required to be higher. Because the bmp or jpg files need to be decoded, the common low-cost single chip microcomputer chip cannot meet the requirements.
When the lower computer is a display terminal, and the display terminal is provided with a high-resolution ink screen, for the ink screen, a bmp or jpg file has a large pixel, so that a general low-cost chip cannot meet the requirement of a memory space, cannot store large data, needs to improve the performance of the chip, and needs to be transmitted by Bluetooth or wifi, and the product cost is increased undoubtedly.
In addition, when picture data is transmitted, the picture data stream is large, the time consumption of the whole operation process is long, and errors, packet loss and other phenomena may exist in transmission, so that the time for data transmission is increased. Corresponding servers may need to be deployed, settings such as network IP may need to be configured, operation is complex, and deployment cost is high.
When the display terminal adopts an ink screen, the ink screen generally adopts an SPI or I2C mode, and the data writing time is longer. In addition, the upper computer picture data is completely issued to the ink screen for display, so according to the different sizes of the display screens, the picture pixels are different, the sizes of the picture data are also different, and for the traditional data transmission mode, the picture data are undoubtedly huge, so that the transmission time is greatly increased, the waiting time is too long, and the cost of the whole system is also increased. When a plurality of picture data need to be transmitted to a plurality of ink screen displays at the same time, the influence on the speed is very large.
Disclosure of Invention
Based on the above, the application provides a method and a system for transmitting and displaying pictures of a display terminal, which are used for solving the problem that when an upper computer sends picture files to the display terminal, the picture data transmission speed is low.
In order to achieve the above object, the present application provides a picture transmission and display method of a display terminal that displays an image by applying a voltage to colored particles; the method for transmitting and displaying the pictures of the display terminal comprises the following steps:
s1: acquiring an original picture to be displayed from an upper computer;
s2: dividing the original picture into a plurality of pixel blocks;
s3: dividing the pixel blocks into pixel block data packets of different colors;
s4: compressing the pixel blocks with the same color by using a redundancy compression algorithm based on the gray value of the color, and compressing the pixel blocks into a preset format;
s5: combining the compressed pixel block data packets into compressed picture data packets, and transmitting the compressed picture data packets to the display terminal;
s6: and the display terminal receives the compressed picture data packet, generates decompressed picture data to be displayed according to the reverse analysis of the redundant compression algorithm, and displays the decompressed picture data through a display screen.
In an embodiment of the present invention, before step S6, the method further includes performing packet transmission on the compressed picture data packet according to the size of the lower computer buffer.
In an embodiment of the present disclosure, in step S6, a first FLASH memory and a first processor are disposed in the display terminal, the first processor is provided with a first buffer, the display terminal receives the compressed picture data packet, stores the compressed picture data packet in the first FLASH memory, and displays the decompressed picture according to a reverse parsing of the redundancy compression algorithm after the first processor reads the compressed picture data packet from the first FLASH memory to the first buffer through an SPI interface until the compressed picture data packet is completely transmitted.
In an embodiment of the present disclosure, the display terminal is an electronic ink screen, and the picture to be displayed is displayed through the electronic ink screen.
In an embodiment of the present disclosure, decompression of the compressed picture data packet by the ink screen is implemented through a cyclic reverse parsing redundancy compression algorithm, so that the compressed picture data packet is decompressed to the first buffer for picture display.
In an embodiment of the present disclosure, in step S4, compressing the pixel blocks of the same color by using a redundancy compression algorithm, and compressing into predetermined format data, includes compressing a plurality of consecutive pixel blocks of the same color into predetermined format data, where the predetermined format data includes a data amount of a corresponding color and a color grayscale value.
In one embodiment of the present solution, said redundancy compression algorithm compresses said pixel blocks of 255 same colors into data of a predetermined format.
In an embodiment of the present disclosure, before transmitting the compressed picture data packet to the display terminal, in step S5, the method further includes transmitting the compressed picture data packet to a base station, and transmitting the compressed picture data packet to the display terminal through the base station;
a second FLASH memory and a second processor are arranged in the base station, and the second processor is provided with a second buffer area;
the base station is respectively in signal connection with the upper computer and the display terminal;
and the base station receives each compressed picture data packet transmitted by the upper computer, stores the compressed picture data packet into the second FLASH memory, and the second processor reads data from the second FLASH memory into the second buffer area and transmits the data to the display terminal in a subpackaging manner until all the compressed picture data packets are received.
In an embodiment of the present disclosure, the data transmission mode between the upper computer and the base station may be, but is not limited to, USB, RS232, RS485, TCP/IP, Wifi communication.
In order to achieve the above object, the present application also provides a system for picture transmission and display, the system comprising: the system comprises an upper computer and a plurality of display terminals;
the host computer includes: the device comprises an acquisition module, a segmentation module, a classification module, a compression module and a first transmission module;
the acquisition module is used for acquiring an original picture to be displayed from an upper computer;
the segmentation module is used for segmenting the original picture into a plurality of pixel blocks;
the classification module is used for dividing the pixel blocks into pixel block data packets with different colors;
the compression module compresses the pixel blocks with the same color by using a redundancy compression algorithm based on the color gray value and compresses the pixel blocks into a preset format;
the first transmission module is used for combining the compressed pixel block data packets into compressed picture data packets and transmitting the compressed picture data packets to the display terminal;
the display terminal includes: the device comprises a first receiving module, a first storage module, a decompression module and a display module;
the first receiving module is used for receiving the compressed picture data packet sent by the upper computer;
the first storage module is used for storing the compressed picture data packet received by the first receiving module;
the decompression module is used for generating a decompressed picture data packet to be displayed according to the reverse analysis of a redundant compression algorithm after the compressed picture data packet is stored in the first storage module;
the display module is used for displaying the decompressed picture data packet.
In an embodiment of the present disclosure, the present disclosure further includes a base station; the base station comprises a second receiving module, a second storage module and a second transmission module;
the second receiving module is used for receiving the compressed picture data packet transmitted by the first transmitting module;
the second storage module is used for storing the compressed picture data packet of the second receiving module;
and the second transmission module is used for transmitting the complete compressed picture data packet to the display terminal after the complete compressed picture data packet is stored in the second storage module.
Compared with the prior art, the image transmission method provided by the application divides and compresses the original image, and transmits the original image to the lower computer in a sub-packet mode according to the size of the buffer area of the lower computer, so that the transmission rate of image data is improved. And the working efficiency of the system is improved on the basis of not improving the hardware cost.
Drawings
FIG. 1 is a schematic flow chart of an embodiment of the present invention for image transmission and display;
FIG. 2 is a schematic diagram of an embodiment of the present invention for image transmission and display;
FIG. 3 is a schematic diagram of another embodiment of the present invention for picture transmission and display;
FIG. 4 is a system block diagram of an embodiment of the present invention for picture transmission and display;
FIG. 5 is a block diagram illustrating a functional structure for picture transmission and display according to the present invention;
FIG. 6 is a system diagram of another embodiment of the present invention for picture transmission and display;
fig. 7 is a schematic block diagram of another functional structure for picture transmission and display according to the present invention.
Reference numerals: 100-upper computer, 200-display terminal, 300-base station, 211-first FLASH memory, 212-first processor, 213-first buffer, 214-display screen, 311-second FLASH memory, 312-second processor, 313-second buffer, 121-acquisition module, 122-segmentation module, 123-classification module, 124-compression module, 125-first transmission module, 221-first receiving module, 222-first storage module, 223 decompression module, 224-display module, 321-second receiving module, 322-second storage module, 323 second transmission module.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings.
Definitions of terms used in this application
An upper computer: refer to Windows application, Linux application, Mac application, android application, IOS application, etc., for controlling or communicating with applications of the lower computer.
A base station: the device is inserted into a computer end for communicating with a display terminal and an upper computer, and when the upper computer cannot communicate with the display terminal directly, the device needs to transmit signals such as wired signals and wireless signals.
A display terminal: the display terminal is provided with a display component by taking the singlechip as a core.
Referring to fig. 1, a method for picture transmission and display of a display terminal, the display terminal in this embodiment displays an image by applying a voltage to colored particles; the method of picture transmission and display of the display terminal includes steps S1, S2, S3, S4, and S5.
Step S1: an original picture to be displayed is acquired from the upper computer 100.
The upper computer 100 in this embodiment may be a computer or a mobile terminal, and sends an original image to be displayed to the lower computer in a wireless or wired manner, and the lower computer may be a base station for relaying or a display terminal.
In an optional implementation manner, the original picture can be obtained through a photographing mode, or the original picture pre-stored in the upper computer can be obtained through an adding mode.
Further, the original picture in the present embodiment may be an original picture obtained from a picture locally stored in the upper computer 100. In this embodiment, one picture may be selected from the pictures locally stored in the upper computer as the original picture, and further, one picture may be selected from the pictures locally stored in the upper computer 100 as the original picture according to a selection instruction for obtaining a picture triggered by a user, or one picture may be randomly selected from the pictures locally stored in the upper computer 100 as the original picture, which is not limited in this embodiment. In addition, the picture pre-stored in the upper computer 100 may be a picture acquired by a camera of the upper computer 100, or may be a picture transmitted or downloaded by other devices, for example, downloaded from the outside of a server, or transmitted by other terminals in the current upper computer 100, which is not limited in this embodiment.
In another alternative embodiment, the original picture may be acquired by a camera of the upper computer 100. In this embodiment, the original picture may be obtained by a front camera built in the upper computer 100, the picture may be obtained by a rear camera of the upper computer 100, and the picture may also be obtained by an external camera of the upper computer 100. When the camera is externally connected, the camera can be connected to the terminal equipment in a wired connection mode, and can also be connected to the terminal equipment in a wireless connection mode. In practical application, the wireless connection mode includes but is not limited to WIFI connection, bluetooth connection, and ZigBee connection, and this embodiment is not limited.
Step S2: and dividing the original picture into a plurality of pixel blocks.
Further, in order to perform lossless compression on an original picture, the present embodiment first divides the original picture into several pixel blocks using pixel-level coding. Of course, in order to segment the original image, image pre-processing, such as graying, gaussian filtering, etc., is generally performed on the original image before encoding.
Step S3: the pixel blocks are divided into pixel block data packets of different colors.
The pixel block division method in this embodiment is to divide the pixel block into pixel block data packets of different colors based on the display principle of the display terminal 200. Further, the display terminal presents an image by applying a voltage to the colored particles to move the colored particles to be stacked together. The color of the colored particles is fixed, and the gray scale of the color can be presented only by the number of the stacked colored particles, the display terminal in the embodiment has a single color and multiple colors, and correspondingly supports a single color or multiple colors, of course, the multiple colors also need to be within the color range specified by the display terminal, and therefore, the image to be displayed also needs to be the corresponding color.
Further, the display principles of different display terminals 200 are different, for example, the original picture acquired by the upper computer 100 is a color picture with three channels of RGB, and in an embodiment, when the lower computer is an ink screen, the original picture cannot be displayed, so that the original picture needs to be subjected to corresponding color processing, so that the ink screen can display the picture corresponding to the original picture.
The upper computer 100 obtains an original picture to be displayed, and the original picture is subjected to pixel-level coding and is divided into a plurality of pixel blocks. In one embodiment, the plurality of pixel blocks includes a plurality of colors. According to the display data principle of the display terminal 200, the plurality of pixel blocks are divided into pixel block data packets of different colors, and the pixel block corresponding to the same color is one pixel block data packet.
Step S4: and compressing the pixel blocks with the same color by using a redundancy compression algorithm based on the color gray value, and compressing the pixel blocks into a preset format.
In step S4, compressing the pixel blocks of the same color by using a redundant compression algorithm and compressing into predetermined format data, further comprising compressing several consecutive pixel blocks of the same color into predetermined format data, thereby implementing compression of the pixel block data packets of each color. The predetermined format data includes a data amount of a corresponding color and a color grayscale value.
Further, in this embodiment, the pixel blocks of the respective colors are compressed by using a redundant compression algorithm based on the color grayscale values. Firstly, a pixel block data packet of one color is taken for compression, and then a pixel block of another color is taken for compression.
In step S4, the redundancy compression algorithm in the present embodiment compresses the predetermined format data using 255 pixel blocks of the same color. Wherein 255 occupies one byte, in this embodiment, at most 255 identical data constitute 2 bytes of data, and there is identical data, and another data packet, for example, contains 300 consecutive data 80, then the redundancy result first frame is "255, 80", the second frame is "45, 80", and always occupies 4 bytes, instead of "300, 80", wherein the data type of "300" is a short type and occupies 2 bytes, so always occupies 3 bytes, although "300, 80" seems to be higher in compression ratio, in a general image, images continuously exceeding 255 identical color patches are not common, so in this method, no matter how large the data amount of the original image is, 3 bytes are occupied, and the data amount becomes more instead.
In one embodiment, the original image obtained in the upper computer 100 is represented by RGB three channels, and the range value is 0-255 to represent the range of a single color, in this way, some display screens on the display terminal 200 cannot display the original image, such as an ink screen. Therefore, the original image needs to be processed correspondingly, in this embodiment, the original picture to be displayed is decomposed, pixel-level coding of the original image is performed first, and the original picture is divided into a plurality of coded pixel blocks. Each pixel block corresponds to a color, and the pixel blocks corresponding to the colors are separated, for example, a black pixel block is taken out first, the black pixel block is taken out completely, the black pixel block is marked as 1, and the pixel block without black is marked as 0, so that a black pixel block data packet is formed; taking a red pixel block, and expressing the red pixel block as 1 and marking the pixel block without red as 0 to form a red pixel block data packet in the same way; if pixel blocks with other colors exist, the analogy is repeated, and finally all the pixel blocks are spliced to form a data packet corresponding to the pixel block.
Further, in this embodiment, based on the color gray values, the data packet composed of the pixel blocks of each color is compressed by using a redundancy compression algorithm. Wherein, a data packet of one color pixel block is taken first, for example, a data packet composed of black pixel blocks is taken first, and then a data packet composed of red pixel blocks is taken, for a single chip microcomputer, the data is large, for example, a 7-inch ink screen is adopted, the resolution of the 7-inch ink screen is 880 × 528, 464640 pixel positions are total, an original picture to be displayed has 929280 pixel points, each 8 pixel points are 1 byte, 116160 bytes are total, that is, the size of the original picture is 113.4375KB, the size of the original picture is not considered for a computer, a mobile phone and wifi, but for the single chip microcomputer, if the original picture is transmitted by RS2323, RS485, 2.4G, Bluetooth and the like, the load capacity is large, therefore, the transmission rate is slow, the memory of a chip in the single chip microcomputer cannot be large, and therefore the original picture needs to be compressed, the method reduces the pixel points of the original picture, improves the transmission rate and simultaneously reduces the requirements on the single chip microcomputer.
Further, in one embodiment, the redundancy compression algorithm for data packet compression is to identify the same data by a number, where the previous number indicates how many consecutive same data follow, for example, "252, 80", indicates 252 consecutive 80 data follow, by which method space is saved, pixel points are reduced, and transmission speed is increased. Further, in the decompression, a cyclic reverse analysis redundancy compression algorithm is adopted, for example, a compressed picture data packet is "25, 80", which indicates 25 consecutive 80 data, and then the reverse analysis is performed by writing the data 80 circularly 25 times, so that the decompression of the data packet can be realized.
Step S5: and combining the compressed pixel block data packets into a compressed picture data packet, and transmitting the compressed picture data packet to a display terminal.
In step S5, the compressed pixel block data packets are combined into a plurality of compressed picture data packets with a preset size, where the "preset size" of the compressed picture data packets with a preset size is processed by data packetization according to the size specification of the chip memory in the lower computer.
Step S6: the display terminal 200 receives the compressed picture data packet, generates a decompressed picture data packet to be displayed according to the reverse analysis of the redundant compression algorithm, and displays the decompressed picture data packet through the display screen.
And receiving each compressed picture data packet through the display terminal 200, performing reverse analysis according to a redundant compression algorithm after all the compressed picture data packets are received, generating a decompressed picture data packet to be displayed, and displaying the decompressed picture data packet through a display screen on the display terminal.
Before step S6, performing packet transmission according to the size of the lower computer buffer. Further, in order to improve the efficiency of picture data transmission, the present embodiment adopts a method of compressing picture data and then performing packet transmission.
In step S5, the display terminal 200 is provided with a first FLASH memory 211 and a first processor 212, the first processor 212 is provided with a first buffer 213, the display terminal 200 receives the compressed picture data packet, stores the compressed picture data packet in the first FLASH memory 211, and displays the decompressed picture according to the reverse analysis of the redundant compression algorithm after the first processor 212 reads the compressed picture data packet from the first FLASH memory 211 to the first buffer 213 through the SPI interface until the transmission of the compressed picture data packet is completed.
Referring to fig. 2, in an embodiment, the system includes an upper computer 100 and a display terminal 200, and the upper computer 100 directly transmits picture data to the display terminal 200; in another embodiment, referring to fig. 3, the display device includes an upper computer 100, a base station 300 and a display terminal 200, wherein the upper computer 100 first transmits the picture data to the base station 300, and then transmits the picture data from the base station 300 to the display terminal 200.
Further, in one embodiment, referring to fig. 2, the system comprises an upper computer 100 and a display terminal 200.
In the present embodiment, the display terminal 200 is used as a lower computer of the upper computer 100, and meanwhile, the display screen 214 provided on the display terminal 200 is a display part of the display terminal 200. The display terminal 200 includes a first FLASH memory 211 and a first processor 212, the first processor 212 is provided with a first buffer 213, and the first buffer 213 of the display terminal 200 in this embodiment adopts a cache memory for data transmission, and reads and decompresses the compressed picture data packet in the first FLASH memory 211 to the first buffer 213.
The display terminal 200 stores the compressed picture data packet sent by the upper computer 100 in the first FLASH memory 211, and reads the compressed picture data packet in the first FLASH memory 211 to the first buffer 213 through the SPI for decompression and display after the compressed picture data packet is received.
Further, the display terminal 200 in this embodiment is an ink screen, and displays a picture to be displayed through the ink screen. The decompression of the compressed picture data packet by the ink screen is realized through a cyclic reverse analysis redundancy compression algorithm, so that the compressed picture data packet is decompressed to the first buffer area 213 for picture display.
In another embodiment, referring to fig. 3, the display device includes an upper computer 100, a base station 300 and a display terminal 200, wherein the upper computer 100 first transmits the picture data to the base station 300, and then transmits the picture data from the base station 300 to the display terminal 200.
Before step S5, transmitting each compressed picture packet to the display terminal 200 by the base station 300; the base station 300 is provided with a second FLASH memory 311 and a second processor 312, and the second processor 312 is provided with a second buffer 312. The base station 300 is in signal connection with the upper computer 100 and the display terminal 200, respectively, after receiving each compressed picture data packet transmitted by the upper computer 100, the base station 300 stores the compressed picture data packet into the second FLASH memory 311, and until all the compressed picture data packets are received, the second processor 312 reads data from the second FLASH memory 311 into the second buffer 312, and the data packets are transmitted to the display terminal 200 in a sub-packet manner.
Further, the display terminal 200 includes a first FLASH memory 211 and a first buffer 213, and the first buffer 213 of the display terminal 200 employs a cache memory to read the compressed picture data packet in the first FLASH memory 211 into the first buffer 213 for decompression. The display terminal 200 stores the compressed picture data packets sent by the upper computer 100 in a subpackage manner into the first FLASH memory 211, and reads the compressed picture data packets in the first FLASH memory 211 to the first buffer area 213 through the SPI for decompression and display until all the compressed picture data packets are completely received.
The data transmission mode between the upper computer 100 and the base station 300 can be, but is not limited to, USB, RS232, RS485, TCP/IP, Wifi communication.
With reference to fig. 4-5, the present application further provides a system for picture transmission and display, the system comprising: the system comprises an upper computer 100 and a plurality of display terminals 200;
the upper computer 100 includes: an obtaining module 121, a dividing module 122, a classifying module 123, a compressing module 124, and a first transmitting module 125.
The obtaining module 121 is configured to obtain an original picture to be displayed from the upper computer 100. The dividing module 122 is configured to divide the original picture into a plurality of pixel blocks. The classification module 123 is used to divide the pixel blocks into pixel block data packets of different colors. The compression module 124 compresses the pixel blocks of the same color based on the color grayscale values using a redundant compression algorithm and into a predetermined format. The first transmission module 125 is configured to combine the compressed pixel block data packets into a compressed picture data packet, and transmit the compressed picture data packet to the display terminal.
Host computer 100 transmits the compressed picture data package to each display terminal 200 in proper order, and further, display terminal 200 includes: a first receiving module 221, a first storing module 222, a decompressing module 223, and a displaying module 224.
The first receiving module 221 is configured to receive a compressed picture data packet. The first storage module 222 is configured to store each compressed picture data packet received by the first receiving module 221. The decompression module 223 is configured to generate decompressed picture data to be displayed according to a reverse analysis of the redundant compression algorithm after all the compressed picture data packets are stored in the first storage module 222. The display module 224 is used for displaying the decompressed picture data.
Referring to fig. 6-7, a system for picture transmission and display, the system comprising: the system comprises an upper computer 100 and a plurality of display terminals 200; further comprising a base station 300; the base station 300 comprises a second receiving module 321, a second storage module 322, and a second transmission module 323;
the second receiving module 321 is configured to receive the compressed picture data packet transmitted by the first transmitting module 125;
the second storage module 322 is configured to store each compressed picture data packet of the second receiving module 321;
the second transmission module 323 is configured to store the complete compressed picture data packet in the second storage module 322, and then transmit the complete compressed picture data packet to the display terminal.
The present invention has been described in terms of specific examples, which are provided to aid understanding of the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.

Claims (9)

1. A picture transmission and display method of a display terminal is applied to an electronic ink screen, and is characterized in that the picture transmission and display method of the display terminal comprises the following steps:
s1: acquiring an original picture to be displayed from an upper computer, wherein the original picture is represented by RGB three channels, and a range value of 0-255 is used for representing the range of a single color;
s2: utilizing pixel level coding to divide the original picture into a plurality of pixel blocks;
s3: according to the fact that each pixel block corresponds to one color, the pixel blocks corresponding to the colors are separated out, and the pixel blocks are divided into pixel block data packets with different colors;
s4: compressing the pixel block data packets of different colors by utilizing a lossless redundancy compression algorithm based on the color gray value, and compressing the pixel block data packets into a preset format;
compressing a plurality of continuous pixel blocks with the same color into data in a preset format, so as to compress pixel block data packets of each color, wherein the data in the preset format comprises data volume and color gray value of corresponding color;
firstly, compressing a pixel block data packet of one color, then compressing a pixel block of another color, and so on, wherein the redundancy compression algorithm adopts 255 pixel blocks of the same color to compress data in a preset format;
s5: combining the compressed pixel block data packets of all colors into a compressed picture data packet, and transmitting the compressed picture data packet to the display terminal;
s6: and the display terminal receives the compressed picture data packet, generates decompressed picture data to be displayed according to the reverse analysis of the redundant compression algorithm, applies voltage to the colored particles to enable the colored particles to move and to be stacked together, and displays images through the display screen.
2. The picture transmission and display method of a display terminal according to claim 1, further comprising, before the step S6, packetizing the compressed picture data packet according to a size of the lower machine buffer.
3. The method for picture transmission and display of a display terminal according to claim 2, wherein in step S6, a first FLASH memory and a first processor are disposed in the display terminal, the first processor is disposed with a first buffer, the display terminal receives the compressed picture data packet, stores the compressed picture data packet in the first FLASH memory, and displays a decompressed picture according to a reverse parsing of the redundant compression algorithm after the compressed picture data packet is transmitted and the first processor reads the compressed picture data packet from the first FLASH memory to the first buffer through an SPI interface.
4. The method for picture transmission and display of a display terminal according to claim 3, wherein the display terminal is an electronic ink screen, and the picture to be displayed is displayed through the electronic ink screen.
5. The method as claimed in claim 4, wherein the decompression of the compressed picture data packet by the ink screen is implemented by a cyclic backward parsing redundancy compression algorithm, so that the compressed picture data packet is decompressed to the first buffer for picture display.
6. The method for picture transmission and display of a display terminal according to claim 1 or 3, wherein before transmitting the compressed picture data packet to the display terminal in step S5, further comprising transmitting the compressed picture data packet to a base station, transmitting the compressed picture data packet to the display terminal through the base station;
a second FLASH memory and a second processor are arranged in the base station, and the second processor is provided with a second buffer area;
the base station is respectively in signal connection with the upper computer and the display terminal;
and the base station receives each compressed picture data packet transmitted by the upper computer, stores the compressed picture data packet into the second FLASH memory, and the second processor reads data from the second FLASH memory into the second buffer area and transmits the data to the display terminal in a subpackaging manner until all the compressed picture data packets are received.
7. The method as claimed in claim 6, wherein the data transmission mode between the upper computer and the base station is USB, RS232, RS485, TCP/IP, Wifi communication.
8. A picture transmission and display system of a display terminal, the system comprising: the system comprises an upper computer and a plurality of display terminals; the display terminal is an electronic ink screen;
the host computer includes: an acquisition module, a segmentation module, a classification module, a compression module, a first transmission module,
the acquisition module is used for acquiring an original picture to be displayed from an upper computer, wherein the original picture is represented by RGB three channels, and a range value of 0-255 is used for representing the range of a single color;
the segmentation module is used for segmenting the original picture into a plurality of pixel blocks by utilizing pixel-level coding;
the classification module is used for separating the pixel blocks with corresponding colors according to the fact that each pixel block corresponds to one color, so that the pixel blocks are divided into pixel block data packets with different colors;
the compression module compresses the pixel block data packets with different colors by utilizing a lossless redundancy compression algorithm based on the color gray value and compresses the pixel block data packets into a preset format;
compressing a plurality of continuous pixel blocks with the same color into data in a preset format, so as to compress pixel block data packets of each color, wherein the data in the preset format comprises data volume and color gray value of corresponding color;
firstly, compressing a pixel block data packet of one color, then compressing a pixel block of another color, and so on, wherein the redundancy compression algorithm adopts 255 pixel blocks of the same color to compress data in a preset format;
the first transmission module is used for combining the compressed pixel block data packets of all colors into a compressed picture data packet and transmitting the compressed picture data packet to the display terminal;
the display terminal includes: the device comprises a first receiving module, a first storage module, a decompression module and a display module;
the first receiving module is used for receiving the compressed picture data packet sent by the upper computer;
the first storage module is used for storing the compressed picture data packet received by the first receiving module;
the decompression module is used for generating decompressed picture data to be displayed according to the reverse analysis of a redundant compression algorithm after the compressed picture data packet is stored in the first storage module, and applying voltage to the colored particles to enable the colored particles to move and be stacked together;
the display module is used for displaying the decompressed picture data.
9. The picture transmission and display system of a display terminal of claim 8, further comprising a base station; the base station comprises a second receiving module, a second storage module and a second transmission module;
the second receiving module is used for receiving the compressed picture data packet transmitted by the first transmitting module;
the second storage module is used for storing the compressed picture data packet of the second receiving module;
and the second transmission module is used for transmitting the complete compressed picture data packet to the display terminal after the complete compressed picture data packet is stored in the second storage module.
CN202010013856.8A 2020-01-07 2020-01-07 Picture transmission and display method and system of display terminal Active CN111193948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010013856.8A CN111193948B (en) 2020-01-07 2020-01-07 Picture transmission and display method and system of display terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010013856.8A CN111193948B (en) 2020-01-07 2020-01-07 Picture transmission and display method and system of display terminal

Publications (2)

Publication Number Publication Date
CN111193948A CN111193948A (en) 2020-05-22
CN111193948B true CN111193948B (en) 2022-06-24

Family

ID=70709861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010013856.8A Active CN111193948B (en) 2020-01-07 2020-01-07 Picture transmission and display method and system of display terminal

Country Status (1)

Country Link
CN (1) CN111193948B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737198A (en) * 2020-07-10 2020-10-02 广州今甲智能科技有限公司 Method for improving expression playing frame rate of robot and robot
CN112308937A (en) * 2020-10-29 2021-02-02 安乃达驱动技术(上海)股份有限公司 Method and system for displaying graph on TFT (thin film transistor) screen
CN112512025A (en) * 2020-11-20 2021-03-16 广东公信智能会议股份有限公司 Picture transmission method applied to electronic table board
CN112565772B (en) * 2020-11-27 2022-07-19 雅量商业智能技术(广州)有限公司 Picture compression and decompression method based on electronic price tags
CN114301983A (en) * 2021-11-18 2022-04-08 江西兴泰科技有限公司 Method and system for compressing bytes of electronic ink screen picture, electronic equipment and storage medium
CN116719649A (en) * 2022-09-01 2023-09-08 荣耀终端有限公司 Session notification prompting method, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523367A (en) * 2011-12-29 2012-06-27 北京创想空间商务通信服务有限公司 Real-time image compression and reduction method based on plurality of palettes
CN103327328A (en) * 2007-06-28 2013-09-25 三菱电机株式会社 Image encoding device and image decoding device
CN103870223A (en) * 2012-12-11 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104992680A (en) * 2015-08-04 2015-10-21 广州文石信息科技有限公司 Electronic ink screen graying method
CN107566733A (en) * 2017-09-29 2018-01-09 深圳市聚宝汇科技有限公司 A kind of picture transmission method and system
CN109992159A (en) * 2019-03-29 2019-07-09 联想(北京)有限公司 A kind of electronic equipment and display control method
CN110235176A (en) * 2019-04-17 2019-09-13 京东方科技集团股份有限公司 Processing method and processing device, data transmission method and device, the storage medium of image

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272442B (en) * 2007-03-21 2010-05-26 杭州波导软件有限公司 Digital image nondestructive compression method and device, resolution method and image encoder
US8587597B2 (en) * 2009-10-06 2013-11-19 Ricoh Co., Ltd. Page transitions on electronic paper displays
US10699662B2 (en) * 2016-09-12 2020-06-30 Novatek Microelectronics Corp. Integrated circuit for driving display panel and method thereof
CN108900843B (en) * 2018-07-31 2021-08-13 高创(苏州)电子有限公司 Monochrome image compression method, apparatus, medium, and electronic device
CN109451317A (en) * 2018-12-27 2019-03-08 郑州云海信息技术有限公司 A kind of image compression system and method based on FPGA

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327328A (en) * 2007-06-28 2013-09-25 三菱电机株式会社 Image encoding device and image decoding device
CN102523367A (en) * 2011-12-29 2012-06-27 北京创想空间商务通信服务有限公司 Real-time image compression and reduction method based on plurality of palettes
CN103870223A (en) * 2012-12-11 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104992680A (en) * 2015-08-04 2015-10-21 广州文石信息科技有限公司 Electronic ink screen graying method
CN107566733A (en) * 2017-09-29 2018-01-09 深圳市聚宝汇科技有限公司 A kind of picture transmission method and system
CN109992159A (en) * 2019-03-29 2019-07-09 联想(北京)有限公司 A kind of electronic equipment and display control method
CN110235176A (en) * 2019-04-17 2019-09-13 京东方科技集团股份有限公司 Processing method and processing device, data transmission method and device, the storage medium of image

Also Published As

Publication number Publication date
CN111193948A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN111193948B (en) Picture transmission and display method and system of display terminal
CN109348226B (en) Picture file processing method and intelligent terminal
CN111726634B (en) High-resolution video image compression transmission method and system based on FPGA
CN104376830B (en) Data processing equipment and Correlation method for data processing method
CN109831668B (en) Data compression method and device, data coding/decoding method and device
CN108900843A (en) Monochrome image compression method, device, medium and electronic equipment
US10411727B1 (en) High throughput hardware unit providing efficient lossless data compression in convolution neural networks
CN103124350B (en) Based on method for compressing image and the device of RLE
EP3104613A1 (en) Video processing system
CN111625211B (en) Screen projection method and device, android device and display device
TW201806386A (en) Image compression method and apparatus
CN110728725B (en) Hardware-friendly real-time system-oriented lossless texture compression method
CN103581684A (en) Compression encoding and decoding method and apparatus
CN106656195A (en) Data compression decompression method and data compression decompression system
KR100834439B1 (en) Compression and decompression device of graphic data and therefor method
CN205105347U (en) Video wireless transmission equipment, video playback devices and system
JP2004128776A (en) Image compression method and transmitting apparatus using the same
CN113573059B (en) Image display method, image display apparatus, storage medium, and electronic apparatus
CN110545446B (en) Desktop image encoding and decoding methods, related devices and storage medium
CN105704215B (en) Shared file system and corresponding document sending method and device
CN113127637A (en) Character restoration method and device, storage medium and electronic device
CN111316644A (en) Image encoding method, image decoding method, and applicable devices and systems
KR20100018965A (en) System and method for providing web-page screen in mobile communication unit
EP3635953B1 (en) Electronic device for high-speed compression processing of feature map of cnn utilizing system and controlling method thereof
CN110868391A (en) Remote transmission method, system and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant