CN112804315B - Micro-application integration method and device - Google Patents
Micro-application integration method and device Download PDFInfo
- Publication number
- CN112804315B CN112804315B CN202011643853.9A CN202011643853A CN112804315B CN 112804315 B CN112804315 B CN 112804315B CN 202011643853 A CN202011643853 A CN 202011643853A CN 112804315 B CN112804315 B CN 112804315B
- Authority
- CN
- China
- Prior art keywords
- micro
- application
- configuration information
- integrated
- applications
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a micro-application integration method and device, and relates to the technical field of micro-application integration. The method comprises the following steps: finding out micro applications to be integrated corresponding to the function requirements in a micro application library according to the function requirements input by a user; compiling the micro application to be integrated to obtain configuration information, and storing the configuration information in a front-end configuration center for storage; and calling configuration information from a data output interface of the front-end configuration center, and integrating the micro-application to be integrated into the main application according to the configuration information. According to the micro-application integration method and device, the large single-page application is split into the plurality of micro-applications with single functions and definite responsibilities, and the micro-applications can be deployed and maintained independently in a dynamic integration mode to the main application, so that decoupling and aggregation of the large single-page application are realized, and the technical problem that the deployment and maintenance of the large single-page application are difficult is solved.
Description
Technical Field
The invention relates to the technical field of micro-application integration, in particular to a micro-application integration method and device.
Background
Nowadays, more and more large single-page applications bring great convenience for daily work and life of people, people can shop on the large single-page applications, watch videos, watch novels, listen to audios, work and the like, and the large single-page applications bring great pleasure to people, so that the life of people is more colorful, and the working efficiency is greatly improved. However, the volume of the existing large single-page application is gradually increased, so that development and addressing difficulties are increased, construction and deployment time is increased, each micro application in the large single-page application is mutually connected, the whole large single-page application cannot be updated due to the failure of individual micro applications, and the problem can be solved only by reloading the whole single-page application, so that the flexibility of development and deployment of the large single-page application product is greatly reduced.
Disclosure of Invention
In view of the above, the present invention provides a method and apparatus for micro-application integration to improve the above technical problems.
In a first aspect, an embodiment of the present invention provides a method for integrating micro applications, where the method includes the following steps:
finding out micro applications to be integrated corresponding to the function requirements from a micro application library according to the function requirements input by a user;
compiling the micro-application to be integrated to obtain configuration information, and storing the configuration information in a front-end configuration center for storage, wherein the configuration information comprises integrated path information and integrated address information of the micro-application to be integrated;
and calling the configuration information from a data output interface of the front-end configuration center, and integrating the micro-application to be integrated into a main application according to the configuration information.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the step of calling the configuration information from the data output interface of the front-end configuration center and integrating the micro-application to be integrated into a main application according to the configuration information includes:
calling the configuration information from a data output interface of the front-end configuration center, and registering corresponding route configuration information according to the configuration information, wherein the route configuration information comprises a route prefix;
and mounting the routing configuration information to a main application, and integrating the micro-application to be integrated to the main application according to the routing configuration information.
With reference to the first possible implementation manner of the first aspect, the embodiment of the present invention provides a second possible implementation manner of the first aspect, where the step of mounting the routing configuration information to a host application includes:
the route configuration information is mounted to the host application using the addroute interface method of VueRouter.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the step of searching, in a micro application library, for a micro application to be integrated corresponding to a function requirement input by a user, includes:
classifying the micro applications in the micro application library according to functions to obtain micro application groups;
and determining a corresponding micro-application group according to the function requirement input by the user, and searching the micro-application with the highest user score from the micro-application group as the micro-application to be integrated.
With reference to the third possible implementation manner of the first aspect, the embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where before the step of searching for a micro application to be integrated corresponding to a function requirement in a micro application library according to the function requirement input by a user, the method further includes:
creating a micro-application library, wherein the micro-application library comprises micro-applications of various functional categories.
In a second aspect, an embodiment of the present invention further provides a micro-application integrated device, where the device includes:
the searching module is used for searching the micro-application to be integrated corresponding to the function requirement in the micro-application library according to the function requirement input by the user;
the compiling module is used for compiling the micro-application to be integrated to obtain configuration information, and storing the configuration information in a front-end configuration center for storage, wherein the configuration information comprises integrated path information and integrated address information of the micro-application to be integrated;
and the integration module is used for calling the configuration information from the data output interface of the front-end configuration center and integrating the micro-application to be integrated into the main application according to the configuration information.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the integrated module is configured to:
calling the configuration information from a data output interface of the front-end configuration center, and registering corresponding route configuration information according to the configuration information, wherein the route configuration information comprises a route prefix;
and mounting the routing configuration information to a main application, and integrating the micro-application to be integrated to the main application according to the routing configuration information.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the search module is configured to:
classifying the micro applications in the micro application library according to functions to obtain micro application groups;
and determining a corresponding micro-application group according to the function requirement input by the user, and searching the micro-application with the highest user score from the micro-application group as the micro-application to be integrated.
In a third aspect, an embodiment of the present invention further provides a server, where the server includes: a processor and a memory storing computer executable instructions executable by the processor to implement the method described above.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method described above.
The embodiment of the invention has the following beneficial effects: the embodiment of the invention provides a method and a device for integrating micro applications, which are characterized in that firstly, micro applications to be integrated corresponding to functional requirements are searched in a micro application library according to the functional requirements input by a user, then the micro applications to be integrated are compiled to obtain configuration information, the configuration information is stored in a front-end configuration center for storage, the configuration information is called from a data output interface of the front-end configuration center, and the micro applications to be integrated are integrated into a main application according to the configuration information. According to the micro-application integration method and device, the large single-page application is split into the micro-applications with single functions and definite responsibilities, and the micro-applications can be deployed and maintained independently in a dynamic integration mode to the main application, so that decoupling and aggregation of the large single-page application are realized, and the product has the capability of transversely expanding, and therefore the technical problem of difficult deployment and maintenance of the large single-page application is solved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the following description will briefly explain the drawings needed in the embodiments or the prior art description, and it is obvious that the drawings in the following description are some embodiments of the invention and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for micro-application integration according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for micro-application integration according to an embodiment of the present invention;
FIG. 3 is a block diagram of a micro-application integrated device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Nowadays, more and more large single-page applications bring great convenience for daily work and life of people, people can shop on the large single-page applications, watch videos, watch novels, listen to audios, work and the like, and the large single-page applications bring great pleasure to people, so that the life of people is more colorful, and the working efficiency is greatly improved. However, the volume of the existing large single-page application is gradually increased, so that development and addressing difficulties are increased, construction and deployment time is increased, each micro application in the large single-page application is mutually connected, the whole large single-page application cannot be updated due to the failure of individual micro applications, and the problem can be solved only by reloading the whole single-page application, so that the flexibility of development and deployment of the large single-page application product is greatly reduced. Based on the above, the embodiment of the invention provides a method and a device for micro-application integration to alleviate the above problems.
For the sake of understanding the present embodiment, a detailed description will be given of a micro-application integration method disclosed in the embodiment of the present invention.
In one possible embodiment, the invention provides a micro-application integration method. Fig. 1 is a flowchart of a method for integrating micro applications according to an embodiment of the present invention, where the method includes the following steps:
step S102: and searching the micro-application to be integrated corresponding to the function requirement in the micro-application library according to the function requirement input by the user.
The micro application library comprises various types of micro applications with functions, such as audio micro applications, video micro applications, office micro applications, home micro applications, text micro applications and the like, and people can select corresponding micro application types from the micro application library according to daily needs of the people and download the micro application types from the micro application library to serve as micro applications to be integrated.
It should be further noted that, the micro-application is a front-end architecture, based on the existing single-page network application mode, the large-scale single-page application can be split into multiple micro-applications with single functions and definite responsibilities, the micro-applications are application types that can be independently developed, independently deployed and integrated, and each micro-application in the micro-applications needs to rely on one or more back-end micro-services to complete the corresponding functions of the micro-applications.
Step S104: compiling the micro application to be integrated to obtain configuration information, and storing the configuration information in a front-end configuration center for storage.
The configuration information comprises integration path information and integration address information of the micro application to be integrated.
It should be further explained that, after the code instruction library of the computer server captures the compiling trigger instruction, the pre-built source compiling program can be triggered to compile the micro-application to be integrated, so as to finally obtain configuration information, and the configuration information is saved in the front-end configuration center, where the configuration information includes the integration path information and the integration address information, which are necessary information required for finally integrating the micro-program to be integrated into the main program, and the configuration information is indispensable.
Step S106: and calling the configuration information from a data output interface of the front-end configuration center, and integrating the micro-application to be integrated into a main application according to the configuration information.
The computer server calls the configuration information from a data output interface of the front-end configuration center according to the configuration information required by the micro-application to be integrated, so that the micro-application to be integrated is integrated into the main application according to the integration path information and the integration address information included in the configuration information, the whole micro-application integration process is completed, and the technical problem that the deployment and maintenance of the large single-page application are difficult is solved.
The embodiment of the invention has the following beneficial effects: according to the micro-application integration method, firstly, a micro-application to be integrated corresponding to a function requirement is searched in a micro-application library according to the function requirement input by a user, then compiling is carried out on the micro-application to be integrated to obtain configuration information, the configuration information is stored in a front-end configuration center for storage, the configuration information is called from a data output interface of the front-end configuration center, and the micro-application to be integrated is integrated to a main application according to the configuration information. According to the micro-application integration method and device, the large single-page application is split into the micro-applications with single functions and definite responsibilities, and the micro-applications can be deployed and maintained independently in a dynamic integration mode to the main application, so that decoupling and aggregation of the large single-page application are realized, and the product has the capability of transversely expanding, and therefore the technical problem of difficult deployment and maintenance of the large single-page application is solved.
In practical use, in order to describe the process of the present invention in more detail, fig. 2 shows a flowchart of another micro-application integration method provided by the embodiment of the present invention, where the method includes the following steps:
step S202: and classifying the micro applications in the micro application library according to the functions to obtain micro application groups.
Wherein the micro-applications in the micro-application database are categorized by functions, such as video functions, audio functions, office functions, home functions, text functions, and the like.
Prior to this step S202, the method further comprises: creating a micro-application library, wherein the micro-application library comprises micro-applications of various functional categories.
Step S204: and determining a corresponding micro-application group according to the function requirement input by the user, and searching the micro-application with the highest user score from the micro-application group as the micro-application to be integrated.
Each type of micro-application comprises a plurality of micro-applications with the same function developed by a plurality of companies, but the user experience of the micro-applications with the same or similar functions developed by each company is different, so that the scores of the micro-applications are different, the micro-application with the highest score of the user is finally integrated into a main application as the micro-application to be integrated by the user through a computer server, and the favorite micro-application can be selected as the micro-application to be integrated into the main application according to the preference of the user.
Step S206: compiling the micro application to be integrated to obtain configuration information, and storing the configuration information in a front-end configuration center for storage.
The configuration information comprises integration path information and integration address information of the micro application to be integrated.
Further, the front-end configuration center comprises two core interfaces, namely a core interface 1 and a core interface 2, wherein the core interface 1 is an information input interface and is used for transmitting configuration information to the front-end configuration center for storage; and the core interface 2 is an information output interface for outputting configuration information to the host application as a key for integrating the micro application to be integrated into the host application.
Step S208: and calling the configuration information from a data output interface of the front-end configuration center, and registering the corresponding route configuration information according to the configuration information.
Wherein the routing configuration information includes a routing prefix.
Further, the routing prefix is usually matched with one routing prefix, that is, a corresponding relation between two objects is constructed, and the embodiment of the invention can obtain the micro-application to be integrated into the main application through the routing prefix included in the routing configuration information.
Step S210: and mounting the routing configuration information to a main application, and integrating the micro-application to be integrated to the main application according to the routing configuration information.
It should be further noted that the step of mounting the routing configuration information to the host application includes: the route configuration information is mounted to the host application using the addroute interface method of VueRouter.
Wherein the vue router is a management router that is integrated with the core depth of vue.js, which makes it easy to build single page applications as a half-palm. The functions contained in the VueRouter mainly include: nested routing/view diagrams; modular, component-based routing configuration; routing parameters, queries, wildcards; view transition effect at the vue.js transition system; fine-grained navigational control; links with automatically activated CSS class; defined scroll bar behavior, etc., and the user may select the corresponding function of VueRouter according to actual needs, which is not limited by the embodiment of the present invention.
In summary, according to the method and the device for integrating the micro-applications, firstly, the micro-applications to be integrated corresponding to the function requirements are found in the micro-application library according to the function requirements input by the user, then the micro-applications to be integrated are compiled to obtain the configuration information, the configuration information is stored in the front-end configuration center, the configuration information is called from the data output interface of the front-end configuration center, and the micro-applications to be integrated are integrated into the main application according to the configuration information. According to the micro-application integration method and device, the large single-page application is split into the micro-applications with single functions and definite responsibilities, and the micro-applications can be deployed and maintained independently in a dynamic integration mode to the main application, so that decoupling and aggregation of the large single-page application are realized, and the product has the capability of transversely expanding, and therefore the technical problem of difficult deployment and maintenance of the large single-page application is solved.
In another possible implementation manner, corresponding to the micro-application integration method provided in the foregoing implementation manner, the embodiment of the present invention further provides a micro-application integration device, and fig. 3 is a block diagram of a micro-application integration device provided in the embodiment of the present invention. As shown in fig. 3, the apparatus includes:
the searching module 301 is configured to search for a micro application to be integrated corresponding to a function requirement in a micro application library according to the function requirement input by a user.
And the compiling module 302 is configured to compile the micro-application to be integrated to obtain configuration information, and store the configuration information in a front-end configuration center for storage.
The configuration information comprises integration path information and integration address information of the micro application to be integrated.
And the integrating module 303 is configured to call the configuration information from the data output interface of the front-end configuration center, and integrate the micro-application to be integrated into a main application according to the configuration information.
In actual use, the integration module 303 is configured to:
calling the configuration information from a data output interface of the front-end configuration center, and registering corresponding route configuration information according to the configuration information, wherein the route configuration information comprises a route prefix;
and mounting the routing configuration information to a main application, and integrating the micro-application to be integrated to the main application according to the routing configuration information.
In actual use, the search module 301 is configured to:
classifying the micro applications in the micro application library according to functions to obtain micro application groups;
and determining a corresponding micro-application group according to the function requirement input by the user, and searching the micro-application with the highest user score from the micro-application group as the micro-application to be integrated.
In still another possible implementation manner, the embodiment of the present invention further provides a server, and fig. 4 shows a schematic structural diagram of a server provided by the embodiment of the present invention, and referring to fig. 4, the server includes: a processor 400, a memory 401, a bus 402 and a communication interface 403, the processor 400, the memory 401, the communication interface 403 and being connected by the bus 402; the processor 400 is arranged to execute executable modules, such as computer programs, stored in the memory 401.
Wherein the memory 401 stores computer executable instructions capable of being executed by the processor 400, the processor 400 executing the computer executable instructions to implement the method described above.
Further, the memory 401 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 403 (which may be wired or wireless), which may use the internet, a wide area network, a local network, a metropolitan area network, etc.
Bus 402 may be an ISA bus, a PCI bus, an EISA bus, or the like. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 4, but not only one bus or type of bus.
The memory 401 is configured to store a program, and the processor 400 executes the program after receiving a program execution instruction, and the three-dimensional rendering method disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 400 or implemented by the processor 400.
Further, the processor 400 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 400 or by instructions in the form of software. The processor 400 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but may also be a digital signal processor (Digital Signal Processing, DSP for short), application specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 401, and the processor 400 reads the information in the memory 401, and in combination with its hardware, performs the steps of the above method.
In yet another possible implementation, the present embodiments also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method described above.
The personal information protection device provided by the embodiment of the invention has the same technical characteristics as the personal information protection method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The computer program product of the personal information protection method and apparatus provided in the embodiments of the present invention includes a computer readable storage medium storing program codes, where the instructions included in the program codes may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding process in the foregoing method embodiment for the specific working process of the apparatus described above, which is not described herein again.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood by those skilled in the art in specific cases.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a ReaD-Only Memory (ROM), a RanDom Access Memory (RAM), a magnetic disk or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention for illustrating the technical solution of the present invention, but not for limiting the scope of the present invention, and although the present invention has been described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that the present invention is not limited thereto: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (5)
1. A method of micro-application integration, the method comprising the steps of:
finding out micro applications to be integrated corresponding to the function requirements from a micro application library according to the function requirements input by a user; the micro-application to be integrated is an application type capable of being independently developed, independently deployed and integrated;
triggering a pre-built source compiler after acquiring a compiling trigger instruction, compiling the micro-application to be integrated to obtain configuration information, and storing the configuration information to a front-end configuration center for storage, wherein the configuration information comprises integrated path information and integrated address information of the micro-application to be integrated;
calling the configuration information from a data output interface of the front-end configuration center, and integrating the micro-application to be integrated into a main application according to the configuration information, wherein the method comprises the following steps:
calling the configuration information from a data output interface of the front-end configuration center, and registering corresponding route configuration information according to the configuration information, wherein the route configuration information comprises a route prefix;
mounting the route configuration information to a main application, and integrating the micro-application to be integrated to the main application according to the route configuration information;
the step of searching the micro-application to be integrated corresponding to the function requirement in the micro-application library according to the function requirement input by the user comprises the following steps:
creating a micro-application library, wherein the micro-application library comprises micro-applications of various functional categories;
classifying the micro applications in the micro application library according to functions to obtain micro application groups;
and determining a corresponding micro-application group according to the function requirement input by the user, and searching the micro-application with the highest user score from the micro-application group as the micro-application to be integrated.
2. The method of claim 1, wherein the step of mounting the routing configuration information to a host application comprises:
the route configuration information is mounted to the host application using the addroute interface method of VueRouter.
3. A micro-application integrated device employing the method of claim 1 or 2, the device comprising:
the searching module is used for searching the micro-application to be integrated corresponding to the function requirement in the micro-application library according to the function requirement input by the user; the micro-application to be integrated is an application type capable of being independently developed, independently deployed and integrated;
the compiling module is used for triggering a pre-built source compiling program after a compiling triggering instruction is acquired, compiling the micro-application to be integrated to obtain configuration information, and storing the configuration information in a front-end configuration center for storage, wherein the configuration information comprises integrated path information and integrated address information of the micro-application to be integrated;
the integrated module is used for calling the configuration information from the data output interface of the front-end configuration center and registering corresponding route configuration information according to the configuration information, wherein the route configuration information comprises a route prefix; mounting the route configuration information to a main application, and integrating the micro-application to be integrated to the main application according to the route configuration information;
wherein, the searching module is used for:
creating a micro-application library, wherein the micro-application library comprises micro-applications of various functional categories;
classifying the micro applications in the micro application library according to functions to obtain micro application groups;
determining a corresponding micro-application group according to the function requirement input by a user, and searching the micro-application with the highest user score from the micro-application group to be used as the micro-application to be integrated 。
4. A server comprising a processor and a memory, the memory storing computer executable instructions executable by the processor, the processor executing the computer executable instructions to implement the method of claim 1 or 2.
5. A computer-readable storage medium storing computer-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of claim 1 or 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011643853.9A CN112804315B (en) | 2020-12-31 | 2020-12-31 | Micro-application integration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011643853.9A CN112804315B (en) | 2020-12-31 | 2020-12-31 | Micro-application integration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112804315A CN112804315A (en) | 2021-05-14 |
CN112804315B true CN112804315B (en) | 2023-08-22 |
Family
ID=75809332
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011643853.9A Active CN112804315B (en) | 2020-12-31 | 2020-12-31 | Micro-application integration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112804315B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113360341B (en) * | 2021-06-04 | 2024-02-06 | 北京达佳互联信息技术有限公司 | Front-end application maintenance and loading method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714319A (en) * | 2018-12-06 | 2019-05-03 | 深圳市中农网有限公司 | Management system, method, apparatus, computer equipment and the storage medium of micro services |
CN110932912A (en) * | 2019-12-12 | 2020-03-27 | 北京中电普华信息技术有限公司 | Method for realizing unified management of configuration files under micro-service architecture |
CN111581576A (en) * | 2020-05-08 | 2020-08-25 | 湖南蚁坊软件股份有限公司 | Development processing method and device based on micro-service and storage medium |
CN112035183A (en) * | 2020-08-31 | 2020-12-04 | 中国银行股份有限公司 | Access method and device for micro application |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11323508B2 (en) * | 2009-05-22 | 2022-05-03 | Comcast Interactive Media, Llc | Web service system and method |
US10540190B2 (en) * | 2017-03-21 | 2020-01-21 | International Business Machines Corporation | Generic connector module capable of integrating multiple applications into an integration platform |
US10725840B2 (en) * | 2018-11-13 | 2020-07-28 | American Express Travel Related Services Company, Inc. | Automated web service and API build configuration framework |
US11128633B2 (en) * | 2019-06-17 | 2021-09-21 | Sap Se | Microservice deployment |
-
2020
- 2020-12-31 CN CN202011643853.9A patent/CN112804315B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714319A (en) * | 2018-12-06 | 2019-05-03 | 深圳市中农网有限公司 | Management system, method, apparatus, computer equipment and the storage medium of micro services |
CN110932912A (en) * | 2019-12-12 | 2020-03-27 | 北京中电普华信息技术有限公司 | Method for realizing unified management of configuration files under micro-service architecture |
CN111581576A (en) * | 2020-05-08 | 2020-08-25 | 湖南蚁坊软件股份有限公司 | Development processing method and device based on micro-service and storage medium |
CN112035183A (en) * | 2020-08-31 | 2020-12-04 | 中国银行股份有限公司 | Access method and device for micro application |
Also Published As
Publication number | Publication date |
---|---|
CN112804315A (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106970820B (en) | Code storage method and code storage device | |
CN108614696B (en) | Application making method, static library generation method and device | |
CN108563736B (en) | Method and device for querying data based on data characteristics | |
CN107562777B (en) | Data processing method and apparatus thereof | |
CN111767499A (en) | Page configuration method and device | |
CN104699845A (en) | Question-style search word based providing method and device of search results | |
CN110716866A (en) | Code quality scanning method and device, computer equipment and storage medium | |
CN108073401B (en) | Method and device for executing business logic and electronic equipment | |
CN112804315B (en) | Micro-application integration method and device | |
CN107766036B (en) | Module construction method and device and terminal equipment | |
CN115390852A (en) | Method and device for generating uniform abstract syntax tree and program analysis | |
CN111666100A (en) | Software framework generation method and device, electronic equipment and storage medium | |
CN115982416A (en) | Data processing method and device, readable storage medium and electronic equipment | |
CN115357625A (en) | Structured data comparison method and device, electronic equipment and storage medium | |
CN112947900A (en) | Web application development method and device, server and development terminal | |
CN112541005A (en) | Number generation method and device and electronic equipment | |
CN114268538A (en) | Configuration method and device of front-end route | |
CN112148746B (en) | Method, device, electronic device and storage medium for generating database table structure document | |
CN106502707B (en) | Code generation method and device | |
CN112882685A (en) | Object extension method and device of object-oriented programming language | |
US20120030235A1 (en) | Priority search trees | |
CN103020071A (en) | Data synchronization method and data synchronization device | |
CN115576980A (en) | SQL statement configuration method and device and electronic equipment | |
CN104239021A (en) | Search engine query string generation method and device and search engine system | |
CN110245136B (en) | Data retrieval method, device, equipment and storage equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |