CN110795109A - Function expansion method and device and electronic equipment - Google Patents

Function expansion method and device and electronic equipment Download PDF

Info

Publication number
CN110795109A
CN110795109A CN201911025546.1A CN201911025546A CN110795109A CN 110795109 A CN110795109 A CN 110795109A CN 201911025546 A CN201911025546 A CN 201911025546A CN 110795109 A CN110795109 A CN 110795109A
Authority
CN
China
Prior art keywords
target node
program
node
function
extended
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
CN201911025546.1A
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.)
Reach Best Technology Co Ltd
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Reach Best 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 Reach Best Technology Co Ltd filed Critical Reach Best Technology Co Ltd
Priority to CN201911025546.1A priority Critical patent/CN110795109A/en
Publication of CN110795109A publication Critical patent/CN110795109A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a function expansion method, a function expansion device and electronic equipment, which are used for solving the problem of low efficiency of function expansion of service codes of a service system in the prior art, and the embodiment of the disclosure receives a notification message which is sent by a central node and contains a target node identifier and expansion function information; determining a packaging program corresponding to the extended function information contained in the notification message according to the corresponding relation between the extended function information and the packaging program; and sending the determined encapsulation program to a target node corresponding to the target node identifier so that the target node executes a corresponding extended function by operating the encapsulation program. The function extension method provided by the embodiment of the disclosure does not need to change the local service code, does not invade the original service code, can extend the function for the service system under the condition of the operation of the original service, does not need to take the service off line, shortens the period of the new online function of the service system, and improves the efficiency of the function extension of the service code.

Description

