Inter-device data transmission method and apparatus, device, storage medium, and program product

By using a unified video transmission link to carry upgrade files and control commands, the timing synchronization and command response issues of multi-device networking systems during network fluctuations are resolved, thereby improving the stability and reliability between devices.

CN123185183APending Publication Date: 2026-11-27XIAN NOVASTAR TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611187108.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-05
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, multi-device networking systems suffer from poor timing synchronization between devices, slow command response, low system reliability, and high communication architecture complexity when the network fluctuates or is interrupted.

Method used

A unified video transmission link is used to carry different service data. The upgrade file is converted into a dedicated upgrade image frame to generate an upgrade video, which is transmitted through the video transmission link. Auxiliary data packets are inserted in the blanking area to achieve co-channel transmission of control commands and timestamps, simplifying the communication architecture.

Benefits of technology

It improves the stability of timing synchronization between devices and the real-time performance of command response, reduces the system's sensitivity to network anomalies, enhances the overall operational reliability of multi-device networking systems, and simplifies the communication architecture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123185183A_ABST
    Figure CN123185183A_ABST
Patent Text Reader

Abstract

The application discloses a device-to-device data transmission method and device, equipment, a storage medium and a program product, relates to the technical field of communication, and the method carries different service data by a video transmission link, simplifies the overall communication architecture, and reduces the architecture complexity; for upgrading service, an upgrade file is converted into an upgrade special image frame, an upgrade video is generated, and then is transmitted by means of the video transmission link, and an independent upgrade link is no longer built, so that the number of links is reduced; after a single video transmission link replaces multiple separated network links, system operation no longer excessively depends on complex network conditions, when facing network fluctuations, interruptions and other abnormalities, the affected range is reduced, and the problem that multiple link faults involve all interactive services is avoided. The unified video transmission link can guarantee the stability and continuity of data transmission, and enhances the reliability of overall operation of the multi-device networking system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method, apparatus, device, storage medium, and program product for data transmission between devices. Background Technology

[0002] As distributed multi-device collaborative application scenarios become increasingly popular, various intelligent devices often form network systems. Devices need to complete interactive tasks such as program version updates, operation status management, and timing data alignment to ensure the stable collaborative operation of the entire device system.

[0003] Currently, the industry commonly employs a multi-network link separation transmission method for device interaction. Device program upgrades are performed using file transfer protocols or hypertext transfer protocols, control commands are issued using transmission control protocols or user datagram protocols, and device timing synchronization is achieved through network time protocols or precision time protocols. In this transmission mode, different services correspond to independent communication links, resulting in a high overall architectural complexity and operational performance heavily dependent on on-site network conditions. When network fluctuations, interruptions, or other abnormal situations occur, all interactive services of the entire multi-device network system are affected, making it difficult to effectively maintain timing synchronization between devices, resulting in insufficient real-time command response and compromised overall system reliability. Summary of the Invention

[0004] This application provides a method, apparatus, device, storage medium, and program product for data transmission between devices, in order to at least solve the problems of complex multi-link separated transmission architecture, susceptibility to network anomalies, poor timing synchronization, slow command response, and low system reliability.

[0005] This application provides a method for data transmission between devices, comprising: acquiring data to be transmitted, the data to be transmitted being used to send to multiple receiving devices that are cascaded together; if the data to be transmitted includes an upgrade file, converting the data to be transmitted into upgrade-specific image frames; generating an upgrade video based on the upgrade-specific image frames; and sending the upgrade video to multiple receiving devices through a video transmission link between the sending device and the target receiving device.

[0006] This application provides another method for data transmission between devices, including: receiving an upgrade video sent by a sending device through a video transmission link; when switching to upgrade mode, extracting upgrade-specific image frames from the upgrade video; reconstructing an upgrade file based on the upgrade-specific image frames; and performing a device upgrade based on the upgrade file.

[0007] This application also provides an inter-device data transmission apparatus, comprising: The acquisition module is used to acquire the data to be transmitted, which is then sent to multiple cascaded receiving devices. The conversion module is used to convert the data to be transmitted into upgrade-specific image frames when the data to be transmitted includes upgrade files. The video generation module is used to generate upgrade videos based on upgrade-specific image frames; The sending module is used to send upgraded video to multiple receiving devices via a video transmission link between the sending device and the target receiving device.

[0008] This application also provides another device-to-device data transmission apparatus, including: The receiving module is used to receive the upgraded video sent by the sending device through the video transmission link; The extraction module is used to extract upgrade-specific image frames from the upgrade video when switching to upgrade mode; The processing module is used to reconstruct the upgrade file based on the upgrade-specific image frame and perform the device upgrade according to the upgrade file.

[0009] This application also provides an electronic device, including: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of any of the above-described inter-device data transmission methods.

