Micro front-end system, generation method and server system

By introducing technologies such as plug-in pools and proxy servers into the micro-front-end system, the problem of conflicting work results between different teams is solved, independent deployment and efficient maintenance of plug-in pools are achieved, and development and maintenance efficiency is improved.

CN113986254BActive Publication Date: 2024-10-15ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010732481.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-27
Publication Date
2024-10-15
Estimated Expiration
2040-07-27

AI Technical Summary

Technical Problem

In micro-front-end systems, due to different code conventions, development habits, and release models between different development teams, work results conflict, which reduces development and maintenance efficiency.

Method used

By introducing the concept of plug-in pools into the micro front-end system, each plug-in pool is deployed independently and shares a microservice, increasing the isolation between plug-in pools. Proxy servers and adaptation modules are used to manage the deployment and communication of plug-in pools to achieve distribution. Deployment and flexible maintenance.

Benefits of technology

It improves collaboration efficiency between different teams, reduces conflicts, improves system deployment and maintenance efficiency, reduces processing costs, and enables independent maintenance and efficient loading of plug-in pools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113986254B_ABST
    Figure CN113986254B_ABST
Patent Text Reader

Abstract

The embodiments of the present specification provide a micro-frontend system, a generation method and a server system, wherein a micro-frontend system includes: a main engineering module; and at least one plug-in pool deployed to the main engineering module, wherein each plug-in pool includes multiple plug-ins, each plug-in pool is deployed separately, and the plug-ins in each plug-in pool use a microservice together to implement a corresponding micro-frontend application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present specification relates to the field of micro-frontend technology, and more specifically, to a micro-frontend system, a method for generating a micro-frontend system, and a micro-frontend server system. Background Art

[0002] The front end is the part of a web system that interacts directly with users. Front-end development can include web page development, etc. The front end of a website is the part of the website that is visible to users, such as special effects on the web page, the layout of the web page, pictures, videos, and other content. The back end is the processing logic that interacts with and controls servers, databases, etc. The front end and back end work together to display data and content to users on the web page and interact with users.

[0003] Micro frontend architecture is an architecture similar to microservices.

[0004] Microservice technology allows developers to independently deploy microservices for different parts of the backend server platform without compromising other parts. The independent deployment capability of microservice technology allows developers to build isolated or loosely coupled microservices. Front-end applications can call these microservices to obtain the required resources. A microservice usually includes a set of interfaces, and the interface address can be a URL address. In order to make the microservice architecture more stable, each microservice can only undertake a small task. In this way, the team responsible for this microservice can also be small.

[0005] As technology develops, micro frontends are becoming more and more complex. The most common scenario is that a large system often requires several teams to develop and maintain it. Different teams have different code conventions, development habits, code submission modes, release modes, etc. Therefore, the work results between different teams may conflict, thereby reducing work efficiency.

[0006] It is necessary to provide a solution for effectively generating micro-frontend products. Summary of the invention

[0007] The embodiments of this specification provide a new technical solution for a micro-frontend system.

[0008] According to a first aspect of the present specification, a micro-frontend system is provided, comprising: a main engineering module; and at least one plug-in pool deployed to the main engineering module, wherein each plug-in pool comprises multiple plug-ins, each plug-in pool is deployed separately, and the plug-ins in each plug-in pool use a microservice together to implement a corresponding micro-frontend application.

[0009] According to a second aspect of the present specification, a method for generating a micro-frontend system is provided, comprising: generating at least one plug-in pool, wherein each plug-in pool includes multiple plug-ins, and the plug-ins in each plug-in pool jointly use a microservice to implement a corresponding micro-frontend application; and deploying each plug-in pool separately to a main engineering module.

[0010] According to a third aspect of the present specification, a micro-front-end server system is provided, comprising one or more servers, wherein a micro-front-end system according to an embodiment is deployed in the server.

[0011] In different embodiments, plug-ins can be deployed separately based on the plug-in pool, thereby increasing the isolation between different plug-in pools at least to a certain extent. In this way, conflicts between the work results of different development teams can be avoided during system development and maintenance. Therefore, in this way, work efficiency can be improved.

