Image transmission method and device, equipment and medium

By acquiring image frame display instructions and identifiers, extracting and decompressing target data packets, generating images to be displayed, and determining transmission based on the display device status, the problem of data loss when the image sending device sends data at high frequency or with large data volume is solved, achieving higher transmission accuracy.

CN121967767APending Publication Date: 2026-05-01SHENZHEN HUIDU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN HUIDU TECH
Filing Date
2026-01-27
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

When the image transmitting device sends image information at a high frequency or in a large amount of data, the image display device cannot receive all the data, resulting in data loss.

Method used

By acquiring the image frame display instruction, extracting the image frame identifier, extracting the target data packet from the first memory space based on the identifier, decompressing the pixel information, generating the image to be displayed, and determining whether to transmit the image based on the reading status of the display device, the image pixel information is preprocessed using two memory spaces to avoid loss due to excessive transmission speed.

Benefits of technology

It improves the accuracy of image transmission, avoids the loss of image pixel information by display devices, and enhances the accuracy of image transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121967767A_ABST
    Figure CN121967767A_ABST
Patent Text Reader

Abstract

The invention discloses an image transmission method and device, equipment and a medium. The method comprises the following steps: acquiring an image frame display instruction, and extracting an image frame identifier; extracting at least one target data packet corresponding to the image frame display instruction from the first memory space according to the image frame identifier; decompressing each target data packet to obtain image pixel information corresponding to each target data packet; generating a to-be-displayed image according to the image pixel information corresponding to each target data packet; determining an image transmission judgment result according to the image reading state of the display device in the second memory space; and according to the image transmission determination result and the to-be-displayed image, determining whether to transmit the to-be-displayed image to a display device for display. According to the embodiment of the invention, the image transmission accuracy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

An image transmission method, apparatus, device and medium Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to an image transmission method, apparatus, device, and medium. Background Technology

[0002] With the rapid development of technology, the variety of electronic products is gradually increasing, and image information can be displayed on electronic screens for users to view.

[0003] Currently, image information is sent from an image transmitting device to an image display device so that the image display device can display the image.

[0004] However, when the image transmitting device sends image information at a high frequency or the image information data volume is large, the image display device cannot receive all the data, resulting in data loss. Summary of the Invention

[0005] This invention provides an image transmission method, apparatus, device, and medium to improve the accuracy of image transmission.

[0006] In a first aspect, embodiments of the present invention provide an image transmission method, the method comprising:

[0007] Obtain the image frame display instruction and extract the image frame identifier;

[0008] Extract at least one target data packet corresponding to the image frame display instruction from the first memory space according to the image frame identifier;

[0009] Decompress each target data packet to obtain the image pixel information corresponding to each target data packet;

[0010] Generate the image to be displayed based on the image pixel information corresponding to each target data packet;

[0011] The image transmission discrimination result is determined based on the image reading status of the display device in the second memory space;

[0012] Based on the image transmission discrimination result and the image to be displayed, determine whether to transmit the image to be displayed to the display device for display.

[0013] Secondly, embodiments of the present invention also provide an image transmission device, the device comprising:

[0014] The identifier extraction module is used to obtain image frame display instructions and extract image frame identifiers;

[0015] The data packet extraction module is used to extract at least one target data packet corresponding to the image frame display instruction from the first memory space according to the image frame identifier;

[0016] The data packet decompression module is used to decompress each target data packet to obtain the image pixel information corresponding to each target data packet;

[0017] The image generation module is used to generate an image to be displayed based on the image pixel information corresponding to each target data packet;

[0018] The result determination module is used to determine the image transmission discrimination result based on the image reading status of the display device in the second memory space;

[0019] The information display module is used to determine whether to transmit the image to be displayed to the display device for display based on the image transmission discrimination result and the image to be displayed.

[0020] Thirdly, embodiments of the present invention also provide an image transmission device, the image transmission device comprising:

[0021] At least one processor; and

[0022] A memory that is communicatively connected to at least one processor; wherein,

[0023] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the image transmission method of any embodiment of the present invention.

[0024] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to execute and implement the image transmission method of any embodiment of the present invention.

[0025] The technical solution of this invention involves acquiring an image frame display instruction and extracting an image frame identifier; extracting at least one target data packet corresponding to the image frame display instruction from a first memory space based on the image frame identifier; decompressing each target data packet to obtain image pixel information corresponding to each target data packet; generating an image to be displayed based on the image pixel information corresponding to each target data packet; determining an image transmission discrimination result based on the image reading status of the display device in a second memory space; and determining whether to transmit the image to be displayed to the display device for display based on the image transmission discrimination result and the image to be displayed. By preprocessing the image pixel information in two memory spaces and transmitting the image pixel information to the display device in batches, the problem of the display device losing image pixel information due to excessively fast image pixel information transmission speed is avoided, thus improving the accuracy of image transmission.

[0026] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 is a flowchart of an image transmission method provided according to an embodiment of the present invention;

[0029] Figure 2 is a flowchart of an image transmission method provided according to an embodiment of the present invention;

[0030] Figure 3 is a structural diagram of an image transmission device according to an embodiment of the present invention;

[0031] Figure 4 is a schematic diagram of the structure of an image transmission device provided in an embodiment of the present invention. Detailed Implementation

[0032] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0033] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0034] The acquisition, storage, and application of image frame identifiers and other related technologies in the technical solutions of this invention comply with relevant laws and regulations and do not violate public order and good morals.

[0035] Example 1

[0036] Figure 1 is a flowchart of an image transmission method provided in Embodiment 1 of the present invention. This embodiment of the present invention is applicable to image transmission scenarios, and the method can be executed by an image transmission device, which can be implemented in hardware and / or software.

[0037] The image transmission method shown in Figure 1 includes:

[0038] S101. Obtain the image frame display instruction and extract the image frame identifier.

[0039] The image frame display command can be a user-input image display command. The image frame identifier can be a unique feature value that distinguishes different images.