[0010] This application also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of any of the above-described inter-device data transmission methods.

[0011] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described inter-device data transmission methods.

[0012] This application abandons the architecture of separate transmission across multiple network links, instead adopting a unified video transmission link to carry different service data, simplifying the overall communication architecture and reducing its complexity. For upgrade services, upgrade files are converted into dedicated upgrade image frames and upgraded videos are generated before being transmitted via the video transmission link. This eliminates the need for separate upgrade links built using file transfer protocols or hypertext transfer protocols, reducing the number of links. With a single video transmission link replacing multiple separate network links, system operation is no longer overly dependent on complex network conditions. When faced with network fluctuations or interruptions, the affected scope is significantly reduced, avoiding the problem of multiple link failures impacting all interactive services. Simultaneously, the unified video transmission link ensures the stability and continuity of data transmission, maintaining time synchronization between devices and improving the real-time response of control commands and upgrade data, ultimately enhancing the overall reliability of the multi-device network system. Attached Figure Description

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

[0014] Figure 1 A schematic flowchart illustrating a method for data transmission between devices provided in an embodiment of this application; Figure 2 A flowchart illustrating another method for data transmission between devices provided in an embodiment of this application; Figure 3 A flowchart illustrating another method for data transmission between devices provided in this application embodiment; Figure 4 This is a schematic diagram of the device cascading transmission architecture provided in the embodiments of this application; Figure 5 This is a schematic diagram of the structure of an inter-device data transmission device provided in an embodiment of this application; Figure 6 This is a schematic diagram of another inter-device data transmission apparatus provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0015] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.

[0016] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0017] To more clearly illustrate the embodiments of this application, the technical terms used in the embodiments will be briefly introduced below: A video transmission link refers to a combination of physical transmission media and interface protocols that can carry uncompressed digital video signals, auxiliary data, and control information to enable video and data interaction between devices. It includes three standard transmission forms: High-Definition Multimedia Interface (HDMI), DisplayPort (DP), and video extension links based on RJ45.

[0018] Secondary Data Packet (SDP) is a dedicated auxiliary data container transmitted during the video blanking period. It is used to carry metadata, audio, control commands, and extended information synchronized with video frames outside the main video stream, enabling link management, audio-visual synchronization, and functional expansion.

[0019] The Vertical Blanking Interval (VBlank) is a non-display time interval in raster scan display timing, between the end of the last line of valid video in a frame / field and the beginning of the first line of valid video in the next frame / field. During this period, the scan beam is turned off (or no valid pixels are output), and no image content is presented. It is used for vertical retrace, frame synchronization, link management, and auxiliary data transmission.

[0020] Currently, the industry commonly employs a multi-network link separation transmission method for device interaction. Device program upgrades are performed using file transfer protocols or hypertext transfer protocols, control commands are issued using transmission control protocols or user datagram protocols, and device timing synchronization is achieved through network time protocols or precision time protocols. In this transmission mode, different services correspond to independent communication links, resulting in a high overall architectural complexity and operational performance heavily dependent on on-site network conditions. When network fluctuations, interruptions, or other abnormal situations occur, all interactive services of the entire multi-device network system are affected, making it difficult to effectively maintain timing synchronization between devices, resulting in insufficient real-time command response and compromised overall system reliability.

[0021] To address all or part of the aforementioned technical problems, this application provides a method for data transmission between devices. This method, applied to a transmitting device, abandons the architecture of separate transmission across multiple network links, instead using a unified video transmission link to carry different service data, simplifying the overall communication architecture and reducing its complexity. For upgrade services, the upgrade file is converted into a dedicated upgrade image frame and an upgrade video is generated before transmission via the video transmission link. This eliminates the need for separate upgrade links based on file transfer protocols or hypertext transfer protocols, reducing the number of links. With a single video transmission link replacing multiple separate network links, system operation is no longer overly dependent on complex network conditions. When faced with network fluctuations or interruptions, the affected scope is significantly reduced, avoiding the problem of multiple link failures impacting all interactive services. Simultaneously, the unified video transmission link ensures the stability and continuity of data transmission, maintaining the effect of time synchronization between devices and improving the real-time response of control commands, upgrade data, and other content, ultimately comprehensively enhancing the overall reliability of the multi-device network system.

[0022] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0023] An embodiment of this application provides a method for data transmission between devices, applied to a transmitting device, which is a video transmitting device and belongs to the encoding end.

[0024] like Figure 1 As shown, the inter-device data transmission method includes the following steps S101~S104: S101. Obtain the data to be transmitted.

[0025] The data to be transmitted is data that needs to be sent to multiple receiving devices that are cascaded together, including at least one of upgrade files, control commands, and timestamps.

