CN114650224B - Configuration method, device, electronic equipment and system of node function - Google Patents

Configuration method, device, electronic equipment and system of node function Download PDF

Info

Publication number
CN114650224B
CN114650224B CN202011522538.0A CN202011522538A CN114650224B CN 114650224 B CN114650224 B CN 114650224B CN 202011522538 A CN202011522538 A CN 202011522538A CN 114650224 B CN114650224 B CN 114650224B
Authority
CN
China
Prior art keywords
function
configuration
target
node
specified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011522538.0A
Other languages
Chinese (zh)
Other versions
CN114650224A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a node function configuration method, a node function configuration device, electronic equipment and a node function configuration system, wherein the method comprises the steps of selecting a target function module matched with service function requirements from a preset function module library according to the service function requirements of a target node; each function module in the function module library has a specified function; the data required for executing the specified function is encapsulated in a preset data structure in the function module; generating the function configuration of the target node according to the target function module; the functional configuration is sent to the management server for delivery to the target node via the management server. According to the embodiment of the invention, the configurable functions are pre-packaged in the unified data structure, so that the modularization of the functions is realized, a client can select the corresponding function module based on the service function requirement, and the service function of the target node can be configured rapidly; because the data structure of each function is completely consistent, the difficulty of configuration and analysis configuration is reduced.

Description

