CN111917592A - Centralized operation method and device for heterogeneous brand network equipment - Google Patents

Centralized operation method and device for heterogeneous brand network equipment Download PDF

Info

Publication number
CN111917592A
CN111917592A CN202010807305.9A CN202010807305A CN111917592A CN 111917592 A CN111917592 A CN 111917592A CN 202010807305 A CN202010807305 A CN 202010807305A CN 111917592 A CN111917592 A CN 111917592A
Authority
CN
China
Prior art keywords
instruction
target equipment
equipment
user
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010807305.9A
Other languages
Chinese (zh)
Inventor
许俊华
何翔
苏永前
吴世飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010807305.9A priority Critical patent/CN111917592A/en
Publication of CN111917592A publication Critical patent/CN111917592A/en
Pending legal-status Critical Current

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/02Standardisation; Integration
    • 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
    • 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/28Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Abstract

The application provides a centralized operation method and a centralized operation device for heterogeneous brand network equipment, which can be used in the financial field or other technical fields. The method comprises the following steps: performing attribute analysis on target equipment in a simplified instruction input by a user and performing structure splitting and recombination on the simplified instruction to generate a target equipment operation instruction; acquiring target equipment in the target equipment operation instruction and searching a special instruction template corresponding to the target equipment from an equipment library; and converting the received user instruction into a special instruction according to the instruction template to operate the target equipment. The method and the device enable the operation instruction sent by the user to realize standardized packaging and then be converted into the corresponding special instruction, so that the user can ignore the difference and the manual operation difference between different devices in the using process and centrally manage and operate various network devices.

Description

