×

Method, apparatus and terminal device for communication protocol compatibility

  • US 10,574,793 B2
  • Filed: 02/08/2018
  • Issued: 02/25/2020
  • Est. Priority Date: 12/27/2017
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for communication protocol compatibility, comprising executing on a processor steps of:

  • receiving a handshake instruction transmitted by an external device, wherein the handshake instruction comprises an external protocol list, the external protocol list comprises a correspondence relationship between an external protocol and version information of the external protocol;

    retrieving a locally stored local protocol list, wherein the local protocol list comprises a correspondence relationship between a local protocol and version information of the local protocol;

    determining whether there is a same version information in the external protocol list and the local protocol list;

    taking one of the same version information of the external protocol list and the local protocol list as matched version information, if the external protocol list and the local protocol list have the same version information;

    taking the local protocol corresponding to the matched version information as the protocol for communicating with the external device, and transmitting the matched version information to the external device; and

    transmitting a service protocol mismatch response to the external device, if there is no the same version information in the external protocol list and the local protocol list, wherein the service protocol mismatch response is used to notify the external device that related service data cannot be received, transmitted or parsed.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×