CN-121985069-A - Data transmission display method between mobile device and external display device
Abstract
The invention discloses a data transmission display method between mobile equipment and external display equipment, which comprises the steps of uniformly converting message content to be displayed into binary dot matrix data through the mobile equipment, adopting a combined algorithm comprising stroke coding and dictionary compression to perform high-efficiency compression, then packaging the compressed data and display parameters into a special binary protocol packet, transmitting the special binary protocol packet to the display equipment through wireless communication, directly analyzing and decompressing the dot matrix data by the display equipment, and controlling a screen to perform self-adaptive display according to the display parameters. The invention overcomes the dependence of the traditional text transmission mode on the word stock of the display equipment, obviously reduces the hardware resource expenditure, and simultaneously realizes the efficient transmission of the complex message format and the dynamic and diverse display effect through the efficient compression and flexible protocol, thereby being particularly suitable for embedded scenes such as intelligent displays, vehicle-mounted screens and the like.
Inventors
- YI KE
- CHEN MEIJIN
- YU HEBAO
Assignees
- 冠捷电子科技(福建)有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260212
Claims (9)
- 1. A data transmission display method between a mobile device and an external display device is characterized by comprising the following steps: the mobile equipment identifies message characteristics from the message content to be displayed and converts the message characteristics into binary dot matrix data, wherein the message characteristics at least comprise message types and display parameters; compressing the binary dot matrix data by using a preset compression algorithm; Packaging the message characteristics and the compressed dot matrix data into a data packet, and transmitting the data packet to display equipment through a preset message protocol; the display equipment receives and analyzes the data packet and decompresses the compressed dot matrix data; the display device displays the message content on the screen according to the decompressed dot matrix data.
- 2. A method for data transmission display between a mobile device and an external display device as defined in claim 1, wherein the message characteristics include font size, font model, font color, message nickname, message time, message content, message space, message linefeed.
- 3. The method for data transmission and display between mobile equipment and external display equipment according to claim 1, wherein the message content to be displayed is converted into binary dot matrix data according to set fonts, font sizes and layouts, the message content comprises characters, icons and pictures, and the characters are converted by using a font rendering engine of a mobile equipment system, and the icons and pictures are subjected to binarization conversion processing.
- 4. A data transmission display method between a mobile device and an external display device according to claim 1, wherein the compression algorithm comprises Run Length Encoding (RLE) for consecutive identical pixels, dictionary compression for icon, space and line feed special encoding, and differential encoding for adjacent line similarity encoding.
- 5. The method for displaying data between mobile device and external display device according to claim 1, wherein the compressed data format of spaces is [0x01] [ number (n) ], n is the number of spaces, and a preset special coding mark is adopted for wrapping.
- 6. The method for displaying data between mobile device and external display device according to claim 1, wherein the predetermined message protocol is a binary protocol including a header, a version, a command type, a data length, a data content and a check field, the command type distinguishing between different message types, the data content including compressed dot matrix data and display parameters.
- 7. The method for displaying data transmission between mobile device and external display device according to claim 1, wherein the mobile device transmits the data packet to the display device via the Bluetooth module, the Bluetooth module of the display device forwards the data to the image processing chip of the display device via the serial port, the image processing chip parses the data packet of the preset message protocol, decompresses the dot matrix data and adjusts the OSD window according to the display parameters to output the dot matrix data to the screen of the display device.
- 8. The method for displaying data transmission between a mobile device and an external display device according to claim 1, wherein the display device displays the message content on the screen according to the decompressed dot matrix data, which is implemented as follows: Sequentially identifying each data bit in the dot matrix data to obtain message characteristics, directly drawing a message window on the OSD, displaying the message content according to the message characteristics, and adaptively adjusting the height of the message window according to the number of lines of the dot matrix data; the identification processing of the dot matrix data is realized as follows: If yes, directly displaying the icon, otherwise, identifying the corresponding icon code from the dot matrix data, and calling the pre-stored icon corresponding to the display device for display; when the corresponding data bit of the dot matrix data is identified as a space, skipping and freeing the space of the equal word number position so as to directly display the next character, and when the corresponding data bit of the dot matrix data is identified as a line feed character, processing according to the line feed format and then displaying the next section of starting character.
- 9. The method for displaying data between a mobile device and an external display device according to claim 1, wherein when the display device is a low-color display device, the display device provides a prestored retrieving display method for icons and pictures with low colors, and the method is specifically implemented as follows: The method comprises the steps of analyzing color information contained in icons or pictures when the mobile device generates dot matrix data, comparing the color information with the color display capability of the display device obtained in advance, setting a special color capability identification bit when the mobile device packages a transmission protocol data packet of the dot matrix data to indicate whether the currently transmitted icons/picture data exceeds the color rendering range of the display device, analyzing the color capability identification bit by the display device, directly using the dot matrix data in the data packet to display when the color display range of the display device is not exceeded, ignoring the dot matrix data in the data packet when the color display range of the display device is exceeded, and calling the corresponding image data from a locally pre-stored low-color icon library to display according to the unique identification of the corresponding picture of the dot matrix data.
Description
Data transmission display method between mobile device and external display device Technical Field The invention relates to the technical field of display equipment interconnection, in particular to a data transmission display method between mobile equipment and external display equipment. Background With the popularization of mobile internet technology, mobile devices (such as smart phones) and external display devices (such as smart displays, vehicle-mounted display screens, smart home central control screens, etc.) are increasingly applied in cooperation. In such applications, efficient and clear transmission and display of messages (such as notifications, navigation information, incoming call alerts, etc.) on mobile devices on external display screens is a key to improving user experience. Currently, a mainstream implementation scheme adopts a text transmission mode. In particular, the mobile device Application (APP) sends the message to be displayed to the display device in the form of an original text string over a wireless communication link (e.g., based on the bluetooth protocol). The display equipment end needs to store corresponding word stock files in advance, calls a built-in rendering engine after receiving text data, converts text characters into dot matrix image data according to the word stock, and finally renders and displays the dot matrix image data on a screen. However, this conventional text transmission and display method has several significant drawbacks, namely, 1) the display device must be preloaded with a complete word stock file, which occupies valuable memory resources of the device and increases hardware cost. More importantly, the mobile device cannot use custom fonts or special characters which are not supported by the display device word stock, so that the display effect is limited and the flexibility is lacking. 2) For plain text messages, the transmission efficiency is acceptable. However, when the message contains complex formats (such as multiple fonts, mixed typeface of font sizes) or non-text contents (such as icons and pictures), the conventional text protocol is difficult to describe effectively, and often requires the addition of complex format instructions or the separate transmission of image files, which results in increased data transmission amount, low transmission efficiency and complex protocol design. 3) Existing schemes often have difficulty in efficiently delivering layout information (e.g., window adaptation, element alignment, etc.) to a display device along with the message content. The display device can only render according to a fixed layout, and cannot intelligently adapt to screens with different sizes or realize complex dynamic display effects. 4) For message types requiring special UI presentations, such as incoming calls, red packets, emergency alerts, etc., there is a lack of a unified, efficient extension mechanism. Each new type of message may require customized transmission and display logic, resulting in a system that is difficult to maintain and expand. Therefore, there is an urgent need in the art for a new data transmission display method, which can overcome the above drawbacks, and provide flexible, various and dynamic display effects for external display devices on the premise of low resource consumption and high transmission efficiency. Disclosure of Invention The invention aims to overcome the dependence of the traditional text transmission mode on the word stock of the display device, and provides a data transmission display method between the mobile device and the external display device, so that the display device can display any message sent by the mobile device without the word stock, and support complex message formats and dynamic layout. The technical scheme adopted by the invention is as follows: a data transmission display method between a mobile device and an external display device, comprising the steps of: the mobile equipment identifies message characteristics from the message content to be displayed and converts the message characteristics into binary dot matrix data, wherein the message characteristics at least comprise message types and display parameters; compressing the binary dot matrix data by using a preset compression algorithm; Packaging the message characteristics and the compressed dot matrix data into a data packet, and transmitting the data packet to display equipment through a preset message protocol; the display equipment receives and analyzes the data packet and decompresses the compressed dot matrix data; the display device displays the message content on the screen according to the decompressed dot matrix data. Further, message characteristics include font size, font model, font color, message nickname, message time, message content, message space, message linefeed. Further, the message content to be displayed is converted into binary dot matrix data according to the set fonts, font sizes and layout, w