Movatterモバイル変換


[0]ホーム

URL:


CN114047976B - Plug-in loading method, device, electronic device, and storage medium - Google Patents

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

Info

Publication number
CN114047976B
CN114047976BCN202111370410.1ACN202111370410ACN114047976BCN 114047976 BCN114047976 BCN 114047976BCN 202111370410 ACN202111370410 ACN 202111370410ACN 114047976 BCN114047976 BCN 114047976B
Authority
CN
China
Prior art keywords
plug
tasks
task
built
custom
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
CN202111370410.1A
Other languages
Chinese (zh)
Other versions
CN114047976A (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.)
Shanghai Electric Wind Power Group Co Ltd
Original Assignee
Shanghai Electric Wind Power Group 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 Shanghai Electric Wind Power Group Co LtdfiledCriticalShanghai Electric Wind Power Group Co Ltd
Priority to CN202111370410.1ApriorityCriticalpatent/CN114047976B/en
Publication of CN114047976ApublicationCriticalpatent/CN114047976A/en
Application grantedgrantedCritical
Publication of CN114047976BpublicationCriticalpatent/CN114047976B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了插件加载方法、装置、电子设备、存储介质。其中,方法应用于集成系统,所述集成系统包括多个相互独立的插件,每个插件用于实现一个业务功能,每个插件包括用于实现所述业务功能的执行任务;所述插件加载方法包括:在接收到业务服务请求的情况下,确定用于响应所述业务服务请求的目标插件;激活所述目标插件的执行任务,以由被激活的执行任务启动线程,实现对所述业务服务请求的响应。集成系统加载的插件,与其他插件不存在依赖关系,也即各个插件相互独立,且每个插件只实现一个业务功能,从而一个插件的修改或者失效不会影响到其他插件,不会对整个集成系统造成影响或者影响很小,确保了集成系统运行的稳定性。

The present invention discloses a plug-in loading method, device, electronic device, and storage medium. The method is applied to an integrated system, wherein the integrated system includes a plurality of independent plug-ins, each plug-in is used to implement a business function, and each plug-in includes an execution task for implementing the business function; the plug-in loading method includes: upon receiving a business service request, determining a target plug-in for responding to the business service request; activating the execution task of the target plug-in, so that the activated execution task starts a thread to respond to the business service request. The plug-in loaded by the integrated system has no dependency relationship with other plug-ins, that is, each plug-in is independent of each other, and each plug-in only implements one business function, so that the modification or failure of a plug-in will not affect other plug-ins, and will not affect the entire integrated system or will have little impact, thereby ensuring the stability of the operation of the integrated system.

Description