Centralized operation method and device for heterogeneous brand network equipment
Technical Field
The present application belongs to the field of network technologies, and in particular, to a method and an apparatus for centralized operation of heterogeneous brand network devices.
Background
In the process of infrastructure network construction of enterprises, with the development of technologies, network products are updated rapidly, and different network equipment manufacturers are increasing. Enterprises comprehensively consider the factors of business development, business cooperation, technical architecture type selection, information safety, fixed asset value retention and the like, and most of enterprises inevitably reserve various network devices of different periods, brands and models.
The configuration commands of the network equipment of each brand are different due to intellectual property, and each brand has a network management system. Due to the difference in use, all brands of network equipment are 'self-assigned', and can not be symbiotically managed together for centralized management.
Operation and maintenance management personnel need to be familiar with operating systems, version control and instruction sets of network equipment of various brands and need to operate one by one, and batch operation cannot be carried out, wherein the occupation ratio of repetitive operation workings is high, the time consumption is long, and the operation and maintenance cost is high.
Because the user operation records of all brands of network equipment are dispersed, unified query cannot be realized, and hierarchical and authorized audit is difficult.
With the increasing types and models of network equipment of various brands, the requirement on skills of operation and maintenance managers is higher and higher, and enterprises need to continuously invest in a large amount of manpower training cost and management cost.
Disclosure of Invention
The application provides a centralized operation method and a centralized operation device for heterogeneous brand network equipment, which are used for at least solving the problems that the current different brand network equipment configuration instructions are different, and the different brand network equipment configuration instructions have respective network management systems and cannot realize symbiotic centralized management.
According to an aspect of the application, a centralized operation method of heterogeneous brand network devices is provided, which comprises the following steps:
performing attribute analysis on target equipment in a simplified instruction input by a user and performing structure splitting and recombination on the simplified instruction to generate a target equipment operation instruction;
acquiring target equipment in the target equipment operation instruction and searching a special instruction template corresponding to the target equipment from an equipment library;
and converting the received user instruction into a special instruction according to the instruction template to operate the target equipment.
In an embodiment, performing attribute analysis on a target device in a simplified instruction input by a user and performing structure splitting and recombination on the simplified instruction to generate a target device operation instruction includes:
acquiring attribute information of target equipment from an equipment library;
and disassembling keywords in the simplified instruction, and generating a target equipment operation instruction in a standard format according to the keywords and the attribute information.
In an embodiment, the centralized operation method of heterogeneous brand network devices further includes:
judging whether the matching relation between the target equipment and the attribute in the target equipment operation instruction changes or not;
and updating the matching relation of the target equipment with the changed matching relation and storing the target equipment in the equipment library.
In an embodiment, the centralized operation method of heterogeneous brand network devices further includes: before attribute analysis is carried out on the target device in the simplified instruction input by the user, whether the user has the access right or not is judged.
According to another aspect of the present application, there is also provided a centralized operation apparatus of heterogeneous brand network devices, including:
the operation instruction generating unit is used for performing attribute analysis on target equipment in the simplified instruction input by the user and performing structure splitting and recombination on the simplified instruction to generate a target equipment operation instruction;
the special instruction target searching unit is used for acquiring target equipment in the target equipment operation instruction and searching a special instruction template corresponding to the target equipment from the equipment library;
and the instruction conversion unit is used for converting the received user instruction into a special instruction according to the instruction template so as to operate the target equipment.
In one embodiment, the operation instruction generating unit includes:
the attribute information acquisition module is used for acquiring the attribute information of the target equipment from the equipment library;
and the standard operation instruction generating module is used for disassembling the keywords in the simplified instruction and generating the target equipment operation instruction in the standard format according to the keywords and the attribute information.
In an embodiment, the centralized operation apparatus of heterogeneous brand network devices further includes:
a matching relation judging unit for judging whether the matching relation between the target device and the attribute in the target device operation instruction is changed;
and the updating unit is used for updating the matching relationship of the target equipment with the changed matching relationship and storing the target equipment into the equipment library.
In an embodiment, the centralized operation apparatus of heterogeneous brand network devices further includes: and the permission judging unit is used for judging whether the user has the access permission or not before performing attribute analysis on the target equipment in the simplified instruction input by the user.
The method and the device enable the operation instruction sent by the user to realize standardized packaging and then be converted into the corresponding special instruction, so that the user can ignore the difference and the manual operation difference between different devices in the using process and centrally manage and operate various network devices.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a centralized operation method of heterogeneous brand network devices according to the present application.
Fig. 2 is a flowchart of generating an operation instruction of a target device in the embodiment of the present application.
FIG. 3 is a flowchart of another method for centralized operation of heterogeneous branded network devices, according to an embodiment of the present application.
FIG. 4 is a system diagram of a centralized management of heterogeneous branded network devices, according to an embodiment of the present application.
Fig. 5 is a logical structure diagram of a main system in the embodiment of the present application.
Fig. 6 is a block diagram of an agent program in the embodiment of the present application.
Fig. 7 is a structural diagram of a permission determination module in an embodiment of the present application.
Fig. 8 is a block diagram of a centralized operation device of a heterogeneous brand network device according to the present application.
Fig. 9 is a block diagram of an operation instruction generating unit in the embodiment of the present application.
Fig. 10 is a block diagram of a centralized operation apparatus of another heterogeneous brand network device according to an embodiment of the present application.
Fig. 11 is a specific implementation of an electronic device in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
At present, most enterprises inevitably reserve various network devices of different periods, brands and models, and operation instructions among different network devices cannot be used universally, so that centralized management of the network devices of different models becomes a great problem.
Based on the problem, the present application provides a centralized operation method for heterogeneous brand network devices, as shown in fig. 1, including:
s101: and performing attribute analysis on the target equipment in the simplified instruction input by the user and performing structure splitting and recombination on the simplified instruction to generate an operation instruction of the target equipment.
In a specific embodiment, the system on which the method of the present application depends mainly consists of a Web server 101, a host system 102, an operation front-end 103, and an agent 104 (as shown in fig. 4). Fig. 5 is a logical structure diagram of a host system 102, where the host system 102 mainly includes an authority determination module 202, a brand model screening module 204, an equipment library 205, an instruction reorganizing module 207, and an agent program 104.
After the user inputs the simplified instruction through the instruction input box 201, the language parsing module 206 performs structured splitting on the simplified instruction input by the user after the brand model screening module 204 performs attribute analysis on the target device selected by the user in the device library 205, and pushes the simplified instruction to the instruction recombining module 207 for recombining and implementing queue arrangement in the instruction queue 208. After the attribute analysis of the target device selected by the user is completed in the device library 205, the brand model screening module 204 performs structured splitting on the simplified instruction input by the user by the language parsing module 206, which is specifically as follows:
after the user selects the target device, the brand model screening module 204 selects a corresponding record from the device library 205 according to the target device, and obtains attribute information such as a host name, an IP address, a device type, a brand, a model, a system version, a board card, a port range, and the like. These attribute information for the device library is automatically obtained by the agent 104 in the background using a specific instruction set (entry instruction, version analysis instruction, module analysis instruction, port analysis instruction). And if the corresponding attribute information does not exist, the device library is updated after device learning is carried out when the current instruction is sent. The instruction is simplified only by selecting the target equipment and corresponding operation by the user, and the user does not need to care about the attribute information, the configuration specification and the specific instruction information of the equipment. For example, the user simplified instruction is: the 1 port of the target device (within the scope of authority) performs an enable 802.1x operation (a instruction). At this time, the language parsing module 206 obtains corresponding device information according to the device attribute, complements and perfects the board information and the port information, forms a target device operation instruction (B instruction) in a standard format, and sends the target device operation instruction to the queue.
S102: and acquiring the target equipment in the target equipment operation instruction and searching a special instruction template corresponding to the target equipment from the equipment library.
In one embodiment, the agent 104 obtains the target device in the target device operation command and searches the device library for a specific command template corresponding to the target device. Specifically, the structure of the agent 104 is as shown in fig. 6, the agent obtains a task (target device operation instruction) from the instruction queue 208 by the queue extraction module 301, the task splitting module 302 performs instruction classification and recombination, then puts the task into the process pool 303 to perform multi-process parallel operation, calls the device judgment module 304 to distinguish device types after a process is initiated, and implements strong association between different device instruction set templates (dedicated instruction templates for different devices) through the associated instruction template library 305.
S103: and converting the received user instruction into a special instruction according to the special instruction template to operate the target equipment.
In a specific embodiment, an instruction sent by a user is converted according to a corresponding relationship on a special instruction template, and after the instruction is converted into a special instruction of a target device, the operation interaction module 307 establishes network connection with a network device through a network protocol SSH or TELNET to perform special instruction sending and interaction, and invokes the data capture module 308 to transmit a special instruction return result to the data processing device 309 for screening and filtering, after filtering is completed, the data collection module 310 performs data classification and sorting, and finally the data return module 311 outputs the result to the data receiving module 209.
The 305 instruction library can be configured with related instruction templates according to the classification of brands and models, an operation abstract layer is formed by self-defining an extensible instruction set, the instruction differences of different brands and models are shielded, and the work requirements of daily network management and batch operation are met.
The execution main body of the method shown in fig. 1 can be a PC, a terminal, etc., the special instructions of each brand of network equipment are extracted and sorted according to commands, formats and sequences through an instruction set, and then the special instructions are pre-recorded as a template through set logics and specifications, so that the instruction template has flexible expandability and can be adjusted and updated in real time. And calling corresponding special instruction templates for perfection and recombination through a language analysis module for the instruction differences of different brands and models. By using the method shown in fig. 1, a user only needs to use a simplified instruction (a instruction) in a unified manner without considering the brand and model of the device, so that the instruction difference between network devices of different models can be successfully filtered.
In an embodiment, performing attribute analysis on a target device in a simplified instruction input by a user and performing structure splitting and restructuring on the simplified instruction to generate a target device operation instruction, as shown in fig. 2, includes:
s201: and acquiring the attribute information of the target equipment from the equipment library.
In a specific embodiment, after the user selects the target device, the brand model screening apparatus selects a corresponding record from the device library according to the target device, and obtains attribute information such as a host name, an IP address, a device type, a brand, a model, a system version, a board card, a port range, and the like.
S202: and disassembling keywords in the simplified instruction, and generating a target equipment operation instruction in a standard format according to the keywords and the attribute information.
In a specific embodiment, the user only needs to select the target device and the corresponding operation, for example, the simplified instruction input by the user is: the 1 port of the target equipment (within the authority range) starts 802.1x operation (instruction A), the language analysis device obtains the equipment information of the target equipment according to the simplified instruction, supplements and perfects the board card information and the port information, forms the target equipment operation instruction (instruction B) in a standard format and sends the target equipment operation instruction (instruction B) to the queue.
In an embodiment, as shown in fig. 3, the method for centralized operation of heterogeneous brand network devices further includes:
s301: and judging whether the matching relation between the target equipment and the attribute in the target equipment operation instruction is changed or not.
In a specific embodiment, the agent is a multi-concurrent agent, and implements functions of command interaction, operation processing, logic processing, data collection, device self-learning, task planning, and the like of the network device. After the agent program knows the target equipment, the type and the attribute of the target equipment are judged and matched, and the target equipment is prevented from changing.
S302: and updating the matching relation of the target equipment with the changed matching relation and storing the target equipment in the equipment library.
If the agent program finds that the attribute information of the target device does not exist or the attribute information of the target device changes, the agent program can carry out self-learning of the device when the current instruction is sent, and then the self-learning result is updated to the device library. Specifically, the system checks the self-learning flag bit of the target device, and waits for the user to continue inputting the instruction if the target device has already been self-learned, and if the device has not completed self-learning, the system performs a self-learning process. The system tries to access the switch by using self-learning commands of all brands in sequence, and judges the brand of the switch, the system version and the port condition according to a returned result. The system successfully completes the self-learning process, modifies the self-learning flag bit of the equipment and updates the information of the switch into the equipment library. The system completes self-learning and waits for the user to continue inputting instructions.
In an embodiment, the centralized operation method of heterogeneous brand network devices further includes: before attribute analysis is carried out on the target device in the simplified instruction input by the user, whether the user has the access right or not is judged.
In one embodiment, as shown in fig. 7, the permission determination module 202 of the system has two definitions, one is a grouping definition of network devices and one is a user permission definition. And (3) defining a user group, and realizing three-level authority division: the primary authority may operate all switches, the secondary authority may define multiple network device groups, and the tertiary authority may define a single or multiple network devices within a certain group. When a user initiates to operate a target device, the authority module judges according to the selected target device and the authority definition, prompts and quits the operation if the authority is not provided, and appoints an interface to acquire a user name and a password of the target device to perform subsequent instruction operation if the authority is provided, and simultaneously all operation logs are recorded and reserved in a background. Because the instructions of the front end are packaged and simplified, the unreliable or uncontrolled operation risk is avoided. The authority hierarchical control method of the user and the equipment can limit the range of the access target equipment, refine the management granularity and improve the operation safety. The user management is separated from the user of the network equipment, so that the auditing problem caused by the sharing of the user of the network equipment is effectively solved, the login user and the password of the target equipment are not known by the user, and the password leakage or illegal operation risk is prevented.
The following is a practical example to support the centralized operation method of heterogeneous brand network devices provided by the present application:
1. the operation and maintenance manager (user) firstly completes the input of the default login user name and the password of the switch in the system, respectively defines the self-learning command which accords with the SNMP protocol for the switch according to the brand, and respectively configures the instruction template according to the brand of the switch and the version of the switch system.
2. And a common user logs in the system and inputs a simplifying instruction on a WEB interface.
And (3) user input:
sw < switch management address >
3. The main system receives an instruction input by a user, compares the instruction with the equipment library and judges whether the switch exists in the equipment library, if not, the system prompts the user to add equipment:
and the user inputs basic information of the switch according to the prompt to complete the addition of the new equipment.
And the user inputs the simplifying instruction on the WEB interface again: sw < switch management address >, and the system checks that the device exists in the device library.
4. The system then checks the self-learning flag of this device. If the equipment has already been learned by self, the user is waited to continue inputting the instruction. If the equipment does not complete self-learning, the system performs a self-learning process. The system tries to access the switch by using self-learning commands of all brands in sequence, and judges the brand of the switch, the system version and the port condition according to a returned result. The system successfully completes the self-learning process, modifies the self-learning flag bit of the equipment and updates the information of the switch into the equipment library. The system completes self-learning and waits for the user to continue inputting instructions.
5. And the user continuously inputs the port number of the equipment needing to be operated and a specific operation instruction on the WEB interface.
For example, setting a port to open 802.1 authentication immediately.
And (3) user input:
< Port number > e1x commit now
done
6. The system receives the instruction input by the user and transmits the instruction to the agent program for execution. The agent program reads the information of the equipment library, and automatically converts the command input by the user into a special command of each brand of switch by applying a preset command template according to the brand and the system version of the switch.
For example cisco switch system version 12.2, the agent sends the following instructions to the switch:
configure terminal
interface < port No. >)
dot1x port-control auto
dot1x timeout quiet-period 30
dot1x timeout reauth-period 36000
dot1x reauthentication
dot1x violation-mode protect
7. And the switch receives the switch instruction sent by the agent program and executes the operation. And returning the execution result to the agent program.
8. The agent program stores the operation record and the execution result in the system.
The system returns the execution result to the WEB interface.
Based on the same inventive concept, the embodiment of the present application further provides a centralized operation apparatus for heterogeneous brand network devices, which can be used to implement the method described in the foregoing embodiment, as described in the following embodiments. Because the principle of solving the problems of the centralized operation device of the heterogeneous brand network equipment is similar to the centralized operation method of the heterogeneous brand network equipment, the implementation of the centralized operation device of the heterogeneous brand network equipment can refer to the implementation of the centralized operation method of the heterogeneous brand network equipment, and repeated parts are not described again. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. While the system described in the embodiments below is preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
As shown in fig. 8, the present application further provides a centralized operation apparatus for heterogeneous branded network devices, including:
an operation instruction generating unit 801, configured to perform attribute analysis on a target device in a simplified instruction input by a user and perform structure splitting and recombination on the simplified instruction to generate an operation instruction of the target device;
a dedicated instruction target searching unit 802, configured to obtain a target device in an operation instruction of the target device and search a dedicated instruction template corresponding to the target device from a device library;
and the instruction conversion unit 803 is used for converting the received user instruction into a special instruction according to the instruction template so as to operate the target device.
In one embodiment, as shown in fig. 9, the operation instruction generating unit 801 includes:
an attribute information obtaining module 901, configured to obtain attribute information of a target device from a device library;
and a standard operation instruction generating module 902, configured to disassemble the keywords in the simplified instruction, and generate a target device operation instruction in a standard format according to the keywords and the attribute information.
In an embodiment, as shown in fig. 10, the centralized operation apparatus of heterogeneous brand network devices further includes:
a matching relationship determination unit 1001 configured to determine whether a matching relationship between the target device and the attribute in the target device operation instruction has changed;
the updating unit 1002 is configured to update the matching relationship of the target device with the changed matching relationship and store the updated matching relationship in the device library.
In an embodiment, the centralized operation apparatus of heterogeneous brand network devices further includes: and the permission judging unit is used for judging whether the user has the access permission or not before performing attribute analysis on the target equipment in the simplified instruction input by the user.
It should be noted that the centralized operation method and apparatus for heterogeneous brand network devices provided in the embodiments of the present invention may be used in the financial field, and may also be used in any technical field other than the financial field.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
An embodiment of the present application further provides a specific implementation manner of an electronic device, which is capable of implementing all steps in the method in the foregoing embodiment, and referring to fig. 11, the electronic device specifically includes the following contents:
a processor (processor)1101, a memory 1102, a Communications Interface 1103, a bus 1104, and a non-volatile memory 1105;
the processor 1101, the memory 1102 and the communication interface 1103 complete mutual communication through the bus 1104;
the processor 1101 is configured to call the computer programs in the memory 1102 and the nonvolatile memory 1105, and when the processor executes the computer programs, the processor implements all the steps in the method in the foregoing embodiments, for example, when the processor executes the computer programs, the processor implements the following steps:
s101: and performing attribute analysis on the target equipment in the simplified instruction input by the user and performing structure splitting and recombination on the simplified instruction to generate an operation instruction of the target equipment.
S102: and acquiring the target equipment in the target equipment operation instruction and searching a special instruction template corresponding to the target equipment from the equipment library.
S103: and converting the received user instruction into a special instruction according to the instruction template to operate the target equipment.
Embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps of the method in the above embodiments, where the computer-readable storage medium stores thereon a computer program, and the computer program when executed by a processor implements all the steps of the method in the above embodiments, for example, the processor implements the following steps when executing the computer program:
s101: and performing attribute analysis on the target equipment in the simplified instruction input by the user and performing structure splitting and recombination on the simplified instruction to generate an operation instruction of the target equipment.
S102: and acquiring the target equipment in the target equipment operation instruction and searching a special instruction template corresponding to the target equipment from the equipment library.
S103: and converting the received user instruction into a special instruction according to the instruction template to operate the target equipment.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the hardware + program class embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment. Although embodiments of the present description provide method steps as described in embodiments or flowcharts, more or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or end product executes, it may execute sequentially or in parallel (e.g., parallel processors or multi-threaded environments, or even distributed data processing environments) according to the method shown in the embodiment or the figures. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in a process, method, article, or apparatus that comprises the recited elements is not excluded. For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, in implementing the embodiments of the present description, the functions of each module may be implemented in one or more software and/or hardware, or a module implementing the same function may be implemented by a combination of multiple sub-modules or sub-units, and the like. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein. The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the specification.
In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction. The above description is only an example of the embodiments of the present disclosure, and is not intended to limit the embodiments of the present disclosure. Various modifications and variations to the embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present specification should be included in the scope of the claims of the embodiments of the present specification.