[0040] Specifically, the user can send an image frame display command to the second device. This command may include the image to be transmitted and the corresponding image frame identifier. Upon receiving the command, the second device sends it to the first device, notifying it of the user's display requirement—that is, to display the image corresponding to the image frame identifier. The first device can extract the image frame identifier from the command obtained from the second device, determining the current time and the image frame identifier corresponding to the image the user wants to display. The first device can also check its own performance attributes to determine if it meets the image transmission requirements. For example, it can check its remaining memory space to determine if there is enough space to receive the image data corresponding to the image frame identifier, thus determining the data reception result. When the first device's data reception result is acceptable, it sends data reception information back to the second device. The second device preprocesses the image to be transmitted, obtaining preprocessed data, and sends this preprocessed data to the storage space corresponding to the first device. After receiving the preprocessed data, the first device can generate an image from it to obtain the image to be displayed. The third device can then read the image to be displayed from the storage space corresponding to the second device and display it on the third device. The first device and the second device can establish a high-speed communication link via Gigabit Ethernet for data transmission, and the first device and the third device can also establish a high-speed communication link via Gigabit Ethernet for data transmission. For example, the first device can be an image data relay device, the second device can be a Field-Programmable Gate Array (FPGA), and the third device can be an Advanced Reduced Instruction Set Computing (RISC) Machine (ARM) device. The first device receives the image frame display command sent by the second device and extracts the image frame identifier as identifier 1.

[0041] S102. Extract at least one target data packet corresponding to the image frame display instruction from the first memory space according to the image frame identifier.

[0042] The first memory space can be a dedicated storage area reserved by the first device (image relay device) for receiving preprocessed data from the second device (FPGA). The target data packet can be a valid data packet selected by the first device from the first memory space.

[0043] Specifically, the first device successfully extracts a unique image frame identifier (e.g., identifier 1) from the image frame display command forwarded by the second device; the second device receives the data receptivity information from the first device and transmits all image data packets corresponding to the image frame identifier back to the first device's first memory space via Gigabit Ethernet; the first memory space can store a large number of image data packets transmitted back by the second device (including valid data packets corresponding to the image frame identifier and invalid packets such as residual packets or out-of-order packets from historical times), which need to be filtered. Frame identifiers correspond one-to-one with image data packets. The first device can first load customized matching rules: only data packets whose "frame identifier carried by the data packet" is completely consistent with the "frame identifier of the current image frame display command" are determined to be valid packets; those that are inconsistent are all invalid packets (wrong frames, redundant, or residual packets). When generating data packets, the second device will mark each data packet with the unique identifier of its corresponding image frame (e.g., data packets generated from "identifier 1 image" all carry the "identifier 1" label). The system iterates through all data packets in the first memory space, reading the "frame identifier" inherent in each data packet (the second device can encapsulate the identifier field in a fixed position on the data packet according to a customized protocol). For each scanned data packet, a one-to-one match is performed: if the frame identifier of the data packet equals the frame identifier of the current image frame display instruction (e.g., if the data packet is labeled "Identifier 1", the instruction to display is also "Identifier 1"), it is determined to be a target data packet; if the frame identifier of the data packet does not equal the frame identifier of the current image frame display instruction (e.g., if the data packet is labeled "Identifier 0", the instruction to display is "Identifier 1"), it is determined to be an invalid data packet. Furthermore, the integrity of the target data packets can be verified. After filtering the target data packets, the number or integrity of the target data packets is verified. For example, if it is pre-agreed that "X data packets need to be generated per frame of a 4K image (3840×2160)," if the number of collected target data packets equals X, it is determined to be "complete" and can proceed to the subsequent image generation steps; if the number is less than X, it is determined to be "missing data packets," and the first device will send a "retransmission instruction" to the second device, requesting the second device to retransmit the missing packet data.

[0044] S103. Decompress each target data packet to obtain the image pixel information corresponding to each target data packet.

[0045] The image pixel information can be the description information of the pixels of the image obtained by the first device after decompressing the target data packet.

[0046] Specifically, the first device has completed the filtering process using image frame identifiers to obtain at least one target data packet, and all target data packets are stored in the first memory space corresponding to the first device. The first device pre-stores a decompression rule library corresponding to the compression method of the second device (different rules correspond to different resolutions or compression methods). Based on the resolution of the image corresponding to the current image frame identifier (e.g., 4K 3840×2160), the first device loads the corresponding decompression rule from the decompression rule library, traverses all target data packets, and processes the target data packets one by one in the order of "row number from smallest to largest and index within the same row from smallest to largest". The decompression process of a single target data packet is as follows: first, read the "row number" and "index" fields at fixed positions in the target data packet (e.g., byte 4-5 = row number 100, byte 6-7 = index). The system records the physical location of the image corresponding to the target data packet (e.g., bytes 8-519, a total of 512 bytes). It reads the "Compressed Pixel Data" field from the target data packet (e.g., bytes 8-519, a total of 512 bytes). This part is the core data transmitted by the second device and is also the target area that needs to be decompressed. According to the loaded decompression rules, the 512-byte compressed pixel data area is reverse-engineered, restoring the compressed bytes to the original pixel color bytes. Based on the compressed pixel information, a precise physical location is bound to each pixel. After a single data packet is decompressed, its pixel information list is stored in the "Pixel Information Buffer"; this process continues until all target data packets are decompressed.

[0047] S104. Generate the image to be displayed based on the image pixel information corresponding to each target data packet.

[0048] The image to be displayed can be a complete frame of image data generated by the first device that can be directly read and displayed by a third device (for example, ARM), and the format is compatible with the third device (such as RGB888 or 4K resolution).