[0026] The receiving device is a video receiving device, belonging to the decoding end. At least one receiving device can be a cascaded LCD video wall. Each LCD video wall can carry one LCD screen, and multiple LCD screens can be spliced ​​together to form a large LCD video wall for displaying video sources with high resolution or high display specifications.

[0027] S102. If the data to be transmitted includes upgrade files, convert the data to be transmitted into upgrade-specific image frames.

[0028] In some embodiments, during the process of converting upgrade data into upgrade-specific image frames, the data to be transmitted is first subjected to integrity verification. After the integrity verification is passed, verification information is added to the data to be transmitted. Then, the data to be transmitted with the added verification information is mapped into upgrade-specific image frames according to a preset bit encoding rule.

[0029] In practice, the sending device first reads the upgrade file and generates an original check value to perform integrity verification on the data content of the upgrade file. After the verification is passed, a cyclic redundancy check code or hash check value is appended to the end of the data in the upgrade file as verification information, forming a complete upgrade file with verification information.

[0030] Optionally, the binary data of the upgrade file after adding verification information is mapped to pixel values ​​of a single-frame video image by mapping every M consecutive N bits. For example, three consecutive 8-bit data are grouped together, corresponding to the red, green, and blue component values ​​of a single pixel, and filled pixel by pixel to a complete image frame layer of a preset resolution, generating a dedicated upgrade image frame that only carries upgrade data and does not contain video content.

[0031] The upgrade file's binary data is mapped to pixel color components using a fixed bit grouping rule. This standardized mapping logic ensures a precise correspondence between data and pixels, facilitating unified parsing and conversion at both sending and receiving ends. Data is carried by RGB components, fully utilizing the pixel storage space of video image frames for efficient data encapsulation. The generated image frames are used solely for transmitting upgrade data, containing no redundant image content, thus avoiding invalid information consuming transmission resources. Combined with pre-verification information, data integrity can be quickly verified during the parsing stage, ensuring stable and accurate transmission of upgrade data in the video transmission link.

[0032] The above embodiments first perform integrity verification on the upgrade data, which can screen out damaged or missing abnormal data in advance, avoiding invalid data transmission and equipment upgrade failure from the source. After the verification is passed, verification information is attached, and then encoded and mapped into image frames according to rules. This allows the receiving end to verify the integrity and accuracy of the data a second time based on the verification information, and also achieves standardized conversion of data to image frames through standardized bit encoding, ensuring that the upgrade data is transmitted completely and without errors in the video transmission link, further improving the stability and success rate of the equipment upgrade process.

[0033] In some embodiments, the upgrade file can be divided into blocks of a preset byte size. After adding a frame sequence number and a check code to each block of data, it is mapped sequentially into multiple upgrade-specific image frames. Each frame carries part of the upgrade data and records the frame sequence order, forming a segmented upgrade-specific image frame sequence, which makes it easy for the receiving end to splice and restore the complete upgrade file in sequence.

[0034] The above embodiments divide the upgrade file into blocks, add a frame sequence number and checksum to each block, and then map it into multiple image frames to form a segmented sequence. Block transmission reduces the amount of data per frame, adapting to the capacity limitations of standard video frames and avoiding the transmission pressure caused by transmitting a complete file at once. The frame sequence number allows the receiving end to accurately identify the order of each data block, ensuring the correctness of the splicing and reconstruction, and preventing out-of-order or missing frame issues. The checksum allows the receiving end to independently verify each frame; if an error is found in a frame, only that frame can be retransmitted without retransmitting all data, improving the fault tolerance and transmission efficiency of upgrade data transmission, and enhancing the stability and reliability of the device upgrade process.

[0035] S103. Generate an upgrade video based on the upgrade-specific image frame.

[0036] In some embodiments, upgrade-specific image frames are copied to generate an upgrade video where each frame is an upgrade-specific image frame. Specifically, the transmitting device uses the upgrade-specific image frame as the source frame, performs frame sequence encoding according to a standard video timing format, and continuously outputs the upgrade-specific image frame to generate an upgrade video with a constant frame. This upgrade video does not contain service video content and is used to carry upgrade data and adapt to the video transmission link.

[0037] The above optional embodiments generate a constant-frame upgrade video by repeatedly encoding a single upgrade-specific image frame. The frame sequence is constructed strictly following standard video timing formats, perfectly adapting to conventional video transmission links without requiring modification of existing transmission channels. The video, carrying only data, does not contain any additional business video content, avoiding interference from irrelevant data in the upgrade data transmission. The repeated frame output format ensures continuous and stable transmission of upgrade data, guaranteeing data transmission continuity. Simultaneously, it simplifies the video generation logic, reduces encoding processing overhead, and further improves the stability and adaptability of upgrade data transmission in the video transmission link.

