Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Front-end communication method and device, storage medium and electronic equipment

A communication method and communication connection technology, applied in the direction of multi-program device, inter-program communication, program control design, etc., can solve the problem of high code maintenance cost, reduce code redundancy, reduce code maintenance cost, and improve readability Effect

Pending Publication Date: 2020-04-10
NETEASE HANGZHOU NETWORK
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a front-end communication method and device, computer-readable storage medium and electronic equipment, and then at least to a certain extent overcome the direct duplication of the communication bridge in the interaction process between the existing client and the front-end js layer The problem of high code maintenance cost caused by calling

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
  • Front-end communication method and device, storage medium and electronic equipment
  • Front-end communication method and device, storage medium and electronic equipment
  • Front-end communication method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate that the technical solution of the present invention may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solutions have not been shown or descr...

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 invention relates to the technical field of computers, and provides a front-end communication method and device, a computer storage medium and electronic equipment. The front-end communication method comprises the following steps: acquiring an encapsulation class, and determining a set of communication connections through the encapsulation class, wherein the communication connections are communication connections between a communication bridge framework and a client; acquiring target communication connection from the communication connection set according to an acquired front-end identifier; and determining a global access permission of the encapsulation class, and calling the target communication connection according to the global access permission so as to realize front-end communication. According to a scheme of the invention, on the basis of the obtained front-end identifier, the target communication connection can be determined from the encapsulation class to realize front-endcommunication, so direct repeated calling of a front-end communication bridge framework is avoided, and the code maintenance cost of front-end communication is reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a front-end communication method, a front-end communication device, a computer storage medium and electronic equipment. Background technique [0002] In order to improve the flexibility of the client application, it is often necessary for the client to interact with the front-end js layer (JavaScript, a scripting language that generally runs on the client). [0003] In the prior art, taking the interaction between the mobile client and the front-end js layer as an example, first, establish the relationship between WebViewJavascriptBridge (the communication bridge between the mobile client and the front-end js layer) and webview (network view); then, use "window .WebViewJavascriptBridge.xxx" command to call the communication bridge framework WebViewJavascriptBridge, so as to realize the communication between the mobile client and the front-end js layer, where 'xxx' repre...

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): G06F9/54
CPCG06F9/543G06F2221/2141Y02D30/70
Inventor 林梦墩
Owner NETEASE HANGZHOU NETWORK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products