[0049] Specifically, the first device creates a "blank canvas" matching the resolution of the image to be displayed in a dedicated memory area. For example, the canvas dimensions are: 2160 rows (4K vertical resolution) and 3840 columns (4K horizontal resolution). Each "cell" of the canvas corresponds to a pixel position (row number + column number), with an initial value of the default color (e.g., pure black 0x000x000x00). The canvas storage format is RGB888, with each cell occupying 3 bytes of memory, resulting in a total canvas size of 3840 × 2160 × 3 = 24.88 MB. The first device iterates through all pixel information in the "pixel information buffer" in ascending row number order and ascending column number order within the same row, filling the corresponding position on the "image canvas" with pixel values ​​one by one. It reads a pixel from the buffer, for example: row number = 100, column number = 0, and RGB byte = 0xFF0x000x00 (pure red). Based on the row and column numbers, calculate the physical address of the pixel in the "image canvas" memory (the core logic is: row offset: row number × total number of bytes per row (3840 columns × 3 bytes = 11520 bytes); column offset: column number × 3 bytes; target address = canvas start address + row offset + column offset. Taking row 100 and column 0 as an example: row offset = 100 × 11520 = 1,152,000 bytes; column offset = 0 × 3 = 0 bytes; target address = canvas start address + 1,152,000 bytes). Write the RGB bytes (0xFF0x000x00) of the pixel to the target address: 1st byte of target address: 0xFF (R value); 2nd byte of target address: 0x00 (G value); 3rd byte of target address: 0x00 (B value). Continue reading the next image... The first device fills in pixel information (row 100, column 1, and RGB=0x000xFF0x00) until all 3840 columns of pixels in row 100 are filled; all 2160 rows of pixels are filled to their corresponding positions on the canvas. After filling, the second device performs two checks to ensure the generated image can be displayed correctly: Integrity check: checks whether all pixel positions in the canvas are filled (no blank cells) to avoid image incompleteness; Format check: confirms that the image resolution and pixel format (RGB888) are compatible with the display requirements of the third device (ARM) (e.g., ARM supports 4K or RGB888 format). After the checks pass, the first device marks the memory area of ​​the canvas as "image to be displayed" and records its frame identifier (e.g., identifier 1), waiting for subsequent determination of whether to transmit it to the third device for display.

[0050] S105. Determine the image transmission discrimination result based on the image reading status of the display device in the second memory space.

[0051] The second memory space can be a dedicated memory area in the first device for the third device to read images; it serves as a "display buffer" for the "image to be displayed." The image reading status can be the real-time operation status of the third device (in this example, an ARM) on the second memory space. The image transmission determination result can be a judgment given by the first device regarding whether the image to be displayed can be transmitted to the second memory space.

[0052] Specifically, the first device first loads fixed judgment rules, which cannot be changed midway to ensure the uniqueness of the judgment result. If the display device's image reading status is "not read" and the image transmission judgment result is "transferable," meaning the third device is not operating on the second memory space, writing a new image at this time will not interfere with the reading; after transmission, the third device can obtain the new image on the next read. If the display device's image reading status is "reading in progress" and the image transmission judgment result is "not transferable," meaning the third device is reading an image from the second memory, writing a new image at this time will result in incomplete data reading, requiring waiting. The first device queries the third device's current operation status on the second memory space through a status interaction mechanism. For example, the first device sets a "read status flag" (1 bit / 1 byte) at a fixed address in the second memory space, with the following conventions: flag = 0: the third device has not read the second memory space; flag = 1: the third device is reading the second memory space. When the third device performs a read operation, it first sets the flag to 1, and then sets it to 0 after the read is complete. The first device only needs to read the value of this flag to directly determine the read status. Furthermore, when the third device begins reading data from the second memory space, it can send a "reading in progress" signal to the first device; after reading is complete, it sends a "reading complete" signal. The first device updates the "reading status" in real time based on the received signals (e.g., receiving "reading in progress" indicates the image is being read, receiving "reading complete" indicates the image is not being read). Alternatively, the second memory space can be configured with a "mutex lock," which locks the memory when the third device reads it (locks it), and unlocks it after reading is complete. If the first device detects that the memory is "unlocked," the image reading status is not being read; if it detects that it is "locked," the image reading status is being read. The first device substitutes the detected "image reading status" into the mapping rules and directly outputs the judgment result: if "not read" is detected (flag bit = 0 or "reading complete" signal is received or memory is not locked), the judgment result is that it can be transmitted; if "reading in progress" is detected (flag bit = 1 or "reading in progress" signal is received or memory is locked), the judgment result is that it cannot be transmitted. The first device stores the judgment result (transferable or non-transferable) locally, and marks the corresponding image frame identifier to be displayed (e.g., "judgment result of frame identifier 1 = transferable"), providing a direct basis for the next step "whether to transfer the image"; if the result is "non-transferable", the first device will enter the "polling detection" state: re-detecting the reading status every fixed time (e.g., 10ms) until the result becomes "transferable".

[0053] S106. Based on the image transmission discrimination result and the image to be displayed, determine whether to transmit the image to be displayed to the display device for display.

[0054] Specifically, before deciding whether to transmit the image to the display device for display, the first device can perform a secondary verification of the core state of the image (to avoid incompleteness caused by hardware or program malfunctions after image generation). Two key indicators can be verified: Integrity: The total number of pixels in the image matches the resolution (e.g., a 4K image = 8,294,400 pixels), with no blank or missing pixels; Compatibility: The image's resolution, pixel format (e.g., RGB888), and color depth completely match the display parameters of the display device (the third device). After verification, the results are output, providing a complete basis for decision-making. Furthermore, the first device determines "whether to transmit" based on the image transmission discrimination result and the state of the image to be displayed. Only if the image transmission discrimination result is transmittable and the image state is complete and compatible will it be judged as transmittable. In all other cases, it is judged as non-transmittable. Based on the final judgment result, the "transmit" or "not transmit" action is executed. Case 1: If it is judged to be transmittable, the first device starts high-speed memory copy: the image to be displayed is completely copied from its own "image canvas" memory area to the second memory space. The copy speed matches the hardware memory bandwidth. Historical image replacement is completed: after the copy is completed, the original historical image data in the second memory space will be completely overwritten by the new image to be displayed. Only the latest complete image to be displayed is retained in the second memory space. The first device locally records "the image to be displayed identified by a certain frame has been transmitted to the second memory space" and can send a lightweight notification "new image has been updated" to the display device to inform the third device that the new image can be read. Scenario 2: If the image is deemed untransferable and transmission is not performed due to "incomplete or incompatible image status": All transmission-related operations are paused, and the first device returns to the "image generation" stage to repair or regenerate the image to be displayed (e.g., supplementing missing pixels or converting the image format). After image repair or regeneration, the "determine image transmission judgment result" step is executed again, and a new decision is made. If the transmission is not performed due to "judgment result being untransferable": The image to be displayed is not modified, and the second memory space is not operated. The first device enters a polling waiting state. Every fixed short interval (e.g., 10ms), the "determine image transmission judgment result" step is executed again to check whether the judgment result has been updated to "transferable". Once the judgment result is updated to "transferable" and the image status is complete and compatible, the transmission action is immediately performed. If the first device performs the transmission action, the display device will read the latest image to be displayed from the second memory space in the next reading cycle, and after hardware or software rendering, display the image on the physical screen or in the preview window, completing the image display process.