Plug-in loading method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for loading a plug-in, an electronic device, and a storage medium.
Background
The plug-in can expand the functions of the integrated system and is widely applied to the integrated system. However, the functional coupling degree of the plug-ins of the current integrated system is high, code call is chaotic, and modification or failure of one plug-in often affects other plug-ins, even seriously affects the stability of the whole integrated system.
Disclosure of Invention
The invention aims to overcome the defect of high coupling degree of a plug-in of an integrated system in the prior art, and provides a plug-in loading method, a device, electronic equipment and a storage medium.
The invention solves the technical problems by the following technical scheme:
in a first aspect, a plug-in loading method is provided, and the plug-in loading method is applied to an integrated system, wherein the integrated system comprises a plurality of mutually independent plug-ins, each plug-in is used for realizing a service function, and each plug-in comprises an execution task for realizing the service function; the plug-in loading method comprises the following steps:
Determining a target plug-in for responding to the business service request under the condition of receiving the business service request;
And activating the execution task of the target plug-in to start a thread by the activated execution task, so as to realize the response to the business service request.
Optionally, the executing the task includes: built-in tasks and custom tasks;
Logic codes of built-in tasks of all plug-ins are the same;
the logic code of the custom task corresponds to the business function of the plug-in unit to which the logic code belongs.
Optionally, the number of built-in tasks is a plurality; activating the execution task of the target plug-in, including:
activating all or part of the built-in tasks in the plurality of built-in tasks, wherein each activated built-in task starts a thread;
and/or the number of the custom tasks is a plurality of; activating the execution task of the target plug-in, including:
All or part of built-in tasks in the custom tasks are activated, and each activated custom task starts a thread.
Optionally, the method further comprises:
And modifying the custom task according to the first modification request under the condition that the first modification request aiming at the custom task is received.
Optionally, each plug-in further includes configuration information;
The configuration information is used for determining adjustable parameters in the logic code for executing the task.
Optionally, the method further comprises:
in the case of receiving a second modification request for the configuration information, modifying the configuration information according to the second modification request.
In a second aspect, a plug-in loading device is provided, and is applied to an integrated system, wherein the integrated system comprises a plurality of mutually independent plug-ins, each plug-in is used for realizing a service function, and each plug-in comprises an execution task for realizing the service function; the plug-in loading method comprises the following steps:
The system comprises a determining module, a determining module and a processing module, wherein the determining module is used for determining a target plug-in for responding to a business service request under the condition of receiving the business service request;
And the activation module is used for activating the execution task of the target plug-in to start a thread by the activated execution task and realize the response to the business service request.
Optionally, the executing the task includes: built-in tasks and custom tasks;
Logic codes of built-in tasks of all plug-ins are the same;
the logic code of the custom task corresponds to the business function of the plug-in unit to which the logic code belongs.
Optionally, the number of built-in tasks is a plurality; the activation module is specifically configured to:
activating all or part of the built-in tasks in the plurality of built-in tasks, wherein each activated built-in task starts a thread;
and/or the number of the custom tasks is a plurality of; the activation module is specifically used for:
All or part of built-in tasks in the custom tasks are activated, and each activated custom task starts a thread.
Optionally, the method further comprises:
And the first modification module is used for modifying the custom task according to the first modification request under the condition that the first modification request aiming at the custom task is received.
Optionally, each plug-in further includes configuration information;
The configuration information is used for determining adjustable parameters in the logic code for executing the task.
Optionally, the method further comprises:
and the second modification module is used for modifying the configuration information according to the second modification request under the condition that the second modification request aiming at the configuration information is received.
In a third aspect, an electronic device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing any of the above plug-in loading methods when executing the computer program.
In a fourth aspect, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the plug-in loading method according to any of the preceding claims.
The invention has the positive progress effects that: in the embodiment of the invention, the plug-in loaded by the integrated system has no dependency relationship with other plug-ins, namely, each plug-in is mutually independent, and each plug-in only realizes one service function, so that the modification or failure of one plug-in does not influence other plug-ins, does not influence or has little influence on the whole integrated system, and ensures the running stability of the integrated system.
Drawings
FIG. 1 is a flowchart of a plug-in loading method according to an exemplary embodiment of the present invention;
FIG. 2 is a schematic diagram of a scenario of a plug-in loading method according to an exemplary embodiment of the present invention;
FIG. 3 is a block diagram of a plug-in loading device according to an exemplary embodiment of the present invention;
Fig. 4 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
The invention is further illustrated by means of the following examples, which are not intended to limit the scope of the invention.
The embodiment of the invention provides a plug-in loading method, which is applied to an integrated system, wherein the integrated system can be but is not limited to a SCADA (Supervisory Control And Data Acquisition, data acquisition and monitoring control) system. The integrated system comprises a plurality of mutually independent plug-ins, each plug-in is used for realizing one business function, and each plug-in comprises an execution task for realizing the business function. Each plug-in may also include configuration information for determining adjustable parameters in the logic code that performs the task, such as the execution frequency, execution conditions, execution times, etc. of the task. The configuration information may be recorded in a configuration file of the plug-in.
In the embodiment of the invention, when developing the plugins of the integrated system, a developer splits the functions required to be expanded of the integrated system into the minimum functional units which can be independently realized by one plugin, and writes logic codes of the plugins for realizing the minimum functional units for each minimum functional unit, so that each plugin only realizes one service function, and each plugin is mutually independent, namely each plugin and other plugins have no dependency relationship. Because each plug-in unit only realizes one service function, and each plug-in unit is mutually independent, the function decoupling and service isolation of the plug-in units are realized, the plug-in units can be hot plugged, and the start and stop of one plug-in unit can not influence other plug-in units.
Fig. 1 is a flowchart of a plug-in loading method according to an exemplary embodiment of the present invention, where the plug-in loading method is implemented using the plug-ins developed as described above, and referring to fig. 1, the plug-in loading method includes the following steps:
step 101, in the case of receiving the business service request, determining a target plug-in for responding to the business service request.
Different business service requests, different implemented business functions and different required plug-ins. For example, for a business service request for data transmission, the required plug-in is a data transmission plug-in; for business service requests of data storage, the required plug-in is a data storage plug-in; for business service requests for data processing, the required plug-ins are data processing plug-ins.
In one embodiment, a correspondence between the business service request and the plugin may be preconfigured, and when the business service request is received, a target plugin corresponding to the received business service request is determined according to the correspondence.
It should be noted that, one business service request may correspond to one plug-in, or may correspond to a plurality of plug-ins, which is not limited in particular by the embodiment of the present invention.
And 102, activating an execution task of the target plug-in to start a thread by the activated execution task, so as to realize the response to the business service request.
In the embodiment of the invention, the plug-in loaded by the integrated system has no dependency relationship with other plug-ins, namely, each plug-in is mutually independent, and each plug-in only realizes one business function, namely, each plug-in works independently, so that the modification or failure of one plug-in does not influence other plug-ins, the whole integrated system is not influenced or influenced little, and the running stability of the integrated system is ensured. In addition, the mutually independent plug-ins are convenient to develop and maintain.
In one embodiment, performing the task includes: built-in tasks (actors) and custom tasks (tasks). Logic codes of built-in tasks of all plug-ins are the same; the logical code of the custom task corresponds to the business function of the plug-in to which it belongs.
When the plug-in is developed, the execution task is divided into a built-in task and a custom task, logic codes of the built-in task are written by a developer of the plug-in, and interfaces for editing all or part of logic codes of the custom task are provided for operation and maintenance personnel of the integrated system to write or modify the logic codes of the custom task according to actual requirements, so that personalized definition of service functions of the plug-in is realized, the functions are expanded, and the requirements of various use scenes are met.
The number of built-in tasks may be one or more. Also, the number of custom tasks may be one or more.
In one embodiment, the number of built-in tasks is multiple, and multiple built-in tasks can be activated simultaneously to start multiple threads, so as to realize service multithreading execution. Wherein each activated built-in task starts a thread.
In one embodiment, the number of custom tasks is multiple, and multiple custom tasks can be activated simultaneously to start multiple threads, so as to implement service multithreading. Wherein each activated custom task starts a thread.
In one embodiment, a modification interface of the custom task is opened for an operator of the integrated system, so that the operator can modify the logic code of the custom system. Specifically, the operation and maintenance personnel can send a first modification request for the custom task to the integrated system through the interface, and the integrated system modifies the custom task according to the first modification request under the condition that the first modification request for the custom task is received.
In one embodiment, a modification interface of the configuration information is opened for an operation and maintenance person of the integrated system, so that the operation and maintenance person can modify the configuration information of the execution task. Specifically, the operation and maintenance personnel can send a second modification request for the configuration information to the integrated system through the interface, and the integrated system modifies the configuration information according to the second modification request under the condition that the second modification request for the configuration information is received.
The modification interface of the custom task and the modification interface of the configuration information can adopt the same interface or two interfaces. The interface may be, for example, a page API (Application Programming Interface, application program interface) interface.
Fig. 2 is a schematic diagram of a scenario of a plug-in loading method according to an exemplary embodiment of the present invention, where a file transmission scenario is taken as an example, and a process of plug-in loading is further described through interaction of 2 plug-ins.
In the file transmission scenario, the file transmission service integrates FRAMWORK (integration), and at least two plug-ins are needed to realize file transmission, one plug-in is deployed at CLIENT for sending the file, and one plug-in is deployed at SERVER for receiving the file.
When a service request of file transmission is received, the SCADA system of the client determines that a target plug-in for responding to the service request is plug-in a for transmitting a file, then the plug-in a is started, ACTOR of the plug-in is activated when the plug-in a is started, a plurality of ACTOR can be simultaneously activated, and each of the activated plurality of ACTOR starts a thread to transmit a real-time data file of the SCADA, thereby realizing multi-thread transmission of the file and improving file transmission efficiency. Alternatively, a ACTOR may be activated to initiate a thread to monitor whether the historical data transmission is clear, and a ACTOR may be activated to initiate a thread to monitor the operating conditions of the SCADA system of the client.
If necessary, plug-in a also activates its TASK when started to ensure other special TASKs, such as sending the history data file of the SCADA system, ACTOR and TASK are independent.
When a service request of file transmission is received, the SCADA system of the service end determines that a target plug-in for responding to the service request is plug-in b for receiving the file, then the plug-in b is started, ACTOR of the plug-in b is activated when the plug-in b is started, a plurality of ACTOR can be simultaneously activated, and each of the plurality of ACTOR to be activated starts a thread to receive the real-time data file of the SCADA, thereby realizing the multithreading transmission of the file and improving the file transmission efficiency. In addition, a ACTOR may be activated to initiate a thread to reply whether the received real-time data file is clear, and a ACTOR may be activated to initiate a thread to monitor the operation of the SCADA system at the server.
The TASK of the plug-in is also activated when the plug-in b is started according to the requirement, so as to ensure other special TASKs, such as receiving the history data file of the SCADA system, storing the history data file in a designated directory and recording information.
Until the completion of the start of the complete file transfer service.
The process of loading the plug-in will be further described using the data processing scenario as an example.
In the data processing scene, a plug-in is needed for realizing data processing, and the SCADA system of which the plug-in is deployed at a server side is taken as an example.
When the SCADA system of the service end receives the business service request of data processing, the target plug-in for responding to the business service request is determined to be the plug-in c for data processing, the plug-in c is started, ACTOR of the plug-in c is started, a plurality of ACTOR can be simultaneously activated, a plurality of ACTOR which are activated respectively start a thread to process data, for example, a ACTOR which is partly activated starts a thread to process data generated by a consumer, and a ACTOR which is partly activated starts a thread to process data generated by a producer.
The producer only generates a piece of data to be processed, the data quantity is small and the processing is simple, and one or a small quantity of activated ACTOR can be used for processing the data generated by the producer. The data generated by the consumers are complex, the data amount is large, a plurality of activated ACTOR can be used for processing the data generated by the consumers, and a plurality of TASK can be activated to process the data generated by the consumers, so that the multithreading data processing is realized, and the data processing efficiency is improved.
The data processing service is started to complete.
And in the file transmission scene and the data processing scene, different plug-ins are adopted to realize corresponding service functions, and as the plug-in a and the plug-in b are mutually independent and do not influence each other, the service of both parties is not influenced between the plug-in a and the plug-in b. The activation mechanism such as activation time, number and the like of ACTOR and/or TASK may be defined in the configuration file of the plug-in, so that when the plug-in is started, ACTOR and/or TASK is activated according to configuration information in the configuration file.
Corresponding to the embodiment of the plug-in loading method, the invention also provides an embodiment of the plug-in loading device.
FIG. 3 is a block diagram of a plug-in loading device according to an exemplary embodiment of the present invention, where the plug-in loading device is applied to an integrated system, and the integrated system includes a plurality of plug-ins that are independent from each other, each plug-in is configured to implement a service function, and each plug-in includes an execution task for implementing the service function; the plug-in loading method comprises the following steps:
A determining module 31, configured to determine, in a case where a business service request is received, a target plug-in for responding to the business service request;
and the activating module 32 is used for activating the execution task of the target plug-in to start a thread by the activated execution task and realize the response to the business service request.
Optionally, the executing the task includes: built-in tasks and custom tasks;
Logic codes of built-in tasks of all plug-ins are the same;
the logic code of the custom task corresponds to the business function of the plug-in unit to which the logic code belongs.
Optionally, the number of built-in tasks is a plurality; the activation module is specifically configured to:
activating all or part of the built-in tasks in the plurality of built-in tasks, wherein each activated built-in task starts a thread;
and/or the number of the custom tasks is a plurality of; the activation module is specifically used for:
All or part of built-in tasks in the custom tasks are activated, and each activated custom task starts a thread.
Optionally, the method further comprises:
And the first modification module is used for modifying the custom task according to the first modification request under the condition that the first modification request aiming at the custom task is received.
Optionally, each plug-in further includes configuration information;
The configuration information is used for determining adjustable parameters in the logic code for executing the task.
Optionally, the method further comprises:
and the second modification module is used for modifying the configuration information according to the second modification request under the condition that the second modification request aiming at the configuration information is received.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. 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 purposes of the present invention. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Fig. 4 is a schematic diagram of an electronic device, showing an exemplary embodiment of the invention, showing a block diagram of an exemplary electronic device 40 suitable for use in implementing embodiments of the invention. The electronic device 40 shown in fig. 4 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 4, the electronic device 40 may be embodied in the form of a general purpose computing device, which may be a server device, for example. Components of electronic device 40 may include, but are not limited to: the at least one processor 41, the at least one memory 42, a bus 43 connecting the different system components, including the memory 42 and the processor 41.
The bus 43 includes a data bus, an address bus, and a control bus.
Memory 42 may include volatile memory such as Random Access Memory (RAM) 421 and/or cache memory 422, and may further include Read Only Memory (ROM) 423.
Memory 42 may also include a program tool 425 (or utility) having a set (at least one) of program modules 424, such program modules 424 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The processor 41 executes various functional applications and data processing, such as the methods provided in any of the embodiments described above, by running a computer program stored in the memory 42.
The electronic device 40 may also communicate with one or more external devices 44 (e.g., keyboard, pointing device, etc.). Such communication may be through an input/output (I/O) interface 45. Also, model-generated electronic device 40 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet via network adapter 46. As shown, the network adapter 46 communicates with the other modules of the model-generated electronic device 40 via the bus 43. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with model-generating electronic device 40, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, data backup storage systems, and the like.
It should be noted that although several units/modules or sub-units/modules of an electronic device are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more units/modules described above may be embodied in one unit/module in accordance with embodiments of the present invention. Conversely, the features and functions of one unit/module described above may be further divided into ones that are embodied by a plurality of units/modules.
The present embodiment provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the method provided by any of the above embodiments.
More specifically, among others, readable storage media may be employed including, but not limited to: portable disk, hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps of implementing the method provided by any of the embodiments described above, when said program product is run on the terminal device.
Wherein the program code for carrying out the invention may be written in any combination of one or more programming languages, which program code may execute entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on the remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the principles and spirit of the invention, but such changes and modifications fall within the scope of the invention.