Claims (10)

1. A method for centralized operation of heterogeneous branded network devices, comprising:
extracting attributes of target equipment in a simplified instruction input by a user, and carrying out structural splitting and recombination on the simplified instruction to generate an operation instruction of the target equipment;
searching a special instruction template corresponding to the target equipment from an equipment library;
and converting the received target equipment operation instruction into a special instruction according to the special instruction template to operate the target equipment.
2. The method for centralized operation of heterogeneous brand network devices according to claim 1, wherein the extracting attributes of the target device in the simplified instruction input by the user and performing structure splitting and restructuring on the simplified instruction to generate the target device operation instruction comprises:
acquiring attribute information of the target equipment from an equipment library;
and resolving the keywords in the simplified instruction, and generating a target equipment operation instruction in a standard format according to the keywords and the attribute information.
3. The method of centralized operation of heterogeneous branded network devices according to claim 1, further comprising:
judging whether the matching relation between the target equipment and the attribute in the target equipment operation instruction changes or not;
and updating the matching relation of the target equipment with the changed matching relation and storing the target equipment in the equipment library.
4. The method of centralized operation of heterogeneous branded network devices according to any of claims 1 through 3, further comprising: before attribute analysis is carried out on the target device in the simplified instruction input by the user, whether the user has the access right or not is judged.
5. A centralized operation apparatus of heterogeneous brand network devices, comprising:
the operation instruction generating unit is used for extracting attributes of target equipment in a simplified instruction input by a user and carrying out structure splitting and recombination on the simplified instruction to generate an operation instruction of the target equipment;
the special instruction target searching unit is used for searching a special instruction template corresponding to the target equipment from an equipment library;
and the instruction conversion unit is used for converting the received target equipment operation instruction into a special instruction according to the special instruction template so as to operate the target equipment.
6. The centralized operation apparatus of heterogeneous brand network devices according to claim 5, wherein the operation instruction generation unit includes:
the attribute information acquisition module is used for acquiring the attribute information of the target equipment from an equipment library;
and the standard operation instruction generating module is used for disassembling the keywords in the simplified instruction and generating a target equipment operation instruction in a standard format according to the keywords and the attribute information.
7. The centralized operation apparatus of heterogeneous brand network devices of claim 5, further comprising:
a matching relation judging unit for judging whether the matching relation between the target device and the attribute in the target device operation instruction is changed;
and the updating unit is used for updating the matching relationship of the target equipment with the changed matching relationship and storing the target equipment into the equipment library.
8. The centralized operation apparatus of heterogeneous brand network devices according to any one of claims 5 to 7, further comprising: and the permission judging unit is used for judging whether the user has the access permission or not before performing attribute analysis on the target equipment in the simplified instruction input by the user.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of centralized operation of a heterogeneous branded network device according to any of claims 1 through 4 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for centralized operation of heterogeneous brand network devices of any one of claims 1 to 4.
CN202010807305.9A 2020-08-12 2020-08-12 Centralized operation method and device for heterogeneous brand network equipment Pending CN111917592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010807305.9A CN111917592A (en) 2020-08-12 2020-08-12 Centralized operation method and device for heterogeneous brand network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010807305.9A CN111917592A (en) 2020-08-12 2020-08-12 Centralized operation method and device for heterogeneous brand network equipment

Publications (1)

Publication Number Publication Date
CN111917592A true CN111917592A (en) 2020-11-10

Family

ID=73284295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010807305.9A Pending CN111917592A (en) 2020-08-12 2020-08-12 Centralized operation method and device for heterogeneous brand network equipment

Country Status (1)

Country Link
CN (1) CN111917592A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113359642A (en) * 2021-06-28 2021-09-07 上海致景信息科技有限公司 Multi-brand fusion dyeing and finishing control method, device, system and processor
CN116743586A (en) * 2023-04-27 2023-09-12 江苏博云科技股份有限公司 Machine learning-based switch command analysis performance management method and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017166616A1 (en) * 2016-03-29 2017-10-05 乐视控股(北京)有限公司 Information processing method and apparatus, and electronic device
CN110324169A (en) * 2018-03-30 2019-10-11 北京京东尚科信息技术有限公司 A kind of method and apparatus of interface management
CN110650037A (en) * 2019-09-06 2020-01-03 中盈优创资讯科技有限公司 Heterogeneous network device configuration method and device
CN111464350A (en) * 2020-03-31 2020-07-28 润联软件系统(深圳)有限公司 Method and system for managing heterogeneous brand network equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017166616A1 (en) * 2016-03-29 2017-10-05 乐视控股(北京)有限公司 Information processing method and apparatus, and electronic device
CN110324169A (en) * 2018-03-30 2019-10-11 北京京东尚科信息技术有限公司 A kind of method and apparatus of interface management
CN110650037A (en) * 2019-09-06 2020-01-03 中盈优创资讯科技有限公司 Heterogeneous network device configuration method and device
CN111464350A (en) * 2020-03-31 2020-07-28 润联软件系统(深圳)有限公司 Method and system for managing heterogeneous brand network equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113359642A (en) * 2021-06-28 2021-09-07 上海致景信息科技有限公司 Multi-brand fusion dyeing and finishing control method, device, system and processor
CN116743586A (en) * 2023-04-27 2023-09-12 江苏博云科技股份有限公司 Machine learning-based switch command analysis performance management method and equipment

Similar Documents

Publication Publication Date Title
WO2022160707A1 (en) Human-machine interaction method and apparatus combined with rpa and ai, and storage medium and electronic device
EP3047376B1 (en) Type-to-type analysis for cloud computing technical components
WO2018006789A1 (en) Parameter checking method and apparatus, and network management server and computer storage medium
CN102724079B (en) Method and system for auxiliary configuration of Ethernet equipment
CN105574082A (en) Storm based stream processing method and system
CN103294475A (en) Automatic service generating system and automatic service generating method both of which are based on imaging service scene and field template
Lotz et al. Microservice architectures for advanced driver assistance systems: A case-study
CN110650037B (en) Heterogeneous network device configuration method and device
CN103106368A (en) Vulnerability scanning method for grade protection
CN111917592A (en) Centralized operation method and device for heterogeneous brand network equipment
CN102684894B (en) Method and device for realizing northboundbound interface
CN106990974A (en) A kind of APP applications update method, device and electronic equipment
Kulscár et al. Bringing Clouds down to Earth: Modeling Arrowhead Deployments via Eclipse Vorto.
Jelliti et al. A model based framework supporting ITIL Service IT Management
CN111951488B (en) Structure configuration method and device of intelligent cabinet, computer equipment and storage medium
CN108512688A (en) Network node configuration method and terminal
CN113420306A (en) Resource sharing method and device, computing equipment and computer readable storage medium
CN112615745B (en) Method and system for accessing Internet of things card platform to upstream through parameter configuration
CN104298763A (en) Web-based external access method of structured database system
Morandin et al. A reuse-based software process based on domain analysis and OO framework
US20240106713A1 (en) Network inventory management system
WO2016087640A1 (en) Type-to-type analysis for cloud computing technical components
Kushi et al. Software-defined Networking and Its Implementation By using Mininet
KR100433450B1 (en) Rule generator, Mediation Device using rule generator and its method in network management system
CN116185385A (en) Visual interface management method, system, terminal and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201110

RJ01 Rejection of invention patent application after publication