CN114650224A - Node function configuration method and device, electronic equipment and system - Google Patents

Node function configuration method and device, electronic equipment and system Download PDF

Info

Publication number
CN114650224A
CN114650224A CN202011522538.0A CN202011522538A CN114650224A CN 114650224 A CN114650224 A CN 114650224A CN 202011522538 A CN202011522538 A CN 202011522538A CN 114650224 A CN114650224 A CN 114650224A
Authority
CN
China
Prior art keywords
function
configuration
target
node
module
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.)
Granted
Application number
CN202011522538.0A
Other languages
Chinese (zh)
Other versions
CN114650224B (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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network 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 Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202011522538.0A priority Critical patent/CN114650224B/en
Priority to PCT/CN2021/127129 priority patent/WO2022134849A1/en
Publication of CN114650224A publication Critical patent/CN114650224A/en
Application granted granted Critical
Publication of CN114650224B publication Critical patent/CN114650224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • 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
    • H04L41/04Network management architectures or arrangements
    • 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
    • H04L41/08Configuration management of networks or network elements
    • 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
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process

Abstract

The invention provides a method, a device, electronic equipment and a system for configuring node functions, wherein the method comprises the steps of selecting a target function module matched with a service function requirement from a preset function module library according to the service function requirement of a target node; each function module in the function module library has a designated function; data required for executing the specified function is packaged in a preset data structure in the functional module; generating the function configuration of the target node according to the target function module; and sending the function configuration to a management server so as to send the function configuration to the target node through the management server. The embodiment of the invention realizes the modularization of the function by pre-encapsulating the configurable function in a uniform data structure, so that a client can select a corresponding function module based on the service function requirement and quickly configure the service function of the target node; because the data structures of all functions are completely consistent, the difficulty of configuration and configuration analysis is reduced.

Description

Node function configuration method and device, electronic equipment and system
Technical Field
The present invention relates to the technical field of CDNs, and in particular, to a method, an apparatus, an electronic device, and a system for configuring a node function.
Background
The existing CDN service functions are various, and the basic functions comprise: adding and deleting a header, adding and deleting a request parameter, modifying a request path uri, a time anti-theft chain, a referrer anti-theft chain, a UA anti-theft chain, an ip black and white list and the like.
For the functions supported by the CDN node, because the logic implementation manners of different functions are different, the configuration formats are not closely related, which makes it difficult to implement platform delivery, node configuration readability is poor, technical requirements on delivery configuration personnel are high, and node configuration errors due to human factors are likely to occur.
Overall, the existing CDN node configuration method is difficult for the configuration party to configure, and slow in analysis speed for the configuration analysis party.
Disclosure of Invention
In view of this, the present invention provides a method, an apparatus, an electronic device and a system for configuring a node function, which can reduce the difficulty of configuring a CDN node and increase the speed of configuration analysis.
In a first aspect, an embodiment of the present invention provides a method for configuring a node function, where the method is applied to a terminal, and the terminal is in communication connection with a preset management server, and the method includes: selecting a target function module matched with the service function requirement from a preset function module library according to the service function requirement of the target node; wherein each functional module in the functional module library has a designated function; data required for executing the specified function is packaged in a preset data structure in the functional module; generating the function configuration of the target node according to the target function module; and sending the function configuration to the management server so as to send the function configuration to a target node through the management server.
In an alternative embodiment of the present invention, the data structure includes a name of the specified function, and at least one conditional action group corresponding to the name; the condition action group comprises a trigger condition of the specified function and an execution action after the specified function is triggered.
In an alternative embodiment of the invention, the specified function is triggered by: and calling a preset condition interface, determining whether the triggering condition of the specified function is met through the condition interface, and if so, triggering the specified function.
In an optional embodiment of the present invention, more than one trigger condition of the specified function is provided, and the step of determining whether the trigger condition of the specified function is satisfied through the condition interface includes: verifying each trigger condition of the specified function through the condition interface, and determining that the trigger condition of the specified function is met if each trigger condition is verified; otherwise, determining that the triggering condition of the specified function is not met.
In an alternative embodiment of the present invention, the format of the execution action is an array or a table.
In a second aspect, an embodiment of the present invention further provides a node function configuration method, which is applied to a management server, where the management server is in communication connection with a preset terminal, and the method includes: receiving function configuration aiming at a target node sent by the terminal; the terminal selects a target function module matched with the business function requirement from a preset function module library according to the business function requirement of the target node, and generates the function configuration according to the target function module; each function module in the function module library has a designated function; data required for executing the specified function is packaged in a preset data structure in the functional module; analyzing the function configuration; and sending the analyzed configuration to the target node.
In an alternative embodiment of the present invention, the data structure includes a name of the specified function, and at least one conditional action group corresponding to the name; the condition action group comprises a trigger condition of the specified function and an execution action after the specified function is triggered.
In a third aspect, an embodiment of the present invention further provides a node function configuration device, which is applied to a terminal, where the terminal is in communication connection with a preset management server, and the device includes: the target function module selecting unit is used for selecting a target function module matched with the service function requirement from a preset function module library according to the service function requirement of the target node; wherein each functional module in the functional module library has a designated function; data required for executing the specified function is packaged in a preset data structure in the functional module; a functional configuration generating unit, configured to generate a functional configuration of the target node according to the target functional module; and the function configuration sending unit is used for sending the function configuration to the management server so as to send the function configuration to the target node through the management server.
In a fourth aspect, an embodiment of the present invention further provides a node function configuration apparatus, which is applied to a management server, where the management server is in communication connection with a preset terminal, and the apparatus includes: a function configuration receiving unit, configured to receive a function configuration for a target node sent by the terminal; the terminal selects a target function module matched with the business function requirement from a preset function module library according to the business function requirement of the target node, and generates the function configuration according to the target function module; each function module in the function module library has a designated function; data required for executing the specified function is packaged in a preset data structure in the functional module; a function configuration parsing unit for parsing the function configuration; and the configuration issuing unit is used for issuing the analyzed configuration to the target node.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores computer-executable instructions capable of being executed by the processor, and the processor executes the computer-executable instructions to implement the configuration method for the node function.
In a sixth aspect, the embodiments of the present invention also provide a computer-readable storage medium, which stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the configuration method of the node function.
In a seventh aspect, an embodiment of the present invention further provides a node function configuration system, including a terminal and a management server in communication connection with the terminal; the terminal is used for selecting a target function module matched with the service function requirement from a preset function module library according to the service function requirement of a target node, generating the function configuration of the target node according to the target function module and sending the function configuration to the management server; the management server is used for analyzing the function configuration and sending the analyzed configuration to the target node.
The embodiment of the invention has the following beneficial effects:
according to the configuration method, the configuration device, the electronic equipment and the configuration system of the node function, provided by the embodiment of the invention, the target function module matched with the business function requirement is selected from the preset function module library according to the business function requirement of the target node; wherein each functional module in the functional module library has a designated function; data required for executing the specified function is packaged in a preset data structure in the functional module; generating the function configuration of the target node according to the target function module; and sending the function configuration to the management server so as to send the function configuration to a target node through the management server. In the method, various configurable functions are pre-packaged in a unified data structure, so that the modularization of the functions is realized, and a service configuration framework constructed by functional dimensions is formed, so that a customer can quickly and conveniently configure the service function of a target node in a function selection mode based on the service function requirement of the customer on the target node; because the data structures of all functions are completely consistent, the configuration generation party can generate the configuration and the configuration analysis party can analyze the configuration more conveniently, the difficulty of service configuration is reduced, and the speed of configuration analysis is improved.
In addition, the mode also sets the triggering condition of the appointed function corresponding to the function module in the data structure of the function module, and triggers and executes the corresponding action when the triggering condition is met, so as to realize the appointed function, the mode takes the function as the dimension and sets the condition, and a client can select the function first and then select the corresponding condition under the function, so as to combine the service functions meeting the requirement and generate the configuration corresponding to the target node.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a method for configuring a node function according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another node function configuration method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a configuration apparatus for node functions according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another node function configuration apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Icon: 31-a target function module selecting unit; 32-a functional configuration generation unit; 33-a functional configuration transmitting unit; 41-a functional configuration receiving unit; 42-a functional configuration parsing unit; 43-configuring a sending unit; 51-a processor; 52-a memory; 53-bus; 54-communication interface.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In consideration of the problems that the configuration difficulty is high for a configuration party and the resolution speed is low for a configuration resolution party in the conventional service function configuration mode of the CDN node, the method, the apparatus, the electronic device and the system for configuring a node function provided in the embodiments of the present invention may be applied to various scenarios of performing service function configuration on the CDN node. For the convenience of understanding the present embodiment, a detailed description will be first given of a configuration method of a node function disclosed in the present embodiment.
Referring to fig. 1, a flow chart of a configuration method of a node function is shown, wherein the method is applied to a terminal, and the terminal is in communication connection with a preset management server, as seen in fig. 1, the method includes the following steps:
step S102: selecting a target function module matched with the service function requirement from a preset function module library according to the service function requirement of the target node; wherein each functional module in the functional module library has a designated function; the data required to perform the specified function is encapsulated in a predetermined data structure in the functional module.
In one application scenario, the management server is a management node of a CDN network service provider, the terminal is a service function configuration platform on a client side, and a client sets function configuration for a target node through the terminal according to a requirement of a service function of the client, and the management node issues the function configuration set by the client to the target node, thereby implementing configuration of a node service function by the client. The terminal can be a computer, a mobile phone, a tablet computer, a notebook computer and the like.
In this embodiment, a function module library is pre-constructed, where the function module library has a plurality of function modules, each function module corresponds to a specific function, and the function modules can be selected by a customer to meet the requirement for the service function of a target node. In one possible implementation, a functional module may correspond to a function, for example: modify request path uri, modify time hotlink, modify ip blacklist, add request parameters, delete header, etc.
And for each functional module in the functional module library, the data required for executing the corresponding specified function is encapsulated in a preset data structure in the functional module. That is, all the function modules have a unified data structure, so that all the functions are contracted into a unified template, and the configuration logic ideas of different functions are completely unified by applying the unified template. Therefore, the configuration generating party can generate the service function configuration more conveniently, and the configuration reading party can analyze the configuration conveniently.
In one possible implementation, the data structure may include a name of the specified function, and at least one conditional action group corresponding to the name; the condition action group comprises a trigger condition of the specified function and an execution action after the specified function is triggered.
For example, the data structure of a functional module is encapsulated in the following format:
Figure BDA0002849446080000071
in the above example, the "instruction name" is a name of the specified function, and includes 3 conditional action groups, each of which includes a trigger condition: corresponding { [ "condition" ] { }, further comprising performing the action: corresponding to [ "pm" ] { }.
In practical operation, whether the plurality of conditional action groups in the functional model are executed in sequence or only the first conditional action group satisfying the condition in the plurality of conditional actions may be determined according to different functional module types, and is not limited herein.
Step S104: and generating the function configuration of the target node according to the target function module.
And generating the function configuration of the target node on the terminal side according to the selected target function module, wherein the generated function configuration is generally the superposition of the corresponding appointed functions of different target function modules. For example, if the selected target function module includes three modules of modifying the time hotlink, modifying the ip blacklist and adding the request parameter, the correspondingly generated function configuration also includes the above three functions.
Step S106: and sending the function configuration to the management server so as to send the function configuration to a target node through the management server.
The management server comprehensively manages the service configuration of each node in the CDN, and here, the management server receives the service function configuration configured by the client through the terminal and issues the function configuration to the corresponding target node.
In this way, the configuration method of node functions provided by this embodiment implements modularization of functions by pre-encapsulating each configurable function in a unified data structure, and forms a service configuration framework constructed by functional dimensions, so that a customer can quickly and conveniently configure the service function of a target node in a function selection manner based on the service function requirement of the customer on the target node; because the data structures of all functions are completely consistent, the configuration generation party can generate the configuration and the configuration analysis party can analyze the configuration more conveniently, the difficulty of service configuration is reduced, and the speed of configuration analysis is improved.
In practical operation, the operation logic of each conditional action group in the functional module is as follows: if the trigger condition in the conditional action group is satisfied, the action (action instruction) in the conditional action group is triggered to be executed. In at least one possible implementation, a preset condition interface may be called, and whether the trigger condition of the specified function is satisfied is determined through the condition interface; wherein if it is determined that the trigger condition of the specified function is satisfied, the specified function is triggered (an action instruction is executed to implement the specified function); if it is determined that the triggering condition for the specified function is not satisfied, the specified function is not triggered.
In the above manner, all trigger conditions in all condition action groups of the function module are encapsulated in one condition interface, so that different functions can individually call corresponding conditions. For example, all trigger conditions may be packaged in the following format:
Figure BDA0002849446080000081
Figure BDA0002849446080000091
in one application scenario, if there is more than one triggering condition for the specified function, it may be determined whether the triggering condition for the specified function is satisfied by the following steps:
verifying each trigger condition of the specified function through the condition interface, and if each trigger condition passes the verification, determining that the trigger condition of the specified function is met; otherwise, determining that the triggering condition of the specified function is not met.
That is, the trigger conditions of the specified function are in an and relationship with each other, and as long as one trigger condition is verified to be failed, the result is false, so that the specified function is not triggered; and if all the trigger conditions pass the verification, the result is true, and then the corresponding action instruction is executed to trigger the specified function. The trigger condition may be null, and when the trigger condition is null, the default verification is passed.
The format of the execution action in the conditional action group may be as follows:
["pm"]={["key"]="value",["key2"]="value2"}。
it should be noted that the trigger condition (condition) and the execution action (pm) in the condition action group always occur in pairs. Moreover, for a certain conditional action group, the actions corresponding to the trigger conditions in the action command are all packaged in the same execution action pm, and the specific action execution logic can be determined by a developer. The format of the execution action pm is an array or a table, which is used as a corresponding attribute corresponding to the execution of the function, here, the internal attributes of different pm of the function are also different, and the internal attribute of pm only corresponds to the function.
Therefore, by the mode, nesting of functions and conditions is realized, each function corresponds to one function module in each service function frame, each function item is packaged into a data structure with the same format, and accordingly the frame for configuring the service functions is formed by functional dimensions, and the functions are not influenced with each other. And the mode is convenient for parallel expansion of the module functions and parallel expansion of the trigger conditions.
According to the configuration method of the node function provided by the embodiment of the invention, a target function module matched with the service function requirement is selected from a preset function module library according to the service function requirement of a target node; wherein each functional module in the functional module library has a designated function; data required for executing the specified function is packaged in a preset data structure in the functional module; generating the function configuration of the target node according to the target function module; and sending the function configuration to the management server so as to send the function configuration to a target node through the management server. The method enables the client to quickly and conveniently configure the service function of the target node in a function selection mode based on the service function requirement of the client on the target node; because the data structures of all functions are completely consistent, the configuration generation party can generate the configuration and the configuration analysis party can analyze the configuration more conveniently, the difficulty of service configuration is reduced, and the speed of configuration analysis is improved. In addition, the method also sets the triggering condition of the appointed function corresponding to the function module in the data structure of the function module, and triggers and executes the corresponding action when the triggering condition is met, so as to realize the appointed function.
The foregoing embodiment introduces the configuration method of the node function from the terminal side, and this embodiment further describes the application of the configuration method of the node function from the management server side. Fig. 2 is a schematic flow chart of another node function configuration method, where the method is applied to a management server, and the management server is in communication connection with a preset terminal. As can be seen from fig. 2, the method comprises the following steps:
step S202: receiving function configuration aiming at a target node sent by the terminal; the terminal selects a target function module matched with the service function requirement from a preset function module library according to the service function requirement of the target node, and generates the function configuration according to the target function module; each function module in the function module library has a designated function; the data required to perform the specified function is encapsulated in a predetermined data structure in the functional module.
In actual operation, a CDN network service provider may provide a platform for service function configuration for a customer, and the customer logs in the platform at a terminal to perform function configuration, so as to implement function configuration on a target node. In this embodiment, the data structure includes a name of the specified function and at least one conditional action group corresponding to the name; the condition action group comprises a trigger condition of the specified function and an execution action after the specified function is triggered. Specifically, the style of the data structure may refer to the description of the corresponding part in the foregoing embodiments, and is not described herein again.
Step S204: the functional configuration is parsed.
And the management server receives the function configuration aiming at the target node and sent by the terminal, and analyzes the function configuration. Generally, parsing configuration requires separating keys and values in a configuration field, saving the keys in groups of keys, and saving values in groups of values; here, key and value correspond to key and value in the execution action in the conditional action group, respectively.
When the function configuration is analyzed, because the data for executing the specified function of each function module is encapsulated in a unified data structure, the process of analyzing the data structure to obtain the corresponding value of the corresponding key is consistent, and the analysis is more convenient.
Step S206: and issuing the analyzed configuration to the target node.
The management server analyzes the function configuration set by the client through the terminal and then sends the function configuration to the target node, and the target node performs service operation based on the configuration after receiving the function configuration so as to realize the corresponding function.
The method for configuring the node function provided by the embodiment of the invention has the same technical characteristics as the method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
An embodiment of the present invention further provides a node function configuration apparatus corresponding to the node function configuration method shown in fig. 1, and refer to fig. 3, which is a schematic structural diagram of a node function configuration apparatus, where the apparatus is applied to a terminal, and the terminal is in communication connection with a preset management server. As shown in fig. 3, the apparatus includes a target function module selecting unit 31, a function configuration generating unit 32, and a function configuration sending unit 33, which are connected in sequence, where the functions of the units are as follows:
a target function module selecting unit 31, configured to select, according to a service function requirement of a target node, a target function module matching the service function requirement from a preset function module library; wherein each functional module in the functional module library has a designated function; data required for executing the specified function is packaged in a preset data structure in the functional module;
a functional configuration generating unit 32, configured to generate a functional configuration of the target node according to the target functional module;
a function configuration sending unit 33, configured to send the function configuration to the management server, so as to send the function configuration to the target node through the management server.
In one possible implementation, the data structure includes a name of the specified function, and at least one conditional action group corresponding to the name; the condition action group comprises a trigger condition of the specified function and an execution action after the specified function is triggered.
In another possible implementation manner, the apparatus further includes a triggering unit, configured to invoke a preset condition interface, determine whether a triggering condition of the specified function is met through the condition interface, and if so, trigger the specified function.
In another possible embodiment, the number of trigger conditions for the specific function is more than one, and the trigger unit is further configured to: verifying each trigger condition of the specified function through the condition interface, and if each trigger condition passes the verification, determining that the trigger condition of the specified function is met; otherwise, determining that the triggering condition of the specified function is not met.
In another possible embodiment, the format of the execution action is an array or a table.
Corresponding to the method for configuring a node function shown in fig. 2, an embodiment of the present invention further provides another node function configuration apparatus, and referring to fig. 4, a schematic structural diagram of another node function configuration apparatus is shown, where the apparatus is applied to a management server, and the management server is in communication connection with a preset terminal. As shown in fig. 4, the apparatus includes a function configuration receiving unit 41, a function configuration analyzing unit 42, and a configuration issuing unit 43, which are connected in sequence, where the functions of the units are as follows:
a function configuration receiving unit 41, configured to receive a function configuration for the target node sent by the terminal; the terminal selects a target function module matched with the business function requirement from a preset function module library according to the business function requirement of the target node, and generates the function configuration according to the target function module; each function module in the function module library has a designated function; data required for executing the specified function is packaged in a preset data structure in the functional module;
a function configuration parsing unit 42 for parsing the function configuration;
and a configuration issuing unit 43, configured to issue the analyzed configuration to the target node.
In one possible implementation, the data structure includes a name of the specified function, and at least one conditional action group corresponding to the name; the condition action group comprises a trigger condition of the specified function and an execution action after the specified function is triggered.
The implementation principle and the generated technical effect of the configuration device of the node function provided by the embodiment of the present invention are the same as those of the configuration method embodiment of the node function, and for the sake of brief description, no mention is made in the embodiment of the configuration device of the node function, and reference may be made to the corresponding contents in the configuration method embodiment of the node function.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, which is a schematic structural diagram of the electronic device, where the electronic device includes a processor 51 and a memory 52, the memory 52 stores machine executable instructions capable of being executed by the processor 51, and the processor 51 executes the machine executable instructions to implement the configuration method of the node functions.
In the embodiment shown in fig. 5, the electronic device further comprises a bus 53 and a communication interface 54, wherein the processor 51, the communication interface 54 and the memory 52 are connected by the bus.
The Memory 52 may include a Random Access Memory (RAM) and a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 54 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
The processor 51 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 51. The Processor 51 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory, and the processor 51 reads the information in the memory 52, and completes the steps of the configuration method of the node function of the foregoing embodiment in combination with the hardware thereof.
An embodiment of the present invention further provides a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the configuration method of the node function, and specific implementation may refer to the foregoing method embodiment, which is not described herein again.
The embodiment of the invention also provides a configuration system of the node function, which comprises a terminal and a management server in communication connection with the terminal; the terminal is used for selecting a target function module matched with the service function requirement from a preset function module library according to the service function requirement of a target node, generating the function configuration of the target node according to the target function module and sending the function configuration to the management server; the management server is used for analyzing the function configuration and sending the analyzed configuration to the target node. The implementation principle and the generated technical effect of the node function configuration system are the same as those of the foregoing node function configuration method embodiment, and are not described herein again.
The method for configuring a node function, the apparatus for configuring a node function, and the computer program product of the electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method for configuring a node function described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (12)

1. A node function configuration method is applied to a terminal, wherein the terminal is in communication connection with a preset management server, and the method comprises the following steps:
selecting a target function module matched with the service function requirement from a preset function module library according to the service function requirement of a target node; wherein each functional module in the functional module library has a specified function; data required for executing the specified function is packaged in a preset data structure in the functional module;
generating the function configuration of the target node according to the target function module;
and sending the function configuration to the management server so as to send the function configuration to the target node through the management server.
2. The method of claim 1, wherein the data structure comprises a name of the specified function, and at least one set of conditional actions corresponding to the name; the condition action group comprises a trigger condition of the specified function and an execution action triggered by the specified function.
3. The method of claim 2, wherein the specified function is triggered by:
and calling a preset condition interface, determining whether the triggering condition of the specified function is met through the condition interface, and if so, triggering the specified function.
4. The method of claim 3, wherein there is more than one triggering condition for the specified function, and wherein the step of determining whether the triggering condition for the specified function is satisfied via the condition interface comprises:
verifying each trigger condition of the specified function through the condition interface, and if each trigger condition passes the verification, determining that the trigger condition of the specified function is met; otherwise, determining that the triggering condition of the specified function is not met.
5. The method of claim 3, wherein the execution action is in the form of an array or a table.
6. A node function configuration method is applied to a management server, wherein the management server is in communication connection with a preset terminal, and the method comprises the following steps:
receiving function configuration aiming at a target node sent by the terminal; the terminal selects a target function module matched with the service function requirement from a preset function module library according to the service function requirement of the target node, and generates the function configuration according to the target function module; each functional module in the functional module library has a designated function; data required for executing the specified function is packaged in a preset data structure in the functional module;
analyzing the function configuration;
and sending the analyzed configuration to the target node.
7. The method of claim 6, wherein the data structure comprises a name of the specified function, and at least one set of conditional actions corresponding to the name; the condition action group comprises a trigger condition of the specified function and an execution action triggered by the specified function.
8. A configuration device of node function is applied to a terminal, wherein the terminal is in communication connection with a preset management server, and the device comprises:
the target function module selecting unit is used for selecting a target function module matched with the service function requirement from a preset function module library according to the service function requirement of a target node; wherein each functional module in the functional module library has a specified function; data required for executing the specified function is packaged in a preset data structure in the functional module;
a function configuration generating unit, configured to generate a function configuration of the target node according to the target function module;
and the function configuration sending unit is used for sending the function configuration to the management server so as to send the function configuration to the target node through the management server.
9. A configuration device of node function is applied to a management server, wherein the management server is in communication connection with a preset terminal, and the device comprises:
a function configuration receiving unit, configured to receive a function configuration for a target node sent by the terminal; the terminal selects a target function module matched with the service function requirement from a preset function module library according to the service function requirement of the target node, and generates the function configuration according to the target function module; each functional module in the functional module library has a designated function; data required for executing the specified function is packaged in a preset data structure in the functional module;
a function configuration analyzing unit for analyzing the function configuration;
and the configuration issuing unit is used for issuing the analyzed configuration to the target node.
10. An electronic device, comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement a method of configuring a node function of any one of claims 1 to 7.
11. A computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to carry out a method of configuring a node function according to any one of claims 1 to 7.
12. A configuration system of node functions is characterized by comprising a terminal and a management server in communication connection with the terminal;
the terminal is used for selecting a target function module matched with the service function requirement from a preset function module library according to the service function requirement of a target node, generating the function configuration of the target node according to the target function module and sending the function configuration to the management server;
and the management server is used for analyzing the function configuration and sending the analyzed configuration to the target node.
CN202011522538.0A 2020-12-21 2020-12-21 Configuration method, device, electronic equipment and system of node function Active CN114650224B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011522538.0A CN114650224B (en) 2020-12-21 2020-12-21 Configuration method, device, electronic equipment and system of node function
PCT/CN2021/127129 WO2022134849A1 (en) 2020-12-21 2021-10-28 Node function configuration method, apparatus, and system, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011522538.0A CN114650224B (en) 2020-12-21 2020-12-21 Configuration method, device, electronic equipment and system of node function

Publications (2)

Publication Number Publication Date
CN114650224A true CN114650224A (en) 2022-06-21
CN114650224B CN114650224B (en) 2023-06-30

Family

ID=81992380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011522538.0A Active CN114650224B (en) 2020-12-21 2020-12-21 Configuration method, device, electronic equipment and system of node function

Country Status (2)

Country Link
CN (1) CN114650224B (en)
WO (1) WO2022134849A1 (en)

Citations (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7493624B1 (en) * 2003-12-30 2009-02-17 Sap Ag Management architecture and method employed within a clustered node configuration
CN101478719A (en) * 2009-01-20 2009-07-08 中兴通讯股份有限公司 Configuration method and apparatus for service management system
CN102279734A (en) * 2010-06-12 2011-12-14 环旭电子股份有限公司 Automatic data mapping embedded system and method thereof
CN102594588A (en) * 2012-01-19 2012-07-18 中兴通讯股份有限公司 Method and system for managing web function module
CN103281202A (en) * 2013-05-21 2013-09-04 上海寰创通信科技股份有限公司 System of browser/server architecture and front-end presentation method of system
CN103543993A (en) * 2012-07-11 2014-01-29 深圳市华高软件科技有限公司 Application program building method and system
US20140040290A1 (en) * 2011-04-20 2014-02-06 Huawei Device Co., Ltd. Data Interface Configuration Method and Terminal Device
CN105871890A (en) * 2016-05-16 2016-08-17 中国联合网络通信集团有限公司 IMS service building method and device
US20170142120A1 (en) * 2015-11-16 2017-05-18 Le Holdings (Beijing) Co., Ltd. Method for detecting operations of function management and configuration server, legitimate client, content delivery network (cdn) node, and system
CN106990965A (en) * 2017-03-31 2017-07-28 合肥民众亿兴软件开发有限公司 A kind of software platform and its development approach
WO2017132947A1 (en) * 2016-02-04 2017-08-10 华为技术有限公司 Method for acquiring security parameters of to-be-transmitted service, signalling management network element, security function node and transmitting terminal
CN107959580A (en) * 2016-10-17 2018-04-24 中兴通讯股份有限公司 The method and apparatus of configuration service
CA3050205A1 (en) * 2017-01-13 2018-07-19 Telefonaktiebolaget Lm Ericsson (Publ) Bulk creation of managed functions in a network that includes virtualized network function
US20180367387A1 (en) * 2017-06-19 2018-12-20 Cisco Technology, Inc. Identifying components for removal in a network configuration
CN109218060A (en) * 2017-07-07 2019-01-15 中兴通讯股份有限公司 A kind of method and device of business configuration driving flow table
CN109525414A (en) * 2017-09-20 2019-03-26 中兴通讯股份有限公司 The management method of CDN network virtualization of function, apparatus and system
CN109597661A (en) * 2018-10-26 2019-04-09 阿里巴巴集团控股有限公司 A kind of service function configuration method and device
CN109636301A (en) * 2018-10-16 2019-04-16 深圳壹账通智能科技有限公司 Workflow configuration method, system, terminal and the readable storage medium storing program for executing of financial business
CN110175027A (en) * 2019-05-14 2019-08-27 广州衡昊数据科技有限公司 A kind of method and apparatus for developing business function
EP3609128A1 (en) * 2018-08-07 2020-02-12 Siemens Aktiengesellschaft Communication system, provider node, communication node and method for providing a virtual network function to a customer node
CN110851114A (en) * 2019-10-24 2020-02-28 山东中创软件工程股份有限公司 Business system development method and device, electronic equipment and storage medium
CN111090451A (en) * 2019-11-08 2020-05-01 贝壳技术有限公司 Service configuration method, device and storage medium
CN111240763A (en) * 2020-01-13 2020-06-05 广州虎牙科技有限公司 Configuration updating method, device, equipment and storage medium
CN111399835A (en) * 2020-03-17 2020-07-10 中国建设银行股份有限公司 Service stripping method and device for WEB front-end project
CN111580884A (en) * 2020-04-30 2020-08-25 北京金山云网络技术有限公司 Configuration updating method and device, server and electronic equipment
CN111628895A (en) * 2020-05-28 2020-09-04 苏州浪潮智能科技有限公司 Configuration data synchronization method, device, equipment and readable storage medium
CN111666219A (en) * 2020-06-10 2020-09-15 中国工商银行股份有限公司 Method and device for verifying service function, computer system and storage medium
CN111752594A (en) * 2020-06-23 2020-10-09 深圳壹账通智能科技有限公司 Data processing method based on business module and related equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190220796A1 (en) * 2015-08-22 2019-07-18 Salim B. KHALIL Automated, integrated and complete computer program/project management solutions standardizes and optimizes management processes and procedures utilizing customizable and flexible systems and methods
CN109525626A (en) * 2017-09-20 2019-03-26 中兴通讯股份有限公司 The management method of CDN network virtualization of function, apparatus and system
CN110333856B (en) * 2019-07-08 2023-06-16 政采云有限公司 System and method for generating service programmable online template
CN110609732B (en) * 2019-08-13 2023-02-07 平安普惠企业管理有限公司 Application program deployment method and device, computer equipment and storage medium

Patent Citations (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7493624B1 (en) * 2003-12-30 2009-02-17 Sap Ag Management architecture and method employed within a clustered node configuration
CN101478719A (en) * 2009-01-20 2009-07-08 中兴通讯股份有限公司 Configuration method and apparatus for service management system
CN102279734A (en) * 2010-06-12 2011-12-14 环旭电子股份有限公司 Automatic data mapping embedded system and method thereof
US20140040290A1 (en) * 2011-04-20 2014-02-06 Huawei Device Co., Ltd. Data Interface Configuration Method and Terminal Device
CN102594588A (en) * 2012-01-19 2012-07-18 中兴通讯股份有限公司 Method and system for managing web function module
CN103543993A (en) * 2012-07-11 2014-01-29 深圳市华高软件科技有限公司 Application program building method and system
CN103281202A (en) * 2013-05-21 2013-09-04 上海寰创通信科技股份有限公司 System of browser/server architecture and front-end presentation method of system
US20170142120A1 (en) * 2015-11-16 2017-05-18 Le Holdings (Beijing) Co., Ltd. Method for detecting operations of function management and configuration server, legitimate client, content delivery network (cdn) node, and system
WO2017132947A1 (en) * 2016-02-04 2017-08-10 华为技术有限公司 Method for acquiring security parameters of to-be-transmitted service, signalling management network element, security function node and transmitting terminal
CN105871890A (en) * 2016-05-16 2016-08-17 中国联合网络通信集团有限公司 IMS service building method and device
CN107959580A (en) * 2016-10-17 2018-04-24 中兴通讯股份有限公司 The method and apparatus of configuration service
CA3050205A1 (en) * 2017-01-13 2018-07-19 Telefonaktiebolaget Lm Ericsson (Publ) Bulk creation of managed functions in a network that includes virtualized network function
CN106990965A (en) * 2017-03-31 2017-07-28 合肥民众亿兴软件开发有限公司 A kind of software platform and its development approach
US20180367387A1 (en) * 2017-06-19 2018-12-20 Cisco Technology, Inc. Identifying components for removal in a network configuration
CN109218060A (en) * 2017-07-07 2019-01-15 中兴通讯股份有限公司 A kind of method and device of business configuration driving flow table
CN109525414A (en) * 2017-09-20 2019-03-26 中兴通讯股份有限公司 The management method of CDN network virtualization of function, apparatus and system
EP3609128A1 (en) * 2018-08-07 2020-02-12 Siemens Aktiengesellschaft Communication system, provider node, communication node and method for providing a virtual network function to a customer node
CN109636301A (en) * 2018-10-16 2019-04-16 深圳壹账通智能科技有限公司 Workflow configuration method, system, terminal and the readable storage medium storing program for executing of financial business
CN109597661A (en) * 2018-10-26 2019-04-09 阿里巴巴集团控股有限公司 A kind of service function configuration method and device
CN110175027A (en) * 2019-05-14 2019-08-27 广州衡昊数据科技有限公司 A kind of method and apparatus for developing business function
CN110851114A (en) * 2019-10-24 2020-02-28 山东中创软件工程股份有限公司 Business system development method and device, electronic equipment and storage medium
CN111090451A (en) * 2019-11-08 2020-05-01 贝壳技术有限公司 Service configuration method, device and storage medium
CN111240763A (en) * 2020-01-13 2020-06-05 广州虎牙科技有限公司 Configuration updating method, device, equipment and storage medium
CN111399835A (en) * 2020-03-17 2020-07-10 中国建设银行股份有限公司 Service stripping method and device for WEB front-end project
CN111580884A (en) * 2020-04-30 2020-08-25 北京金山云网络技术有限公司 Configuration updating method and device, server and electronic equipment
CN111628895A (en) * 2020-05-28 2020-09-04 苏州浪潮智能科技有限公司 Configuration data synchronization method, device, equipment and readable storage medium
CN111666219A (en) * 2020-06-10 2020-09-15 中国工商银行股份有限公司 Method and device for verifying service function, computer system and storage medium
CN111752594A (en) * 2020-06-23 2020-10-09 深圳壹账通智能科技有限公司 Data processing method based on business module and related equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王海林;张德进;许海清;庄哲寅;: "基于SOA架构的业务流程管理系统设计与实现", 电力信息化, no. 07 *

Also Published As

Publication number Publication date
CN114650224B (en) 2023-06-30
WO2022134849A1 (en) 2022-06-30

Similar Documents

Publication Publication Date Title
CN111400722B (en) Method, apparatus, computer device and storage medium for scanning small program
US20130019314A1 (en) Interactive virtual patching using a web application server firewall
WO2021073202A1 (en) Intelligent contract processing method, computer device and storage medium
CN110275831B (en) Mock data verification method and device of protocol interface
US11856426B2 (en) Network analytics
CN111106899B (en) Data verification method and device in Internet of things, computer equipment and storage medium
CN116155771A (en) Network anomaly test method, device, equipment, storage medium and program
CN113010378B (en) Log processing method and device of microservice module, storage medium and electronic device
CN108769743B (en) Video playing control method, system, node and computer storage medium
CN114979103A (en) Open API integration and management method and computer equipment
CN113190513A (en) Data integration system and method
CN112188247A (en) Data transmission method, device, equipment and computer readable storage medium
US20090300049A1 (en) Verification of integrity of computing environments for safe computing
Wang et al. Internet of things
CN110908910B (en) Block chain-based test monitoring method and device and readable storage medium
WO2024007965A1 (en) Service rule detection method and device, electronic device, and storage medium
CN114650224B (en) Configuration method, device, electronic equipment and system of node function
CN113254210A (en) OFD file signature verification method, system and equipment based on cloud service
CN115208695B (en) Black box safety scanning method, device and system and electronic equipment
CN108737350B (en) Information processing method and client
CN115904317A (en) Method, device, equipment and storage medium for uniformly calling front-end interface and back-end interface
CN115202800A (en) Edge cloud service data processing method and device, computer equipment and storage medium
CN112235367A (en) Method, system, terminal and storage medium for subscribing entity behavior relation message
CN117597685A (en) Timeliness of remote attestation process
US20220358003A1 (en) Data Management Method, Apparatus, and Device, Computer-Readable Storage Medium, and System

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