[0012] Other features and advantages of the embodiments of the present specification will become apparent from the following detailed description of exemplary embodiments of the present specification with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments and, together with the description, serve to explain the principles of various embodiments.

[0014] Figure 1 A schematic block diagram of a micro frontend system according to an embodiment is shown.

[0015] Figure 2 A schematic block diagram of a micro frontend system according to another embodiment is shown.

[0016] Figure 3 A schematic flowchart of a method for generating a micro frontend system according to an embodiment is shown.

[0017] Figure 4 A schematic diagram of a network including a micro front-end server system according to one embodiment is shown.

[0018] Figure 5 An application scenario of the micro front-end system is shown.

[0019] Figure 6 An application example of a micro frontend system is shown. DETAILED DESCRIPTION

[0020] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0021] Hereinafter, various embodiments and examples of the present specification are described with reference to the accompanying drawings.

[0022] Figure 1 A schematic block diagram of a micro frontend system according to an embodiment is shown.

[0023] Micro front-end technology applies the concept of microservices to the browser side, that is, it transforms the Web application from a single single-page application to an application that aggregates multiple small front-end applications. Here, each small front-end application is called a micro front-end. Each micro front-end can be run, developed and deployed independently. During development, the micro application exists in the form of a single, tiny application; at runtime, these micro applications are merged into a new application by building a micro front-end system.

[0024] like Figure 1 As shown, the micro front-end system includes: a main engineering module 10 and at least one plug-in pool 12a, 12b, ... 12n deployed to the main engineering module.

[0025] Each plug-in pool 12a, 12b, ... 12n includes multiple plug-ins. Each plug-in pool is deployed separately. The plug-ins in each plug-in pool use a microservice together to implement the corresponding micro front-end application. For example, the plug-ins to be deployed in each plug-in pool 12a, 12b, ... 12n are packaged together to be deployed in the main engineering module 10.

[0026] In this way, different plug-in pools can be isolated from each other. Each plug-in pool can be deployed separately. The deployment of each plug-in pool can be independent of each other. For example, the first group of designers has completed the development of the first plug-in pool, and the second group of designers has not yet completed the design work of the second group of plug-in pools. In this case, the first plug-in pool can be deployed to the main project first without waiting for the completion of the second plug-in pool. Users can use some functions in the main project.

[0027] For example, in some cases, users only have partial plug-in functionality. This kind of architecture system can also provide this convenience. For example, in this way, it is easy to set which plug-in pools are provided to users and which plug-in pool codes can be provided to users, and so on. This provides more flexibility for the configuration of the micro frontend system.

[0028] In addition, when the system fails, it can be checked on a plug-in pool-by-pool basis, making it easier to locate the error.

[0029] Those skilled in the art should understand that the main project module is relative to the plug-in pool of the micro front-end. The main project module can include multiple plug-in pools. An application system can include one main project module or multiple main project modules. The main project module here includes at least one plug-in pool. However, the main project module can also include other components or other separate plug-ins, such as the overall framework or appearance of the main project module, a common header column, a navigation bar, etc.

[0030] When the main project is deployed using the plug-in pool, the number of plug-ins in each plug-in pool is relatively small compared to all the plug-ins in the main project module. Therefore, the processing time for each plug-in pool is short and the processing efficiency is high. Therefore, the use of the plug-in pool can achieve a distributed deployment method and improve the efficiency of deploying plug-ins.

[0031] Figure 2 A schematic block diagram of a micro frontend system according to another embodiment is shown.

