CN117785331A - Plug-in management system, method, electronic device and storage medium - Google Patents

Plug-in management system, method, electronic device and storage medium Download PDF

Info

Publication number
CN117785331A
CN117785331A CN202410207527.5A CN202410207527A CN117785331A CN 117785331 A CN117785331 A CN 117785331A CN 202410207527 A CN202410207527 A CN 202410207527A CN 117785331 A CN117785331 A CN 117785331A
Authority
CN
China
Prior art keywords
plug
user
components
instance
configuration information
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.)
Pending
Application number
CN202410207527.5A
Other languages
Chinese (zh)
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.)
Yunli Intelligent Technology Co ltd
Original Assignee
Yunli Intelligent 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 Yunli Intelligent Technology Co ltd filed Critical Yunli Intelligent Technology Co ltd
Priority to CN202410207527.5A priority Critical patent/CN117785331A/en
Publication of CN117785331A publication Critical patent/CN117785331A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a plug-in management system, a method, electronic equipment and a storage medium, and relates to the technical field of computers, wherein the plug-in management system comprises: a plug-in designer for constructing a plug-in response to drag and configuration operations for a selected plurality of plug-in components; the plug-in manager is used for responding to a plug-in activation instruction carrying a first plug-in identifier for each user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and each plug-in component, creating an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and each plug-in component, and loading the first plug-in instance into the user session space; and responding to the plugin calling instruction, and executing the first plugin instance in the user session space. The invention can adjust the work flow of the plug-in; isolation of concurrent calls among multiple users can be achieved; plug-ins can be loaded as required, so that the memory is saved; the internal logic of the plug-in can be whitened, so that the plug-in is convenient to understand and use.

Description