Configuration method, device, electronic equipment and system of node function
Technical Field
The present invention relates to the field of CDN technologies, and in particular, to a method, an apparatus, an electronic device, and a system for configuring a node function.
Background
The existing CDN has various service functions, and the basic functions comprise: adding and deleting headers, adding and deleting request parameters, modifying request paths uri, time anti-theft chains, reference anti-theft chains, UA anti-theft chains, ip black and white lists and the like.
For the functions supported by the CDN nodes, as different logic implementation modes of different functions are different, the configuration formats are not closely related, so that the platform issuing is difficult to realize, the node configuration readability is poor, the technical requirements on personnel issuing the configuration are high, and node configuration errors caused by human factors are easy to occur.
Overall, the existing CDN node configuration method has a relatively high configuration difficulty for the configurator and a relatively low resolution speed for the configurator.
Disclosure of Invention
Accordingly, the present invention is directed to 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 communicatively connected to a preset management server, where 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 function module in the function module library has a specified function; the data required for executing the specified function is encapsulated in a preset data structure in the function module; generating a 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 conditional action group comprises a triggering condition of the appointed function and an execution action after the appointed function is triggered.
In an alternative embodiment of the invention, the designated 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 alternative embodiment of the present invention, the step of determining, through the condition interface, whether the triggering condition of the specified function is satisfied includes: verifying each triggering condition of the specified function through the condition interface, and determining that the triggering condition of the specified function is met if each triggering condition is verified; otherwise, determining that the triggering condition of the specified function is not satisfied.
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 method for configuring a node function, where the method is applied to a management server, and the management server is communicatively connected with a preset terminal, and the method includes: receiving the function configuration for the target node sent by the terminal; the function configuration is generated by the terminal according to the target function module, selecting a target function module matched with the service function requirement from a preset function module library and generating the target function module according to the service function requirement of the target node; each function module in the function module library has a specified function; the data required for executing the specified function is encapsulated in a preset data structure in the function module; parsing the functional configuration; and issuing 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 conditional action group comprises a triggering condition of the appointed function and an execution action after the appointed function is triggered.
In a third aspect, an embodiment of the present invention further provides a device for configuring a node function, where the device is applied to a terminal, and the terminal is connected with a preset management server in a communication manner, where 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 function module in the function module library has a specified function; the data required for executing the specified function is encapsulated in a preset data structure in the function 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.
In a fourth aspect, an embodiment of the present invention further provides a device for configuring a node function, where the device is applied to a management server, and the management server is communicatively connected to a preset terminal, and the device includes: a function configuration receiving unit, configured to receive a function configuration for a target node sent by the terminal; the function configuration is generated by the terminal according to the target function module, selecting a target function module matched with the service function requirement from a preset function module library and generating the target function module according to the service function requirement of the target node; each function module in the function module library has a specified function; the data required for executing the specified function is encapsulated in a preset data structure in the function 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.
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 that can be executed by the processor, and the processor executes the computer executable instructions to implement a configuration method of the node function described above.
In a sixth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement a method of configuring the above-described node functionality.
In a seventh aspect, the embodiment of the present invention further provides a system for configuring a node function, including a terminal and a management server communicatively connected to 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 the target node, generating a 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 issuing the analyzed configuration to the target node.
The embodiment of the invention has the following beneficial effects:
according to the configuration method, the device, the electronic equipment and the system for the node function, which are provided by the embodiment of the invention, according to the service function requirement of the target node, a target function module matched with the service function requirement is selected from a preset function module library; wherein each function module in the function module library has a specified function; the data required for executing the specified function is encapsulated in a preset data structure in the function module; generating a 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 mode, each configurable function is pre-packaged in a unified data structure, so that function modularization is realized, a service configuration framework constructed by function dimension is formed, and a client can rapidly and conveniently configure the service function of a target node in a function selection mode based on the service function requirement of the client on the target node; because the data structure of each function is completely consistent, the configuration generator is more convenient to generate the configuration and the configuration analyzer analyzes the configuration, thereby reducing the difficulty of service configuration and improving the speed of configuration analysis.
In addition, the method also sets the triggering condition of the designated 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 that the designated function is realized.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part will be obvious from the description, or may be learned by practice of the techniques of the disclosure.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a method for configuring a node function according to an embodiment of the present invention;
fig. 2 is a flow chart of another configuration method of node functions according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a configuration device for node functions according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another configuration device for node functions 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 selection unit; 32-a functional configuration generating unit; 33-a function configuration transmitting unit; 41-a functional configuration receiving unit; 42-a function configuration analysis unit; 43-configuring a issuing unit; 51-a processor; 52-a memory; 53-bus; 54-communication interface.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Considering the problem that the configuration difficulty is high for the configuration party and the resolution speed is low for the configuration resolution party in the conventional service function configuration mode of the CDN node, the method, the device, the electronic equipment and the system for configuring the node function can be applied to various scenes for configuring the service function of the CDN node. For the sake of understanding the present embodiment, first, a method for configuring a node function disclosed in the present embodiment is described in detail.
Referring to fig. 1, a flow chart of a method for configuring 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 can be seen from 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 function module in the function module library has a specified function; the data required to perform the specified function is encapsulated in a preset 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 of a client side, a client sets a 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, so that the configuration of the node service function by the client is realized. 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-built, where the function module library has a plurality of function modules, each function module corresponds to a specified function, and these function modules can be selected by a customer to meet the requirements for the service functions of the target node. In one possible embodiment, a functional module may correspond to a function, for example: modifying request paths uri, modifying time hotlinking, modifying ip black-and-white lists, adding request parameters, deleting headers, etc.
And, for each function module in the function module library, the data required for executing the corresponding designated function is encapsulated in a preset data structure in the function module. That is, all the functional modules have a uniform data structure, so that all the functions are contracted into a uniform template, and the configuration logic ideas of different functions are completely uniform by applying the uniform template. Thus, the service function configuration can be generated more conveniently by the configuration generator, and the configuration can be analyzed conveniently by the configuration interpreter.
In one possible implementation manner, the data structure may include a name of the specified function and at least one conditional action group corresponding to the name; the conditional action group comprises a triggering condition of the appointed function and an execution action after the appointed function is triggered.
For example, the data structure of a functional module is packaged as follows:
Figure BDA0002849446080000071
in the above example, the "instruction name" is the name of the specified function, and in this example, includes 3 conditional action groups, each of which includes a trigger condition: corresponding { [ "condition" ] = { }, further comprising performing an action: corresponding to [ "pm" ] = { }.
In actual operation, it may be determined, according to different function module types, whether the plurality of conditional action groups in the function model are executed sequentially or only the first conditional action group satisfying the condition among the plurality of conditional actions is executed, which 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 at the terminal side according to the selected target function modules, wherein the generated function configuration is generally superposition of the specified functions corresponding to different target function modules. For example, assuming that the selected target function module includes three modules of modifying the time hotlink, modifying the ip black-and-white list, and adding the request parameter, the corresponding generated function configuration also includes the 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 overall manages the service configuration of each node in the CDN network, wherein 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 the node function provided in this embodiment, by pre-encapsulating each configurable function in a unified data structure, realizes function modularization, forms a service configuration framework constructed by function dimensions, so that a client can quickly and conveniently configure the service function of the target node in a function selection manner based on the service function requirement of the client on the target node; because the data structure of each function is completely consistent, the configuration generator is more convenient to generate the configuration and the configuration analyzer analyzes the configuration, thereby reducing the difficulty of service configuration and improving the speed of configuration analysis.
In actual 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 execution of the action (action instruction) in the conditional action group is triggered. In at least one possible implementation, a preset condition interface may be invoked, and whether the triggering condition of the specified function is satisfied is determined through the condition interface; wherein the specified function is triggered (an action instruction is executed to implement the specified function) if it is determined that the trigger condition of the specified function is satisfied; if it is determined that the trigger condition of 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 functional module are encapsulated in one condition interface, so that different functions can call corresponding conditions independently. For example, all trigger conditions may be packaged in the following format:
Figure BDA0002849446080000081
Figure BDA0002849446080000091
in one of the application scenarios, if the triggering condition of the specified function is more than one, it may be determined whether the triggering condition of the specified function is satisfied by:
verifying each triggering condition of the specified function through the condition interface, and determining that the triggering condition of the specified function is met if each triggering condition is verified; otherwise, determining that the triggering condition of the specified function is not satisfied.
That is, for each trigger condition of the specified function, the trigger conditions 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; only if all the triggering conditions are verified, the result is true, and then the corresponding action instruction is executed to trigger the appointed function. The trigger condition may be null, and when 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"}。
the trigger condition (condition) and the execution action (pm) in the conditional action group always appear in pairs. In addition, for a certain conditional action group, actions corresponding to the trigger conditions in the action instructions are all packaged in the same execution action pm, and specific action execution logic can be determined by a developer. The execution action pm is in the form of an array or a table, which is used as a corresponding attribute of the corresponding function execution, and here, the internal attributes of different pm are different, and the internal attributes of pm only correspond to the functions of the different pm.
Thus, by the method, the nesting of functions and conditions is realized, in each business function frame, each function corresponds to one function module, and each function item is packaged into a data structure with the same format, so that the frame for configuring the business functions is formed by function dimensions, and the functions do not influence each other. Moreover, the mode is convenient for parallel expansion of module functions and parallel expansion of triggering conditions.
According to the configuration method of the node function, 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 the target node; wherein each function module in the function module library has a specified function; the data required for executing the specified function is encapsulated in a preset data structure in the function module; generating a 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 rapidly 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 structure of each function is completely consistent, the configuration generator is more convenient to generate the configuration and the configuration analyzer analyzes the configuration, thereby reducing the difficulty of service configuration and improving the speed of configuration analysis. In addition, the method also sets the triggering condition of the designated 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 designated function.
The foregoing embodiment introduces a method for configuring a node function from a terminal side, and this embodiment further describes an application of the method for configuring a node function from a management server side. Fig. 2 is a flow chart of another method for configuring node functions, where the method is applied to a management server, and the management server is communicatively connected to a preset terminal. As can be seen from fig. 2, the method comprises the steps of:
step S202: receiving the function configuration for the target node sent by the terminal; the function configuration is generated by the terminal according to the target function module, selecting a target function module matched with the service function requirement from a preset function module library and generating the target function module according to the service function requirement of the target node; each function module in the function module library has a specified function; the data required to perform the specified function is encapsulated in a preset data structure in the functional module.
In actual operation, the CDN network service provider may provide a platform for service function configuration for the customer, and the customer logs in to the platform at the terminal to perform function configuration to implement function configuration for the 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 conditional action group comprises a triggering condition of the appointed function and an execution action after the appointed function is triggered. Specifically, the style of the data structure may refer to the description of the corresponding portion in the foregoing embodiment, which is not repeated here.
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. In general, parsing configuration requires separating keys and values in configuration fields, storing the keys in array keys, and storing values in array values; the key and the value here correspond to the key and the 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 packaged in a unified data structure, the process of analyzing the data structure to obtain the corresponding value of the corresponding key is consistent, so that 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 configuration method of 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.
Corresponding to the configuration method of the node function shown in fig. 1, the embodiment of the invention also provides a configuration device of the node function, referring to fig. 3, which is a schematic structural diagram of the configuration device of the node function, wherein the device is applied to a terminal, and the terminal is in communication connection with a preset management server. As can be seen from fig. 3, the apparatus comprises a target function module selecting unit 31, a function configuration generating unit 32 and a function configuration transmitting unit 33, which are connected in sequence, wherein the functions of the respective units are as follows:
the target function module selecting unit 31 is 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 function module in the function module library has a specified function; the data required for executing the specified function is encapsulated in a preset data structure in the function module;
a function configuration generating unit 32, configured to generate a function configuration of the target node according to the target function 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 manner, the data structure includes a name of the specified function and at least one conditional action group corresponding to the name; the conditional action group comprises a triggering condition of the appointed function and an execution action after the appointed function is triggered.
In another possible implementation manner, the device further comprises a triggering unit, configured to invoke a preset condition interface, determine, through the condition interface, whether a triggering condition of the specified function is met, and if yes, trigger the specified function.
In another possible embodiment, the triggering conditions of the above specified functions are more than one, and the triggering unit is further configured to: verifying each triggering condition of the specified function through the condition interface, and determining that the triggering condition of the specified function is met if each triggering condition is verified; otherwise, determining that the triggering condition of the specified function is not satisfied.
In another possible implementation, the format of the execution actions is an array or a table.
Corresponding to the configuration method of the node function shown in fig. 2, the embodiment of the invention also provides another configuration device of the node function, referring to fig. 4, which is a schematic structural diagram of another configuration device of the node function, wherein the device is applied to a management server, and the management server is in communication connection with a preset terminal. As can be seen from fig. 4, the apparatus comprises a functional configuration receiving unit 41, a functional configuration analyzing unit 42 and a configuration issuing unit 43, which are connected in sequence, wherein the functions of the respective units are as follows:
a function configuration receiving unit 41, configured to receive a function configuration for a target node sent by the terminal; the function configuration is generated by the terminal according to the target function module, selecting a target function module matched with the service function requirement from a preset function module library and generating the target function module according to the service function requirement of the target node; each function module in the function module library has a specified function; the data required for executing the specified function is encapsulated in a preset data structure in the function module;
a function configuration parsing unit 42 for parsing the function configuration;
the configuration issuing unit 43 is configured to issue the parsed configuration to the target node.
In one possible implementation manner, the data structure includes a name of the specified function and at least one conditional action group corresponding to the name; the conditional action group comprises a triggering condition of the appointed function and an execution action after the appointed function is triggered.
The implementation principle and the generated technical effects of the configuration device for the node function provided by the embodiment of the invention are the same as those of the embodiment of the configuration method for the node function, and for the sake of brief description, reference may be made to corresponding contents in the embodiment of the configuration method for the node function where the embodiment of the configuration device for the node function is not mentioned.
The 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, and the memory 52 stores machine executable instructions that can be executed by the processor 51, and the processor 51 executes the machine executable instructions to implement a configuration method of the node function.
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 means of the bus.
The memory 52 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 54 (which may be wired or wireless), which may use the internet, a wide area network, a local network, a metropolitan area network, etc. The bus may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 5, but not only one bus or type of bus.
The processor 51 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 51 or by instructions in the form of software. The processor 51 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but may also be a digital signal processor (Digital Signal Processing, DSP for short), application specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks 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 embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor 51 reads the information in the memory 52, and in combination with its hardware, performs the steps of the configuration method of the node function of the foregoing embodiment.
The embodiment of the invention also provides a machine-readable storage medium, which stores machine-executable instructions that, when being called and executed by a processor, cause the processor to implement the configuration method of the node function, and the specific implementation can be found in the foregoing method embodiment, which is not repeated herein.
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 the target node, generating a 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 issuing the analyzed configuration to the target node. The implementation principle and the technical effects of the configuration system of the node function are the same as those of the foregoing embodiment of the configuration method of the node function, and are not described herein again.
The method for configuring a node function, the device for configuring a node function, and the computer program product of the electronic device provided by the embodiments of the present invention include a computer readable storage medium storing program codes, where instructions included in the program codes may be used to execute the method for configuring a node function described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
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 this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific 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 examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A method for configuring a node function, which 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 the target node; wherein each function module in the function module library has a specified function; the data required for executing the specified function are encapsulated in a preset data structure in the function module; all the functional modules have a unified data structure;
generating the function configuration of the target node according to the target function module; when the target function modules are multiple, the generated functions are configured as superposition of the specified functions corresponding to different target function modules;
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 includes a name of the specified function and at least one conditional action group corresponding to the name; the conditional action group comprises a triggering condition of the specified function and an executing action after the specified function is triggered.
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 or not through the condition interface, and if yes, triggering the specified function.
4. A method according to claim 3, wherein the step of determining, via the condition interface, whether the trigger condition of the specified function is met, includes:
verifying each triggering condition of the specified function through the condition interface, and determining that the triggering condition of the specified function is met if each triggering condition is verified; otherwise, determining that the triggering condition of the specified function is not satisfied.
5. A method according to claim 3, wherein the format in which the action is performed is an array or a table.
6. A method for configuring a node function, which 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 the function configuration for the target node sent by the terminal; the function configuration is generated by the terminal according to the service function requirements of the target node, selecting a target function module matched with the service function requirements from a preset function module library and generating according to the target function module; each function module in the function module library has a specified function; the data required for executing the specified function are encapsulated in a preset data structure in the function module; all the functional modules have a unified data structure; when the target function modules are multiple, the generated functions are configured as superposition of the specified functions corresponding to different target function modules;
analyzing the function configuration;
and issuing the analyzed configuration to the target node.
7. The method of claim 6, wherein the data structure includes a name of the specified function and at least one conditional action group corresponding to the name; the conditional action group comprises a triggering condition of the specified function and an executing action after the specified function is triggered.
8. A configuration device of a node function, which is applied to a terminal, the terminal is in communication connection with a preset management server, 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 the target node; wherein each function module in the function module library has a specified function; the data required for executing the specified function are encapsulated in a preset data structure in the function module; all the functional modules have a unified data structure;
a function configuration generating unit, configured to generate a function configuration of the target node according to the target function module; when the target function modules are multiple, the generated functions are configured as superposition of the specified functions corresponding to different target function modules;
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 a node function, which is applied to a management server, wherein the management server is in communication connection with a preset terminal, and the device comprises:
a functional configuration receiving unit, configured to receive a functional configuration for a target node sent by the terminal; the function configuration is generated by the terminal according to the service function requirements of the target node, selecting a target function module matched with the service function requirements from a preset function module library and generating according to the target function module; each function module in the function module library has a specified function; the data required for executing the specified function are encapsulated in a preset data structure in the function module; all the functional modules have a unified data structure; when the target function modules are multiple, the generated functions are configured as superposition of the specified functions corresponding to different target function modules;
a function configuration analysis 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 the method of configuring the node functionality of any one of claims 1 to 7.
11. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of configuring node functions of any one of claims 1 to 7.
12. The configuration system of the node function is characterized by comprising a terminal and a management server which is 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 a function configuration of the target node according to the target function module, and sending the function configuration to the management server; when the target function modules are multiple, the generated functions are configured as superposition of the specified functions corresponding to different target function modules; all the functional modules have a unified data structure;
the management server is used for analyzing the functional configuration and issuing 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 CN114650224A (en) 2022-06-21
CN114650224B true 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 (20)

* 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
CN105871890A (en) * 2016-05-16 2016-08-17 中国联合网络通信集团有限公司 IMS service building method and device
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
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
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
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

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102216917B (en) * 2011-04-20 2014-02-19 华为终端有限公司 Configuration method for data interface and terminal device
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
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
MX2019008427A (en) * 2017-01-13 2019-09-19 Ericsson Telefon Ab L M Bulk creation of managed functions in a network that includes virtualized network function.
US11283680B2 (en) * 2017-06-19 2022-03-22 Cisco Technology, Inc. Identifying components for removal in a network configuration
CN109525626A (en) * 2017-09-20 2019-03-26 中兴通讯股份有限公司 The management method of CDN network virtualization of function, apparatus and system
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
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
CN111090451A (en) * 2019-11-08 2020-05-01 贝壳技术有限公司 Service configuration method, device and storage medium
CN111240763B (en) * 2020-01-13 2024-03-01 广州虎牙科技有限公司 Configuration updating method, device, equipment and storage medium
CN111752594A (en) * 2020-06-23 2020-10-09 深圳壹账通智能科技有限公司 Data processing method based on business module and related equipment

Patent Citations (20)

* 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
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
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
CN106990965A (en) * 2017-03-31 2017-07-28 合肥民众亿兴软件开发有限公司 A kind of software platform and its development approach
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
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
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

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
CN114650224A (en) 2022-06-21
WO2022134849A1 (en) 2022-06-30

Similar Documents

Publication Publication Date Title
US9582606B2 (en) Validation of schema and schema conformance verification
CN110275831B (en) Mock data verification method and device of protocol interface
WO2021073202A1 (en) Intelligent contract processing method, computer device and storage medium
CN106155697A (en) A kind of service-oriented Development Framework (YC Framework)
CN112134762B (en) Testing method, device, terminal and storage medium for block chain network structure
CN109379326B (en) XML message rule checking method, equipment and storage medium
CN111106899B (en) Data verification method and device in Internet of things, computer equipment and storage medium
CN113806037A (en) Service calling method and device, storage medium and electronic equipment
CN109324958B (en) REST unified verification method, device, equipment and readable storage medium
CN114979103A (en) Open API integration and management method and computer equipment
CN114938401A (en) Configurable network protocol data analysis method and electronic equipment
CN113190513A (en) Data integration system and method
EP3974960B1 (en) Method and system for automated testing of web service apis
CN112948224A (en) Data processing method, device, terminal and storage medium
CN114650224B (en) Configuration method, device, electronic equipment and system of node function
CN110516258B (en) Data verification method and device, storage medium and electronic device
CN115208695B (en) Black box safety scanning method, device and system and electronic equipment
CN116668520A (en) Gateway-based service arrangement method, system, equipment and storage medium
CN115904317A (en) Method, device, equipment and storage medium for uniformly calling front-end interface and back-end interface
CN108737350B (en) Information processing method and client
CN112269915B (en) Service processing method, device, equipment and storage medium
CN114661590A (en) Interface consistency checking method, device, equipment and storage medium
CN103678134B (en) The acquisition methods and device of the script information of browser pending fault analysis
CN111026579A (en) Method, device, terminal equipment and medium for verifying data error detection capability
CN118113586A (en) Test method, test device, test apparatus, test program product, and test program

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