[0055] The technical solution of this invention involves acquiring an image frame display instruction and extracting an image frame identifier; extracting at least one target data packet corresponding to the image frame display instruction from a first memory space based on the image frame identifier; decompressing each target data packet to obtain image pixel information corresponding to each target data packet; generating an image to be displayed based on the image pixel information corresponding to each target data packet; determining an image transmission discrimination result based on the image reading status of the display device in a second memory space; and determining whether to transmit the image to be displayed to the display device for display based on the image transmission discrimination result and the image to be displayed. By preprocessing the image pixel information in two memory spaces and transmitting the image pixel information to the display device in batches, the problem of the display device losing image pixel information due to excessively fast image pixel information transmission speed is avoided, thus improving the accuracy of image transmission.

[0056] Example 2

[0057] Figure 2 is a flowchart of an image transmission method provided in Embodiment 2 of the present invention. Based on the above embodiments, the image transmission operation of the present invention has been optimized and improved.

[0058] Furthermore, the step of "extracting at least one target data packet corresponding to the image frame display instruction from the first memory space according to the image frame identifier" is refined to "matching the image frame identifier with the image identifier to be transmitted corresponding to each image data packet in the first memory space; when the identifier matching result of the image data packet is a successful match, the image data packet is determined as the target data packet; when the identifier matching result of the image data packet is a failed match, the image data packet is deleted" to improve the image transmission operation.

[0059] It should be noted that for parts not described in detail in the embodiments of the present invention, please refer to the descriptions in other embodiments.

[0060] The image transmission method shown in Figure 2 includes:

[0061] S201. Obtain the image frame display instruction and extract the image frame identifier.

[0062] S202. Match the image frame identifier with the image identifier to be transmitted corresponding to each image data packet in the first memory space.

[0063] The image data packet can be an independent packet of data stored in the first memory space, which is then encapsulated and transmitted back by the second device.

[0064] Specifically, the first device has successfully extracted a unique image frame identifier (e.g., identifier 1) from the image frame display instruction, using it as the benchmark value for matching. The second device sends all image data packets back to the first device's first memory space, and each data packet is marked with an image identifier to be transmitted according to a customized protocol (written into a fixed field of the data packet). The first device knows the fixed storage location of the image identifier to be transmitted in the data packet (e.g., bytes 0-3 of the data packet) and can directly read the value of this field for comparison. The first device first loads two core rules: a matching judgment rule: a match is considered successful only when the image frame identifier (benchmark value) and the image identifier to be transmitted (value to be compared) are completely identical; all other cases (partially identical or completely inconsistent) are considered a failure. The identifier reading position: the fixed byte position of the image identifier to be transmitted in a single data packet is clearly defined (e.g., bytes 0-3 of the data packet are the field of the image identifier to be transmitted), ensuring that the identifier reading position of each data packet is consistent and without reading deviation. The first device extracts the image frame identifier (e.g., identifier 1) from the image frame display instruction and stores it in a temporary variable as the matching benchmark value. It then iterates through all image data packets in the first memory space, reading only the image identifier field to be transmitted and not processing pixel data to maximize matching efficiency. The device reads the image identifier to be transmitted packet by packet and performs a one-to-one match. For each image data packet encountered, it reads the image identifier to be transmitted from the current data packet at a predetermined fixed position (e.g., bytes 0-3) as the comparison value (e.g., identifier 1 or identifier 0). It then directly compares the read comparison value with the matching benchmark value (e.g., identifier 1) to determine if they are completely identical. The device records the single-packet matching result: marking the current data packet as a successful or unsuccessful match, completing the global matching, and summarizing all matching results. This step is complete when all image data packets in the first memory space have been matched packet by packet and the results have been marked.

[0065] S203. When the identifier matching result corresponding to the image data packet is a successful match, the image data packet is determined as the target data packet.

[0066] Specifically, the first device retrieves image data packets from the first memory space and directly reads the tagged matching results of the data packets (such as reading the matching result flag bit of the data packet or querying the matching result list), obtaining only one of two results: "match successful" or "match failed". When the first device reads a matching result of "match successful", it triggers the action of "identifying as target data packet"; if the read matching result is "match failed", no marking action is triggered, and the data packet is skipped directly, proceeding to the traversal processing of the next data packet. If the determination result is "match successful", a unique identifier for the target data packet is added to the image data packet (such as writing the target packet flag bit = 1 in a fixed field of the data packet or adding a target packet label to the data packet), clearly distinguishing it from the data packets that failed to match. The data packets that have completed the identification are migrated or mapped from their original storage location in the first memory space to a dedicated target data packet buffer (or the address of the data packet is added to the "target data packet list" at the software level), realizing centralized management of valid data and avoiding mixing with invalid data packets that failed to match. After traversal is completed, a complete set of target data packets is formed.

[0067] S204. When the identifier matching result corresponding to the image data packet is a failure, the image data packet is deleted.

