Network communication method, device, storage medium and program product

By triggering long connections in long polling connections for subscription and event-driven data retrieval, the problems of server resource consumption and scalability are solved, achieving efficient communication and resource optimization, and making it suitable for high-load, high-concurrency network environments.

CN122248045APending Publication Date: 2026-06-19TENCENT MUSIC ENTERTAINMENT TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
TENCENT MUSIC ENTERTAINMENT TECH (SHENZHEN) CO LTD
Filing Date
2026-03-23
Publication Date
2026-06-19

Smart Images

  • Figure CN122248045A_ABST
    Figure CN122248045A_ABST
Patent Text Reader

Abstract

This application relates to a network communication method, device, storage medium, and program product. The method includes: responding to a long polling request triggered by a client, obtaining the subscribed topic carried in the long polling request; if no target data matching the subscribed topic is found, triggering a long connection request to establish a long connection with a second server, and subscribing to the subscribed topic through the long connection; wherein, the second server, upon receiving target data corresponding to the subscribed topic, pushes the target data to a first server through the long connection; and upon receiving the target data pushed by the second server, returns the target data to the client. This method can reduce the resource overhead of long polling services and improve network communication efficiency.
Need to check novelty before this filing date? Find Prior Art