Claims (8)

Translated fromChinese
1.一种插件加载方法,其特征在于,应用于集成系统,所述集成系统包括多个相互独立的插件,每个插件用于实现一个业务功能,每个插件包括用于实现所述业务功能的执行任务;所述插件加载方法包括:1. A plug-in loading method, characterized in that it is applied to an integrated system, wherein the integrated system includes a plurality of independent plug-ins, each plug-in is used to implement a business function, and each plug-in includes an execution task for implementing the business function; the plug-in loading method includes:在接收到业务服务请求的情况下,确定用于响应所述业务服务请求的目标插件;Upon receiving a business service request, determining a target plug-in for responding to the business service request;激活所述目标插件的执行任务,以由被激活的执行任务启动线程,实现对所述业务服务请求的响应;Activating the execution task of the target plug-in so that the activated execution task starts a thread to respond to the business service request;所述执行任务包括:内置任务和自定义任务;The execution tasks include: built-in tasks and custom tasks;各个插件的内置任务的逻辑代码相同;The logic code of built-in tasks of each plug-in is the same;所述自定义任务的逻辑代码与所属于的插件的业务功能相对应;The logic code of the custom task corresponds to the business function of the plug-in to which it belongs;所述内置任务的数量为多个;激活所述目标插件的执行任务,包括:The number of the built-in tasks is multiple; activating the execution task of the target plug-in includes:激活多个内置任务中的全部或者部分内置任务,每个被激活的内置任务启动一个线程。Activate all or part of the multiple built-in tasks. Each activated built-in task starts a thread.2.根据权利要求1所述的插件加载方法,其特征在于,所述自定义任务的数量为多个;激活所述目标插件的执行任务,包括:2. The plug-in loading method according to claim 1, wherein the number of the custom tasks is multiple; activating the execution task of the target plug-in comprises:激活多个自定义任务中的全部或者部分内置任务,每个被激活的自定义任务启动一个线程。Activate all or part of the built-in tasks in multiple custom tasks. Each activated custom task starts a thread.3.根据权利要求1所述的插件加载方法,其特征在于,还包括:3. The plug-in loading method according to claim 1, further comprising:在接收到针对所述自定义任务的第一修改请求的情况下,根据所述第一修改请求修改所述自定义任务。In case of receiving a first modification request for the custom task, modifying the custom task according to the first modification request.4.根据权利要求1所述的插件加载方法,其特征在于,所述插件还包括配置信息;4. The plug-in loading method according to claim 1, characterized in that the plug-in further includes configuration information;所述配置信息用于确定所述执行任务的逻辑代码中的可调参数。The configuration information is used to determine adjustable parameters in the logic code for executing the task.5.根据权利要求4所述的插件加载方法,其特征在于,还包括:5. The plug-in loading method according to claim 4, further comprising:在接收到针对所述配置信息的第二修改请求的情况下,根据所述第二修改请求修改所述配置信息。In case of receiving a second modification request for the configuration information, modify the configuration information according to the second modification request.6.一种插件加载装置,其特征在于,应用于集成系统,所述集成系统包括多个相互独立的插件,每个插件用于实现一个业务功能,每个插件包括用于实现所述业务功能的执行任务;所述插件加载装置包括:6. A plug-in loading device, characterized in that it is applied to an integrated system, wherein the integrated system includes a plurality of independent plug-ins, each plug-in is used to implement a business function, and each plug-in includes an execution task for implementing the business function; the plug-in loading device includes:确定模块,用于在接收到业务服务请求的情况下,确定用于响应所述业务服务请求的目标插件;A determination module, configured to determine, upon receiving a business service request, a target plug-in for responding to the business service request;激活模块,用于激活所述目标插件的执行任务,以由被激活的执行任务启动线程,实现对所述业务服务请求的响应;An activation module, used to activate the execution task of the target plug-in, so that the activated execution task starts a thread to respond to the business service request;所述执行任务包括:内置任务和自定义任务;The execution tasks include: built-in tasks and custom tasks;各个插件的内置任务的逻辑代码相同;The logic code of built-in tasks of each plug-in is the same;所述自定义任务的逻辑代码与所属于的插件的业务功能相对应;The logic code of the custom task corresponds to the business function of the plug-in to which it belongs;所述内置任务的数量为多个;The number of the built-in tasks is multiple;所述激活模块具体用于:激活多个内置任务中的全部或者部分内置任务,每个被激活的内置任务启动一个线程。The activation module is specifically used to activate all or part of the multiple built-in tasks, and each activated built-in task starts a thread.7.一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至5中任一项所述的插件加载方法。7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the plug-in loading method according to any one of claims 1 to 5 when executing the computer program.8.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至5中任一项所述的插件加载方法。8. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the plug-in loading method according to any one of claims 1 to 5.
CN202111370410.1A2021-11-182021-11-18 Plug-in loading method, device, electronic device, and storage mediumActiveCN114047976B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111370410.1ACN114047976B (en)2021-11-182021-11-18 Plug-in loading method, device, electronic device, and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111370410.1ACN114047976B (en)2021-11-182021-11-18 Plug-in loading method, device, electronic device, and storage medium