[0068] Specifically, when the identifier matching result corresponding to the image data packet fails, a deletion action is triggered. For example, the address segment occupied by the packet in the first memory space is checked: 0x807B0000~0x807B01FF (512 bytes), and the address segment is marked as overwriteable in the memory management table. Following the same logic, the remaining data packets that failed to match are processed in sequence, and the address segments they occupy are marked as overwriteable one by one, completing the deletion marking of all invalid packets. The storage resources of the address segments marked as overwriteable are released, and there are no invalid data packets remaining in the first memory space, so new data transmitted back by the second device can be received normally.

[0069] S205. Decompress each target data packet to obtain the image pixel information corresponding to each target data packet.

[0070] S206. Generate the image to be displayed based on the image pixel information corresponding to each target data packet.

[0071] S207. Determine the image transmission discrimination result based on the image reading status of the display device in the second memory space.

[0072] S208. Based on the image transmission discrimination result and the image to be displayed, determine whether to transmit the image to be displayed to the display device for display.

[0073] This invention refines the image data packet processing steps and improves the accuracy of image data packet processing by matching the image frame identifier with the corresponding image identifier in the first memory space; when the identifier matching result of the image data packet is successful, the image data packet is determined as the target data packet; when the identifier matching result of the image data packet is unsuccessful, the image data packet is deleted. Different image data packet processing operations are performed for different matching results.

[0074] Optionally, decompress each target data packet to obtain the image pixel information corresponding to each target data packet, including: decompressing each target data packet to obtain the image pixel information corresponding to the target data packet; the image pixel information includes: pixel values ​​and corresponding pixel positions; and generating an image to be displayed based on the image pixel information corresponding to each target data packet, including: combining each pixel value according to the corresponding pixel position to generate the image to be displayed.

[0075] Specifically, the target data packet is stored in a dedicated buffer. For example, the target data packet structure can be frame identifier 1 + row 100 + index 0 + 512 bytes of pixel data area; decompression rules: RGB888 (3 bytes / pixel), 170 effective pixels per packet (510 bytes), remove the last 2 bytes of redundancy and the corresponding row 100 and column 0~169 of index 0; image canvas: 4K blank canvas (2160 rows × 3840 columns), starting address 0x80000000, 11520 bytes per row. Read the position field: row number = 100, index = 0, to determine the corresponding canvas row 100 and columns 0~169; Extract the pixel data area: read 512 bytes of pixel data, remove the last 2 bytes of redundancy, and obtain 510 bytes of valid pixel byte stream; Split the pixel value: split the 510 bytes into 3 bytes / pixel, to obtain 170 pixel values ​​(e.g., bytes 0-2 = 0xFF0x000x00 and bytes 3-5 = 0x000xFF0x00); Bind the position to the 170 pixel values ​​in sequence to generate pixel information: 1st pixel: row 100, column 0 and value 0xFF0x000x00 (pure red); 2nd pixel: row 100, column 1 and value 0x000xFF0x00 (pure green); ... 170th pixel: row 100, column 169 and value 0x000x000xFF (pure blue); Following this logic, decompress all target data packets to obtain the image pixel information of each target data packet. Read the first pixel information: row 100, column 0, and value 0xFF0x000x00; calculate the canvas target address: row offset = 100 × 11520 = 1152000 bytes, column offset = 0 × 3 = 0 bytes, target address = 0x80000000 + 1152000 = 0x80110000; fill the pixel value: write 0xFF0x000x00 to addresses 0x80110000~0x80110002; read the second pixel information: row 100, column 1, and value 0x000xFF0x00; calculate the target address: column offset = 3 bytes, target address = 0x80110003, and fill the corresponding value; repeat this action, filling all pixels row by row and column by column until the last pixel is filled. Mark the canvas as a 4K image to be displayed with frame identifier 1, and wait for the first device to determine whether to transfer it to the second memory space.

[0076] By decompressing each target data packet, the corresponding image pixel information is obtained. The image pixel information includes pixel values ​​and corresponding pixel positions. Based on the image pixel information corresponding to each target data packet, an image to be displayed is generated, including combining each pixel value according to its corresponding pixel position to generate the image to be displayed. This can increase the amount of data transmitted and improve the efficiency of data display.

[0077] Optionally, the image transmission discrimination result is determined based on the image reading status of the display device in the second memory space, including: when the image reading status of the display device corresponding to the second memory space is not read, the image transmission discrimination result is determined to be transmittable; when the image reading status of the display device corresponding to the second memory space is reading, the image transmission discrimination result is determined to be non-transmittable.

[0078] Specifically, the first device initiates a real-time status query to the second memory space and the display device through a pre-defined detection method to obtain the current read status of the display device on the second memory space, receiving one of two results: "not read" or "reading". The fixed address of the second memory space is set with a 1-bit / 1-byte read status flag, defined as: 0 = not read, 1 = reading. The display device reads a leading 1 and a finishing 0. The first device only needs to read this address value to obtain the image read status. Based on the detected image read status, the first device outputs a unique image transmission judgment result. If the detected image read status is "not read", the determined image transmission judgment result is "transferable", the display device is idle, and writing a new image is interference-free. If the detected image read status is "reading", the image transmission judgment result is "not transferable", the display device is working, and writing a new image will result in tearing. The first device locally stores and marks the determined image transmission judgment result (transferable or not transferable), binding it to the corresponding frame identifier of the image to be displayed (e.g., "Frame identifier 1 - Judgment result: transferable").

[0079] By determining that the image transmission discrimination result is transmissible when the image reading state of the display device corresponding to the second memory space is not read, and determined that the image transmission discrimination result is not transmissible when the image reading state of the display device corresponding to the second memory space is reading, different image transmission discrimination result judgments are performed according to different image reading states, thereby improving the accuracy of image transmission discrimination result determination.