[0038] In some embodiments, if the upgrade file is segmented and mapped into multiple upgrade-specific image frames, then each upgrade-specific image frame is sequentially treated as a video frame according to a preset frame sequence order, and continuously encoded in accordance with the standard video encoding format and frame rate to generate an upgrade video containing a complete frame sequence. The order of the video frames corresponds one-to-one with the data block sequence number, which facilitates the receiving end to parse and restore the upgrade file in sequence.

[0039] The above embodiments, when generating video from segmented upgrade data, encode the data according to a one-to-one correspondence between the data block number and the frame sequence order. The generated upgrade video frame sequence strictly matches the order of the data blocks, allowing the receiving end to directly parse the frame data in the video playback order without additional frame sorting logic, thus reducing the complexity of the parsing process. Relying on standard video encoding formats and frame rates, the generated video can be directly adapted to conventional video transmission links without requiring modifications to the transmission channel. Furthermore, the segmented video frame design supports the receiving end in parsing data blocks as it receives data, facilitating breakpoint resumption or retransmission of incorrect frames. When a single frame is corrupted, only the corresponding frame needs to be retransmitted, without retransmitting the entire upgrade video, improving the fault tolerance and efficiency of upgrade data transmission and ensuring the stability of the device upgrade process.

[0040] S104. The upgraded video is sent to multiple receiving devices via the video transmission link between the sending device and the target receiving device.

[0041] The sending device reuses the existing video transmission link, stops the transmission of service video, and sends the generated upgrade video to the first receiving device in the cascade. This allows the first receiving device to extract any frame from the upgrade video, recover the upgrade file, and perform the device upgrade. At the same time, the receiving device forwards the upgrade video to the next receiving device through its own video output interface. This cascading transmission ensures that all receiving devices in the cascaded link receive the upgrade video synchronously, enabling rapid batch upgrades.

[0042] This method reuses existing video transmission links for upgrade data transmission, eliminating the need to build additional dedicated communication links, saving hardware and modification costs, and further simplifying the system architecture. Pausing business video transmission allows for dedicated transmission channels, avoiding data contention and ensuring the quality of upgrade video transmission. Cascaded devices extract data frame by frame to reconstruct the upgrade file and complete the upgrade. Simultaneously, the upgrade video is forwarded sequentially at each level, allowing devices throughout the cascaded link to receive data synchronously, achieving batch synchronous upgrades, improving overall upgrade efficiency. Furthermore, the transmission process is simple and easy to implement, effectively reducing the operational and maintenance difficulties of upgrade operations in multi-level device networks.

[0043] like Figure 2 As shown, this application embodiment provides another method for data transmission between devices. This method is applied to a sending device and includes the following steps S201~S205: S201. Obtain the data to be transmitted.

[0044] S202. If the data to be transmitted includes control commands and / or timestamps, encapsulate the control commands and / or timestamps into auxiliary data packets.

[0045] Control commands are structured instruction data used to perform function configuration, status adjustment, or operation control on cascaded devices in a video transmission link. They include instruction type, target device address, instruction code, and parameters.

[0046] A timestamp is a high-precision time stamp data generated based on the system's reference clock, used for clock synchronization and timing calibration between cascaded devices.

[0047] In some embodiments, when the data to be transmitted includes control commands, the process of encapsulating the control commands into auxiliary data packets involves first constructing a control frame for the auxiliary data channel. The control frame includes a control frame identifier (CONTROL), the target device address, the command code of the control command, and command parameters. Then, the control frame is written into the auxiliary data channel of the original video signal to obtain the auxiliary data packet.

[0048] Specifically, when the data to be transmitted includes control commands, the command code and command parameters corresponding to the control commands are first extracted, a control frame identifier is generated and the target device address is determined, and an auxiliary data channel control frame containing the control frame identifier, the target device address, the command code and command parameters is constructed; then the control frame is written into the auxiliary data channel of the original video signal to complete the encapsulation of the auxiliary data packet.

[0049] The above embodiments utilize the auxiliary data channel of the original video signal to carry control commands, eliminating the need for additional independent network links. This continues to rely on the video transmission channel for multi-service converged transmission, further simplifying the system architecture. Command encapsulation is achieved by constructing standard control frames containing identifiers, device addresses, command codes, and parameters. The data format is standardized and clear, facilitating rapid identification and parsing of command content by the receiving device, and accurate location of the target execution device. After the control frames are written into the auxiliary data channel, control commands and video data are transmitted synchronously, ensuring real-time command issuance. Simultaneously, the two types of data are independent and do not interfere with each other, improving the accuracy of command transmission and the stability of overall communication.

[0050] In some embodiments, when the data to be transmitted includes a timestamp, the process of encapsulating the timestamp into an auxiliary data packet first involves constructing a synchronization frame for the auxiliary data channel. This synchronization frame includes a synchronization frame identifier (SYNC), the target device address, and the timestamp. The synchronization frame is then written into the auxiliary data channel of the original video signal to obtain the auxiliary data packet.

[0051] Specifically, when the data to be transmitted contains a timestamp, the high-precision timestamp generated by the system reference clock is first obtained, a synchronization frame identifier is generated and the target device address is configured, and an auxiliary data channel synchronization frame containing the synchronization frame identifier, the target device address and the timestamp is constructed; then the synchronization frame is written into the auxiliary data channel of the original video signal to complete the encapsulation of the auxiliary data packet.

[0052] The above embodiments encapsulate the timestamp into a synchronization frame containing a unique identifier, device address, and time information, and write it into the video auxiliary data channel for transmission. Relying on existing video transmission links, timing synchronization data and video data are transmitted in the same path, eliminating the need for additional timing synchronization links and continuously simplifying the overall architecture. The standardized synchronization frame structure facilitates rapid device identification and parsing, accurately matching target devices and ensuring accurate delivery of timestamp information. The timestamp is transmitted synchronously with the video signal, ensuring the real-time alignment and consistency of timing across all network devices, effectively avoiding timing deviation problems that easily occur in traditional multi-link transmission, and enhancing the timing synchronization capabilities and system stability of multi-device networks.

[0053] In some embodiments, when the data to be transmitted includes control commands and timestamps, control frames and synchronization frames for the auxiliary data channel are first constructed, then the control frames and synchronization frames are merged into a composite auxiliary data frame, and the composite auxiliary data frame is further written into the auxiliary data channel of the original video signal to obtain an auxiliary data packet.

[0054] Specifically, when the data to be transmitted contains both control commands and timestamps, the control frame identifier, target device address, command code, and command parameters are first generated to construct the control frame of the auxiliary data channel; at the same time, a high-precision timestamp is obtained to generate a synchronization frame identifier and target device address to construct the synchronization frame of the auxiliary data channel; the control frame and synchronization frame are merged into a composite auxiliary data frame according to a preset frame format, and then the composite auxiliary data frame is written into the auxiliary data channel of the original video signal to complete the encapsulation of the auxiliary data packet.

[0055] The above embodiments integrate control frames and synchronization frames into a composite auxiliary data frame and write it into the video auxiliary data channel. This allows control commands and timestamp information to be carried simultaneously within the same transmission unit, eliminating the need to send the two types of data separately, thus improving transmission efficiency and channel utilization. The unified transmission of the merged frame body ensures precise coordination between control command issuance and device timing synchronization, avoiding timing differences caused by the sequential transmission of the two types of data. The entire process reuses the video transmission link without adding new communication channels, maintaining architectural simplicity. The unified frame format also facilitates the receiving device in parsing both types of data at once, reducing data processing overhead and further improving the overall stability of multi-device collaborative operation.

[0056] S203. Insert auxiliary data packets into the blanking region of the original video signal.

[0057] Within the line blanking interval or field blanking interval of the original video signal, an auxiliary data insertion time slot is reserved according to the video timing specification. The encapsulated auxiliary data packet is written into the blanking interval time slot in byte stream format, without occupying the effective video image data area, so that the auxiliary data packet is time-aligned with the original video signal and transmitted in superposition.

[0058] S204. Combine the original video signal with the auxiliary data packets of the blanking region to form the target video.

[0059] The original video signal can be either business video or upgrade video.

[0060] According to the video timing specification, the original video signal containing valid image pixels is time-merged with the auxiliary data packets inserted in the line blanking area or the field blanking area, so that the two are arranged synchronously within the same video frame period and do not interfere with each other, forming a target video signal containing image data and auxiliary data.

[0061] S205. The target video is sent to multiple receiving devices through the video transmission link between the sending device and the target receiving device.

[0062] The transmitting device reuses the existing video transmission link to send the target video with embedded auxiliary data packets to multiple receiving devices, so that the receiving devices can parse the control instructions from the auxiliary data packets and execute control actions according to the line buffer to achieve cascading control; and / or, parse the timestamps and perform local time correction according to the line buffer to achieve line-level synchronization.

[0063] The aforementioned inter-device data transmission method encapsulates control commands and / or timestamps into auxiliary data packets, inserts them into the blanking region of the original video signal, and superimposes them to form the target video. It achieves co-channel transmission of video data and auxiliary data using a single video transmission link, eliminating the need for separate control or timing synchronization links and simplifying the communication architecture of multi-device cascaded systems. The insertion of the blanking region does not occupy valid video frame data, thus not affecting normal video playback quality while ensuring that control commands and timestamp information are transmitted synchronously with the video signal, improving the real-time performance of command issuance and timing synchronization. By reusing existing video transmission links, no additional hardware modifications are required, and unified support for video transmission, remote control, and timing synchronization services is achieved simultaneously, effectively reducing system complexity and maintenance costs, and improving overall operational reliability and stability.

