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

Communication processing method and device

A communication processing and processing module technology, applied in the field of network communication, can solve the problems of communication delay between web front-end and terminal, inability to call terminal to communicate with web front-end, etc., so as to reduce communication delay and improve communication performance.

Active Publication Date: 2019-06-25
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a communication processing method and device, aiming to solve the problem of inability to call the above-mentioned JSbridge interface to realize the communication between the terminal and the web front end due to the fragmentation problem existing in the Android system itself in the prior art, thereby Further delays in communication between the web front end and the terminal

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
  • Communication processing method and device
  • Communication processing method and device
  • Communication processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0027] figure 1 An exemplary application scenario diagram of the communication processing method above is shown, and in this scenario, it includes: a terminal 10 for running a client and a web front end 11 corresponding to the client.

[0028] The web front end 11 can be a server, a cluster of multiple servers, or a cloud platform. The web f...

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 embodiment of the invention discloses a communication processing method and device. The method comprises the following steps that a terminal receives a detection request sent by the web front endthrough each communication interface, the terminal determines an available interface for communication with the web front end according to a result of receiving the detection request; the terminal feeds back the information of the available interface to the web front end; the web front end is enabled to communicate with the terminal through the available interface; Compared with the prior art, themethod has the advantages that the cost is low;, When the terminal receives the detection request sent by the web front end, it is indicated that the interface sending the detection request is available, the available interface for communication between the terminal and the web front end can be detected in advance, the situation that communication between the terminal and the web front end cannotbe achieved due to the fact that the interface is unavailable is prevented, and the communication performance is improved.

Description

technical field [0001] Embodiments of the present invention belong to the field of network communication technologies, and in particular, relate to a communication processing method and device. Background technique [0002] With the advent of the "cloud" era, a new terminal application mode application has emerged, that is, hybrid mobile application (Hybrid App). The applications between the two not only have the advantages of good user interaction experience, but also have the advantages of cross-platform development. A Hybrid App running on a terminal requires interaction between the web front end and the terminal to realize its functions. [0003] The existing web front-end and terminal interaction methods can be realized through four calling methods, namely: addJavaScriptInterface, iframe, console.log, and prompt, each of which has a corresponding communication interface, and these communication interfaces are collectively called JavaScript bridge. Interface, referred ...

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
IPC IPC(8): H04L29/08
Inventor 王少鸣王辉
Owner TENCENT TECH (SHENZHEN) CO LTD