Data transmission method and device, computer device, storage medium and program product

By dynamically registering the target channel application interface, the problem of unregistered channels in cross-platform data transmission is solved, thereby improving the reliability of cross-platform communication and saving development costs.

CN116938892BActive Publication Date: 2026-07-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2022-04-12
Publication Date
2026-07-17

Smart Images

  • Figure CN116938892B_ABST
    Figure CN116938892B_ABST
Patent Text Reader

Abstract

The application provides a data transmission method and device, computer equipment, a storage medium and a program product, and relates to the field of computers. The data transmission method comprises the following steps: receiving a calling instruction for a target channel application program interface sent by a cross-platform framework side, and sending a return data packet to the cross-platform framework side; receiving a registration request for the target channel application program interface sent by the cross-platform framework side; the registration request is generated by the cross-platform framework side when it is determined that the target channel application program interface is not registered based on the return data packet; registering the target channel application program interface based on the registration request; sending a registration completion message to the cross-platform framework side, so that the cross-platform framework side calls the target channel application program interface and generates a target communication channel based on the target channel application program interface; and performing data transmission with the cross-platform framework side through the target communication channel. It can be ensured that the corresponding communication channel is registered, so that cross-platform data transmission is realized.
Need to check novelty before this filing date? Find Prior Art