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

Front-end-based micro-service design method

A design method and micro-service technology, applied in the computer field, can solve problems such as development, delivery difficulties, and slow packaging speed, and achieve the effect of improving user experience

Pending Publication Date: 2021-09-28
INSPUR SOFTWARE CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, with the increase of personnel and the complexity of product functions in the existing system, the project is getting bigger and bigger, and the speed of packaging is getting slower and slower, which leads to difficulties in development and delivery.

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-based micro-service design method
  • Front-end-based micro-service design method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] combined with figure 1 , this embodiment proposes a front-end-based microservice design method, the design process includes:

[0033] (1) The module loader based on front-end microservices takes the application that the user accesses for the first time as the main application, configures the information of the main application, and registers sub-application A, sub-application B, and sub-application C that will be connected to the main application. Sub-application A is deployed on server A, sub-application B is deployed on server B, and sub-application C is deployed on server C.

[0034] In this step, when configuring the main application information, a unique dom element id is defined in the main application, and the registered sub-application is mounted under the dom element. After registering multiple sub-applications, the main application will provide a unique running context for each sub-application. At this time, it can determine which sub-application the user is ...

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 discloses a front-end-based micro-service design method, and relates to the technical field of micro-services, and the design process comprises the following steps: a front-end micro-service-based module loader uses an application accessed by a user at the first time as a main application, configures main application information, and registers a plurality of sub-applications to be accessed to the main application; the sub-application exposes a life cycle hook function which can be accessed by the main application, and the life cycle hook function is used when the main application accesses; and the sub-application is issued into a library file which can be used by a third party so as to successfully access to the main application, or the sub-application is independently developed and deployed to a web server. According to the method and the device, the main application can automatically load the accessible sub-application, so that the user experience is improved.

Description

technical field [0001] The invention relates to the technical field of computer technology, in particular to a front-end-based microservice design method. Background technique [0002] The main features of the microservice architecture for backend development are componentization, loose coupling, independence, and decentralization. Separate each module / responsibility in the project and focus on doing one thing well; each microservice is a separate project, running independently in its own process; each service is independent of each other and through the agreement Communication, collaboration to complete more complex business. [0003] However, with the increase of personnel and the complexity of product functions in the existing system, the project is getting bigger and bigger, and the speed of packaging is getting slower and slower, which leads to difficulties in development and delivery. There is an urgent need to split the system by business, reduce coupling, and aggre...

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): G06F9/48G06F9/54
CPCG06F9/485G06F9/54
Inventor 黄华伟
Owner INSPUR SOFTWARE CO LTD