US20170171255A1

Method and device for establishing a data connection and computer-readable medium

Claim Score by NHIP

Read claim 1, the broadest

Abstract

A method and a device for establishing a data connection and computer-readable medium are provided. The method includes receiving a data packet transmitted by a terminal, the data packet carrying an identifier of a target application and transmission data; extracting the identifier of the target application; based on the identifier of the target application and a preset callback function mapping table, determining a target callback function corresponding to the target application, wherein the preset callback function mapping table comprises at least one identifier of at least one application and at least one corresponding callback function, and the target callback function is configured to transmit the transmission data to a data memory address corresponding to the target application; running the target callback function to transmit the transmission data to the target application.

US20170171255A1, drawing sheet 1
Sheet 1 of 7

Term

Projected expiry 9 November 2036.

  1. Priority
  2. Filed
  3. Published
  4. Today
  5. Projected expiry

15 claims: 3 independent, 12 dependent

  1. 1
    Broadest claimClaim Score 66, broad(NHIP)A method for establishing a data connection, comprising:receiving a data packet transmitted by a terminal, the data packet carrying an identifier of a target application and transmission data;extracting the identifier of the target application;determining, based on the identifier of the target application and a preset callback function mapping table, a target callback function corresponding to the target application, wherein the preset callback function mapping table comprises at least one identifier of at least one application and at least one corresponding callback function, and the target callback function is configured to transmit the transmission data to a data memory address corresponding to the target application;andrunning the target callback function to transmit the transmission data to the target application.
  2. 6
    A device for establishing a data connection, comprising:a processor;a memory for storing instructions executable by the processor;wherein the processor is configured to:receive a data packet transmitted by a terminal, the data packet carrying an identifier of a target application and transmission data;extract the identifier of the target application;determine, based on the identifier of the target application and a preset callback function mapping table, a target callback function corresponding to the target application, wherein the preset callback function mapping table comprises at least one identifier of at least one application and at least one corresponding callback function, and the target callback function is configured to transmit the transmission data to a data memory address corresponding to the target application;andrun the target callback function to transmit the transmission data to the target application.
  3. 11
    A non-transitory storage medium readable by a computer and having stored therein a computer program comprising instructions for executing the steps of a method for establishing a data connection, the method comprising:receiving a data packet transmitted by a terminal, the data packet carrying an identifier of a target application and transmission data;extracting the identifier of the target application;determining, based on the identifier of the target application and a preset callback function mapping table, a target callback function corresponding to the target application, wherein the preset callback function mapping table comprises at least one identifier of at least one application and at least one corresponding callback function, and the target callback function is configured to transmit the transmission data to a data memory address corresponding to the target application;andrunning the target callback function to transmit the transmission data to the target application.