Publications (2)

Publication NumberPublication Date
CN114047976A CN114047976A (en)2022-02-15
CN114047976Btrue CN114047976B (en)2024-11-19

Family

ID=80210551

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111370410.1AActiveCN114047976B (en)2021-11-182021-11-18 Plug-in loading method, device, electronic device, and storage medium

Country Status (1)

CountryLink
CN (1)CN114047976B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115514667B (en)*2022-09-142025-08-29京东方科技集团股份有限公司 Access service processing method, system, device, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112394917A (en)*2021-01-202021-02-23博智安全科技股份有限公司Cross-platform security service software construction method, device, equipment and storage medium
CN113282347A (en)*2021-05-242021-08-20挂号网(杭州)科技有限公司Plug-in operation method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9052961B2 (en)*2012-03-022015-06-09Vmware, Inc.System to generate a deployment plan for a cloud infrastructure according to logical, multi-tier application blueprint
CN110007980B (en)*2019-01-292022-05-24创新先进技术有限公司Method and device for realizing multi-service server
CN109885313A (en)*2019-01-302019-06-14浙江大学 Plug-in smart energy system development method, development platform and smart energy system
CN112068902B (en)*2020-09-102021-07-30北京五八信息技术有限公司Plug-in calling method and device, electronic equipment and storage medium
CN113282318A (en)*2021-05-212021-08-20中国邮政储蓄银行股份有限公司Service implementation method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112394917A (en)*2021-01-202021-02-23博智安全科技股份有限公司Cross-platform security service software construction method, device, equipment and storage medium
CN113282347A (en)*2021-05-242021-08-20挂号网(杭州)科技有限公司Plug-in operation method, device, equipment and storage medium