Plug-in management system, method, electronic device and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a system and method for managing a plug-in unit, an electronic device, and a storage medium.
Background
Currently, as shown in fig. 1, a card management system generally initializes all cards into a memory at one time, resulting in memory waste. And, all calls of users use the same plug-in instance, and the contexts (such as global variables) in the plug-in instance are mixed, which is likely to cause call interference among users and poor isolation. The plug-in is downloaded/stored into the plug-in management system once in a way of developing class libraries (package), the workflow of the plug-in cannot be adjusted, and the internal logic is a black box, so that the plug-in is inconvenient to understand and use.
Disclosure of Invention
The invention provides a plug-in management system, a plug-in management method, electronic equipment and a storage medium, which can adjust the work flow of a plug-in; isolation of concurrent calls among multiple users can be achieved; plug-ins can be loaded as required, so that the memory is saved; the internal logic of the plug-in can be whitened, so that the plug-in is convenient to understand and use.
The invention provides a plug-in management system, comprising:
a plug-in designer for constructing a plug-in response to a drag operation and a configuration operation for a selected plurality of plug-in components having basic atomic capabilities; the plug-in library comprises a plurality of different plug-ins; each plug-in unit is provided with a plug-in unit identifier corresponding to the plug-in unit one by one;
the plug-in manager is used for receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by a user after the network connection between the user and the plug-in manager is created for each user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from the plug-in library, creating an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and the plurality of plug-in components in the first plug-in, and loading the first plug-in instance into the user session space; and receiving and responding to a plug-in call instruction sent by the user, and executing the first plug-in instance in the user session space.
According to the plug-in management system provided by the invention, the plug-in manager is further used for:
receiving and responding to a plug-in switching instruction carrying a second plug-in identifier sent by the user, loading configuration information of a second plug-in corresponding to the second plug-in identifier and a plurality of plug-in components in the second plug-in from the plug-in library, and initializing a second plug-in instance based on the configuration information of the second plug-in and the plurality of plug-in components in the second plug-in; loading the second plug-in instance into the user session space while destroying the first plug-in instance in the user session space; executing the second plug-in instance within the user session space.
According to the plug-in management system provided by the invention, the plug-in manager is further used for:
after disconnecting the network connection, destroying the user session space and plug-in instances within the user session space.
According to the present invention, there is provided a card management system, the card designer is specifically configured to:
generating a workflow diagram based on each of the plug-in components and a dependency relationship between each of the plug-in components in response to the drag operation for the selected plurality of plug-in components having basic atomic capabilities;
configuring configuration information of each of the plug-in components in response to the configuration operation for the selected plurality of plug-in components having basic atomic capabilities;
and constructing the plug-in based on the workflow and the configuration information of each plug-in component.
According to the plug-in management system provided by the invention, the plug-in designer is further used for:
and for a target plugin in the plugin library, responding to configuration modification operation for a target plugin component to be modified in the target plugin, and modifying configuration information of the target plugin component.
According to the plug-in management system provided by the invention, the plug-in manager is further used for:
and receiving and responding to the configuration modification instruction sent by the user, and modifying the configuration information of the first plug-in instance.
According to the plug-in management system provided by the invention, the plug-in designer is further used for:
providing a plug-in component library, wherein the plug-in component library comprises a plurality of plug-in components with basic atomic capacity; the plug-in component comprises an initialization method, a processing method and a destroying method;
and expanding the new plug-in components to the plug-in component library.
The invention also provides a plug-in management method, which comprises the following steps:
constructing a plugin in response to drag operation and configuration operation for the selected plurality of plugin components with basic atomic capabilities; the plug-in library comprises a plurality of different plug-ins; each plug-in unit is provided with a plug-in unit identifier corresponding to the plug-in unit one by one;
for each user, after network connection between the user and a plug-in manager is created, receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by the user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from a plug-in library, creating an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and the plurality of plug-in components in the first plug-in, and loading the first plug-in instance into the user session space;
and receiving and responding to a plug-in call instruction sent by the user, and executing the first plug-in instance in the user session space.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the plug-in management method as described above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a plug-in management method as described above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements a method of plug-in management as described above.
The invention provides a plug-in management system, a plug-in management method, electronic equipment and a storage medium, wherein the plug-in management system comprises a plug-in designer and a plug-in manager; the plug-in designer is used for responding to drag operation and configuration operation of a plurality of plug-in components with basic atomic capability selected, and constructing a plug-in; the plug-in library comprises a plurality of different plug-ins; each plug-in unit has a plug-in unit identifier corresponding to the plug-in unit; the work flow of the plug-in can be adjusted through the dragging operation and the configuration operation of the plug-in component, the internal logic of the plug-in can be whitened, and the understanding and the use are convenient; the plug-in manager is used for receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by a user after network connection between the user and the plug-in manager is established for each user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from a plug-in library, loading the plug-in according to requirements, saving memory, establishing an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and the plurality of plug-in components in the first plug-in, and loading the first plug-in instance into the user session space; receiving and responding to a plug-in call instruction sent by a user, and executing a first plug-in instance in a user session space; since the first plug-in instances of different users are executed in respective independent user session spaces, isolation of concurrent calls between multiple users can be achieved. Therefore, the invention can adjust the workflow of the plug-in; isolation of concurrent calls among multiple users can be achieved; plug-ins can be loaded as required, so that the memory is saved; the internal logic of the plug-in can be whitened, so that the plug-in is convenient to understand and use.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a prior art plug-in management system;
FIG. 2 is a schematic diagram of a plug-in management system according to an embodiment of the present invention;
FIG. 3 is a schematic workflow diagram of a view volume document plug-in provided by an embodiment of the present invention;
FIG. 4 is a schematic diagram of a plug-in management system according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of a plug-in management method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages 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, 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.
The card management system of the present invention is described below in conjunction with fig. 2-5.
Referring to fig. 2, fig. 2 is a schematic diagram of a plug-in management system according to an embodiment of the invention. As shown in fig. 2, the card management system may include a card designer 1 and a card manager 2; wherein:
a plug-in designer 1 for constructing a plug-in response to a drag operation and a configuration operation for a selected plurality of plug-in components having basic atomic capabilities; the plug-in library comprises a plurality of different plug-ins; each plug-in has its own plug-in identification.
Specifically, there are several plug-in components in the plug-in designer 1 with basic atomic capabilities, such as: reading a document plug-in component, formatting a text plug-in component, etc. Responding to drag operation and configuration operation for a plurality of selected plug-in components with basic atomic capability, assembling the selected plug-in components through the drag operation, and configuring information through the configuration operationThereby building up a plug-in. And storing the constructed plug-ins into a plug-in library, and generating plug-in identifiers corresponding to the plug-ins one by one. Development in which the plug-in is not fixedGenerated in a packaged manner, but generated by dragging the plug-in components in a visual manner using the plug-in designer 1. The workflow of the plug-in can be adjusted through drag operation and configuration operation of the plug-in component, and the internal logic of the plug-in can be whitened, so that the plug-in is convenient to understand and use.
In one example embodiment, the card designer 1 is specifically for: generating a workflow diagram based on each plug-in component and the dependency relationship between each plug-in component in response to a drag operation for the selected plurality of plug-in components having basic atomic capabilities; configuring configuration information of each plug-in component in response to configuration operation for the selected plurality of plug-in components with basic atomic capability; plug-ins are constructed based on the workflow and configuration information for each plug-in component.
Illustratively, the card designer 1 has a visual card design interface where interaction between the card designer and the card designer 1 may be achieved. The selected plurality of plug-in components having basic atomic capabilities may include: the system comprises a document reading prompt plug-in component, a document reading plug-in component, an organization prompt plug-in component, an analysis document prompt plug-in component and an organization output plug-in component. Responsive to drag operations of the plug-in designer on the selected plug-in components at the plug-in design interface, the selected plug-in components are assembled based on the dependencies between the selected plug-in components and the selected plug-in components, thereby generating a workflow diagram for the view volume document plug-in as shown in FIG. 3. Configuration information of the selected plug-in components is configured in response to configuration operations of the plug-in designer on the plug-in design interface for the selected plug-in components. A view volume document plug-in is constructed based on the workflow and configuration information for the selected plug-in components. The internal logic of the view volume document plug-in can be white-boxed, and the understanding and the use are convenient. And, the workflow of the view volume document plug-in can be adjusted through the drag operation and the configuration operation of the plug-in component.
In an example embodiment, the card designer 1 is further configured to: and for the target plugins in the plugin library, responding to configuration modification operation for the target plugins to be modified in the target plugins, and modifying configuration information of the target plugins.
Specifically, in response to configuration modification operation of a plug-in designer on a target plug-in component to be modified in a plug-in library in a plug-in design interface, configuration information of the target plug-in component is modified, so that configuration information of the target plug-in component can be modified in a design state.
In an example embodiment, the card designer 1 is further configured to: providing a plug-in component library, wherein the plug-in component library comprises a plurality of plug-in components with basic atomic capability; the plug-in component comprises an initialization method, a processing method and a destroying method; the new plug-in component is extended to the plug-in component library.
Specifically, the plug-in component library comprises a plurality of plug-in components with basic atomic capability, and new plug-in components can be expanded to the plug-in component library, so that the plug-in component library is gradually enriched and expanded.
By developing atomic rich capability of various plug-in components, the plug-in components comprise an initialization method, a processing method and a destroying method. Wherein the initialization method (init) of the plug-in component is used for initializing the plug-in component when initializing the plug-in; a processing method (process) of the plug-in component is used for performing service processing when a data stream of the plug-in component is executed to a node of the plug-in component; the destroying method (store) of the plug-in component is used for destroying the resource content of the plug-in component when destroying the plug-in component.
The plug-in manager 2 is used for receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by a user after the network connection between the user and the plug-in manager 2 is created for each user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from a plug-in library, creating an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and the plurality of plug-in components in the first plug-in, and loading the first plug-in instance into the user session space; and receiving and responding to a plug-in call instruction sent by the user, and executing the first plug-in instance in the user session space.
Specifically, as shown in fig. 4, for each user, after creating a network connection between the user and the plug-in manager 2, interaction between the user and the plug-in manager 2 can be performed. And receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by a user, and loading configuration information of the first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from a plug-in library, so that the plug-ins can be loaded as required, all the plug-ins are not required to be loaded into a memory, and the memory is saved.
Then, an independent user session space is created for each user, the first plugin instance is initialized based on the configuration information of the first plugin and a plurality of plugin components in the first plugin, and the first plugin instances of different users are respectively loaded into the respective user session spaces due to the fact that the user session spaces of the different users are independent of each other.
And finally, receiving and responding to a plug-in call instruction sent by the user, and executing the first plug-in instance in the user session space.
The plug-in management system provided by the embodiment of the invention comprises a plug-in designer and a plug-in manager; the plug-in designer is used for responding to drag operation and configuration operation of a plurality of plug-in components with basic atomic capability selected, and constructing a plug-in; the plug-in library comprises a plurality of different plug-ins; each plug-in unit has a plug-in unit identifier corresponding to the plug-in unit; the work flow of the plug-in can be adjusted through the dragging operation and the configuration operation of the plug-in component, the internal logic of the plug-in can be whitened, and the understanding and the use are convenient; the plug-in manager is used for receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by a user after network connection between the user and the plug-in manager is established for each user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from a plug-in library, loading the plug-in according to requirements, saving memory, establishing an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and the plurality of plug-in components in the first plug-in, and loading the first plug-in instance into the user session space; receiving and responding to a plug-in call instruction sent by a user, and executing a first plug-in instance in a user session space; since the first plug-in instances of different users are executed in respective independent user session spaces, isolation of concurrent calls between multiple users can be achieved. Therefore, the embodiment of the invention can adjust the workflow of the plug-in; isolation of concurrent calls among multiple users can be achieved; plug-ins can be loaded as required, so that the memory is saved; the internal logic of the plug-in can be whitened, so that the plug-in is convenient to understand and use.
In an example embodiment, the plug-in manager 2 is further configured to: receiving and responding to a plug-in switching instruction carrying a second plug-in identifier sent by a user, loading configuration information of a second plug-in corresponding to the second plug-in identifier and a plurality of plug-in components in the second plug-in from a plug-in library, and initializing a second plug-in instance based on the second plug-in and the configuration information of the plurality of plug-in components in the second plug-in; loading the second plug-in instance into the user session space, and destroying the first plug-in instance in the user session space; a second plug-in instance is executed within the user session space.
Specifically, since each user can use only one plug-in at the same time, when the user needs to use the second plug-in, it is necessary to switch from the first plug-in to the second plug-in. The plug-in switching process may include: and receiving and responding to a plug-in switching instruction carrying a second plug-in identifier sent by a user, loading configuration information of a second plug-in corresponding to the second plug-in identifier and a plurality of plug-in components in the second plug-in from a plug-in library, and initializing a second plug-in instance based on the second plug-in and the configuration information of the plurality of plug-in components in the second plug-in. The loading of the second plug-in instance and the destroying of the first plug-in instance can be carried out simultaneously through the concurrency lock, the second plug-in instance is executed in the user session space, and the switching between the plug-ins can be realized. And, destroy the first plug-in instance in the user session space, can reclaim the memory that the first plug-in instance occupies.
In an example embodiment, the plug-in manager 2 is further configured to: after disconnecting the network, the user session space and the plug-in instances within the user session space are destroyed.
Specifically, after the network connection is disconnected, the user session ends, the user session space and the plug-in instances in the user session space are destroyed, and the memory can be recovered.
In an example embodiment, the plug-in manager 2 is further configured to: and receiving and responding to a configuration modification instruction sent by a user, and modifying the configuration information of the first plug-in instance.
Specifically, the configuration information of the first plug-in instance is modified by receiving and responding to the configuration modification instruction sent by the user, so that the configuration information of the first plug-in instance can be modified in a running state.
The method for managing plug-ins provided by the invention is described below, and the method for managing plug-ins described below and the system for managing plug-ins described above can be referred to correspondingly.
Referring to fig. 5, fig. 5 is a flowchart illustrating a plug-in management method according to an embodiment of the present invention. As shown in fig. 5, the method may include the steps of:
step 501, constructing a plug-in response to a drag operation and a configuration operation for a selected plurality of plug-in components with basic atomic capabilities; the plug-in library comprises a plurality of different plug-ins; each plug-in unit has a plug-in unit identifier corresponding to the plug-in unit;
step 502, for each user, after creating a network connection between the user and a plug-in manager, receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by the user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from a plug-in library, creating an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and the plurality of plug-in components in the first plug-in, and loading the first plug-in instance into the user session space;
step 503, receiving and responding to a plugin call instruction sent by a user, and executing a first plugin instance in the user session space.
In an example embodiment, the method further comprises:
receiving and responding to a plug-in switching instruction carrying a second plug-in identifier sent by a user, loading configuration information of a second plug-in corresponding to the second plug-in identifier and a plurality of plug-in components in the second plug-in from a plug-in library, and initializing a second plug-in instance based on the second plug-in and the configuration information of the plurality of plug-in components in the second plug-in; loading the second plug-in instance into the user session space, and destroying the first plug-in instance in the user session space; a second plug-in instance is executed within the user session space.
In an example embodiment, the method further comprises:
after disconnecting the network, the user session space and the plug-in instances within the user session space are destroyed.
In an example embodiment, step 501 may include:
generating a workflow diagram based on each plug-in component and the dependency relationship between each plug-in component in response to a drag operation for the selected plurality of plug-in components having basic atomic capabilities;
configuring configuration information of each plug-in component in response to configuration operation for the selected plurality of plug-in components with basic atomic capability;
plug-ins are constructed based on the workflow and configuration information for each plug-in component.
In an example embodiment, the method further comprises:
and for the target plugins in the plugin library, responding to configuration modification operation for the target plugins to be modified in the target plugins, and modifying configuration information of the target plugins.
In an example embodiment, the method further comprises:
and receiving and responding to a configuration modification instruction sent by a user, and modifying the configuration information of the first plug-in instance.
In an example embodiment, the method further comprises:
providing a plug-in component library, wherein the plug-in component library comprises a plurality of plug-in components with basic atomic capability; the plug-in component comprises an initialization method, a processing method and a destroying method;
the new plug-in component is extended to the plug-in component library.
Fig. 6 illustrates a physical schematic diagram of an electronic device, as shown in fig. 6, which may include: processor 610, communication interface (Communications Interface) 620, memory 630, and communication bus 640, wherein processor 610, communication interface 620, and memory 630 communicate with each other via communication bus 640. The processor 610 may invoke logic instructions in the memory 630 to perform a plug-in management method comprising:
constructing a plugin in response to drag operation and configuration operation for the selected plurality of plugin components with basic atomic capabilities; the plug-in library comprises a plurality of different plug-ins; each plug-in unit has a plug-in unit identifier corresponding to the plug-in unit;
for each user, after network connection between the user and a plug-in manager is established, receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by the user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from a plug-in library, establishing an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and the plurality of plug-in components in the first plug-in, and loading the first plug-in instance into the user session space;
and receiving and responding to a plug-in call instruction sent by the user, and executing the first plug-in instance in the user session space.
Further, the logic instructions in the memory 630 may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. 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, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of executing the plug-in management method provided by the methods above, the method comprising:
constructing a plugin in response to drag operation and configuration operation for the selected plurality of plugin components with basic atomic capabilities; the plug-in library comprises a plurality of different plug-ins; each plug-in unit has a plug-in unit identifier corresponding to the plug-in unit;
for each user, after network connection between the user and a plug-in manager is established, receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by the user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from a plug-in library, establishing an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and the plurality of plug-in components in the first plug-in, and loading the first plug-in instance into the user session space;
and receiving and responding to a plug-in call instruction sent by the user, and executing the first plug-in instance in the user session space.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the plug-in management method provided by the above methods, the method comprising:
constructing a plugin in response to drag operation and configuration operation for the selected plurality of plugin components with basic atomic capabilities; the plug-in library comprises a plurality of different plug-ins; each plug-in unit has a plug-in unit identifier corresponding to the plug-in unit;
for each user, after network connection between the user and a plug-in manager is established, receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by the user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from a plug-in library, establishing an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and the plurality of plug-in components in the first plug-in, and loading the first plug-in instance into the user session space;
and receiving and responding to a plug-in call instruction sent by the user, and executing the first plug-in instance in the user session space.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A card management system, comprising:
a plug-in designer for constructing a plug-in response to a drag operation and a configuration operation for a selected plurality of plug-in components having basic atomic capabilities; the plug-in library comprises a plurality of different plug-ins; each plug-in unit is provided with a plug-in unit identifier corresponding to the plug-in unit one by one;
the plug-in manager is used for receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by a user after the network connection between the user and the plug-in manager is created for each user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from the plug-in library, creating an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and the plurality of plug-in components in the first plug-in, and loading the first plug-in instance into the user session space; and receiving and responding to a plug-in call instruction sent by the user, and executing the first plug-in instance in the user session space.
2. The card management system of claim 1, wherein the card manager is further configured to:
receiving and responding to a plug-in switching instruction carrying a second plug-in identifier sent by the user, loading configuration information of a second plug-in corresponding to the second plug-in identifier and a plurality of plug-in components in the second plug-in from the plug-in library, and initializing a second plug-in instance based on the configuration information of the second plug-in and the plurality of plug-in components in the second plug-in; loading the second plug-in instance into the user session space while destroying the first plug-in instance in the user session space; executing the second plug-in instance within the user session space.
3. The card management system of claim 1 or 2, wherein the card manager is further configured to:
after disconnecting the network connection, destroying the user session space and plug-in instances within the user session space.
4. The card management system of claim 1, wherein the card designer is specifically configured to:
generating a workflow diagram based on each of the plug-in components and a dependency relationship between each of the plug-in components in response to the drag operation for the selected plurality of plug-in components having basic atomic capabilities;
configuring configuration information of each of the plug-in components in response to the configuration operation for the selected plurality of plug-in components having basic atomic capabilities;
and constructing the plug-in based on the workflow and the configuration information of each plug-in component.
5. The card management system of claim 1, wherein the card designer is further configured to:
and for a target plugin in the plugin library, responding to configuration modification operation for a target plugin component to be modified in the target plugin, and modifying configuration information of the target plugin component.
6. The card management system of claim 1, wherein the card manager is further configured to:
and receiving and responding to the configuration modification instruction sent by the user, and modifying the configuration information of the first plug-in instance.
7. The card management system of claim 1, wherein the card designer is further configured to:
providing a plug-in component library, wherein the plug-in component library comprises a plurality of plug-in components with basic atomic capacity; the plug-in component comprises an initialization method, a processing method and a destroying method;
and expanding the new plug-in components to the plug-in component library.
8. A method for managing a card, comprising:
constructing a plugin in response to drag operation and configuration operation for the selected plurality of plugin components with basic atomic capabilities; the plug-in library comprises a plurality of different plug-ins; each plug-in unit is provided with a plug-in unit identifier corresponding to the plug-in unit one by one;
for each user, after network connection between the user and a plug-in manager is created, receiving and responding to a plug-in activation instruction carrying a first plug-in identifier sent by the user, loading configuration information of a first plug-in corresponding to the first plug-in identifier and a plurality of plug-in components in the first plug-in from a plug-in library, creating an independent user session space for the user, initializing a first plug-in instance based on the configuration information of the first plug-in and the plurality of plug-in components in the first plug-in, and loading the first plug-in instance into the user session space;
and receiving and responding to a plug-in call instruction sent by the user, and executing the first plug-in instance in the user session space.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the card management method of claim 8 when executing the program.
10. A non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the plug-in management method according to claim 8.
CN202410207527.5A 2024-02-26 2024-02-26 Plug-in management system, method, electronic device and storage medium Pending CN117785331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410207527.5A CN117785331A (en) 2024-02-26 2024-02-26 Plug-in management system, method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410207527.5A CN117785331A (en) 2024-02-26 2024-02-26 Plug-in management system, method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN117785331A true CN117785331A (en) 2024-03-29