Function expansion method and device and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for function extension, and an electronic device.
Background
With the continuous development of business systems, the functions of the business systems need to be more diversified, and the sizes of the corresponding service codes are continuously increased. When various problems such as complex logic coupling of different services or the need of expanding service functions exist, the traditional single machine development mode has more and more obvious defects.
The expansion function of the service system belongs to the category of service management, and service developers can strengthen service codes corresponding to the service system to realize the expansion of the service system function. When a business system is enhanced, corresponding codes need to be invaded in service codes corresponding to the business system. At present, a code is invaded in a service code to realize a function of a service system or expand the function of the service system, a service needs to be offline to perform code change on the service code corresponding to the service system, and if the service code corresponding to the service system is packed and deployed, the period for performing code change on the service code is long, which results in that the period for expanding the function of the service system is long.
In summary, in the prior art, the efficiency of performing function extension on the service code of the service system is low.
Disclosure of Invention
The present disclosure provides a function extension method, a device and an electronic device, which are used to solve the problem in the prior art that the efficiency of function extension of a service code of a service system is low. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a function extension method, including:
receiving a notification message which is sent by a central node and contains a target node identifier and extended function information; the target node identification and the extended function information are determined by the central node according to a triggered extended instruction;
determining a packaging program corresponding to the extended function information contained in the notification message according to a corresponding relation between the extended function information and the packaging program;
and sending the determined encapsulation program to a target node corresponding to the target node identifier so that the target node executes a corresponding extended function by operating the encapsulation program.
In a possible implementation manner, after sending the determined encapsulation program to the target node corresponding to the target node identifier, the method further includes:
and acquiring an execution result of the target node executing the corresponding extended function by operating the packaging program, and returning the acquired execution result to the central node so that the central node presents the execution result.
According to a second aspect of the embodiments of the present disclosure, there is provided a function expansion method including:
receiving an encapsulation program sent by an agent node; the encapsulation program is determined by the agent node according to the extended function information contained in the notification message sent by the central node and the corresponding relationship between the extended function information and the encapsulation program;
and executing the corresponding extended functions by operating the packaging program.
In a possible implementation manner, the executing the corresponding extended function by running the wrapper program includes:
and loading the packaging program through a class loader, and executing a corresponding extended function by operating the packaging program.
In a possible implementation manner, the loading the package program through the class loader and executing the corresponding extended function by running the package program includes:
if the other functions are not executed when the packaging program is received, loading the packaging program through a class loader, and executing the corresponding extended functions by operating the packaging program; or
If other functions are being executed when the packaging program is received, loading the packaging program through a class loader after the execution of the other functions is finished, and executing corresponding extended functions by operating the packaging program; or
And if the other functions are being executed when the packaged program is received, stopping executing the other functions, loading the packaged program through a class loader, and executing the corresponding extended functions by operating the packaged program.
In a possible implementation manner, after suspending the execution of the other functions, loading the package program through a class loader, and executing the corresponding extended functions by running the package program, the method further includes:
and resuming the execution of the other functions after the operation of the packaging program is finished.
According to a third aspect of the embodiments of the present disclosure, there is provided a function expansion method including:
determining a target node identifier and extended function information according to the triggered extended instruction;
and sending a notification message containing the target node identifier and the extended function information to an agent node, so that the agent node sends the encapsulation program corresponding to the extended function information to the target node corresponding to the target node identifier, and the target node can execute the corresponding extended function by operating the encapsulation program.
In a possible implementation manner, after sending the notification message including the target node identifier and the extended function information to the proxy node, the method further includes:
and receiving an execution result of the target node which is returned by the agent node and runs the encapsulation program to execute the corresponding extended function, and presenting the execution result.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a function expanding device including:
the first receiving module is configured to execute receiving of a notification message which is sent by the central node and contains a target node identification and extended function information; the target node identification and the extended function information are determined by the central node according to a triggered extended instruction;
a first determining module configured to execute determining a packaged program corresponding to extended function information included in the notification message according to a correspondence between the extended function information and the packaged program;
and the first sending module is configured to execute sending of the determined encapsulation program to a target node corresponding to the target node identifier, so that the target node executes a corresponding extended function by running the encapsulation program.
In a possible implementation manner, the first sending module is further configured to execute the steps of obtaining an execution result of the target node executing the corresponding extended function by running the encapsulation program, and returning the obtained execution result to the central node, so that the central node presents the execution result.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a function expanding device including:
a second receiving module configured to execute the encapsulation program transmitted by the receiving proxy node; the encapsulation program is determined by the agent node according to the extended function information contained in the notification message sent by the central node and the corresponding relationship between the extended function information and the encapsulation program;
and the running module is configured to execute the corresponding extended functions by running the packaged program.
In one possible implementation manner, the execution module is configured to execute loading of the package program through a class loader and execute a corresponding extended function by executing the package program.
In a possible implementation manner, the running module is configured to load the package program through a class loader if the package program is received and other functions are not executed, and execute the corresponding extended function by running the package program; or
If other functions are being executed when the packaging program is received, loading the packaging program through a class loader after the execution of the other functions is finished, and executing corresponding extended functions by operating the packaging program; or
And if the other functions are being executed when the packaged program is received, stopping executing the other functions, loading the packaged program through a class loader, and executing the corresponding extended functions by operating the packaged program.
In one possible implementation manner, the execution module is configured to execute to resume executing the other functions after the execution of the wrapper program is finished.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a function expanding device including:
the second determination module is configured to determine the target node identifier and the extended function information according to the triggered extended instruction;
and the second sending module is configured to execute sending of a notification message containing the target node identifier and the extended function information to the proxy node, so that the proxy node sends the encapsulated program corresponding to the extended function information to the target node corresponding to the target node identifier, and the target node executes the corresponding extended function by running the encapsulated program.
In one possible implementation manner, the method further includes:
and the third receiving module is configured to execute and receive the execution result of the target node returned by the proxy node, which is obtained by running the encapsulation program to execute the corresponding extended function, and present the execution result.
According to a seventh aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a memory for storing executable instructions;
a processor configured to read and execute the executable instructions stored in the memory to implement the function expansion method according to any one of the first aspect of the embodiments of the disclosure.
According to an eighth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including: a memory for storing executable instructions;
a processor configured to read and execute the executable instructions stored in the memory to implement the function expansion method according to any one of the second aspect of the embodiments of the disclosure.
According to a ninth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including: a memory for storing executable instructions;
a processor configured to read and execute the executable instructions stored in the memory to implement the function expansion method according to any one of the third aspects of the embodiments of the disclosure.
According to a tenth aspect of the embodiments of the present disclosure, there is provided a non-volatile storage medium, wherein instructions of the storage medium, when executed by a processor of a function expansion apparatus, enable the function expansion apparatus to perform the function expansion method described in the first aspect of the embodiments of the present disclosure.
According to an eleventh aspect of the embodiments of the present disclosure, there is provided a non-volatile storage medium, wherein instructions of the storage medium, when executed by a processor of a function expansion apparatus, enable the function expansion apparatus to perform the function expansion method described in the second aspect of the embodiments of the present disclosure.
According to a twelfth aspect of the embodiments of the present disclosure, there is provided a non-volatile storage medium, wherein when the instructions in the storage medium are executed by a processor of a function expansion apparatus, the function expansion apparatus is enabled to execute the function expansion method described in the third aspect of the embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the function extension method provided by the embodiment of the disclosure stores the executable encapsulation program in the proxy node, when the function needs to be extended, the central node responds to the triggered extension instruction to send the notification message to the proxy node, and the central node sends the executable encapsulation program to the target node to realize the extension of the function without changing the local service code and invading the original service code, so that the function can be extended for the service system under the condition of the original service operation, the service is not required to be off-line, the period of the new function on-line of the service system is shortened, and the efficiency of the function extension of the service code is improved. In the embodiment of the disclosure, the center node, the agent node and the target node can be located in the same server or deployed in different servers; the central node and the agent node can communicate by adopting a wired connection mode or wireless communication.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a diagram illustrating an application scenario of a functionality extension method according to an exemplary embodiment;
FIG. 2 is a block diagram illustrating a framework for a function extension system in accordance with an exemplary embodiment;
FIG. 3 is a diagram illustrating a method of functionality expansion in accordance with an exemplary embodiment;
FIG. 4 is an interaction flow diagram illustrating a method of functionality extension in accordance with an exemplary embodiment;
FIG. 5 is a flow diagram illustrating a method for proxy node-side functionality extension in accordance with an exemplary embodiment;
FIG. 6 is a flow diagram illustrating a method of target node side functionality expansion in accordance with an exemplary embodiment;
FIG. 7 is a flow diagram illustrating a method for hub node side functionality expansion in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating a function expansion device in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating another function expanding device, according to an example embodiment;
FIG. 10 is a block diagram illustrating another function expanding device, according to an example embodiment;
FIG. 11 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 12 is a block diagram illustrating another electronic device in accordance with an exemplary embodiment;
FIG. 13 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Hereinafter, some terms in the embodiments of the present disclosure are explained to facilitate understanding by those skilled in the art.
(1) The term "plurality" in the embodiments of the present disclosure means two or more, and other terms are similar thereto.
(2) The term "class loader" in the embodiments of the present disclosure refers to a device that primarily services requests for classes, and when a class is needed, the object of that class is returned by the class loader. The class loader is responsible for loading all resources (classes, files, byte streams from the network, etc.) of the system, through which the resources are loaded.
(3) In the embodiment of the present disclosure, the term "port" is an interpretation of an english port, and is an outlet for communication between a device and the outside world. The ports can be divided into virtual ports and physical ports, wherein the virtual ports refer to ports inside a computer or inside a switch router; the physical port, also called an interface, is a visible port.
(4) The term "IP" in the embodiments of the present disclosure refers to IP addresses, and is a unified address format provided by the IP protocol, which allocates a logical address to each network and each host on the internet, so as to mask the difference of physical addresses.
At present, when the functions of a business system need to be expanded, a business developer can invade corresponding codes in service codes corresponding to the business system through a service administration platform, and change the execution logic of the original service codes, so that the business developer can expand new functions. For example, a local service code of a server has no monitoring function, and when a service person wants to extend the monitoring function to the server, the service person needs to change the local service code, so that the changed local service code can realize the monitoring function. However, in the process of changing the original service code, the server needs to stop running, the local service code of the server needs to be rewritten, and when the original service code is deployed in a packaged manner, the time required for changing the original service code is long, so that the period of on-line of a new function is long.
The disclosed embodiment discloses a function extension method, a selectable application scenario is shown in fig. 1, when a user 10 needs to extend a function of a target node 13, an extension instruction is triggered at a central node 11, the central node 11 determines a target node identifier and extension function information according to the extension instruction triggered by the user 10, the central node 11 sends a notification message containing the target node identifier and the extension function information to a proxy node 12, the proxy node 12 sends a packaging program corresponding to the extension function information to the target node 13 corresponding to the target node identifier, and the target node 13 is notified to run the received packaging program to implement function extension.
The function extension method provided by the embodiment of the disclosure stores the executable encapsulation program in the proxy node, when the function needs to be extended, the central node responds to the triggered extension instruction to send the notification message to the proxy node, and the central node sends the executable encapsulation program to the target node to realize the extension of the function without changing the local service code and invading the original service code, so that the function can be extended for the service system under the condition of the original service operation, the service is not required to be off-line, the period of the new function on-line of the service system is shortened, and the efficiency of the function extension of the service code is improved.
In the embodiment of the disclosure, the center node, the agent node and the target node can be located in the same server or deployed in different servers; the central node and the agent node can communicate by adopting a wired connection mode or wireless communication.
In addition, the function extension method provided by the embodiment of the disclosure can extend a plurality of functions for different target nodes through different proxy nodes, and can collectively present the function extension results of the plurality of target nodes on the central node, thereby facilitating the centralized management of the target nodes by service developers.
To make the objects, technical solutions and advantages of the present disclosure clearer, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, rather than all embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure.
Embodiments of the present disclosure are described in further detail below.
Fig. 2 is a block diagram illustrating a functionality extension system according to an exemplary embodiment, and as shown in fig. 2, includes a central node 20, at least one proxy node 21, and at least one target node 22.
The central node 20 is used for determining a target node identifier and extended function information according to the triggered extended instruction; and sending a notification message containing the target node identifier and the extended function information to the proxy node 21, so that the proxy node 21 sends the encapsulation program corresponding to the extended function information to the target node 22 corresponding to the target node identifier, which is convenient for the target node 22 to execute the corresponding extended function by running the encapsulation program.
The proxy node 21 is configured to receive a notification message sent by the central node 20 and including a target node identifier and extended function information; determining a packaging program corresponding to the extended function information contained in the notification message according to the corresponding relation between the extended function information and the packaging program; and sending the determined encapsulation program to the target node 22 corresponding to the target node identifier, so that the target node 22 executes the corresponding extended function by operating the encapsulation program.
The target node 22 is used for receiving the encapsulation program sent by the agent node 21; and executing the corresponding extended functions by operating the packaging program.
It should be noted that, in the embodiment of the present disclosure, a target node that needs to extend a function may be a server or a certain service process in the server, that is, the function extension method provided in the embodiment of the present disclosure may extend a function for a certain server or a function for a certain service process in the server.
In implementation, the central node 20 determines the target node identification and the extended function information according to the triggered extended instruction. The triggering of the extension instruction is performed by a user, the user may be a service developer in the embodiment of the present disclosure, the extension instruction triggered by the service developer may be an extension instruction for extending a function for a certain target node, or may be an extension instruction for extending functions for a plurality of target nodes, and the number of the extension functions for a target node may be one or more, which is not limited in the embodiment of the present disclosure.
For example, the extension instruction triggered by the service developer may be to extend function 1 for target node a; it is also possible to extend function 1 and function 2 for the target node a; the function 1 may be extended for both the target node a and the target node B; it is also possible to extend the function 1 for the target node a and the function 2 for the target node B.
The extension instruction can be triggered through a display interface of the central node, and the extension instruction can include a target node identifier which needs to be subjected to function extension and extension function information which needs to be subjected to the function extension.
When the central node 20 determines the target node identifier and the extended function information according to the extended instruction, in an alternative embodiment, the target node identifier may be an IP and a port of the target node, and the extended function information may be a name or an identifier of a specific extended function. For example, if the extended instruction is to extend function 1 for the target node a, and the IP corresponding to the target node a is 12.345.67.890 and the port is 8080, the target node 20 determines that the target node is identified as "12.345.67.890 + 8080" and the extended function information is "extended function 1" according to the extended instruction.
After determining the target node identifier and the extended function information, the central node 20 sends a notification message containing the target node identifier and the extended function information to the proxy node 21;
for example, the notification message sent by the central node 20 to the proxy node 21 may be "12.345.67.890 +8080+ extended function 1".
The central node 20 may randomly select one proxy node 21 from the plurality of proxy nodes 21 to send a notification message containing the target node identifier and the extended function information; or the central node 20 may select the proxy node 21 on the same physical machine as the target node 22 to send a notification message containing the target node identification and extended functionality information.
After receiving the notification message sent by the central node 20, the proxy node 21 determines the encapsulation program corresponding to the extended function information according to the extended function information in the notification message.
In an optional implementation manner, the agent node 21 stores encapsulation programs corresponding to various extensible functions, and after receiving the notification message from the central node, determines an encapsulation program corresponding to the extended function information in the notification message according to a correspondence between the extended function information and the encapsulation program, and then sends the determined encapsulation program to the target node 22 corresponding to the target node identifier carried in the notification message.
For example, the proxy node 21 stores a wrapper program 1 corresponding to the extended function 1, a wrapper program 2 corresponding to the extended function 2, a wrapper program 3 corresponding to the extended function 3, a wrapper program 4 corresponding to the extended function 4, and a wrapper program 5 corresponding to the extended function 5. Assuming that the notification message received by the proxy node 21 is "12.345.67.890 +8080+ extended function 1", the proxy node 21 may determine its corresponding encapsulated program 1 according to the extended function information "extended function 1" in the notification message. And sending the determined encapsulation program 1 to a target node with an IP of 12.345.67.890 and an 8080 port, namely sending the determined encapsulation program 1 to a target node A by the proxy node.
It should be noted that, when the proxy node 21 sends the encapsulation program to the target node 22 according to the target node identifier, a situation of sending failure may occur; for example, the agent node does not find the target node according to the target node identifier, or the agent node fails to send the encapsulation program to the target node due to a problem of a communication line, and the like. If the transmission fails, the agent node 21 feeds back a transmission failure message to the central node 20, so that the central node 20 presents a result of the failure of the function expansion. If the sending is successful, in a possible embodiment, the proxy node 21 may also monitor the operation of the target node 22 on the encapsulation program.
If the proxy node 21 sends the encapsulation program to the target node 22 successfully, the target node 22 needs to run the received encapsulation program after receiving the encapsulation program, and execute the corresponding extended function. The disclosed embodiments may utilize a class loader to run a received package.
In an alternative embodiment, the target node 22 executes the received encapsulated program to perform the corresponding extended function according to the following manner:
the target node 22 loads the encapsulation program through the class loader and performs the corresponding extended function by running the encapsulation program.
In implementation, after receiving the encapsulation program sent by the proxy node 21, the target node 22 loads the received encapsulation program through the class loader, and then runs the loaded encapsulation program to execute a function corresponding to the encapsulation program. For example, after the target node a receives the encapsulation program 1 sent by the proxy node, the encapsulation program 1 is loaded through the class loader, and then the encapsulation program 1 is run to complete the function extension, where the extended function is the extended function 1 corresponding to the encapsulation program 1.
In implementation, when the target node 22 receives the encapsulation program sent by the proxy node 21, the running state of the target node 22 may be different, and the situation of running the encapsulation program loaded by the class loader may be different for different running states of the target node 22. The method by which the target node 22 performs the extended functionality is described below with respect to different operating states of the target node 22.
The first condition is as follows: the target node 22 does not perform other functions upon receiving the encapsulation program sent by the proxy node 21.
In an alternative embodiment, after receiving the encapsulation program sent by the proxy node 21, the target node 22 directly loads the encapsulation program through the class loader, and executes the corresponding extended function by running the encapsulation program.
In implementation, when the encapsulated program sent by the proxy node 21 is received, if the target node 22 does not execute other functions, the encapsulated program may be immediately loaded through the class loader and run to execute the corresponding extended functions. For example, when the target node a receives the encapsulation program 1 corresponding to the extended function 1 sent by the proxy node, other existing functions are not operated, and the target node a loads the encapsulation program 1 through the class loader immediately after receiving the encapsulation program 1 and executes the corresponding extended function 1 to complete function extension.
Case two: the target node 22 is performing other functions upon receiving the encapsulation program sent by the proxy node 21.
In this case two, the target node 22 may perform the extended function according to the following:
in the method 1, after the execution of other functions is completed, the target node 22 loads the encapsulation program through the class loader and executes the corresponding extended function by running the encapsulation program.
In an implementation, when receiving the encapsulation program sent by the proxy node 21, if the target node 22 is executing another function, the class loader may load the encapsulation program and run the encapsulation program to execute the corresponding extended function after the execution of the executing function is completed.
For example, when the target node a receives the encapsulation program 1 corresponding to the extended function 1 sent by the proxy node, the target node a is running other existing functions, assuming that the existing functions of the target node a are function a, function b, and function c, when the target node a receives the encapsulation program 1 corresponding to the extended function 1, the target node a is running function b, and after the function b is run, the target node a loads the encapsulation program 1 through the class loader and executes the corresponding extended function 1 to complete function extension. Or, after the target node a runs the function b, the target node a runs the function c, and after the running of the function c is finished, the target node a loads the encapsulation program 1 through the class loader and executes the corresponding extension function 1 to complete the function extension.
In mode 2, the target node 22 suspends the execution of other functions, loads the encapsulation program through the class loader, and executes the corresponding extended functions by running the encapsulation program.
In implementation, when receiving the encapsulation program sent by the proxy node 21, if the target node 22 is executing other functions, the executing function may be suspended, and the encapsulation program is loaded through the class loader and executed to execute the corresponding extended function.
It should be noted that the target node 22 resumes executing other functions after the operation of the encapsulation program is finished.
In implementation, after the target node runs the encapsulation program corresponding to the extended function, the target node continues to run the function suspended before.
For example, when the target node a receives the encapsulation program 1 corresponding to the extended function 1 sent by the proxy node, the target node a is running other existing functions, assuming that the existing functions of the target node a are function a, function b, and function c, when the target node a receives the encapsulation program 1 corresponding to the extended function 1, the target node a is running function b, the target node a suspends running function b, loads the encapsulation program 1 through the class loader, and executes the corresponding extended function 1 to complete function extension. After the encapsulation program 1 runs, the target node a resumes executing the function b.
In practice, the proxy node 21 will monitor the operation of the encapsulation program by the target node 22 and feed it back to the central node 20.
In an optional implementation manner, the agent node 21 obtains an execution result of the target node 22 executing the corresponding extended function by running the encapsulation program, and returns the obtained execution result to the central node 22.
In implementation, the agent node 21 monitors the operation of the encapsulation program by the target node, and feeds back the operation result of the encapsulation program by the target node 22 to the central node 20. Specifically, the result of success or failure of the target node in running the encapsulation program may be fed back to the central node, for example, if the target node a successfully loads and runs the encapsulation program 1, the message that the target node a successfully expands the function 1 is fed back to the central node; or the program operation result of the target node operating the encapsulation program may be fed back to the central node, for example, the diagnostic function is extended in the target node a, so that the target node a can diagnose its own error statement, and after the target node a loads and operates the encapsulation program corresponding to the diagnostic function, the proxy node obtains the diagnosed error statement in the target node a and returns the diagnosed error statement to the central node.
The central node 20 receives the execution result of the target node running the encapsulation program to execute the corresponding extended function returned by the agent node 21, and presents the execution result.
The central node 20 presents the execution result to the user, which may be a service developer in the embodiment of the present disclosure.
It should be noted that, a plurality of "proxy nodes" provided in the embodiments of the present disclosure may be provided, and the types of encapsulation programs corresponding to the extensible functions stored in each proxy node may be the same or different, or all encapsulation programs corresponding to the extensible functions are stored in each proxy node. When a function other than the extensible function pre-stored in the proxy node needs to be extended for the target node, the function extension method provided by the embodiment of the disclosure can be used for extending the function for the target node only by adding the encapsulation program corresponding to the function in the proxy node center.
The function expansion method provided by the embodiment of the present disclosure is described below by using several specific expandable functions.
The extensible functions provided by the embodiment of the disclosure include: monitoring, log collection, diagnosis, fault simulation, gray scale, fusing and recovery.
Specifically, these several extended functions are introduced:
and (4) a monitoring function: the method is used for monitoring the memory of the target node and the CPU use condition of the target node, or reflecting the user access number, the execution number of http requests, the average execution time and the like, and the optional target node can be a server. When the target node has no monitoring function, the monitoring function can be extended for the target node by the method provided by the embodiment of the disclosure.
The log collection function: and collecting the running logs of the target nodes to analyze and process the log data so as to perfect the target nodes and the like. When the target node has no log collection function, the method provided by the embodiment of the disclosure can be used for expanding the log collection function for the target node; or when the log collection function of the target node can only collect partial service logs in the target node, the method provided by the embodiment of the disclosure can enable the log collection function of the target node to collect all service logs in the target node.
The diagnosis function is as follows: can be used for diagnosing error statements in a program run by the target node and modifying the error statements. The program for diagnosis can be packaged, and the packaged diagnosis program is loaded into the target node by the method provided by the embodiment of the disclosure to diagnose the error statement in the target node.
The fault simulation function is as follows: and simulating the fault for verifying the reliability of the target node. For example, a fault needs to be set in the target node, a fault program can be compiled in advance, and the packaged fault program is loaded into the target node by the method provided by the embodiment of the disclosure to perform fault simulation.
The gray release function: the method is a distribution mode capable of smoothly transiting. For example, after the new function is on-line, some users use the new function, and then the range is gradually expanded until all users use the new function. The gray release can ensure the stability of the whole new function, and the problems can be found and adjusted at the initial on-line of the new function so as to avoid irretrievable influence. When the application range of the new function needs to be expanded, the corresponding program with the expanded application range can be packaged, and the packaged program is loaded into the target node by the method provided by the embodiment of the disclosure to perform gray scale publishing.
Fusing and recovering: the fusing is generally a protection measure adopted in an application system to prevent the whole system from being failed due to the overload phenomenon of a service caused by some reasons, the fusing is also called overload protection, and the recovery is to allow a part of requests to pass through after a period of time for the fused service to gradually recover the fused service. The method and the device can adjust the fusing and recovering conditions of the target node according to the data of the target node monitored by the central node so as to ensure the normal operation of the target node; or the bottom-pocketed program of the target node is encapsulated, and when the target node fails, the bottom-pocketed program is loaded into the encapsulating program by the method provided by the embodiment of the disclosure, so that the normal operation of the target node is ensured.
It should be noted that the extensible functions provided in the embodiments of the present disclosure include, but are not limited to, the above-mentioned ones, and any functions that can be extended by the function extension method provided in the embodiments of the present disclosure are within the scope of the present disclosure.
Each proxy node may store at least one of the six extended functions described above, for example: the agent node 1 stores a packaging program corresponding to monitoring and log acquisition; the agent node 2 stores encapsulation programs corresponding to diagnosis, fault simulation and gray level; the agent node 3 stores a packaging program corresponding to monitoring, log collecting, diagnosing, gray level, fusing and recovering; the agent nodes 4 and 5 respectively store a corresponding packaging program of monitoring, log collecting, diagnosing, fault simulating, gray level, fusing and recovering, which is not limited in the embodiment of the disclosure.
For clearly describing the function expansion method of the embodiment of the present disclosure, two agent nodes are taken as an example, which are an agent node 1 and an agent node 2, and the two agent nodes both store a package program corresponding to "monitoring", "log collection", "diagnosis", "fault simulation", "gray level", "fusing and recovery".
Fig. 3 is a schematic diagram illustrating a function expansion method according to an exemplary embodiment, and as shown in fig. 3, it is assumed that a service developer triggers an expansion instruction through a display interface of a central node, where the expansion instruction is: expanding a monitoring function and a log acquisition function for the target node 1; expanding diagnosis function and fault simulation for the target node 2; expanding the gray scale range for the target node 3 and changing the fusing and recovery conditions. The agent node 1 and the target node 1 are on the same physical machine, and the agent node 2, the target node 2 and the target node 3 are on the same physical machine.
The central node determines the target node identification and the extended function information according to the extended instruction, for example, the determined target node identification and the extended function information are "10.305.60.800 +8000+ monitor function, log collection function", "15.355.60.500 +8220+ diagnosis function, fault simulation" and "15.355.60.500 +8330+ gray scale, fusion and recovery". Wherein, "10.305.60.800 + 8000" is the identifier of the target node 1, "15.355.60.500 + 8220" is the identifier of the target node 2, and "15.355.60.500 + 8330" is the identifier of the target node 3.
The central node sends a notification message containing the target node identifier and the extended function information to the proxy node, and in implementation, the notification message may be sent to the proxy node 1 by "10.305.60.800 +8000+ monitoring function and log collection function", and sent to the proxy node 2 by "15.355.60.500 +8220+ diagnosis function, fault simulation" and "15.355.60.500 +8330+ gray scale, fusing and recovery".
After receiving the notification message sent by the central node, the agent node 1 determines to send the encapsulation program corresponding to the monitoring function and the encapsulation program corresponding to the log collection function to the target node 1 with IP of 10.305.60.800 and port of 8000 according to the notification message "10.305.60.800 +8000+ monitoring function and log collection function". After receiving the notification message sent by the central node, the agent node 2 determines a packaging program corresponding to the diagnosis function and a packaging program corresponding to the fault simulation according to the notification message "15.355.60.500 +8220+ diagnosis function, fault simulation" and "15.355.60.500 +8330+ gray scale, fusion and recovery" and sends the packaging program corresponding to the fault simulation to the target node 2 with an IP of 15.355.60.500 and an 8220 port; and sending the encapsulation program corresponding to the gray scale and the encapsulation program corresponding to the fusing and recovering to the target node 3 with IP 15.355.60.500 and port 8330.
It should be noted that the above embodiments are merely examples, and the central node may also send a notification message for performing function expansion on the target node 1 to the proxy node 2, and perform function expansion on the target node 1 through the proxy node 2.
Assuming that the target node 1 does not operate other functions when receiving the encapsulation program corresponding to the monitoring function and the encapsulation program corresponding to the log acquisition function sent by the agent node 1, the target node 1 immediately loads the encapsulation program corresponding to the monitoring function and the encapsulation program corresponding to the log acquisition function through the class loader and operates the encapsulation programs, and the agent node 1 monitors the execution result of the target node 1 and sends the execution result to the central node. For example, the agent node monitors that the target node 1 successfully runs the encapsulation program corresponding to the monitoring function and the encapsulation program corresponding to the log collection function, and returns the following messages to the central node:
"10.305.60.800 +8000 monitor function extension succeeds, log collection function extension succeeds".
Assuming that the target node 2 is running other functions when receiving the encapsulation program corresponding to the diagnostic function and the encapsulation program corresponding to the fault simulation sent by the proxy node 2, the target node 2 may load the encapsulation program corresponding to the diagnostic function and the encapsulation program corresponding to the fault simulation through the class loader after running the currently running functions, and run the encapsulation programs, and the proxy node 2 monitors the execution result of the target node 2 and sends the execution result to the central node. For example, the agent node monitors that the target node 2 successfully runs the encapsulation program corresponding to the diagnostic function and the encapsulation program corresponding to the fault simulation, and returns the following information to the central node:
"15.355.60.500 +8220 diagnostic function expands successfully, and the error statement is: line 1, lines 186-255; log collection function expansion was successful ".
When the target node 3 receives the packaging program corresponding to the gray scale function and the packaging program corresponding to the fusing and restoring sent by the proxy node 2, the packaging program corresponding to the gray scale function is successfully received, the packaging program corresponding to the fusing and restoring fails to be received, and other functions are running when the packaging program corresponding to the gray scale function is received, the target node 3 suspends the running function, loads the packaging program corresponding to the gray scale function through the class loader and runs, and resumes other functions which were suspended before running after the packaging program corresponding to the gray scale function is run. The agent node 2 monitors the execution result of the target node 3 and sends the execution result to the central node. For example, the agent node monitors that the target node 3 successfully runs the encapsulation program corresponding to the gray scale function, and returns the following information to the central node:
"15.355.60.500 +8330 grayscale function expansion success, blowing and recovery package procedure failure".
The central node presents the execution results returned by the agent nodes 1 and 2, and the execution results can be presented to the service developer in the embodiment of the disclosure.
Fig. 4 is an interaction flowchart of a function extension method according to an exemplary embodiment, and the function extension method according to the embodiment of the present disclosure is described by taking an example that no other function is run when a target node receives an encapsulated program. As shown in fig. 4, the method comprises the following steps:
in step S401, the central node responds to the triggered extension instruction, and determines a target node identifier and extension function information according to the extension instruction;
in step S402, the central node sends a notification message containing the target node identifier and the extended function information to the proxy node;
in step S403, the proxy node determines, according to the correspondence between the extended function information and the encapsulation program, an encapsulation program corresponding to the extended function information in the notification message;
in step S404, the proxy node sends the determined encapsulation program to the target node corresponding to the target node identifier in the notification message;
in step S405, the target node loads the encapsulation program sent by the proxy node through the class loader, and runs the encapsulation program to execute a corresponding extended function;
in step S406, the proxy node obtains an execution result of the target node executing the encapsulation program to execute the corresponding extension function;
in step S407, the proxy node returns the acquired execution result to the central node;
in step S408, the central node displays the execution result returned by the received proxy node.
Fig. 5 is a block diagram illustrating a function expanding apparatus, which is applicable to a proxy node, according to an example embodiment. Referring to fig. 5, the apparatus includes a first receiving module 500, a first determining module 501, and a first transmitting module 502.
A first receiving module 500 configured to perform receiving a notification message sent by a central node and containing a target node identifier and extended function information; the target node identification and the extended function information are determined by the central node according to a triggered extended instruction;
a first determining module 501, configured to execute determining, according to a correspondence between extended function information and a packaged program, a packaged program corresponding to the extended function information included in the notification message;
a first sending module 502, configured to execute sending the determined encapsulation program to a target node corresponding to the target node identifier, so that the target node executes a corresponding extended function by running the encapsulation program.
In a possible implementation manner, the first sending module 502 is further configured to execute obtaining an execution result of the target node executing the corresponding extended function by running the wrapper program, and return the obtained execution result to the central node, so that the central node presents the execution result.
Fig. 6 is a block diagram illustrating another function expanding apparatus, which is applicable to a target node, according to an example embodiment. Referring to fig. 6, the apparatus includes a second receiving module 600 and an operating module 601.
A second receiving module 600 configured to execute the encapsulation program transmitted by the receiving proxy node; the encapsulation program is determined by the agent node according to the extended function information contained in the notification message sent by the central node and the corresponding relationship between the extended function information and the encapsulation program;
an execution module 601 configured to execute the corresponding extended function by executing the packaged program.
In a possible implementation manner, the execution module 601 is configured to execute loading the package program through a class loader and execute a corresponding extended function by executing the package program.
In a possible implementation manner, the running module 601 is configured to load the package program through a class loader if no other function is executed when the package program is received, and execute a corresponding extended function by running the package program; or
If other functions are being executed when the packaging program is received, loading the packaging program through a class loader after the execution of the other functions is finished, and executing corresponding extended functions by operating the packaging program; or
And if the other functions are being executed when the packaged program is received, stopping executing the other functions, loading the packaged program through a class loader, and executing the corresponding extended functions by operating the packaged program.
In a possible implementation manner, the execution module 601 is configured to execute to resume executing the other functions after the execution of the wrapper is finished.
Fig. 7 is a block diagram illustrating another function expanding apparatus, which is applicable to a central node, according to an example embodiment. Referring to fig. 7, the apparatus includes a second determining module 700 and a second transmitting module 701.
A second determining module 700 configured to determine the target node identifier and the extended function information according to the triggered extended instruction;
a second sending module 701, configured to execute sending of a notification message including the target node identifier and extended function information to an agent node, so that the agent node sends the encapsulated program corresponding to the extended function information to the target node corresponding to the target node identifier, which is convenient for the target node to execute the corresponding extended function by running the encapsulated program.
In one possible implementation manner, the method further includes: and the third receiving module is configured to execute and receive the execution result of the target node returned by the proxy node, which is obtained by running the encapsulation program to execute the corresponding extended function, and present the execution result.
With regard to the apparatus in the above embodiment, the specific manner in which each module executes the request has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating an electronic device 800 including:
a processor 810;
a memory 820 for storing instructions executable by the processor 810;
wherein the processor 810 is configured to execute the instructions to implement the proxy node side function extension method in the embodiments of the present disclosure.
FIG. 9 is a block diagram illustrating another electronic device 900, according to an example embodiment, that includes:
a processor 910;
a memory 920 for storing instructions executable by the processor 910;
wherein the processor 910 is configured to execute the instructions to implement the function expansion method on the target node side in the embodiment of the present disclosure.
Fig. 10 is a block diagram illustrating an electronic device 1000 according to an example embodiment, the electronic device including:
a processor 1010;
a memory 1020 for storing instructions executable by the processor 1010;
wherein the processor 1010 is configured to execute the instructions to implement the function expansion method of the central node side in the embodiment of the present disclosure.
In an exemplary embodiment, a non-volatile storage medium including instructions, such as the memory 820 including instructions, that are executable by the processor 810 of the electronic device 800 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a non-volatile storage medium including instructions, such as the memory 920 including instructions, that are executable by the processor 910 of the electronic device 900 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a non-volatile storage medium comprising instructions, such as the memory 1020 comprising instructions, executable by the processor 1010 of the electronic device 1000 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Based on the same inventive concept, the embodiment of the present disclosure further provides a function extension method, and because the method corresponds to a proxy node corresponding to the function extension system in the embodiment of the present disclosure, and the principle of the method for solving the problem is similar to that of the system, the implementation of the method can refer to the implementation of the system, and repeated details are omitted.
Fig. 11 is a flowchart illustrating a method for proxy node-side function extension according to an exemplary embodiment, as shown in fig. 11, including the following steps:
in step S1101, a notification message including a target node identifier and extended function information sent by a central node is received;
the target node identification and the extended function information are determined by the central node according to a triggered extended instruction;
in step S1102, determining a wrapper program corresponding to the extended function information included in the notification message according to a correspondence between extended function information and a wrapper program;
in step S1103, the determined encapsulation program is sent to a target node corresponding to the target node identifier, so that the target node executes a corresponding extension function by running the encapsulation program.
In a possible implementation manner, after sending the determined encapsulation program to the target node corresponding to the target node identifier, the method further includes:
and acquiring an execution result of the target node executing the corresponding extended function by operating the packaging program, and returning the acquired execution result to the central node so that the central node presents the execution result.
Based on the same inventive concept, the embodiment of the present disclosure further provides a function extension method, and since the method corresponds to a target node corresponding to the function extension system in the embodiment of the present disclosure, and the principle of the method for solving the problem is similar to that of the system, the implementation of the method can refer to the implementation of the system, and repeated details are not repeated.
Fig. 12 is a flowchart illustrating a method for target node-side functionality expansion, according to an example embodiment, as shown in fig. 12, including the following steps:
in step S1201, a wrapper program sent by the proxy node is received;
the encapsulation program is determined by the agent node according to the extended function information contained in the notification message sent by the central node and the corresponding relationship between the extended function information and the encapsulation program;
in step S1202, the corresponding extended function is executed by running the wrapper program.
In a possible implementation manner, the executing the corresponding extended function by running the wrapper program includes:
and loading the packaging program through a class loader, and executing a corresponding extended function by operating the packaging program.
In a possible implementation manner, the loading the package program through the class loader and executing the corresponding extended function by running the package program includes:
if the other functions are not executed when the packaging program is received, loading the packaging program through a class loader, and executing the corresponding extended functions by operating the packaging program; or
If other functions are being executed when the packaging program is received, loading the packaging program through a class loader after the execution of the other functions is finished, and executing corresponding extended functions by operating the packaging program; or
And if the other functions are being executed when the packaged program is received, stopping executing the other functions, loading the packaged program through a class loader, and executing the corresponding extended functions by operating the packaged program.
In a possible implementation manner, after suspending the execution of the other functions, loading the package program through a class loader, and executing the corresponding extended functions by running the package program, the method further includes:
and resuming the execution of the other functions after the operation of the packaging program is finished.
Based on the same inventive concept, the embodiment of the present disclosure further provides a function extension method, and because the method corresponds to a central node corresponding to the function extension system in the embodiment of the present disclosure, and the principle of the method for solving the problem is similar to that of the system, the implementation of the method can refer to the implementation of the system, and repeated details are not repeated.
Fig. 13 is a flowchart illustrating a method for central node side functionality expansion according to an exemplary embodiment, as shown in fig. 13, including the steps of:
in step S1301, determining a target node identifier and extended function information according to a triggered extended instruction;
in step S1302, a notification message including the target node identifier and the extended function information is sent to a proxy node, so that the proxy node sends the encapsulation program corresponding to the extended function information to the target node corresponding to the target node identifier, so that the target node executes the corresponding extended function by running the encapsulation program.
In a possible implementation manner, after sending the notification message including the target node identifier and the extended function information to the proxy node, the method further includes:
and receiving an execution result of the target node which is returned by the agent node and runs the encapsulation program to execute the corresponding extended function, and presenting the execution result.
The embodiment of the present disclosure further provides a computer program product, which, when running on an electronic device, causes the electronic device to execute a method for implementing any one of the above function extension methods or any one of the function extension methods according to the embodiment of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for extending functionality, the method comprising:
receiving a notification message which is sent by a central node and contains a target node identifier and extended function information; the target node identification and the extended function information are determined by the central node according to a triggered extended instruction;
determining a packaging program corresponding to the extended function information contained in the notification message according to a corresponding relation between the extended function information and the packaging program;
and sending the determined encapsulation program to a target node corresponding to the target node identifier so that the target node executes a corresponding extended function by operating the encapsulation program.
2. The method of claim 1, wherein after sending the determined encapsulation procedure to the target node corresponding to the target node identification, further comprising:
and acquiring an execution result of the target node executing the corresponding extended function by operating the packaging program, and returning the acquired execution result to the central node so that the central node presents the execution result.
3. A method for extending functionality, the method comprising:
receiving an encapsulation program sent by an agent node; the encapsulation program is determined by the agent node according to the extended function information contained in the notification message sent by the central node and the corresponding relationship between the extended function information and the encapsulation program;
and executing the corresponding extended functions by operating the packaging program.
4. The method of claim 3, wherein the executing the corresponding extended function by executing the wrapper program comprises:
and loading the packaging program through a class loader, and executing a corresponding extended function by operating the packaging program.
5. A method for extending functionality, the method comprising:
determining a target node identifier and extended function information according to the triggered extended instruction;
and sending a notification message containing the target node identifier and the extended function information to an agent node, so that the agent node sends the encapsulation program corresponding to the extended function information to the target node corresponding to the target node identifier, and the target node can execute the corresponding extended function by operating the encapsulation program.
6. A function expanding device, comprising:
the first receiving module is configured to execute receiving of a notification message which is sent by the central node and contains a target node identification and extended function information; the target node identification and the extended function information are determined by the central node according to a triggered extended instruction;
a first determining module configured to execute determining a packaged program corresponding to extended function information included in the notification message according to a correspondence between the extended function information and the packaged program;
and the first sending module is configured to execute sending of the determined encapsulation program to a target node corresponding to the target node identifier, so that the target node executes a corresponding extended function by running the encapsulation program.
7. A function expanding device, comprising:
a second receiving module configured to execute the encapsulation program transmitted by the receiving proxy node; the encapsulation program is determined by the agent node according to the extended function information contained in the notification message sent by the central node and the corresponding relationship between the extended function information and the encapsulation program;
and the running module is configured to execute the corresponding extended functions by running the packaged program.
8. A function expanding device, comprising:
the second determination module is configured to determine the target node identifier and the extended function information according to the triggered extended instruction;
and the second sending module is configured to execute sending of a notification message containing the target node identifier and the extended function information to the proxy node, so that the proxy node sends the encapsulated program corresponding to the extended function information to the target node corresponding to the target node identifier, and the target node executes the corresponding extended function by running the encapsulated program.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the function extension method according to any one of claims 1 to 5.
10. A storage medium, wherein instructions in the storage medium, when executed by a processor of a function expansion electronic device, enable the function expansion electronic device to perform the function expansion method according to any one of claims 1 to 5.
CN201911025546.1A 2019-10-25 2019-10-25 Function expansion method and device and electronic equipment Pending CN110795109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911025546.1A CN110795109A (en) 2019-10-25 2019-10-25 Function expansion method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911025546.1A CN110795109A (en) 2019-10-25 2019-10-25 Function expansion method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110795109A true CN110795109A (en) 2020-02-14

Family

ID=69441385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911025546.1A Pending CN110795109A (en) 2019-10-25 2019-10-25 Function expansion method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110795109A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514665A (en) * 2022-08-31 2022-12-23 北京达佳互联信息技术有限公司 Service expansion method and device, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040034860A1 (en) * 2002-08-15 2004-02-19 Microsoft Corporation Dynamically extensible application program framework including message and notification routing
CN1976289A (en) * 2006-12-22 2007-06-06 中国建设银行股份有限公司 Program arranging method and system based on distributing network
CN101499931A (en) * 2009-03-13 2009-08-05 中兴通讯股份有限公司 Function expansion method and system based on distributed environment
CN104765621A (en) * 2014-01-02 2015-07-08 国际商业机器公司 Method and system for deploying program on cluster node
CN104834534A (en) * 2015-06-09 2015-08-12 北京奇虎科技有限公司 Application program function extension method, device and system
WO2017097122A1 (en) * 2015-12-08 2017-06-15 阿里巴巴集团控股有限公司 Information processing method, apparatus and system, and terminal device
CN107077358A (en) * 2014-09-25 2017-08-18 甲骨文国际公司 For the system and method for the Dynamical Deployment for supporting executable code in a distributed computing environment
CN107465548A (en) * 2017-08-17 2017-12-12 北京云纵信息技术有限公司 The dispositions method and device of code
CN107479869A (en) * 2017-06-28 2017-12-15 中国建设银行股份有限公司 Realize the method and system of Function Extension
CN108334379A (en) * 2018-01-05 2018-07-27 北京明略软件系统有限公司 A kind of implementation method and realization device of page expansion function
CN109710428A (en) * 2018-12-27 2019-05-03 杭州数梦工场科技有限公司 A kind of dynamic call method and device for realizing class

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040034860A1 (en) * 2002-08-15 2004-02-19 Microsoft Corporation Dynamically extensible application program framework including message and notification routing
CN1976289A (en) * 2006-12-22 2007-06-06 中国建设银行股份有限公司 Program arranging method and system based on distributing network
CN101499931A (en) * 2009-03-13 2009-08-05 中兴通讯股份有限公司 Function expansion method and system based on distributed environment
CN104765621A (en) * 2014-01-02 2015-07-08 国际商业机器公司 Method and system for deploying program on cluster node
CN107077358A (en) * 2014-09-25 2017-08-18 甲骨文国际公司 For the system and method for the Dynamical Deployment for supporting executable code in a distributed computing environment
CN104834534A (en) * 2015-06-09 2015-08-12 北京奇虎科技有限公司 Application program function extension method, device and system
WO2017097122A1 (en) * 2015-12-08 2017-06-15 阿里巴巴集团控股有限公司 Information processing method, apparatus and system, and terminal device
CN107479869A (en) * 2017-06-28 2017-12-15 中国建设银行股份有限公司 Realize the method and system of Function Extension
CN107465548A (en) * 2017-08-17 2017-12-12 北京云纵信息技术有限公司 The dispositions method and device of code
CN108334379A (en) * 2018-01-05 2018-07-27 北京明略软件系统有限公司 A kind of implementation method and realization device of page expansion function
CN109710428A (en) * 2018-12-27 2019-05-03 杭州数梦工场科技有限公司 A kind of dynamic call method and device for realizing class

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514665A (en) * 2022-08-31 2022-12-23 北京达佳互联信息技术有限公司 Service expansion method and device, electronic equipment and storage medium
CN115514665B (en) * 2022-08-31 2023-11-21 北京达佳互联信息技术有限公司 Service expansion method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
JP7105930B2 (en) Alarm method and alarm device
CN105933137B (en) A kind of method for managing resource, apparatus and system
CN107544783B (en) Data updating method, device and system
CN111800354B (en) Message processing method and device, message processing equipment and storage medium
CN109788068B (en) Heartbeat state information reporting method, device and equipment and computer storage medium
CN108347476B (en) Cross-machine-room data synchronization method and device and server
CN103095518A (en) Coverage rate test processing method and device and coverage rate test server and system
US20200327045A1 (en) Test System and Test Method
EP3335374B1 (en) Automatic symptom data collection in cloud deployment
CN106357449A (en) zedis distributed type buffer method
CN106406975A (en) Test method and device of desktop cloud system
US10931513B2 (en) Event-triggered distributed data collection in a distributed transaction monitoring system
US20230214229A1 (en) Multi-tenant java agent instrumentation system
CN105357042A (en) High-availability cluster system, master node and slave node
CN112068935A (en) Method, device and equipment for monitoring deployment of kubernets program
CN110795109A (en) Function expansion method and device and electronic equipment
US20200344144A1 (en) Testing virtualized network functions
CN115883310A (en) Service deployment method, service deployment system, electronic device, and storage medium
CN111464394B (en) Node monitoring method and device and storage medium
CN117909143A (en) Method and device for processing project data, storage medium and electronic equipment
CN113726575A (en) Front-end project automatic online method, device, server and storage medium
CN104657240B (en) The Failure Control method and device of more kernel operating systems
CN111026503B (en) Remote sensing satellite ground station monitoring method and system based on virtualization
CN114726789A (en) Method, device, equipment and medium for traffic management and traffic management policy configuration
CN110471767B (en) Equipment scheduling method

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