Also Published As

Publication numberPublication date
CN114047976A (en)2022-02-15

Similar Documents

PublicationPublication DateTitle
US8615588B2 (en)Accelerate copying of virtual machine images
CN109558260B (en)Kubernetes fault elimination system, method, equipment and medium
US11119797B2 (en)Active drive API
KR20200070085A (en)Method and apparatus for processing information
US11093332B2 (en)Application checkpoint and recovery system
US9471256B2 (en)Systems and methods for restoring data in a degraded computer system
US7757015B2 (en)Device, method and computer program product readable medium for determining the identity of a component
CN114047976B (en) Plug-in loading method, device, electronic device, and storage medium
CN117768735A (en)Method, apparatus, device and medium for generating video
CN103500108A (en)System memory access method, node processor and multi-processor system
US9971532B2 (en)GUID partition table based hidden data store system
CN116069687A (en) Data consistency verification method, verification device and processor
CN102541542B (en)The content of storage and issue content storage apparatus
JP5352027B2 (en) Computer system management method and management apparatus
CN115220642B (en)Predicting storage array capacity
US11552840B2 (en)Intention-based device component tracking system
CN102426535B (en)For promoting the system and method for application virtualization
CN110532150B (en)Case management method and device, storage medium and processor
US9292396B2 (en)System and method for secure remote diagnostics
US11327852B1 (en)Live migration/high availability system
US20220036233A1 (en)Machine learning orchestrator
US20250130975A1 (en)Automatic namespace deletion system
US20250077241A1 (en)Generating executable tasks from non-executable text files
US12299287B2 (en)Provide host applications ability to dynamically manage application specific functionality on storage application
CN111767113A (en) A method and apparatus for realizing container eviction

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp