CN115562759B - System function expanding method, device and storage medium - Google Patents

System function expanding method, device and storage medium Download PDF

Info

Publication number
CN115562759B
CN115562759B CN202211409384.3A CN202211409384A CN115562759B CN 115562759 B CN115562759 B CN 115562759B CN 202211409384 A CN202211409384 A CN 202211409384A CN 115562759 B CN115562759 B CN 115562759B
Authority
CN
China
Prior art keywords
expansion
target
plug
micro
page
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
Application number
CN202211409384.3A
Other languages
Chinese (zh)
Other versions
CN115562759A (en
Inventor
王鹏凯
张坚欣
邹方勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiajia Technology Co ltd
Original Assignee
Jiajia Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jiajia Technology Co ltd filed Critical Jiajia Technology Co ltd
Priority to CN202211409384.3A priority Critical patent/CN115562759B/en
Publication of CN115562759A publication Critical patent/CN115562759A/en
Application granted granted Critical
Publication of CN115562759B publication Critical patent/CN115562759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a system function expanding method, a device and a storage medium, which can improve the production efficiency of enterprises and reduce the operation cost of the enterprises, and the method comprises the following steps: receiving an expansion request from an enterprise, wherein the expansion request comprises a customized function of the enterprise to be expanded; further, selecting a target expansion point corresponding to the customized function from at least one expansion point pre-deployed at the micro-expansion front end; further, the target expansion point is mounted on a front-end page through a single page frame of the target software system, and expansion information of the target expansion point is inquired and obtained; the expansion information comprises metadata of a target expansion point and registered plug-in information, and the plug-in information comprises at least one plug-in corresponding to the target expansion point; finally, rendering a function plug-in on the front-end page through the target expansion point to complete the customization function of the expansion target software system; the functional plugin is a plugin supported by the target software system in at least one plugin.

Description

System function expanding method, device and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for expanding system functions, and a storage medium.
Background
Software system application based on B/S architecture (Browser/Server) is the main stream of the current enterprise software products, and the software system of B/S architecture has the characteristics of short development period, convenient use, quick update and the like.
However, enterprise procurement of B/S architecture software systems suffer from a number of problems and inconveniences when faced with functionality unmet and customization needs. For example, when an enterprise needs to customize corresponding functions for a software system of a B/S architecture to meet business development, the enterprise needs to deliver the customized functions to a software vendor for development. However, the software manufacturer often charges a high fee for the customized functions of the software system of the B/S architecture, and the lead time is also long, which is inconvenient to reduce the operation cost of the enterprise and improve the production efficiency of the enterprise.
Disclosure of Invention
Based on the above, the invention aims to provide a system function expanding method, a system function expanding device and a storage medium, which are used for reducing the operation cost of enterprises and improving the production efficiency of the enterprises.
In a first aspect, the present invention provides a method for expanding system functions, including:
receiving an expansion request from an enterprise; the expansion request comprises a customized function required to be expanded by the enterprise;
selecting a target expansion point corresponding to the customized function from at least one expansion point pre-deployed at the micro-expansion front end;
mounting the target expansion point on a front-end page through a single page frame of a target software system, and inquiring and acquiring expansion information of the target expansion point; the expansion information comprises metadata of a target expansion point and registered plug-in information, and the plug-in information comprises at least one plug-in corresponding to the target expansion point;
rendering a function plug-in on the front-end page through the target expansion point to complete expansion of the customized function of the target software system; the functional plugin is a plugin supported by the target software system in the at least one plugin.
In one possible design, a front page of the micro-expansion front is deployed with a micro-front and a micro-expansion, the micro-front comprises a navigation bar and a side bar, and the micro-expansion comprises at least one expansion point, at least one plug-in corresponding to any expansion point and a micro-expansion SDK.
In one possible design, selecting a target expansion point corresponding to the customized function from at least one expansion point pre-deployed by a micro-expansion front end, including:
determining a target plug-in capable of realizing the customization function;
and selecting an expansion point corresponding to the target plug-in from the at least one expansion point based on the target plug-in as the target expansion point.
In one possible design, querying obtains expansion information of the target expansion point, including:
and calling the micro-expansion SDK query server through the target expansion point to acquire the expansion information.
In one possible design, the functional plug-in is a vue component type plug-in; rendering a function plug-in on the front-end page through the target expansion point to complete expansion of the customized function of the target software system, wherein the method comprises the following steps:
downloading files required by the function plug-in from a micro-expansion service interface by using the micro-expansion SDK through the target expansion point;
dynamically creating a single-page functional component of the target software system by using the file through the micro-expansion SDK, and registering the single-page functional component on a single-page frame instance of the target software system;
after the target expansion point obtains a single-page functional component from the micro-expansion SDK, the single-page functional component is mounted at a designated position of the front-end page;
and rendering the function plug-in to the front-end page through the single-page framework to complete expansion of the customized function of the target software system.
In one possible design, the functional plug-in is an iframe type plug-in; rendering a function plug-in on the front-end page through the target expansion point to complete expansion of the customized function of the target software system, wherein the method comprises the following steps:
dynamically configuring an iframe sub page pointing to the function plug-in through the target expansion point;
and rendering the function plug-in on the front-end page by loading the iframe sub-page, so as to complete expansion of the customized function of the target software system.
In a second aspect, the present invention further provides a system function expanding device, including:
the receiving unit is used for receiving the expansion request from the enterprise; the expansion request comprises a customized function required to be expanded by the enterprise;
the processing unit is used for selecting a target expansion point corresponding to the customized function from at least one expansion point which is deployed in advance at the micro-expansion front end; mounting the target expansion point on a front-end page through a single page frame of a target software system, and inquiring and acquiring expansion information of the target expansion point; the expansion information comprises metadata of a target expansion point and registered plug-in information, and the plug-in information comprises at least one plug-in corresponding to the target expansion point; rendering a function plug-in on the front-end page through the target expansion point to complete expansion of the customized function of the target software system; the functional plugin is a plugin supported by the target software system in the at least one plugin.
In one possible design, a front page of the micro-expansion front is deployed with a micro-front and a micro-expansion, the micro-front comprises a navigation bar and a side bar, and the micro-expansion comprises at least one expansion point, at least one plug-in corresponding to any expansion point and a micro-expansion SDK.
In one possible design, the processing unit is specifically configured to:
determining a target plug-in capable of realizing the customization function;
and selecting an expansion point corresponding to the target plug-in from the at least one expansion point based on the target plug-in as the target expansion point.
In one possible design, the processing unit is specifically configured to:
and calling the micro-expansion SDK query server through the target expansion point to acquire the expansion information.
In one possible design, the functional plug-in is a vue component type plug-in; the processing unit is specifically configured to:
downloading files required by the function plug-in from a micro-expansion service interface by using the micro-expansion SDK through the target expansion point;
dynamically creating a single-page functional component of the target software system by using the file through the micro-expansion SDK, and registering the single-page functional component on a single-page frame instance of the target software system;
after the target expansion point obtains a single-page functional component from the micro-expansion SDK, the single-page functional component is mounted at a designated position of the front-end page;
and rendering the function plug-in to the front-end page through the single-page framework to complete expansion of the customized function of the target software system.
In one possible design, the functional plug-in is an iframe type plug-in; the processing unit is specifically configured to:
dynamically configuring an iframe sub page pointing to the function plug-in through the target expansion point;
and rendering the function plug-in on the front-end page by loading the iframe sub-page, so as to complete expansion of the customized function of the target software system.
In a third aspect, the present invention further provides a system function expanding device, including: at least one memory and at least one processor;
the at least one memory is used for storing one or more programs;
the method of any one of the possible designs described above is implemented when the one or more programs are executed by the at least one processor.
In a fourth aspect, the present invention also provides a computer-readable storage medium storing at least one program; the method according to any one of the possible designs described above is implemented when the at least one program is executed by a processor.
The beneficial effects of the invention are as follows:
in the technical scheme provided by the invention, an expansion request from an enterprise is received; the expansion request comprises the customized functions required to be expanded by the enterprise; further, selecting a target expansion point corresponding to the customized function from at least one expansion point pre-deployed at the micro-expansion front end; further, the target expansion point is mounted on a front-end page through a single page frame of the target software system, and expansion information of the target expansion point is inquired and obtained; the expansion information comprises metadata of a target expansion point and registered plug-in information, and the plug-in information comprises at least one plug-in corresponding to the target expansion point; finally, rendering a function plug-in on the front-end page through the target expansion point to complete the customization function of the expansion target software system; the functional plugin is a plugin supported by the target software system in at least one plugin. In the mode, at least one expansion point is deployed in advance at the micro-expansion front end, so that the function expansion of a software system can be realized at the front end, namely a browser end, the technology stack is not limited, the current popular browser web frame can be compatible, the enterprise can customize and develop the functions required by the enterprise according to the expansion points in the micro-expansion template conveniently, the customization of a service provider is not needed, and the production efficiency of the enterprise can be improved and the operation cost of the enterprise can be reduced.
For a better understanding and implementation, the present invention is described in detail below with reference to the drawings.
Drawings
FIG. 1 is a schematic flow chart of a system function expanding method provided by the invention;
FIG. 2 is a schematic diagram of a system architecture of a front-end micro-expansion management platform according to the present invention;
FIG. 3 is a schematic diagram of a functional plug-in rendered on a front page through expansion points according to the present invention;
FIG. 4 is a schematic structural diagram of a system function expanding device according to the present invention;
fig. 5 is a schematic structural diagram of a system function expanding device provided by the invention.
Detailed Description
The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of implementations consistent with aspects of the present disclosure.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in this disclosure refers to and encompasses any or all possible combinations of one or more of the associated listed items.
Referring to fig. 1, the present invention provides a system function expanding method, which includes the following steps:
s11, receiving an expansion request from an enterprise, wherein the expansion request comprises a customized function of the enterprise required expansion.
In the implementation, when an enterprise needs to customize a function according to the requirement of business development, the expansion request can be initiated through the target software system. Correspondingly, the system function expanding device can receive the expanding request.
S12, selecting a target expansion point corresponding to the customized function from at least one expansion point which is deployed in advance at the micro-expansion front end.
In specific implementation, as shown in fig. 2, the system architecture of the front-end micro-expansion management platform is configured, and the micro-front-end and micro-expansion are deployed on a front-end page of the micro-expansion front-end. The micro front end comprises a navigation bar and a side bar, is responsible for loading and rendering a product page according to a path, and can dynamically access vue or iframe pages.
The micro-expansion comprises at least one expansion point, at least one plug-in corresponding to any expansion point and a micro-expansion SDK. The expansion point is a front-end hook which is integrated in the target software system in advance and developed by using the micro expansion SDK, and can be understood as a front-end single page component. The micro-expansion SDK is used for micro-expansion general capability encapsulation, such as obtaining expansion point information, loading plug-in JS files, rendering pages and the like. For example, the software product uses the micro-expansion SDK to develop expansion points at the front end, the information of the expansion points can be obtained by inquiring the micro-expansion service interface through the micro-expansion SDK, and plug-in registered by a user is rendered on a page. The micro-expansion service refers to an interface service for providing data for micro-expansion, such as the micro-expansion service shown in fig. 2. The plug-in is developed by a user according to the development point specification and uploaded to the system platform, and the plug-in form is determined according to the development point and is not limited by the front-end development framework. For example, an extension point in the form of a tab page supports the Vue function component and iframe, and a drop down menu may support only link jumps.
In specific implementation, the system architecture of the front-end micro-expansion management platform shown in fig. 2 can be the system architecture of the front-end micro-expansion management platform established by the system function expansion device according to actual conditions in a data center platform mode, and the micro-expansion management platform can be mounted on a server and used for managing functions of at least one expansion point, plug-in units corresponding to any expansion point, and the like. The system function expanding device can also add a corresponding service interface according to the existing software system, so that the purpose of opening the box for use can be realized without other configuration of the software system.
In specific implementation, the system expansion function device can determine a target plug-in capable of realizing the system function, and then select an expansion point corresponding to the target plug-in from at least one expansion point as a target expansion point based on the target plug-in.
In the embodiment of the invention, at least one expansion point is deployed in advance at the micro-expansion front end, so that an enterprise can conveniently customize and develop the functions required by the enterprise according to the expansion points in the micro-expansion template without customizing by a service provider, thereby improving the production efficiency of the enterprise and reducing the operation cost of the enterprise.
S13, mounting the target expansion point on a front-end page through a single-page frame of the target software system, and inquiring and acquiring expansion information of the target expansion point; the expansion information comprises metadata of a target expansion point and registered plug-in information, and the plug-in information comprises at least one plug-in corresponding to the target expansion point.
In a specific implementation, as shown in fig. 3, the system function expanding device may mount (mount) the target expanding point onto the front-end page through a single-page framework (such as a micro application) of the target software system.
In the specific implementation, the system function expanding device can call the micro-expansion SDK query server through the target expanding point so as to acquire the expanding information. For example, as shown in connection with fig. 2-3, the system function expansion device can call the micro-expansion SDK through the target expansion point and inquire the expansion information through the micro-expansion service.
In the embodiment of the invention, the server only needs to provide the corresponding interface service, so that the purpose of opening the box for use can be realized without other configuration of the software system.
S14, rendering a function plug-in on a front-end page through a target expansion point to complete the customization function of an expansion target software system; the functional plugin is a plugin supported by a target software system in at least one plugin corresponding to a target expansion point.
In the implementation, the system function expansion device can process at least one plugin corresponding to the target expansion point according to the actual application scene, such as rendering the corresponding plugin according to the actually used software system. For example, the system function expanding device can render the function plug-in on the front-end page through the target expanding point so as to complete the customization function of the expanding target software system.
For example, assuming that at least one plug-in corresponding to the target expansion point includes a plug-in of vue component type and a plug-in of iframe component type, and the plug-in supported by the target software system is a plug-in of vue component type, the system function expansion device may render the plug-in of vue component type corresponding to the target expansion point on the front page through the target expansion point, so as to complete the customization function of the expansion target software system.
In a specific implementation, as shown in fig. 3, when the function plugin is a plugin of vue component type, the system function expansion device can use the micro expansion SDK to download files, such as JS files, required by the function plugin from the micro expansion service interface through the target expansion point. Then, the system function expansion device can dynamically create a single-page functional component of the target software system, such as vue functional component, by using the file through the micro-expansion SDK, and register the single-page functional component on a single-page frame instance of the target software system, such as vue instance. After the target expansion point obtains the single-page functional component from the micro-expansion SDK, the system functional expansion device mounts the single-page functional component at a designated position of a front-end page, such as a Dom node. Finally, the system function expanding device can render the function plug-in to the front-end page through a single page frame such as vue, and the customized function of the expanding target software system is finished, namely the loading of the micro-expanded browser is finished.
In the implementation, as shown in fig. 3, when the function plugin is an iframe type plugin, the system function expansion device may dynamically configure an iframe sub-page pointing to the function plugin through the target expansion point. And then, the system function expanding device can complete the customization function of the expanding target software system by loading the iframe sub-page rendering function plug-in on the front-end page.
In the embodiment of the invention, the plug-in supported by the target software system in at least one plug-in corresponding to the target expansion point is rendered on the front-end page, so that the function expansion of the software system can be realized at the front end, namely the browser end, the technical stack is not limited, the current popular browser web frame can be compatible, and the enterprise can customize and develop the functions required by the enterprise according to the expansion points in the micro expansion template.
As can be seen from the above description, in the technical solution provided by the embodiment of the present invention, an expansion request from an enterprise is received; the expansion request comprises the customized functions required to be expanded by the enterprise; further, selecting a target expansion point corresponding to the customized function from at least one expansion point pre-deployed at the micro-expansion front end; further, the target expansion point is mounted on a front-end page through a single page frame of the target software system, and expansion information of the target expansion point is inquired and obtained; the expansion information comprises metadata of a target expansion point and registered plug-in information, and the plug-in information comprises at least one plug-in corresponding to the target expansion point; finally, rendering a function plug-in on the front-end page through the target expansion point to complete the customization function of the expansion target software system; the functional plugin is a plugin supported by the target software system in at least one plugin. In the mode, at least one expansion point is deployed in advance at the micro-expansion front end, so that the function expansion of a software system can be realized at the front end, namely a browser end, the technology stack is not limited, the current popular browser web frame can be compatible, the enterprise can customize and develop the functions required by the enterprise according to the expansion points in the micro-expansion template conveniently, the customization of a service provider is not needed, and the production efficiency of the enterprise can be improved and the operation cost of the enterprise can be reduced.
Based on the same inventive concept, the embodiment of the present invention further provides a system function expanding device, as shown in fig. 4, the system function expanding device 20 may include:
a receiving unit 21, configured to receive an expansion request from an enterprise; the expansion request comprises the customized function of the enterprise to be expanded;
the processing unit 22 is configured to select a target expansion point corresponding to the customized function from at least one expansion point deployed in advance at the micro-expansion front end; mounting a target expansion point on a front-end page through a single-page frame of a target software system, and inquiring and acquiring expansion information of the target expansion point; the expansion information comprises metadata of a target expansion point and registered plug-in information, and the plug-in information comprises at least one plug-in corresponding to the target expansion point; rendering a function plug-in on a front-end page through a target expansion point to complete the customization function of an expansion target software system; the functional plugin is a plugin supported by the target software system in at least one plugin.
In one possible design, a front page of a micro-expansion front is deployed with a micro-front and a micro-expansion, the micro-front comprises a navigation bar and a side bar, and the micro-expansion comprises at least one expansion point, at least one plug-in corresponding to any expansion point and a micro-expansion SDK.
In one possible design, the processing unit 22 is specifically configured to:
determining a target plug-in capable of realizing the customization function;
based on the target plug-in, selecting an expansion point corresponding to the target plug-in from at least one expansion point as a target expansion point.
In one possible design, the processing unit 22 is specifically configured to:
and calling the micro-expansion SDK query server through the target expansion point to acquire the expansion information.
In one possible design, the functional plug-in is a vue component type plug-in; the processing unit 22 is specifically configured to:
downloading files required by the function plug-in from the micro-expansion service interface by using the micro-expansion SDK through the target expansion point;
dynamically creating a single-page functional component of the target software system by using the file through the micro-expansion SDK, and registering the single-page functional component on a single-page frame instance of the target software system;
after a target expansion point acquires a single-page functional component from the micro-expansion SDK, the single-page functional component is mounted at a designated position of a front-end page;
and rendering the function plug-in to a front-end page through a single page frame to complete the customization function of the expansion target software system.
In one possible design, the functional plug-in is an iframe type plug-in; the processing unit 22 is specifically configured to:
dynamically configuring an iframe sub page pointing to the function plug-in through a target expansion point;
and rendering the function plug-in on the front-end page by loading the iframe sub-page, thereby completing the customization function of the expansion target software system.
The system function expanding device 20 in the embodiment of the present invention and the system function expanding method shown in fig. 1 are based on the invention under the same concept, and through the foregoing detailed description of the system function expanding method, those skilled in the art can clearly understand the implementation process of the system function expanding device 20 in the embodiment, so that for the sake of brevity of the description, the description is omitted herein.
Based on the same inventive concept, the embodiment of the present invention further provides a system function expanding device, as shown in fig. 5, the system function expanding device 30 may include: at least one memory 31 and at least one processor 32. Wherein:
at least one memory 31 is used to store one or more programs.
The system functionality extension method illustrated in fig. 1 described above is implemented when one or more programs are executed by the at least one processor 32.
The system function expanding device 30 may further optionally include a communication interface for communication and data interactive transmission with an external device.
It should be noted that the memory 31 may include a high-speed RAM memory, and may further include a nonvolatile memory (nonvolatile memory), such as at least one magnetic disk memory.
In a specific implementation, if the memory 31, the processor 32 and the communication interface are integrated on a chip, the memory 31, the processor 32 and the communication interface may complete communication with each other through the internal interface. If the memory 31, the processor 32 and the communication interface are implemented independently, the memory, the processor and the communication interface may be connected to each other through a bus and perform communication with each other.
It should be noted that the system function expanding device is a server or other devices capable of communicating with the server, which is not limited in the present invention.
Based on the same inventive concept, the embodiment of the present invention further provides a computer readable storage medium, where at least one program may be stored, and when the at least one program is executed by a processor, the system function expansion method shown in fig. 1 is implemented.
It should be appreciated that a computer readable storage medium is any data storage device that can store data or a program, which can thereafter be read by a computer system. Examples of the computer readable storage medium include: read-only memory, random access memory, CD-ROM, HDD, DVD, magnetic tape, optical data storage devices, and the like.
The computer readable storage medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.
Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, radio Frequency (RF), or the like, or any suitable combination of the foregoing.
The above examples illustrate only a few embodiments of the invention, which are described in detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention.

Claims (7)

1. A system function expanding method, comprising:
receiving an expansion request from an enterprise; the expansion request comprises a customized function required to be expanded by the enterprise;
determining a target plug-in capable of realizing the customization function, and selecting an expansion point corresponding to the target plug-in from at least one expansion point deployed in advance at the micro-expansion front end as a target expansion point based on the target plug-in; the front page of the micro-expansion front end is provided with a micro front end and a micro expansion, the micro front end comprises a navigation bar and a side bar, the micro expansion comprises at least one expansion point, at least one plug-in corresponding to any expansion point and a micro expansion SDK, and the expansion point is a front single page component which is integrated in a target software system in advance and is developed by using the micro expansion SDK;
mounting the target expansion point on a front-end page through a single page frame of a target software system, and inquiring and acquiring expansion information of the target expansion point; the expansion information comprises metadata of a target expansion point and registered plug-in information, and the plug-in information comprises at least one plug-in corresponding to the target expansion point;
rendering a function plug-in on the front-end page through the target expansion point to complete expansion of the customized function of the target software system; the functional plugin is a plugin supported by the target software system in the at least one plugin.
2. The method of claim 1, wherein querying obtains expansion information for the target expansion point, comprising:
and calling the micro-expansion SDK query server through the target expansion point to acquire the expansion information.
3. The method of claim 1, wherein the functional plug-in is a vue component type plug-in; rendering a function plug-in on the front-end page through the target expansion point to complete expansion of the customized function of the target software system, wherein the method comprises the following steps:
downloading files required by the function plug-in from a micro-expansion service interface by using the micro-expansion SDK through the target expansion point;
dynamically creating a single-page functional component of the target software system by using the file through the micro-expansion SDK, and registering the single-page functional component on a single-page frame instance of the target software system;
after the target expansion point obtains a single-page functional component from the micro-expansion SDK, the single-page functional component is mounted at a designated position of the front-end page;
and rendering the function plug-in to the front-end page through the single-page framework to complete expansion of the customized function of the target software system.
4. The method of claim 1, wherein the functional plug-in is an iframe type plug-in; rendering a function plug-in on the front-end page through the target expansion point to complete expansion of the customized function of the target software system, wherein the method comprises the following steps:
dynamically configuring an iframe sub page pointing to the function plug-in through the target expansion point;
and rendering the function plug-in on the front-end page by loading the iframe sub-page, so as to complete expansion of the customized function of the target software system.
5. A system function expanding apparatus, comprising:
the receiving unit is used for receiving the expansion request from the enterprise; the expansion request comprises a customized function required to be expanded by the enterprise;
the processing unit is used for determining a target plug-in capable of realizing the customization function, and selecting an expansion point corresponding to the target plug-in from at least one expansion point which is deployed in advance at the micro-expansion front end as a target expansion point based on the target plug-in; the front page of the micro-expansion front end is provided with a micro front end and a micro expansion, the micro front end comprises a navigation bar and a side bar, the micro expansion comprises at least one expansion point, at least one plug-in corresponding to any expansion point and a micro expansion SDK, and the expansion point is a front single page component which is integrated in a target software system in advance and is developed by using the micro expansion SDK; mounting the target expansion point on a front-end page through a single page frame of a target software system, and inquiring and acquiring expansion information of the target expansion point; the expansion information comprises metadata of a target expansion point and registered plug-in information, and the plug-in information comprises at least one plug-in corresponding to the target expansion point; rendering a function plug-in on the front-end page through the target expansion point to complete expansion of the customized function of the target software system; the functional plugin is a plugin supported by the target software system in the at least one plugin.
6. A system function expanding apparatus, comprising: at least one memory and at least one processor;
the at least one memory is used for storing one or more programs;
the method of any of claims 1-4 is implemented when the one or more programs are executed by the at least one processor.
7. A computer-readable storage medium, wherein the computer-readable storage medium stores at least one program; the method according to any of claims 1-4 is implemented when said at least one program is executed by a processor.
CN202211409384.3A 2022-11-11 2022-11-11 System function expanding method, device and storage medium Active CN115562759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211409384.3A CN115562759B (en) 2022-11-11 2022-11-11 System function expanding method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211409384.3A CN115562759B (en) 2022-11-11 2022-11-11 System function expanding method, device and storage medium

Publications (2)

Publication Number Publication Date
CN115562759A CN115562759A (en) 2023-01-03
CN115562759B true CN115562759B (en) 2023-06-30

Family

ID=84770224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211409384.3A Active CN115562759B (en) 2022-11-11 2022-11-11 System function expanding method, device and storage medium

Country Status (1)

Country Link
CN (1) CN115562759B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303650A (en) * 2008-07-09 2008-11-12 腾讯科技(深圳)有限公司 Method and system for extending function of software platform
CN103645919A (en) * 2013-12-18 2014-03-19 用友软件股份有限公司 Method for extending functions of management information system through plugins
CN114968406A (en) * 2022-05-27 2022-08-30 北京青云科技股份有限公司 Plug-in management method and device, electronic equipment and storage medium
CN115268854A (en) * 2022-09-28 2022-11-01 深圳市明源云科技有限公司 Service expansion implementation method, system, electronic equipment and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7509638B2 (en) * 2004-08-02 2009-03-24 International Business Machines Corporation Method and apparatus for providing a pluggable and extendable J2EE architecture
US20070156913A1 (en) * 2005-12-30 2007-07-05 Hiroyuki Miyamoto Method for enabling extension points through plug-ins
US8407461B2 (en) * 2010-12-17 2013-03-26 Oracle International Corporation Plug-in system for software applications
US11061696B2 (en) * 2019-01-22 2021-07-13 Servicenow, Inc. Extension points for web-based applications and services
CN112114896A (en) * 2020-09-04 2020-12-22 青岛海信网络科技股份有限公司 Plug-in framework and method for service function expansion

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303650A (en) * 2008-07-09 2008-11-12 腾讯科技(深圳)有限公司 Method and system for extending function of software platform
CN103645919A (en) * 2013-12-18 2014-03-19 用友软件股份有限公司 Method for extending functions of management information system through plugins
CN114968406A (en) * 2022-05-27 2022-08-30 北京青云科技股份有限公司 Plug-in management method and device, electronic equipment and storage medium
CN115268854A (en) * 2022-09-28 2022-11-01 深圳市明源云科技有限公司 Service expansion implementation method, system, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN115562759A (en) 2023-01-03

Similar Documents

Publication Publication Date Title
RU2301506C2 (en) Method and system for selecting data elements for service requests
KR100616157B1 (en) Method and syetem for interworking plurality of applications
US20050232175A1 (en) System and method for provisioning device management tree parameters over a client provisioning protocol
US20060242248A1 (en) Shortcut generator for services accessible via a messaging service system
CN108667866B (en) Request processing method and device based on API intelligent adaptation
EP1246057A2 (en) Remote program downloading system
CN102830989B (en) Reader provides method, reader and the terminal of service
CN104965848A (en) Front-end resource loading method and apparatus
CN111737270A (en) Data processing method and system, computer system and computer readable medium
CN105302601A (en) System and method for software upgrade server
EP3654591B1 (en) Method and device for transmitting multimedia message, storage medium, and electronic apparatus
CN110764812B (en) Intelligent device, intelligent wearable device and software upgrading system and method thereof
CN102118736A (en) Mobile terminal and self-adaptive method and system thereof
EP2395778A1 (en) Customization of near field communication based services according to mobile subscriber preferences
CN104219323A (en) Application downloading method and mobile terminal
CN115562759B (en) System function expanding method, device and storage medium
CN114422436A (en) Gateway, gateway control method, gateway control device, electronic equipment and storage medium
CN110730197A (en) Service discovery method and system
CN101146282A (en) Method for application recognition module to download electronic documents
CN113132928B (en) Charging method and device for video short message service
KR100608150B1 (en) Wireless contents download system and method thereof for wireless internet service system
CN113190565A (en) Data updating method and device, storage medium and electronic device
CN102137079A (en) Method and device for developing service for RPC (Remote Procedure Call)
US8117285B1 (en) System and method for bundled content delivery
WO2008115033A1 (en) Method of providing mobile application and computer-readable medium having thereon program performing function embodying the same

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