Unlock instant, AI-driven research and patent intelligence for your innovation.

Cross-protocol communication method and device and server

A communication method and cross-protocol technology, applied in the field of cross-protocol communication methods, devices and servers, to achieve the effects of improving stability, facilitating deployment and upgrading, and avoiding delay and performance loss problems

Pending Publication Date: 2021-04-20
BEIJING XIAOMI PINECONE ELECTRONICS CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The present disclosure provides a cross-protocol communication method, device, and server to at least solve the problems caused by the need for inter-process communication in the related art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cross-protocol communication method and device and server
  • Cross-protocol communication method and device and server
  • Cross-protocol communication method and device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0034] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present disclosure relates to a cross-protocol communication method, comprising: receiving a request message of a first terminal, the first terminal supporting a first communication protocol; analyzing the request message according to the first communication protocol to obtain request content of the request message and a second terminal communicated with the request message; obtaining a service class object corresponding to a second communication protocol supported by the second terminal from an object container; and calling a service class corresponding to the service class object, and sending the request content to the second terminal. According to the embodiment of the invention, the cross-protocol communication is realized by calling the pre-created service class, so that the cross-protocol communication can be operated in the same process, the cross-process communication is not needed, the problems of time delay and performance loss caused by the cross-process communication are avoided, and meanwhile, the stability of the cross-protocol communication is also improved. In addition, only one process is needed, so that subsequent deployment and upgrading and system maintenance are facilitated.

Description

technical field [0001] The present disclosure relates to the technical field of communication, and in particular to a cross-protocol communication method, device and server. Background technique [0002] In the related art, the inter-protocol communication technology can be implemented by means of an IPC (Inter-Process Communication, inter-process communication) technology at present. For example, the server starts two processes as servers accepting different protocols, and both serve as clients and third-party service vectors for inter-process communication. [0003] Such as figure 1 As shown in FIG. 2 , it is a schematic diagram of realizing cross-protocol communication through inter-process communication technology in the related art. Among them, a TCP (Transmission Control Protocol, Transmission Control Protocol) server and an HTTP (Hyper Text Transfer Protocol over SecureSocket Layer, hypertext transfer) client are established in the server, and a TCP process and an H...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L29/08
Inventor 房成进张福伟郑靖舒
Owner BEIJING XIAOMI PINECONE ELECTRONICS CO LTD