Family

ID=90389511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410207527.5A Pending CN117785331A (en) 2024-02-26 2024-02-26 Plug-in management system, method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN117785331A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170249393A1 (en) * 2016-02-26 2017-08-31 Salesforce.Com, Inc. Method and browser plugin for creation of objects in a cloud-based object management system
CN110007980A (en) * 2019-01-29 2019-07-12 阿里巴巴集团控股有限公司 The implementation method and device at multi-services end
CN114281320A (en) * 2020-12-24 2022-04-05 深圳支流科技有限公司 Plug-in arrangement method and system in API gateway
CN114816430A (en) * 2022-05-20 2022-07-29 北京百度网讯科技有限公司 Business code development method, system and computer readable storage medium
CN115658165A (en) * 2022-09-27 2023-01-31 支付宝(杭州)信息技术有限公司 Method and device for starting tenant plug-in and realizing in-process communication
CN117389655A (en) * 2023-11-08 2024-01-12 京东科技信息技术有限公司 Task execution method, device, equipment and storage medium in cloud native environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170249393A1 (en) * 2016-02-26 2017-08-31 Salesforce.Com, Inc. Method and browser plugin for creation of objects in a cloud-based object management system
CN110007980A (en) * 2019-01-29 2019-07-12 阿里巴巴集团控股有限公司 The implementation method and device at multi-services end
CN114281320A (en) * 2020-12-24 2022-04-05 深圳支流科技有限公司 Plug-in arrangement method and system in API gateway
CN114816430A (en) * 2022-05-20 2022-07-29 北京百度网讯科技有限公司 Business code development method, system and computer readable storage medium
CN115658165A (en) * 2022-09-27 2023-01-31 支付宝(杭州)信息技术有限公司 Method and device for starting tenant plug-in and realizing in-process communication
CN117389655A (en) * 2023-11-08 2024-01-12 京东科技信息技术有限公司 Task execution method, device, equipment and storage medium in cloud native environment