[0064] like Figure 3 As shown, this application provides another method for data transmission between devices, which is applied to a receiving device and includes the following steps S301~S303: S301, Receive upgrade video sent by the transmitting device through the video transmission link.

[0065] A video transmission link is the video transmission link between a sending device and a receiving device.

[0066] S302. When switching to upgrade mode, extract upgrade-specific image frames from the upgrade video.

[0067] When the receiving device switches to upgrade mode, it shuts down the video decoding path, pauses the video decoding playback function, or actively blocks the display output of the video layer, thus not outputting video images; in upgrade mode, it randomly extracts any complete image frame from the upgrade video as a dedicated image frame for upgrade.

[0068] S303. Restore the upgrade file based on the upgrade-specific image frame, and perform device upgrade based on the upgrade file.

[0069] The receiving device decodes the randomly selected upgrade-specific image frame in reverse according to the preset bit encoding rules, restores the original upgrade file, and performs integrity verification to ensure the accuracy and integrity of the upgrade file transmission; after the verification is passed, it is written to the device storage medium and the device upgrade is performed.

[0070] In some embodiments, if the upgrade video is a segmented image frame sequence, the receiving device restores each frame data block sequentially according to the frame number, first verifies the single frame data, and then splices it into a complete upgrade file according to the sequence number. After verifying that the overall file hash is correct, the upgrade program is called to flash the firmware and verify the version of the device, thus completing the upgrade process.

[0071] The above embodiments construct a multi-layered data protection mechanism in the segmented video upgrade process by performing sequential restoration by frame number, single-frame data verification, sequential file splicing, overall hash verification, and firmware flashing. Single-frame verification can filter out erroneous data blocks in advance, avoiding invalid splicing; sequential splicing ensures the correct order of data blocks, restoring a complete upgrade file; overall hash verification further verifies file integrity, eliminating the risk of data tampering or loss during transmission; finally, the upgrade program is called to complete the flashing and version verification, ensuring the upgrade process is safe and reliable, reducing the risk of device bricking, and significantly improving the fault tolerance, accuracy, and stability of the segmented video upgrade solution.

[0072] In some embodiments, the receiving device receives the target video sent by the transmitting device through a video transmission link, performs timing analysis on the target video, and separates the original video signal from the auxiliary data packets of the blanking region. Data encoding detection is performed on the video layer of the original video signal to determine whether non-display data encoding exists. If no non-display data encoding is detected, it indicates that the original video signal is a service video signal, and the receiving device encodes the original video signal and performs video playback. If non-display data encoding is detected, it indicates that the original video signal is an upgrade video, and the receiving device pauses video playback, randomly extracts upgrade-specific image frames from the upgrade video, and restores them according to a preset bit encoding rule to obtain the original upgrade file. The receiving device can then perform a device upgrade based on this upgrade file.

[0073] Simultaneously, the receiving device decapsulates auxiliary data packets to obtain control frames and / or synchronization frames. If a control frame is parsed, the target device address, instruction code, and instruction parameters are extracted from the control frame, and control actions are executed according to the row buffer timing sequence to achieve cascaded control. If a synchronization frame is parsed, the timestamp is extracted from the synchronization frame, and local time correction is performed according to the row buffer timing sequence to achieve row-level clock synchronization between cascaded devices.

[0074] In the above embodiments, the receiving device separates video signals and auxiliary data packets through timing analysis, enabling the differentiated processing of service video, upgrade data, control commands, and time synchronization information, resulting in a clear functional division. By detecting the video layer encoding type, it automatically identifies service video and upgrade video without requiring additional instructions to switch working modes. The device can intelligently adapt to different transmission content, achieving a higher degree of automation. For upgrade videos, image frames are randomly extracted to restore the upgrade file, simplifying the operation and reliably recovering complete data, ensuring smooth device upgrades. After decapsulating the auxiliary data packets, control frames and synchronization frames are analyzed separately. Control actions are executed and local time is corrected based on the line buffer timing, achieving not only precise cascaded control but also high-precision clock synchronization at the line level. Multiple services are completed using a single video transmission link, with each data being independent and parsing not interfering with each other. While ensuring normal video playback, it efficiently achieves device upgrades, remote control, and timing synchronization, improving the intelligence, operational accuracy, and overall reliability of the multi-device cascaded system.