[0080] Optionally, based on the image transmission discrimination result and the image to be displayed, it is determined whether to transmit the image to be displayed to the display device for display, including: when the image to be displayed is generated and the image transmission discrimination result is transmissible, the image to be displayed is transmitted to the second memory space, and the historical image in the second memory space is replaced by the image to be displayed; when the image to be displayed is not completed, or the image transmission discrimination result is not transmissible, the image to be displayed is not transmitted to the second memory space, until the data transmission status is transmissible.

[0081] Specifically, the first device reads the status of the image to be displayed, which includes: completed generation and incomplete generation. The determination criteria are whether all pixel filling is complete, whether integrity or compatibility checks are passed, and whether it is marked "complete generation". The image transmission judgment result includes transmittable and non-transmittable, which is determined by the display device's read status in the second memory space. If the display device is not reading, the image transmission judgment result is transmittable; if the display device is reading, the image transmission judgment result is non-transmittable. Case 1: If both conditions are met (image generation complete + image transmission judgment result is transmittable), the first device will completely and quickly copy the completed image to be displayed from its own "image canvas" dedicated memory area to the second memory space. After all the data of the image to be displayed is copied, it completely overwrites the historical image data in the second memory space. Every address segment in the second memory space is replaced by the new image data, with no historical image data remaining. The first device locally records "a certain frame indicates that the image to be displayed has been transmitted successfully" and can send a lightweight "new image update" notification to the third device, informing the third device that the second memory space has a new image available for reading. If any condition is not met (image generation incomplete, image transmission determination result is untransferable, or both), the transmission operation is immediately terminated. The first device does not perform any write operations to the second memory space, nor does it update the historical images in the second memory space, ensuring that historical images can be read normally by the third device and avoiding data corruption. Based on the specific unmet condition, targeted polling detection is performed, eliminating the need to repeatedly check met conditions, thus saving system resources. If only the image to be displayed is incomplete: the first device continuously monitors the image generation status until it is marked as "generation complete," then synchronously checks the image transmission determination result. If only the transmission determination result is untransferable: the first device polls the image transmission determination result at fixed intervals (e.g., 10ms) until it becomes "transferable." If neither condition is met: it waits for the image to be displayed to be generated to complete, then polls the image transmission determination result until it becomes "transferable." Transmission is triggered as soon as the condition is met: once both conditions become met, the first device immediately and automatically re-executes the data transmission action without manual intervention.

[0082] When the image to be displayed is generated and the image transmission determination result is transmissible, the image to be displayed is transmitted to the second memory space, and the historical image in the second memory space is replaced by the image to be displayed. When the image to be displayed is not completed, or the image transmission determination result is not transmissible, the image to be displayed is not transmitted to the second memory space until the data transmission determination result is transmissible. Different data transmission operations are performed for different data transmission determination results, thereby improving the accuracy of data transmission.

[0083] Optionally, the image data packet is obtained through the following steps: generating a data packet receiving instruction based on the image frame display instruction; sending the data packet receiving instruction to the second device so that the second device can send back at least one image data packet; each image data packet obtains the image to be transmitted and the image resolution type corresponding to the image to be transmitted through the second device; based on the image resolution type, finding the image compression information corresponding to the image resolution type; compressing the image to be transmitted based on the image compression information; the image compression information includes: data extraction method and compressed data size.

[0084] Specifically, the first device receives the image frame display instruction, parses out the target frame identifier (e.g., frame identifier 1) and target resolution type (e.g., 4K), and generates a data packet receiving instruction. The first device generates a data packet receiving instruction containing "target frame identifier + target resolution type" according to the format agreed upon with the second device, and sends the instruction to the second device. The second device receives and parses the data packet receiving instruction, extracts the target frame identifier and target resolution type (e.g., frame identifier 1 or 4K), and identifies the image object and rule index to be processed. Based on the target frame identifier, the second device reads the corresponding complete original image to be transmitted (e.g., a 4K RGB888 image with frame identifier 1) from its own cache or an external image source, identifies the actual resolution type of the image (e.g., 4K), and verifies it against the target resolution type in the instruction (ensuring consistency and avoiding rule mismatch). The second device reads pixel data according to the following data extraction method: For example, under the "line-by-line extraction" rule, it starts from line 0 of the image to be transmitted and reads pixel data line by line (line 0, line 1... line 2159), ensuring that the pixel reading order is consistent with the original image. The second device splits the read pixel data into units of "compressed data size" (e.g., 512 bytes), encapsulating each 512-byte data packet into an independent image data packet. If the remaining data is less than 512 bytes, the second device fills in redundant bytes to bring it to 512 bytes, ensuring that all data packets are of uniform size for easy parsing by the first device. The second device adds a key identifier field to each generated image data packet (for subsequent matching by the first device) and then transmits it back to the first device's first memory space via the communication link.

[0085] The image data packets are obtained through the following steps: A data packet receiving instruction is generated based on the image frame display instruction; the data packet receiving instruction is sent to a second device, causing the second device to send back at least one image data packet; each image data packet obtains the image to be transmitted and the corresponding image resolution type through the second device; based on the image resolution type, the image compression information corresponding to the image resolution type is found; the image to be transmitted is compressed based on the image compression information, which includes: data extraction method and compressed packet data size; the image data transmission efficiency is improved through compression information.

[0086] Optionally, each image data packet is processed by a second device to extract an image pixel sequence from the image to be transmitted according to the data extraction method in the image compression information. The image pixel sequence includes at least one image pixel information, which includes: the pixel value and pixel position of a pixel. The image pixel sequence is divided according to the amount of compressed data in the image compression information to determine at least one pixel data set. Each pixel data set is compressed to obtain the image data packet corresponding to the pixel data set.

