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

A front-end microservice module communication method based on iframe

A communication method and micro-service technology, which is applied in the field of iframe-based front-end micro-service module communication, can solve the problems of poor scalability of micro-services, and achieve the effect of unified maintenance and improvement

Inactive Publication Date: 2019-03-12
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when multiple microservices are embedded, due to the lack of classification of message requests and uniform specification of data message formats, the parent module has poor scalability for microservices. At the same time, the parent module needs to rely on each microservice functions are maintained separately

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
  • A front-end microservice module communication method based on iframe
  • A front-end microservice module communication method based on iframe
  • A front-end microservice module communication method based on iframe

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The specific implementation manners of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0024] First of all, it needs to be explained that the present invention relates to HTML tag technology, which is an application of computer technology in the field of network communication technology. During the implementation of the present invention, the application of multiple software function modules will be involved. The applicant believes that, after carefully reading the application documents and accurately understanding the realization principle and purpose of the present invention, combined with existing known technologies, those skilled in the art can fully implement the present invention by using their software programming skills. The aforementioned software function modules include but are not limited to: parent modules, micro-service sub-modules, etc. All mentioned in the application documents of the present inven...

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 invention relates to HTML tag technology, aiming at providing a front-end micro-service module communication method based on iframe. Multiple micro-service sub-modules are embedded in a parent module through the iframe. The communication method between the parent module and the micro-service sub-module comprises the following steps: the sub-module establishes a request message according to a communication rule and sends a communication request to the parent module. The parent-child module establishes event monitoring, which is used to capture the communication request between the parent-child module and the child module. After the parent module obtains the message request from the child module, the parent module compares the micro-service registry first to confirm the message source; Then, the query type is processed according to different message types; The child module establishes an event snoop that captures messages returned by the parent module. The invention can realize the unified maintenance of a plurality of micro service modules and improve the universality of the extended function by effectively regulating the communication between the parent module and the child module.

Description

technical field [0001] The invention relates to HTML tag technology, in particular to an iframe-based front-end micro-service module communication method. Background technique [0002] IFRAME is an HTML tag, which is a document in a document and can be regarded as a floating frame (FRAME). The frames collection provides access to the contents of the IFRAME. The principle of iframe to achieve no refresh upload: use the target attribute of the form to submit the data to an iframe on the page (usually hidden); isContentEditable gets the value indicating whether the user can edit the content of the object, MARGINWIDTH marginWidth sets or gets the display frame Chinese The width of the left and right margins before this, tagUrn sets or gets the Uniform Resource Name (URN) specified in the namespace declaration. Microservices of different frameworks are embedded in page applications at the same time, and unified communication rules need to be formulated during data interaction b...

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): G06F16/958
Inventor 吴汉范渊
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD
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