[0075] like Figure 4 As shown, "There is a video transmission link between the transmitting and receiving devices, transmitting video signals and control signals. There are multiple receiving devices (LCD driver boards / video wall panels), each driving a screen to form a large display screen. The receiving devices are cascaded." The video signal (such as business video) output from the video source is connected to the transmitting device. The transmitting device verifies the video signal and control signal, generating a composite signal carrying video signals and control commands. This composite signal is sent to the input port (IN) of the first receiving device through the video transmission link. The receiving device can be an LCD driver board or a video wall panel. A single receiving device drives one display screen. Multiple receiving devices are cascaded sequentially through a loop-out port. The previous receiving device connects the composite signal carrying video signals and control commands to the input port of the next receiving device via the loop-out interface, thus passing the signal step by step to form a chain-like cascaded structure. All receiving devices in the link can obtain the same video signal and control commands. Other modules of each receiving device represent functional units such as video playback and upgrade processing. Multiple screens are spliced ​​together to form a complete large display screen. It can support a single video link, simultaneously carrying video data and control commands, enabling cascading transmission and collaborative operation of multiple devices.

[0076] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.

[0077] like Figure 5 As shown, embodiments of this application also provide an inter-device data transmission apparatus, the apparatus comprising: The acquisition module 501 is used to acquire data to be transmitted, which is used to send to multiple receiving devices that are cascaded together. The conversion module 502 is used to convert the data to be transmitted into upgrade-specific image frames when the data to be transmitted includes upgrade files. Video generation module 503 is used to generate upgrade video based on upgrade-specific image frames; The sending module 504 is used to send the upgrade video to multiple receiving devices through the video transmission link between the sending device and the target receiving device.

[0078] In some embodiments, the conversion module 502 is used to: perform integrity verification on the data to be transmitted; after passing the integrity verification, add verification information to the data to be transmitted; and map the data to be transmitted with the added verification information into an upgrade-specific image frame according to a preset bit encoding rule.

[0079] In some embodiments, the video generation module 503 is used to: copy upgrade-specific image frames to generate an upgrade video in which each frame is an upgrade-specific image frame.

[0080] In some embodiments, the apparatus further includes an encapsulation module for: encapsulating control commands and / or timestamps into auxiliary data packets when the data to be transmitted includes control commands and / or timestamps; inserting auxiliary data packets into the blanking region of the original video signal; combining the original video signal with the auxiliary data packets in the blanking region to form a target video; and sending the target video to multiple receiving devices via a video transmission link.

[0081] In some embodiments, the encapsulation module is configured to: construct a control frame for an auxiliary data channel when the data to be transmitted includes control instructions, wherein the control frame includes the instruction code and instruction parameters of the control instructions; and write the control frame into the auxiliary data channel of the original video signal to obtain an auxiliary data packet.

[0082] In some embodiments, the encapsulation module is configured to: construct a synchronization frame for the auxiliary data channel, wherein the synchronization frame includes a timestamp, when the data to be transmitted includes a timestamp; and write the synchronization frame into the auxiliary data channel of the original video signal to obtain an auxiliary data packet.

[0083] In some embodiments, the encapsulation module is configured to: construct control frames and synchronization frames for an auxiliary data channel when the data to be transmitted includes control instructions and timestamps, wherein the synchronization frame includes a timestamp; the control frame includes the instruction code and instruction parameters of the control instructions; merge the control frames and synchronization frames into a composite auxiliary data frame; and write the composite auxiliary data frame into the auxiliary data channel of the original video signal to obtain an auxiliary data packet.

[0084] In some embodiments, the apparatus further includes an encapsulation module for: encapsulating control instructions and / or timestamps into auxiliary data packets when the data to be transmitted also includes control instructions and / or timestamps; inserting auxiliary data packets into the blanking region of the upgraded video; combining the upgraded video with the auxiliary data packets of the blanking region into a target video; and sending the target video to a receiving device via a video transmission link.

[0085] like Figure 6 As shown in the figure, this application embodiment also provides another device-to-device data transmission apparatus, the apparatus comprising: The receiving module 601 is used to receive the upgrade video sent by the sending device through the video transmission link; Extraction module 602 is used to extract upgrade-specific image frames from the upgrade video when switching to upgrade mode; The processing module 603 is used to reconstruct the upgrade file based on the upgrade-specific image frame and perform a device upgrade based on the upgrade file.

[0086] For a description of the features in the embodiment corresponding to the inter-device data transmission device, please refer to the relevant description in the embodiment corresponding to the inter-device data transmission method, which will not be repeated here.

[0087] like Figure 7 As shown, embodiments of this application also provide an electronic device, including a memory 701 and a processor 702. The memory 701 stores a computer program, and the processor 702 is configured to run the computer program to perform the steps in any of the above embodiments of the inter-device data transmission method.

[0088] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above embodiments of the inter-device data transmission method when running.

[0089] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0090] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above embodiments of the inter-device data transmission method.

[0091] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above embodiments of the inter-device data transmission method.

[0092] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0093] The foregoing has provided a detailed description of a method, apparatus, device, storage medium, and program product for data transmission between devices provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.

Claims