[0087] Specifically, the second device extracts data according to the following method (e.g., extracting line by line), starting from row 0 and column 0 of the image to be transmitted, and the reading order is "from left to right within a row (column 0 to column 3839) and from top to bottom between rows (row 0, row 1... row 2159)". For each read pixel, the binding of "pixel value + pixel position" is completed synchronously, generating a single image pixel information: Pixel value: 3-byte data in RGB888 format (e.g., 0xFF 0x00 0x00, corresponding to pure red); Pixel position: row number + column number (e.g., row 0 column 0, row 0 column 1), directly associated with the pixel's physical coordinates in the original image; Generating a continuous image pixel sequence: All single pixel information is concatenated in the reading order to form a one-dimensional continuous image pixel sequence. The order of pixels in the sequence is completely consistent with the original image. Using "compressed data size" (e.g., 512 bytes / packet) as the splitting unit, the continuous image pixel sequence is split into several pixel data sets. Each pixel data set is bound with "row number + index": Row number: the image row to which the pixels in the set belong (e.g., the first set corresponds to row 0); Index: the sequence number of the set within that row (e.g., the first set in row 0 has index 0, the second set has index 1, etc.). The second device performs encapsulation and compression operations on each pixel data set to generate a standard image data packet that can be transmitted back. All data packet formats and sizes are completely uniform. The second device performs basic checks on all generated image data packets: it can check whether the total number of data packets matches the total number of pixels in the image to be transmitted, whether the number of bytes in each data packet is equal to the amount of data in the compressed package, or whether the identification field is correct. If the check passes, it is marked as "can be transmitted back" and cached in the order of generation; if the check fails, it is re-disassembled and repackaged to avoid transmitting erroneous data packets back.

[0088] Image pixel sequences are extracted from the image to be transmitted by a second device using the data extraction method in the image compression information, and each image pixel sequence includes at least one image pixel information, including the pixel value and pixel position of a pixel. The image pixel sequence is divided according to the amount of compressed data in the image compression information to determine at least one pixel data set. Each pixel data set is compressed to obtain the image data set corresponding to the pixel data set. The accuracy of image data set determination is improved by determining the image data set through multi-dimensional data.

[0089] Example 3

[0090] Figure 3 is a schematic diagram of an image transmission device provided in Embodiment 3 of the present invention. This embodiment of the present invention is applicable to image transmission applications; the device can execute an image transmission method and can be implemented in hardware and / or software.

[0091] Referring to the image transmission device shown in Figure 3, it includes: an identifier extraction module 301, a data packet extraction module 302, a data packet decompression module 303, an image generation module 304, a result determination module 305, and an information display module 306, wherein,

[0092] The identifier extraction module 301 is used to obtain the image frame display instruction and extract the image frame identifier;

[0093] The data packet extraction module 302 is used to extract at least one target data packet corresponding to the image frame display instruction from the first memory space according to the image frame identifier;

[0094] The data packet decompression module 303 is used to decompress each target data packet to obtain the image pixel information corresponding to each target data packet;

[0095] The image generation module 304 is used to generate an image to be displayed based on the image pixel information corresponding to each target data packet;

[0096] The result determination module 305 is used to determine the image transmission discrimination result based on the image reading status of the display device in the second memory space;

[0097] The information display module 306 is used to determine whether to transmit the image to be displayed to the display device for display based on the image transmission discrimination result and the image to be displayed.

[0098] The technical solution of this invention involves acquiring an image frame display instruction and extracting an image frame identifier; extracting at least one target data packet corresponding to the image frame display instruction from a first memory space based on the image frame identifier; decompressing each target data packet to obtain image pixel information corresponding to each target data packet; generating an image to be displayed based on the image pixel information corresponding to each target data packet; determining an image transmission discrimination result based on the image reading status of the display device in a second memory space; and determining whether to transmit the image to be displayed to the display device for display based on the image transmission discrimination result and the image to be displayed. By preprocessing the image pixel information in two memory spaces and transmitting the image pixel information to the display device in batches, the problem of the display device losing image pixel information due to excessively fast image pixel information transmission speed is avoided, thus improving the accuracy of image transmission.

[0099] Optionally, the data packet extraction module 302 is specifically used for:

[0100] Based on the image frame identifier, match it with the image identifier to be transmitted corresponding to each image data packet in the first memory space;

[0101] When the identifier matching result corresponding to the image data packet is successful, the image data packet is identified as the target data packet;

[0102] When the identifier matching result corresponding to the image data packet fails, the image data packet is deleted.

[0103] Optionally, the data packet decompression module 303 is specifically used for:

[0104] For each target data packet, the target data packet is decompressed to obtain the image pixel information corresponding to the target data packet; the image pixel information includes: pixel value and corresponding pixel position;

[0105] Based on the image pixel information corresponding to each target data packet, generate the image to be displayed, including:

[0106] The pixel values ​​are combined according to their corresponding pixel positions to generate the image to be displayed.

[0107] Optionally, the result determination module 305 includes:

[0108] The first discrimination unit is used to determine that the image transmission discrimination result is transmittable when the image reading status of the display device corresponding to the second memory space is not read.

[0109] The second discrimination unit is used to determine that the image transmission discrimination result is not transmittable when the image reading state of the display device corresponding to the second memory space is in the process of reading.

[0110] Optionally, the information display module 306 is specifically used for:

[0111] When the image to be displayed is generated and the image transmission judgment result is transmissible, the image to be displayed is transmitted to the second memory space, and the historical image in the second memory space is replaced by the image to be displayed;

[0112] If the image to be displayed is not completed, or if the image transmission determination result is that it cannot be transmitted, the image to be displayed will not be transmitted to the second memory space until the data transmission status becomes transmittable.

[0113] Optionally, the image data packet is obtained through the following steps:

[0114] Generate data packet receiving instructions based on the image frame display instructions;

[0115] A data packet receiving instruction is sent to a second device to enable the second device to send back at least one image data packet. Each image data packet obtains the image to be transmitted and the image resolution type corresponding to the image to be transmitted through the second device. Based on the image resolution type, the image compression information corresponding to the image resolution type is found. The image to be transmitted is compressed based on the image compression information. The image compression information includes: data extraction method and compressed data size.

