CN108011733B - Plug-in implementation method and device - Google Patents

Plug-in implementation method and device Download PDF

Info

Publication number
CN108011733B
CN108011733B CN201610950931.7A CN201610950931A CN108011733B CN 108011733 B CN108011733 B CN 108011733B CN 201610950931 A CN201610950931 A CN 201610950931A CN 108011733 B CN108011733 B CN 108011733B
Authority
CN
China
Prior art keywords
service
plug
predetermined basic
module
terminated
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
CN201610950931.7A
Other languages
Chinese (zh)
Other versions
CN108011733A (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 Zhongxing Software Co Ltd
Original Assignee
Shanghai Zhongxing Software 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 Zhongxing Software Co Ltd filed Critical Shanghai Zhongxing Software Co Ltd
Priority to CN201610950931.7A priority Critical patent/CN108011733B/en
Priority to PCT/CN2017/106968 priority patent/WO2018077115A1/en
Publication of CN108011733A publication Critical patent/CN108011733A/en
Application granted granted Critical
Publication of CN108011733B publication Critical patent/CN108011733B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for realizing a plug-in, wherein the method comprises the following steps: the method comprises the steps that a first system receives operation request information from a second system, wherein the first system is a system corresponding to a first plugin service formed by plugins separated from the second system through a micro-service technology; the first system calls a preset basic service according to the operation request information; and the first system sends an operation result obtained after the preset basic service is called to the second system. The plug-in exists in the form of service through the micro service technology, has complete system environment through the plug-in existing in the form of service, can interact with the second system, does not exist in the second system in an embedded mode, does not need to occupy the process of the second system in the interaction process, does not bring any threat to the safety and reliability of the second system, and solves the problems in the prior art.

Description

Plug-in implementation method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for implementing a plug-in.
Background
With the development of NFV (Network Function Virtualization) standards and the commercialization practice of NFV, a General VNFM architecture (General virtualized Network management system, VNFM-G for short) is being used by more and more operators in their Virtualization architectures. The VNFM-G needs to manage different product lines, even different vendor network elements, which needs a dedicated VNFM plug-in (abbreviated as VNFM-S) to implement. When the VNFM-G manages a VNF (virtual Network Function) and sends a notification to an EM (Element manager), some special adapters are needed to ensure normal operation, and the adaptation is completed by the VNFM-S.
A common script mode plug-in is that an abstract interface is defined by the VNFM-G, a concrete implementation is provided in the VNFM-S, and an interface between the VNFM-G and the VNFM-S is unidirectional, and only the VNFM-G can call the VNFM-S.
The VNFM-S in the script mode is deployed inside the VNFM-G, processes of the VNFM-G are shared, and resources are limited by the processes of the VNFM-G. The reliability of the VNFM-S directly affects the process security and stability of the VNFM-G. For example: a VNFM-S failure may result in the VNFM-G being unavailable. In addition, the VNFM-S developed in a script mode is single in development form, limited by a system framework of the VNFM-G and difficult to implement and modify.
The VNFM-G is only used as an example to illustrate, existing plug-ins all exist in the whole system in a script manner, however, a process of the system needs to be shared, so resources are limited by the process of the system, and the reliability of the plug-ins directly affects the security and stability of the process of the system, and poses a great threat to the security and stability of the system.
Disclosure of Invention
The invention provides a method and a device for realizing a plug-in, which are used for solving the problems in the prior art and ensuring that a system is safer and more stable.
In one aspect, the present invention provides a method for implementing a plug-in, including: the method comprises the steps that a first system receives operation request information from a second system, wherein the first system is a system corresponding to a first plugin service formed by plugins separated from the second system through a microservice technology; the first system calls a preset basic service according to the operation request information; and the first system sends an operation result obtained after the predetermined basic service is called to the second system.
Optionally, after the first system receives the operation request information from the second system, the method further includes: the first system judges whether a second plug-in service corresponding to the operation request information exists in a plug-in service set or not; in the absence of the second plugin service, the first system installs and registers the second plugin service so that the second plugin service is in a usable state.
Optionally, the invoking, by the first system, a predetermined basic service according to the operation request information includes: the first system installs and registers the predetermined basic service so that the predetermined basic service is in a usable state.
Optionally, after the first system sends an operation result obtained after the predetermined basic service is called to the second system, the method further includes: the first system receiving operation termination information from the second system; and the first system terminates and logs out the first plug-in service and the second plug-in service according to the operation termination information.
Optionally, before the first system terminates and logs out the first plugin service and the second plugin service according to the operation termination information, the method further includes: the first system judges whether a predetermined basic service which is not terminated exists; in the presence of a predetermined basic service that is not terminated, the first system terminates all predetermined basic services;
in case there is no non-terminated predetermined basic service, the first system logs out all terminated predetermined basic services.
Optionally, the second system is a VNFM-G.
On the other hand, the invention also provides a device for realizing the plug-in, which comprises: the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving operation request information from a second system, and the first system is a system corresponding to a first plugin service formed by plugins separated from the second system through a micro-service technology; the calling module is used for calling the predetermined basic service according to the operation request information; and the return module is used for sending the operation result obtained after the predetermined basic service is called to the second system.
Optionally, the method further includes: the judging module is used for judging whether a second plug-in service corresponding to the operation request information exists in the plug-in service set or not; and the service setting module is used for installing and registering the second plug-in service under the condition that the second plug-in service does not exist so as to enable the second plug-in service to be in a usable state.
Optionally, the calling module is specifically configured to install and register the predetermined basic service, so that the predetermined basic service is in a usable state.
Optionally, the receiving module is further configured to receive operation termination information from the second system; the service setting module is further configured to terminate and log out the first plugin service and the second plugin service according to the operation termination information.
Optionally, the method further includes: the judging module is also used for judging whether the predetermined basic service which is not terminated exists;
the calling module is also used for terminating all the predetermined basic services under the condition that the non-terminated predetermined basic services exist; in case there is no non-terminated predetermined basic service, all terminated predetermined basic services are logged out.
The plug-in exists in the form of service through the micro service technology, has complete system environment through the plug-in existing in the form of service, can interact with the second system, does not exist in the second system in an embedded mode, does not need to occupy the process of the second system in the interaction process, does not bring any threat to the safety and reliability of the second system, and has higher safety and stability.
Drawings
FIG. 1 is a flow chart of a method for implementing a plug-in a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a device for implementing a plug-in unit according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of a preferred structure of a device for implementing the plug-in unit in the second embodiment of the present invention;
FIG. 4 is a schematic diagram of a plug-in system based on microservice technology according to a third embodiment of the present invention;
figure 5 is a flowchart of VNF instantiation in a third embodiment of the present invention;
figure 6 is a flow chart of VNF termination in a fourth embodiment of the present invention;
fig. 7 is a flow of value added service usage in an embodiment of the present invention.
Detailed Description
In order to solve the following problems in the prior art: the existing plug-ins are all in the whole system in a script mode, however, the process of the system needs to be shared, so that resources are limited by the process of the system, and the reliability of the plug-ins can directly influence the safety and stability of the process of the system, thereby forming a great threat to the safety and stability of the system; the invention provides a method and a device for realizing a plug-in, which are further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
The embodiments of the present invention described below may be implemented in a device having a plug-in embedded in various operating systems, for example, a PC or a server, but the implementation is not limited to the specific device.
First embodiment
A first embodiment of the present invention provides a method for implementing a plug-in, where the flow of the method is shown in fig. 1, and the method includes steps S102 to S106:
s102, the first system receives operation request information from the second system, wherein the first system is a system corresponding to a first plug-in service formed by plug-ins separated from the second system through a micro service technology. The first system of this embodiment is configured as a large system including a system corresponding to a plug-in service and a system corresponding to a predetermined basic service, but may be configured in a manner of a system corresponding to an individual plug-in service and a system corresponding to an individual predetermined basic service, which are different from the first embodiment of the present invention, in implementation.
Since the plug-in separation can be performed as long as the existing plug-in is embedded in the system to operate, a system capable of performing the plug-in separation can be used as the second system.
And S104, the first system calls a preset basic service according to the operation request information. For the predetermined basic service, it may be a common service corresponding to any basic function, the service may be called by a plug-in service, and the plug-in service completes the function corresponding to the plug-in service by calling one or more predetermined basic services.
And S106, the first system sends an operation result obtained after the preset basic service is called to the second system.
The operation result corresponds to the operation request information, and the plugin services requested by the second system are different, so that the scheduled basic services called by the plugin services are different, and the last plugin service returned by the first system to the second system is an execution result of the plugin service calling, for example, a ticket purchasing system client is provided, the original system operation of the client is in a plugin form, and now the ticket purchasing system client is divided into a first system and a second system, so that the first system is a system formed by the fact that all plugins separated from the original ticket purchasing system client exist in the plugin service form. When the user operates in the second system, certain plug-in services of the first system are triggered to work to call some preset basic services so as to complete the functions of the whole plug-in. For example, the function of purchasing soft tickets is in the form of a plug-in service, when the plug-in service works, predetermined basic services such as purchaser identity card information, a purchaser user name and the like need to be called, the function of purchasing soft tickets is realized according to the called predetermined basic services, and finally purchasing soft tickets is an operation result.
In the embodiment of the invention, the plug-in exists in the form of service through the micro service technology, and the plug-in the form of service has complete system environment, so that the plug-in can interact with the second system and does not exist in the second system in an embedded mode, the interaction process does not need to occupy the process of the second system, and no threat is brought to the safety and the reliability of the second system, thereby solving the following problems in the prior art: the existing plug-ins are all existed in the whole system in a script mode, however, the process of the system needs to be shared, so that the resource is limited by the process of the system, and the reliability of the plug-ins can directly influence the safety and stability of the process of the system, thereby forming a great threat to the safety and stability of the system.
In the implementation process, after receiving the operation request information from the second system, the first system also needs to judge whether the corresponding second plugin service exists, so that the first system judges whether the second plugin service corresponding to the operation request exists in the plugin service set; in the case where the second plugin service does not exist, the first system installs and registers the second plugin service so that the second plugin service is in a usable state, and thus, the plugin service exists in the first system; and under the condition that the second plug-in service exists, the first system directly triggers the second plug-in service to call the predetermined basic service according to the operation request information. In particular, the predetermined basic service needs to be installed and registered so that the predetermined basic service can be used.
After the first system sends an operation result obtained after the predetermined basic service is called to the second system, if the corresponding operation is required to be stopped, the second system sends operation termination information to the first system. After the first system receives the operation termination information from the second system, the first system judges whether the non-terminated scheduled basic service exists or not; if the predetermined basic service which is not terminated exists, the first system terminates all the predetermined basic services, and then logs off the terminated predetermined basic service; if it is detected directly that there is no non-terminated predetermined basic service, the first system directly logs out all terminated predetermined basic services. And finally, terminating and canceling the corresponding plug-in service according to the operation termination information.
In a specific implementation, the second system may be a VNFM-G, but may also be another system.
Second embodiment
A second embodiment of the present invention provides an apparatus for implementing a plug-in, where a structural schematic of the apparatus is shown in fig. 2, and the apparatus includes: a receiving module 10, configured to receive operation request information from a second system, where the first system is a system corresponding to a first plugin service formed by a plugin separated from the second system through a micro service technology; a calling module 20, coupled to the receiving module 10, for calling a predetermined basic service according to the operation request information; and the returning module 30 is coupled with the calling module 20 and is used for sending an operation result obtained after the predetermined basic service is called to the second system.
Fig. 3 shows a schematic diagram of a preferred structure of an implementation apparatus of the plug-in, which may further include: the judging module 40 is coupled with the receiving module 10 and is used for judging whether a second plugin service corresponding to the operation request exists in the plugin service set; and a service setting module 50, coupled to the judging module 40 and the calling module 20, for installing and registering the second plug-in service in case that the second plug-in service does not exist, so that the second plug-in service is in a usable state.
In implementation, the calling module may be further specifically configured to install and register the predetermined basic service, so that the predetermined basic service is in a usable state.
Each functional module of the plug-in implementation device has other functions, for example, if the corresponding operation is to be stopped, the receiving module is further configured to receive operation termination information from the second system; the judging module is also used for judging whether the predetermined basic service which is not terminated exists; the calling module is also used for terminating all the predetermined basic services under the condition that the non-terminated predetermined basic services exist; logging out all terminated predetermined basic services in case there is no non-terminated predetermined basic service; and the service setting module is also used for terminating and logging out the first plug-in service and the second plug-in service according to the operation termination information after logging out all the terminated preset basic services.
Third embodiment
The third embodiment of the present invention takes VNFM-G (equivalent to the second system) as an example, and provides a plug-in based on the micro service technology, which can be deployed flexibly by using an orchestration system (an aspect of the first system in the second embodiment, equivalent to a service setting module) for orchestration according to a requirement, and can be released in association with a host system or as an independent system. The following description focuses on a VNFM plug-in (VNFM-S) of a communication network.
The VNFM-S of this embodiment exists in the form of a plug-in service, runs in an independent process outside the VNFM-G service, and interacts with the VNFM-G based on some interface scheme, such as an HTTP RESTful interface.
Each plug-in service defines a definite boundary, can be written by different programming languages, can be independently deployed in an automatic deployment mode, and can be dynamically stretched.
The plug-in service (which is not written in the first system, and actually the calling module is a function executed by the plug-in service) is equivalent to an adapter of the VNFM-G and the VNF/EM, and after the VNF is successfully programmed by the programming system, a VNF lifecycle change notification is sent, and a VNF/EM interface is adapted. A VNF consists of a number of predefined base services, and plug-in services are relied upon by the predefined base services (i.e. the plug-in services exist before the predefined base services), assisting the VNFM-G in performing VNF lifecycle management. The plug-in service exists in a shared service manner, i.e. multiple VNF instances may share one plug-in service instance.
A service discovery system (an aspect of the first system in the second embodiment, which is equivalent to the determination module) that manages the plug-in service and the predetermined basic service instance information, and registers the service with the service discovery system through some interface scheme (e.g., HTTP Restful) when the service is started; when the service stops, the service is logged off to the service discovery system.
The installation of the plug-in service is part of the VNF instantiation process. The offloading of the plug-in service is part of the VNF instance termination. In the instantiation process of the VNF, firstly, a plug-in service instance is created according to the plug-in service description information and is registered in the service discovery system, and the predetermined basic service can depend on the plug-in service to complete the deployment of the predetermined basic service.
The plug-in service is decoupled from the VNFM-G, and management of the plug-in service is independent of the VNFM-G, so that management is more flexible. The normal operation of the VNFM-G and other plug-in services is not influenced by the installation and the uninstallation of certain plug-in services, the VNFM-G and other plug-in service functions are not influenced by the abnormal plug-in services, and the safety is better.
Based on the flexible characteristic of the service, the load condition of the plug-in service can be monitored and dynamically stretched. For example, the orchestration process instantiates 2000 VNFs (i.e., there are 2000 processes), and if the plug-in memory and CPU exceed the upper load limit, the load balancing can be achieved by popping up multiple plug-in services.
The following describes the implementation of the above technical solution in further detail with reference to the accompanying drawings.
Fig. 4 is a functional diagram of a plug-in system (equivalent to the first system of the second embodiment) based on the microservice technology, which includes a service deployment module (equivalent to a service setting module), a service discovery module (equivalent to a determination module), and a plug-in service (equivalent to a call module), and interacts with a VNFM-G (equivalent to the second system) in the whole process to implement a VNF/EM (equivalent to an operation result).
The VNFM-G is a general VNFM, is a virtual network function management system and is used for completing management of the life cycle of the VNF and the like; the service discovery module is used for registering and managing service instance information and providing an external access interface according to the life cycle of the service information description package management service and the like; the plug-in service is provided by a device manufacturer, is a special adapter of a specific type of VNF, and is used for assisting the VNFM-G in completing the VNF lifecycle management and realizing the adaptation of a VNF/EM management interface.
Fig. 5 is a VNF instantiation flow diagram (containing plug-in installation) comprising steps 1 to 9.
Step 1, analyzing VNF software package information.
Step 2, the VNFM-G initiates an instantiation process.
And 3, inquiring the registration information of the plug-in service from the service discovery module by the VNFM-G.
And 4, inquiring the registration information of the plug-in service.
Step 5, if the plug-in service does not exist, installing the plug-in service through the service deployment module; if a plug-in service exists, steps 7, 8, 9 are continued.
And 6, registering the plug-in service to the service discovery.
And 7, installing the preset basic service through the service deployment module.
And 8, registering the predetermined basic service with the service discovery module.
And 9, informing the VNF of the instantiation result and finishing the instantiation.
Figure 6 is a VNF termination flow diagram (including plug-in offload) where a plug-in is offloaded at the time of initiating VNF termination, and if all VNF's predetermined base services associated with the plug-in service have been terminated, the plug-in is offloaded to remove relevant information from the service registry module. Comprising steps 1 to 6.
Step 1, the VNFM-G initiates a VNF termination operation.
And 2, the service deployment module terminates the predetermined basic service.
And 3, informing the service discovery module to log off the preset basic service information.
Step 4, the VNFM-G checks whether the plug-in service is depended on by other preset basic services, if so, the operation is terminated; if not, the subsequent steps are entered.
And 5, the service deployment module terminates the plug-in service.
And 6, informing the service discovery module to logout the plug-in service information, and ending the termination operation.
In this embodiment, the VNFM-S is equivalent to a slave system of the VNFM-G, and is a slave system established by the microservice technology. The VNFM-S based on the micro-service technology can be arranged by using the arranging system according to the requirement, is flexible in deployment, and can be issued in association with the VNFM-G, the VNF or an independent system. The VNFM-S and the VNFM-G processes based on the micro-service are independent and do not influence each other, and the safety and the stability are better. The interface between the VNFM-S and the VNFM-G can realize bidirectional interconnection, the VNFM-G can inform the VNFM-S of adaptation processing, and the VNFM-S can report the processing progress to the VNFM-G. In addition, the development language and system framework of the VNFM-S can be determined by a plug-in provider and has no relation with the VNFM-G, so that the independent development is realized. The VNFM-S service may be dynamically scaled by monitoring service performance.
Fourth embodiment
The fourth embodiment of the present invention takes big data analysis as an example to explain the working process of the plug-in service.
The big data analysis software (equivalent to a second system) can analyze the big data of the user to generate an analysis report, and if the user purchases a corresponding value added service (equivalent to a plug-in service), the value added service can be used to obtain a more detailed analysis result. The value added service can be deployed and used in a plug-in service mode of micro service technology. Fig. 7 is a value added service usage flow, which includes steps 1 to 7.
Step 1, a user initiates a big data processing request.
And 2, generating a processing report by the basic analysis service.
And step 3, processing the basic analysis service request value-added service A. In the process, some services which need to be used need to be called.
And 4, generating a high-value report form by the value-added service A and providing the high-value report form for the basic analysis service.
And step 5, processing the basic analysis service request value-added service B.
And 6, generating a high-value report form by the value-added service B and providing the high-value report form for the basic analysis service.
And 7, summarizing a report form by the basic analysis service and presenting the report form to a user.
As can be seen from the fourth embodiment of the present invention, the present invention can be applied to a plurality of fields, and any plug-in a script form or embedded in a host system can be implemented by a plug-in service of a micro service technology.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the client in an embodiment may be adaptively changed and provided in one or more clients different from the embodiment. The modules of the embodiments may be combined into one module and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or client so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a client loaded with a ranking website according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (11)

1. A method for implementing a plug-in, comprising:
the method comprises the steps that a first system receives operation request information from a second system, wherein the first system is a system corresponding to a first plugin service formed by plugins separated from the second system through a microservice technology; plug-ins existing through the service form can interact with the second system and do not exist in the second system in an embedded mode;
the first system calls a preset basic service according to the operation request information;
and the first system sends an operation result obtained after the predetermined basic service is called to the second system.
2. The method for implementing plug-in of claim 1, wherein after the first system receives the operation request information from the second system, the method further comprises:
the first system judges whether a second plug-in service corresponding to the operation request information exists in a plug-in service set or not;
in the absence of the second plugin service, the first system installs and registers the second plugin service so that the second plugin service is in a usable state.
3. The method for implementing a plug-in according to claim 1 or 2, wherein the first system calls a predetermined basic service according to the operation request information, including:
the first system installs and registers the predetermined basic service so that the predetermined basic service is in a usable state.
4. The method for implementing plug-in of claim 1, wherein after the first system sends the operation result obtained after the predetermined basic service is called to the second system, the method further comprises:
the first system receiving operation termination information from the second system;
and the first system terminates and logs out the first plug-in service and the second plug-in service according to the operation termination information.
5. The method for implementing plug-in of claim 4, wherein before the first system terminates and logs out the first plug-in service and the second plug-in service according to the operation termination information, the method further comprises:
the first system judges whether a predetermined basic service which is not terminated exists;
in the case that there is a predetermined basic service that is not terminated, the first system terminates all the predetermined basic services and logs out all the terminated predetermined basic services;
in case there is no non-terminated predetermined basic service, the first system logs out all terminated predetermined basic services.
6. The method of claim 1, wherein the second system is a general virtual network management system (VNFM-G).
7. An apparatus for implementing a plug-in, comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving operation request information from a second system, and a first system is a system corresponding to a first plugin service formed by plugins separated from the second system through a micro-service technology; plug-ins existing through the service form can interact with the second system and do not exist in the second system in an embedded mode;
the calling module is used for calling the predetermined basic service according to the operation request information;
and the return module is used for sending the operation result obtained after the predetermined basic service is called to the second system.
8. The device for implementing an add-in of claim 7, further comprising:
the judging module is used for judging whether a second plug-in service corresponding to the operation request information exists in the plug-in service set or not;
and the service setting module is used for installing and registering the second plug-in service under the condition that the second plug-in service does not exist so as to enable the second plug-in service to be in a usable state.
9. The device for implementing an insert according to claim 7 or 8,
the calling module is specifically configured to install and register the predetermined basic service, so that the predetermined basic service is in a usable state.
10. The device for implementing an insert according to claim 8,
the receiving module is further configured to receive operation termination information from the second system;
the service setting module is further configured to terminate and log out the first plugin service and the second plugin service according to the operation termination information.
11. The apparatus for implementing an add-in of claim 10, further comprising:
the judging module is also used for judging whether the predetermined basic service which is not terminated exists;
the calling module is also used for terminating all the predetermined basic services under the condition that the non-terminated predetermined basic services exist; in case there is no non-terminated predetermined basic service, all terminated predetermined basic services are logged out.
CN201610950931.7A 2016-10-27 2016-10-27 Plug-in implementation method and device Active CN108011733B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610950931.7A CN108011733B (en) 2016-10-27 2016-10-27 Plug-in implementation method and device
PCT/CN2017/106968 WO2018077115A1 (en) 2016-10-27 2017-10-20 Plug-in implementation method, apparatus, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610950931.7A CN108011733B (en) 2016-10-27 2016-10-27 Plug-in implementation method and device

Publications (2)

Publication Number Publication Date
CN108011733A CN108011733A (en) 2018-05-08
CN108011733B true CN108011733B (en) 2021-04-16

Family

ID=62023107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610950931.7A Active CN108011733B (en) 2016-10-27 2016-10-27 Plug-in implementation method and device

Country Status (2)

Country Link
CN (1) CN108011733B (en)
WO (1) WO2018077115A1 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5903728A (en) * 1997-05-05 1999-05-11 Microsoft Corporation Plug-in control including an independent plug-in process
US9672294B2 (en) * 2013-06-12 2017-06-06 International Business Machines Corporation Partial data report generation with data costing notification
CN103942044B (en) * 2014-03-18 2017-08-25 北京领通科技有限公司 remote assistance method and system in mobile terminal application
CN105634778B (en) * 2014-11-04 2020-09-22 南京中兴软件有限责任公司 Method and system for realizing VNF instantiation, NFVO and VNFM
CN105791333A (en) * 2014-12-17 2016-07-20 深圳云之家网络有限公司 Business processing method and client
CN105515759B (en) * 2015-11-27 2018-11-09 国网信息通信产业集团有限公司 A kind of micro services register method and system
CN105577780B (en) * 2015-12-21 2018-12-04 武汉理工大学 A kind of college teaching cloud platform based on micro services
CN105959138B (en) * 2016-04-29 2019-05-17 深圳大数点科技有限公司 The system and method for micro services Dynamical Deployment based on cloud computing

Also Published As

Publication number Publication date
CN108011733A (en) 2018-05-08
WO2018077115A1 (en) 2018-05-03

Similar Documents

Publication Publication Date Title
US10678585B2 (en) Methods and apparatus to automatically configure monitoring of a virtual machine
US10127057B2 (en) Method and apparatus for dynamically implementing application function
US11461125B2 (en) Methods and apparatus to publish internal commands as an application programming interface in a cloud infrastructure
CN109547570B (en) Service registration method, device, registration center management equipment and storage medium
US11842222B2 (en) Using scripts to bootstrap applications with metadata from a template
US20220261302A1 (en) Systems and methods to facilitate infrastructure installation checks and corrections in a distributed environment
US8990809B1 (en) Creating a virtual appliance using existing installation manifest
US20170161059A1 (en) Management of multiple application programming interface versions for development environments
US20150074659A1 (en) Methods and Apparatus to Perform Web-Based Installations and/or Upgrade Architectures for Enterprise Software
US9411702B2 (en) Flexible and modular load testing and monitoring of workloads
US20150186129A1 (en) Method and system for deploying a program module
US20220050711A1 (en) Systems and methods to orchestrate infrastructure installation of a hybrid system
US20200218565A1 (en) Systems and methods for task processing in a distributed environment
WO2017202211A1 (en) Method and device for installing service version on virtual machine
US10817267B2 (en) State machine representation of a development environment deployment process
US9959136B2 (en) Optimizations and enhancements of application virtualization layers
US11243755B1 (en) Resource aware patching service
CN106802790B (en) Method, equipment and system for managing application user use information based on cloud platform
US20200344144A1 (en) Testing virtualized network functions
US20140013317A1 (en) Computer-readable recording medium, patch determination method, and information processing apparatus
CN108011733B (en) Plug-in implementation method and device
CN111447273A (en) Cloud processing system and data processing method based on cloud processing system
US20170031667A1 (en) Managing application lifecycles within a federation of distributed software applications
CN107885574B (en) Deployment method of virtual machine, service node, control device and control node
US20200344305A1 (en) Commissioning a virtualised network function

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