[0032] like Figure 2 As shown, the micro front-end system may also include a proxy server 26. The plug-in pools 12a, 12b, ... 12n may access the resources of the corresponding microservices 28a, 28b ... 28n through the proxy server 26. Each plug-in pool 12a, 12b, ... 12n may be assigned a microservice identifier. The microservice identifier may be a number, a character, or a combination of numbers and characters, etc. Each plug-in pool 12a, 12b, ... 12n may use the microservice identifier to obtain the resources of the corresponding microservice. The proxy server 28 determines the resources of the microservices 28a, 28b ... 28n to be accessed for the plug-in pools 12a, 12b, ... 12n based on the microservice identifier. For example, the resources of the microservices 28a, 28b ... 28n may be distributed in different servers and may be adjusted according to changes in circumstances. When accessing the resources of the microservice, the plug-ins in the plug-in pools 12a, 12b, ... 12n pass the microservice identifier to the proxy server 28. The proxy server 28 determines different backend server addresses corresponding to the microservices based on the microservice identifiers, obtains resources of the corresponding microservices from the determined backend server addresses, and passes the obtained resources to the plug-in.

[0033] When using a proxy server, the plug-in pool does not need to know the specific layout of the microservices, and can use the microservices without being aware of the microservices' servers, thus reducing the workload of plug-in design. In addition, when the resources of the microservices change, for example, when the deployment of the server changes, there is no need to redesign the plug-in pool, but only to adjust the mapping relationship between the microservice identifier and the changed resources in the proxy server. This isolates the design of the micro frontend from the backend.

[0034] exist Figure 2 In the micro-frontend system, the plug-in pools 12a, 12b, ... 12n can be deployed to the main engineering module 10 respectively through the corresponding deployment modules 24a, 24b ... 24n.

[0035] For example, each plug-in pool 12a, 12b, ... 12n is packaged into a package file and its manifest file after being developed for the main engineering module 10 to call. The manifest file is, for example, a manifest file. The main engineering module 10 includes a plug-in configuration file, for example, a pool.config.json file. The plug-in configuration file may include the address of the package file and its manifest file and information about the plug-ins in the plug-in pool. With the help of the deployment modules 24a, 24b ... 24n, the main engineering module obtains the package file and its manifest file through the plug-in configuration file, and uses the package file and its manifest file to load the corresponding plug-in pool.

[0036] Figure 2 The micro front-end system also includes version control modules 22a, 22b, ... 22n. The version control modules 22a, 22b, ... 22n respectively set version control for each plug-in pool 12a, 12b, ... 12n, so that the versions of the plug-in pools are separately set for different plug-in pools in the main engineering module 10.

[0037] For example, when a problem occurs in a version of a plug-in pool, the plug-in pool can be rolled back to the previous version without rolling back the entire system to the previous version.

[0038] like Figure 2 As shown, the main engineering module 10 may further include an adaption module 102. The adaption module 102 is used to determine and control the manner in which information is passed from the main engineering module 10 to one or more plug-in pools 12a, 12b, ... 12n.

[0039] For example, the adapter module 102 can pass public information to multiple plug-in pools. Public information is information that can be shared by multiple plug-in pools. For example, user information, authentication information, page information, etc. in the main engineering module are information that multiple plug-in pools need to use. This information can be passed to each plug-in pool 12a, 12b, ... 12n via the adapter module 102 as public information. In addition, the adapter module 102 can also pass singleton information to a single target plug-in pool. Singleton information is information that is only used by a single plug-in pool. For example, the main engineering module includes a data tracking tool, and the tracking parameters of the data tracking tool are used for the data tracking plug-in pool. Therefore, the adapter module 102 can pass this tracking parameter as singleton information to the plug-in pool for data tracking.

[0040] The main engineering module 10 may also include a distribution configuration file 104. The adapter module 102 may determine common information and singleton information based on the distribution configuration file 104 so as to pass the common information to multiple plug-in pools and pass the singleton information to a single target plug-in pool, respectively. The distribution configuration file 104 may be pre-set by a designer, or it may be said that it is set by a user using the main engineering module as required. Common information and singleton information are specified in the distribution configuration file 104. When the adapter module 102 receives information from the main engineering module 102, the adapter module 102 searches the distribution configuration file 104 to determine whether the received information is common information or singleton information. Subsequently, the adapter module 102 passes the common information to multiple plug-in pools and passes the singleton information to a single target plug-in pool.

[0041] When the user uses the application corresponding to the main engineering module 10, the main engineering module 10 receives the user's selection of the plug-in pool entry item. For example, the tools included in the main engineering module can be displayed in the navigation bar of the main engineering module 10, such as data tracking, authentication, etc. Each tool corresponds to a plug-in pool, and the tool name in the navigation bar corresponds to the plug-in pool entry item. The main engineering module 10 sends the selected plug-in pool entry item to the adaptation module 102 to dynamically call the corresponding plug-in pools 12a, 12b, ... 12n.

[0042] The plug-in pools 12a, 12b, ... 12n may include an initialization module. In the initialization phase of the plug-in pools 12a, 12b, ... 12n, the adaptation module 102 passes the common components in the main engineering module 10 to the initialization module. Common components may include, for example, paging components, loading components, etc. The initialization module uses local singleton variables to initialize common components for use by plug-ins in the plug-in pools 12a, 12b, ... 12n. Lazy loading technology can be used to start loading the resources of the corresponding microservice after the plug-in is specified in the plug-in pool. For example, when the user operates the page and uses the plug-in, the corresponding plug-in is loaded. This can improve the performance of micro-frontend processing and reduce unnecessary processing resource waste.

[0043] Figure 3 A schematic flowchart of a method for generating a micro frontend system according to an embodiment is shown.

[0044] like Figure 3 As shown, in step S32, at least one plug-in pool is generated, wherein each plug-in pool includes multiple plug-ins, and the plug-ins in each plug-in pool jointly use a microservice to implement a corresponding micro-frontend application.

[0045] In step S34, each plug-in pool is deployed separately to the main project module.

[0046] In addition, the plug-in pool may be configured to access resources of a corresponding microservice through a proxy server, wherein each plug-in pool is assigned a microservice identifier, and the proxy server determines the resources of the microservice to be accessed for the plug-in pool based on the microservice identifier.

[0047] Since different plug-in pools have a high degree of isolation, different plug-in pools can be maintained separately. For example, the main engineering module can include at least two plug-in pools, and when at least one of the at least two plug-in pools is not generated, the at least one generated plug-in pool is deployed. In addition, the deployed plug-in pools can also include at least two plug-in pools, and other plug-in pools can be updated without changing at least one of the plug-in pools. In this way, the flexibility of plug-in pool deployment and maintenance is improved, the efficiency is improved, and the processing cost of plug-in pool deployment and maintenance is reduced.

[0048] When each plug-in pool is deployed separately to the main project module, the plug-in pool version can be set separately for different plug-in pools. Here, the high degree of isolation between different plug-in pools is combined with separate version control, so that more flexible maintenance for the plug-in pool can be achieved and the maintenance cost is minimized. For example, when the first version of plug-in pool A is upgraded to the second version, other plug-in pools may not be processed. When a problem occurs with the second version of plug-in pool A, plug-in pool A can be rolled back to the first version. The upgrade and rollback of plug-in pool A will not affect other plug-in pools, thereby limiting the maintenance cost to the processing of plug-in pool A. This reduces the maintenance cost of other plug-ins when plug-in pool A is upgraded and rolled back.

[0049] An adapter module can also be provided to determine the manner in which information is passed from the main engineering module to one or more plug-in pools. Through the adapter module, the main engineering module at the top level and the plug-in pool at the lower level can be isolated, so that the plug-ins in the plug-in pool can be independently operated and independent of the main engineering module at the top level. In addition, since information can be obtained from the main engineering module through the adapter module, the plug-in pool does not need to maintain a large amount of shared resources by itself, thereby reducing the scale of the plug-in pool. In addition, since the scale of the plug-in pool can be reduced, the loading efficiency of the plug-in pool can be improved. Since the plug-ins in the plug-in pool can only communicate with the main engineering module through the adapter module and cannot directly control the main engineering module, the security of the entire system can be improved.

[0050] Figure 4 A schematic diagram of a network including a micro front-end server system according to one embodiment is shown.

[0051] like Figure 4As shown, a plurality of servers 41a, ..., 41n are included in the network 41. Backend microservices may be deployed in one or more of the servers. The micro frontend system described above may also be deployed in one or more of the servers.

[0052] The user can use terminals 421, 422, and 423 to access the main project module in the server and use the plug-ins therein.

[0053] Figure 5 An application scenario of the micro front-end system is shown. Figure 5 The framework of the main project module of the micro front-end system is shown. The public header block 50, the navigation bar block 52 and the plug-in block 54 are displayed through the main project module.

[0054] For example, the common header block 50 includes common information of the entire main project, entry items to each plug-in pool, etc. When a function of a plug-in pool is selected, the navigation bar block 52 corresponding to the plug-in pool can be displayed. The navigation items in the navigation bar block 52 can be used to navigate to the corresponding plug-in. The common header block 50 and the navigation bar block 52 can be provided by the main project module. When the navigation bar block 52 is used to navigate to the target plug-in, the corresponding plug-in can be dynamically loaded in the plug-in block 54 according to the navigation result.

[0055] Figure 6 An application example of a micro frontend system is shown.

[0056] like Figure 6 As shown in FIG. 1 , the main engineering module 60 includes a launcher part 61 and a tool part 62. The launcher part 61 includes user information, authentication information, and page information. The tool part 62 includes routing, fusion, data tracking, authentication, etc. For example, the launcher part 61 and the tool part 62 can be placed in Figure 5 In the public header block 50.

[0057] The adapter module 63 can consider the contents in the launcher part 61 as global information and pass them to each plug-in pool 65, 67. The adapter module 63 can also determine that each entry in the tool part 62 corresponds to a different plug-in pool. Therefore, the adapter module 63 will pass this information to the corresponding plug-in pool instead of sending it to all plug-in pools. By using the adapter module 63. The main project module 60 can set the architecture of the project without knowing the specific settings of the plug-in. This isolates the design of the main project module from the design of the plug-in, which is conducive to the division of labor and cooperation among different designers.

[0058] The plug-in pools 65 and 67 can be initialized respectively by initialization modules 64 and 66. In the plug-in pools 65 and 67, the plug-in core receiving modules 651 and 671 are used to call the corresponding plug-ins 652a, 652b ... and 672a, 672b ... etc. respectively to implement the corresponding functions.

[0059] Figure 6 Also shown is a proxy server 68 and microservices 69a, 69b...69n.

[0060] Combine the following Figure 5 and Figure 6 An application example of the micro front-end system disclosed here is described.

[0061] For example, in Figure 6 In the example, the first development team has completed the development of plug-in pool 65, while the second development team has not yet completed the development of plug-in pool 67. Plug-in pool 65 corresponds to the tool entry item "data tracking", and plug-in pool 67 corresponds to the tool entry item "authentication". In this case, plug-in pool 65 can be generated first and deployed to the main engineering module 60. In this case, due to the isolation between different plug-in pools, the user can use the "data tracking" tool through the main engineering module 60, but cannot use the "authentication" tool yet.

[0062] For example, the plug-in pool 65 can be deployed in the following manner. First, the plug-ins in the developed plug-in pool 65 are placed in the corresponding directory. Then, a packaging tool is used to generate a packaging file and a manifest file of the plug-in pool 65 for calling by the main engineering module 60. The main engineering module may also include a plug-in configuration file, which includes the address of the packaging file and its manifest file and information about the plug-ins in the plug-in pool. The main engineering module 60 can obtain the packaging file and its manifest file through the plug-in configuration file. When in use, the main engineering module 60 can use the packaging file and its manifest file to load the corresponding plug-in pool.

[0063] Subsequently, the second development team completes the development of the plug-in pool 67. The plug-in pool 67 may be generated and deployed to the main engineering module 60 so that the user can use the "certification" tool.

[0064] The first development team may develop an upgraded version of the plug-in pool 65. Then, the plug-in pool 65 is updated to the upgraded version without changing the plug-in pool 67. For example, a failure occurs when the upgraded version of the plug-in pool 65 is used, so the first development team wants to roll back the plug-in pool 65 to the original version. At this time, the plug-in pool 65 can be rolled back from the upgraded version to the original version without changing the plug-in pool 67.

[0065] like Figure 5As shown, the public header block 50 of the main project module displays public information, such as user information, including user name, age, contact information, etc. In addition, the public header block 50 can also display authentication information indicating whether the user has passed the verification. Figure 5 The bottom of the displayed page may also display information such as copyright information, licensing information, etc.

[0066] exist Figure 5 The navigation bar block 52 on the left side displays entry items, such as routing, fusion, data tracking, authentication and other tool entry items. Each tool entry item corresponds to a plug-in pool 65, 67. The plug-ins 652a, 652b or 672a, 672b to be deployed in each plug-in pool 65, 67 are packaged together to be deployed in the main engineering module 60.

[0067] Plug-in pools 65 and 67 can be accessed through Figure 2 The proxy server 68 in the plugin pool 65 accesses the resources of the corresponding microservices 69a, 69b ... 69n. Each plug-in pool is assigned a microservice identifier. The proxy server 68 determines the resources of the microservices 69a, 69b ... 69n to be accessed for the plug-in pools 65 and 67 based on the microservice identifier.

[0068] When accessing the resources of microservices 69a, 69b, ... 69n, the plug-in 652a, 652b or 672a, 672b in the plug-in pool 65, 67 passes the microservice identifier to the proxy server 68. The proxy server 68 determines the different backend server addresses corresponding to the microservices 69a, 69b, ... 69n based on the microservice identifier, obtains the resources of the corresponding microservices from the determined backend server addresses, and passes the obtained resources to the plug-in 652a, 652b or 672a, 672b.

[0069] When the resources of microservices 69a, 69b, ... 69n change, the proxy server adjusts the mapping relationship between the corresponding microservice identifier and the changed resource.

[0070] The adaptation module 63 may pass common information to multiple plug-in pools 65 and 67 , and pass singleton information to a single target plug-in pool 65 or 67 .

[0071] The adaptation module 63 may determine the common information and the singleton information based on the distribution configuration file so as to deliver the common information to the multiple plug-in pools 65 and 67 and deliver the singleton information to a single target plug-in pool 65 or 67, respectively.

[0072] The main engineering module 60 receives the user's selection of an entry item in the navigation bar block 52 and sends the selected entry item to the adaptation module 63 to dynamically call the corresponding plug-in pool 65 or 67. The called plug-in pool 65 or 67 is displayed in the plug-in block 54.

[0073] When calling the plug-in pool 65 or 67, in the initialization phase of the plug-in pool 65 or 67, the adaptation module 63 can pass the common components in the main project module 60 to the initialization module 64. The common components can be, for example, paging components, loading components, etc. The initialization module 64 initializes the common components using local singleton variables for use by the plug-ins 652a, 652b or 672a, 672b in the plug-in pool 65 or 67.

[0074] Lazy loading technology can be used to start loading the resources of the corresponding microservices 69a, 69b...69n after the plug-in 652a, 652b or 672a, 672b of the plug-in pool 65 or 67 is specified.

[0075] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, refer to the partial description of the method embodiment.

[0076] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

Claims

1. A micro front-end system, include: Main engineering module; as well as Deployed to at least one plugin pool in the main project module, Each plug-in pool includes multiple plug-ins, each plug-in pool is deployed separately, and the plug-ins in each plug-in pool use a microservice together to implement a corresponding micro front-end application; It also includes a proxy server, an adaptation module and a deployment module, and the plug-in pool accesses the resources of the corresponding microservice through the proxy server; The adapter module transmits the common information to multiple plug-in pools; The deployment module deploys each of the plug-in pools to the main engineering module; The plug-in pool accesses the resources of the corresponding microservice through the proxy server, including: each plug-in pool is assigned a microservice identifier, and the proxy server determines the resources of the microservice to be accessed for the plug-in pool based on the microservice identifier; The plug-in pool includes an initialization module. During the initialization phase of the plug-in pool, the adaptation module passes the common components in the main engineering module to the initialization module. The initialization module uses local singleton variables to initialize the common components for use by the plug-ins in the plug-in pool.

2. The micro front-end system according to claim 1, in, The plugins to be deployed in each plugin pool are packaged together to be deployed into the main project module.

3. The micro front-end system according to claim 1, in, When accessing the resources of the microservice, the plug-in in the plug-in pool passes the microservice identifier to the proxy server. The proxy server determines different backend server addresses corresponding to the microservices based on the microservice identifier, obtains resources of the corresponding microservices from the determined backend server addresses, and passes the obtained resources to the plug-in.

4. The micro front-end system according to claim 3, in, When the resources of the microservice change, the proxy server adjusts the mapping relationship between the corresponding microservice identifier and the changed resource.

5. The micro-frontend system according to claim 1 further comprises a version control module, in, The version control module sets version control for each plug-in pool separately, so that the version of the plug-in pool can be set separately for different plug-in pools in the main engineering module.

6. The micro front-end system according to claim 1, in, The adapter module passes the singleton information to a single target plugin pool.

7. The micro front-end system according to claim 6, in, The main project module further includes a distribution configuration file, and the adaptation module determines common information and singleton information based on the distribution configuration file, so as to respectively pass the common information to multiple plug-in pools and pass the singleton information to the single target plug-in pool.

8. The micro front-end system according to claim 7, in, The main engineering module receives the user's selection of the plug-in pool entry item, and sends the selected plug-in pool entry item to the adapter module to dynamically call the corresponding plug-in pool.

9. The micro front-end system according to claim 1, in, Use lazy loading technology to start loading the resources of the corresponding microservice after the plug-in in the plug-in pool is specified.

10. The micro frontend system according to claim 1, in, After being developed, each plug-in pool is packaged into a package file and its manifest file for the main project module to call. The main project module includes a plug-in configuration file, which includes the address of the package file and its manifest file and information about the plug-ins in the plug-in pool, and The main engineering module obtains the package file and its manifest file through the plug-in configuration file, and uses the package file and its manifest file to load the corresponding plug-in pool.

11. A method for generating a micro front-end system, include: Generate at least one plug-in pool, wherein each plug-in pool includes a plurality of plug-ins, and the plug-ins in each plug-in pool jointly use a microservice to implement a corresponding micro front-end application; and Deploy each plugin pool separately to the main project module; Setting the plug-in pool to access resources of the corresponding microservice through the proxy server includes: each plug-in pool is assigned a microservice identifier, and the proxy server determines the resources of the microservice to be accessed for the plug-in pool based on the microservice identifier; Set up an adapter module to determine how common information is passed from the main project module to one or more plugin pools; An initialization module is set so that during the initialization phase of the plug-in pool, the adaptation module passes the common components in the main engineering module to the initialization module, and the initialization module initializes the common components using local singleton variables for use by plug-ins in the plug-in pool.

12. The method according to claim 11, in, Deploying each plug-in pool separately to the main project module also includes: setting plug-in pool versions separately for different plug-in pools.

13. The method according to claim 11, in, The main engineering module includes at least two plug-in pools, and the method further includes: In a case where at least one of the at least two plug-in pools is not generated, at least one generated plug-in pool is deployed.

14. The method according to claim 11, in, The deployed plug-in pools include at least two plug-in pools, and the method further includes: The other plug-in pools are updated without changing at least one of the at least two plug-in pools.

15. The method according to claim 11, in, Deploying each plugin pool separately to the main project module includes: Package each developed plug-in pool into a package file and its manifest file; The main engineering module obtains the package file and its manifest file through a plug-in configuration file, wherein the plug-in configuration file includes addresses of the package file and its manifest file and information about plug-ins in the plug-in pool; and The main engineering module uses the package file and its manifest file to load the corresponding plug-in pool.

16. A micro front-end server system, comprising one or more servers, in, A micro front-end system according to any one of claims 1-10 is deployed in the server.