[0116] Optionally, each image data packet is processed by a second device to extract an image pixel sequence from the image to be transmitted according to the data extraction method in the image compression information. The image pixel sequence includes at least one image pixel information, which includes: the pixel value and pixel position of a pixel. The image pixel sequence is divided according to the amount of compressed data in the image compression information to determine at least one pixel data set. Each pixel data set is compressed to obtain the image data packet corresponding to the pixel data set.

[0117] The image transmission device provided in the embodiments of the present invention can execute the image transmission method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the image transmission method.

[0118] Example 4

[0119] Figure 4 shows a schematic diagram of the structure of an image transmission device 400 that can be used to implement an embodiment of the present invention.

[0120] As shown in Figure 4, the image transmission device 400 includes at least one processor 401 and a memory, such as a read-only memory (ROM) 402 or a random access memory (RAM) 403, communicatively connected to the at least one processor 401. The memory stores computer programs executable by the at least one processor. The processor 401 can perform various appropriate actions and processes based on the computer program stored in the ROM 402 or loaded from storage unit 408 into the RAM 403. The RAM 403 can also store various programs and data required for the operation of the image transmission device 400. The processor 401, ROM 402, and RAM 403 are interconnected via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0121] Multiple components in the image transmission device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, optical disk, etc.; and a communication unit 409, such as a network card, modem, wireless transceiver, etc. The communication unit 409 allows the image transmission device 400 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0122] Processor 401 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 401 performs the various methods and processes described above, such as image transmission methods.

[0123] In some embodiments, the image transmission method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the image transmission device 400 via ROM 402 and / or communication unit 409. When the computer program is loaded into RAM 403 and executed by processor 401, one or more steps of the image transmission method described above may be performed. Alternatively, in other embodiments, processor 401 may be configured to perform the image transmission method by any other suitable means (e.g., by means of firmware).

[0124] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include: implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0125] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0126] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0127] To provide interaction with a user, the systems and techniques described herein can be implemented on an image transmission device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the image transmission device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0128] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0129] A computing system can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system. It addresses the shortcomings of traditional physical hosts and VPS (Virtual Private Server) services, such as high management difficulty and weak business scalability.

[0130] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0131] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. An image transmission method, characterized in that, The method, applied in a first device, includes: acquiring an image frame display instruction and extracting an image frame identifier; extracting at least one target data packet corresponding to the image frame display instruction from a first memory space according to the image frame identifier; decompressing each target data packet to obtain image pixel information corresponding to each target data packet; generating an image to be displayed according to the image pixel information corresponding to each target data packet; determining an image transmission discrimination result according to the image reading status of the display device in a second memory space; and determining whether to transmit the image to be displayed to the display device for display based on the image transmission discrimination result and the image to be displayed.

2. The method according to claim 1, characterized in that, The step of extracting at least one target data packet corresponding to the image frame display instruction from the first memory space according to the image frame identifier includes: matching the image frame identifier with the image identifier to be transmitted corresponding to each image data packet in the first memory space; when the identifier matching result of the image data packet is successful, determining the image data packet as the target data packet; when the identifier matching result of the image data packet is unsuccessful, deleting the image data packet.

3. The method according to claim 1, characterized in that, The step of decompressing each of the target data packets to obtain the image pixel information corresponding to each target data packet includes: decompressing each target data packet to obtain the image pixel information corresponding to the target data packet; the image pixel information includes: pixel value and corresponding pixel position; the step of generating an image to be displayed based on the image pixel information corresponding to each target data packet includes: combining each pixel value according to the corresponding pixel position to generate an image to be displayed.

4. The method according to claim 1, characterized in that, The step of determining the image transmission discrimination result based on the image reading status of the display device in the second memory space includes: when the image reading status of the display device corresponding to the second memory space is not read, determining that the image transmission discrimination result is transmittable; when the image reading status of the display device corresponding to the second memory space is reading, determining that the image transmission discrimination result is not transmittable.

5. The method according to claim 4, characterized in that, The step of determining whether to transmit the image to be displayed to the display device for display based on the image transmission discrimination result and the image to be displayed includes: when the image to be displayed is generated and the image transmission discrimination result is transmittable, transmitting the image to be displayed to the second memory space and replacing the historical image in the second memory space with the image to be displayed; when the image to be displayed is not completed or the image transmission discrimination result is not transmittable, not transmitting the image to be displayed to the second memory space until the image transmission discrimination result is transmittable.

6. The method according to claim 2, characterized in that, The image data packet is obtained through the following steps: generating a data packet receiving instruction according to the image frame display instruction; sending the data packet receiving instruction to a second device so that the second device can send back at least one image data packet; each image data packet obtains the image to be transmitted and the image resolution type corresponding to the image to be transmitted through the second device; finding the image compression information corresponding to the image resolution type according to the image resolution type; compressing the image to be transmitted according to the image compression information; the image compression information includes: data extraction method and compressed data size.

7. The method according to claim 6, characterized in that, Each of the image data packets is processed by the second device to extract an image pixel sequence from the image to be transmitted according to the data extraction method in the image compression information. The image pixel sequence includes at least one image pixel information, which includes: the pixel value and pixel position of a pixel. The image pixel sequence is divided according to the amount of compressed data in the image compression information to determine at least one pixel data set. Each pixel data set is compressed to obtain the image data packet corresponding to the pixel data set.

8. An image transmission device, characterized in that, The device includes: an identifier extraction module for acquiring an image frame display instruction and extracting an image frame identifier; a data packet extraction module for extracting at least one target data packet corresponding to the image frame display instruction from a first memory space based on the image frame identifier; a data packet decompression module for decompressing each of the target data packets to obtain image pixel information corresponding to each target data packet; an image generation module for generating an image to be displayed based on the image pixel information corresponding to each target data packet; a result determination module for determining an image transmission discrimination result based on the image reading status of the display device in the second memory space; and an information display module for determining whether to transmit the image to be displayed to the display device for display based on the image transmission discrimination result and the image to be displayed.

9. An image transmission device, characterized in that, The image transmission device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the image transmission method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the image transmission method according to any one of claims 1-7.