1. A method for data transmission between devices, characterized in that, Applied to a transmitting device, the method includes: Acquire data to be transmitted, which is used to send to multiple receiving devices that are cascaded together. If the data to be transmitted includes an upgrade file, the data to be transmitted is converted into an upgrade-specific image frame; An upgrade video is generated based on the upgrade-specific image frames; The upgraded video is sent to the plurality of receiving devices via the video transmission link between the sending device and the target receiving device.

2. The method according to claim 1, characterized in that, The step of converting the data to be transmitted into upgrade-specific image frames includes: The integrity of the data to be transmitted is checked; the integrity check is used to verify the integrity of the data to be transmitted during the transmission and storage process. After the integrity check is passed, verification information is added to the data to be transmitted; According to the preset bit encoding rules, the data to be transmitted after adding verification information is mapped to an upgrade-specific image frame.

3. The method according to claim 1, characterized in that, The step of generating the upgrade video based on the upgrade-specific image frame includes: The upgrade-specific image frames are copied to generate an upgrade video where each frame is an upgrade-specific image frame.

4. The method according to claim 1, characterized in that, The method further includes: If the data to be transmitted includes control commands and / or timestamps, the control commands and / or timestamps are encapsulated into auxiliary data packets; The auxiliary data packet is inserted into the blanking region of the original video signal; The original video signal is combined with the auxiliary data packets of the blanking region to form the target video; The target video is sent to the plurality of receiving devices via the video transmission link.

5. The method according to claim 4, characterized in that, When the data to be transmitted includes control commands and / or timestamps, the control commands and / or timestamps are encapsulated into auxiliary data packets, including: When the data to be transmitted includes control commands, a control frame for the auxiliary data channel is constructed, wherein the control frame includes the command code and command parameters of the control commands; The control frame is written into the auxiliary data channel of the original video signal to obtain the auxiliary data packet.

6. The method according to claim 4, characterized in that, When the data to be transmitted includes control commands and / or timestamps, the control commands and / or timestamps are encapsulated into auxiliary data packets, including: If the data to be transmitted includes a timestamp, a synchronization frame for the auxiliary data channel is constructed, the synchronization frame including the timestamp; The synchronization frame is written into the auxiliary data channel of the original video signal to obtain the auxiliary data packet.

7. The method according to claim 4, characterized in that, When the data to be transmitted includes control commands and / or timestamps, the control commands and / or timestamps are encapsulated into auxiliary data packets, including: When the data to be transmitted includes control commands and timestamps, control frames and synchronization frames for the auxiliary data channel are constructed, wherein the synchronization frame includes the timestamp; and the control frame includes the command code and command parameters of the control command. The control frame and the synchronization frame are merged into a composite auxiliary data frame; The composite auxiliary data frame is written into the auxiliary data channel of the original video signal to obtain the auxiliary data packet.

8. The method according to claim 1, characterized in that, After generating the upgrade video based on the upgrade-specific image frame, and before sending the upgrade video to the plurality of receiving devices via the video transmission link between the sending device and the target receiving device, the method further includes: If the data to be transmitted also includes control instructions and / or timestamps, the control instructions and / or timestamps are encapsulated into auxiliary data packets; Insert the auxiliary data packet into the blanking region of the upgraded video; The upgraded video is combined with the auxiliary data packet of the blanking region to form the target video; The target video is sent to the plurality of receiving devices via the video transmission link.

9. A method for data transmission between devices, characterized in that, Applied to a receiving device, the method includes: The receiving and transmitting device sends the upgraded video via the video transmission link; When switching to upgrade mode, upgrade-specific image frames are extracted from the upgrade video; The upgrade file is reconstructed based on the upgrade-specific image frame, and the device upgrade is performed based on the upgrade file.

10. A device for data transmission between equipment, characterized in that, include: An acquisition module is used to acquire data to be transmitted, which is used to send to multiple receiving devices that are cascaded together. The conversion module is used to convert the data to be transmitted into upgrade-specific image frames when the data to be transmitted includes upgrade files. The video generation module is used to generate an upgrade video based on the upgrade-specific image frames; The sending module is used to send the upgraded video to the plurality of receiving devices through a video transmission link between the sending device and the target receiving device.

11. A device for data transmission between equipment, characterized in that, include: The receiving module is used to receive the upgraded video sent by the sending device through the video transmission link; An extraction module is used to extract upgrade-specific image frames from the upgrade video when switching to upgrade mode; The processing module is used to reconstruct the upgrade file based on the upgrade-specific image frame, and to perform a device upgrade based on the upgrade file.

12. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the inter-device data transfer method as described in any one of claims 1 to 9 when executing the computer program.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the inter-device data transmission method as described in any one of claims 1 to 9.

14. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the inter-device data transmission method as described in any one of claims 1 to 9.