Similar Documents

Publication Publication Date Title
CN109104467B (en) Development environment construction method and device, platform system and storage medium
KR20000026296A (en) Network management system and method of dynamic class addition
CN111475227B (en) Business plug-in loading implementation method and device and terminal equipment
US20170168807A1 (en) Method and electronic device for updating application program
CN110162344B (en) Isolation current limiting method and device, computer equipment and readable storage medium
CN113157345A (en) Automatic starting method and device for front-end engineering
CN112214250A (en) Application program assembly loading method and device
CN112965760A (en) Method and device for modifying root directory, electronic equipment and readable storage medium
CN117785331A (en) Plug-in management system, method, electronic device and storage medium
CN107015787B (en) Method and device for designing interactive application framework
CN115525396A (en) Application management method and device based on cloud protogenesis
CN111367577A (en) Method, device and terminal for loading plug-in of application
CN113419814B (en) Virtual machine creating method, device, equipment and storage medium in cloud platform
CN110377367B (en) Component configuration method and device, electronic terminal and computer readable storage medium
CN111142972B (en) Method, apparatus, system, and medium for extending functions of application program
CN113934405A (en) Plug-in processing method, device, equipment, storage medium and computer program product
CN109918147B (en) Expansion method and device for drive under OpenStack and electronic equipment
CN113708971A (en) Openstack cloud platform deployment method and related device
CN108519885B (en) Public resource loading method and device based on Flash
CN102156646B (en) Feature library upgrading method and device thereof
CN116700842B (en) Data object reading and writing method and device, computing equipment and storage medium
CN114003228B (en) Interface updating method, device, computer equipment and storage medium
CN115202830B (en) Root file system preparation method, system, computing device and readable storage medium
CN112698830B (en) File attribute page expansion method for resource manager in domestic operating system
CN117539451B (en) Flow execution method, device, electronic equipment and storage medium

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