A real-time data transmission method, apparatus, electronic device and system

By using the WebSocket connection mechanism, the server load and memory leak problems caused by HTTP short polling were solved, and real-time data synchronization and stable transmission across multiple terminals were achieved, improving the system's operational stability and data consistency.

CN120602465BActive Publication Date: 2026-07-17SHENZHEN GREEN CONNECTION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN GREEN CONNECTION TECH CO LTD
Filing Date
2025-05-28
Publication Date
2026-07-17

Smart Images

  • Figure CN120602465B_ABST
    Figure CN120602465B_ABST
Patent Text Reader

Abstract

This invention relates to the field of data transmission technology, and discloses a real-time data transmission method, apparatus, electronic device, and system. The method includes: after establishing a WebSocket connection between a backend desktop component and a frontend desktop component, the backend desktop component receives first heartbeat information sent by the frontend desktop component; the first heartbeat information carries a subscription list; the subscription list is used to register a data push service; the backend desktop component receives target data sent by a backend application component, determines the subscription status of each associated frontend desktop component according to the subscription list, and pushes the target data to each target frontend desktop component whose subscription status is "subscribed," thereby pushing the target data to the target frontend application component corresponding to that target frontend desktop component. Therefore, implementing this invention can achieve real-time data push between multiple terminals by establishing a WebSocket connection, thereby improving the efficiency and stability of real-time data transmission and contributing to improved system operational stability.
Need to check novelty before this filing date? Find Prior Art