CN112019364B - Information management method and device - Google Patents

Information management method and device Download PDF

Info

Publication number
CN112019364B
CN112019364B CN201910469201.9A CN201910469201A CN112019364B CN 112019364 B CN112019364 B CN 112019364B CN 201910469201 A CN201910469201 A CN 201910469201A CN 112019364 B CN112019364 B CN 112019364B
Authority
CN
China
Prior art keywords
management
target switch
information
switch
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.)
Active
Application number
CN201910469201.9A
Other languages
Chinese (zh)
Other versions
CN112019364A (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.)
Petrochina Co Ltd
Original Assignee
Petrochina 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 Petrochina Co Ltd filed Critical Petrochina Co Ltd
Priority to CN201910469201.9A priority Critical patent/CN112019364B/en
Publication of CN112019364A publication Critical patent/CN112019364A/en
Application granted granted Critical
Publication of CN112019364B publication Critical patent/CN112019364B/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/0893Assignment of logical groups to 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/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • 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)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an information management method and device, and belongs to the technical field of information. The method comprises the following steps: calling a switch configuration interface to configure a target switch and acquiring related information of the target switch; dividing the target switch into corresponding management levels based on the related information of the target switch, wherein the management levels comprise a plurality of access points, and associating the target switch with the corresponding access points, a command template and an Internet Protocol (IP) network segment; and performing information management on the target switch and the terminal managed by the target switch based on the management instruction of the management level of the target switch. The method provided by the invention replaces manual collection, recording and planning of operators, reduces the error probability, improves the management efficiency and also lightens the workload of network managers.

Description

Information management method and device
Technical Field
The present invention relates to the field of information technologies, and in particular, to an information management method and apparatus.
Background
With the continuous growth of enterprises, the scale of enterprises is continuously enlarged, the complexity of the network structure of the enterprises is increased, and higher requirements are put forward on the work of network administrators from daily network maintenance to the allocation of Internet Protocol (IP) addresses. A network administrator needs to collect and store network information of an enterprise through an information management system, and perform operations such as query, modification, deletion, addition, configuration and the like on the information through the system to complete management of the network information of the enterprise.
In the information management provided by the related art, an operator records and plans information such as IP addresses of a plurality of switches through Microsoft Excel, manually processes the information of the plurality of switches in Microsoft Excel, stores all information of a system, and performs management operation by displaying information of a switch designated by a user.
The inventors found that the related art has at least the following technical problems:
the method has the advantages that the method has high requirements on operators by manually acquiring information such as IP addresses of the switches through Microsoft Excel and manually processing the information of the switches, the workload of the operators is increased, errors can exist in manual acquisition and input, and the management efficiency of the information is influenced.
Disclosure of Invention
The embodiment of the invention provides an information management method and device, which can solve the technical problem. The technical scheme is as follows:
a method of information management, the method comprising:
calling a switch configuration interface to configure a target switch, and acquiring related information of the target switch; the related information comprises necessary parameters for logging in the target switch, a command template of the target switch and binding parameters of the target switch, the necessary parameters and the binding parameters are associated with the command template, the command template is obtained by analyzing and sorting control commands of the target switch, different types of target switches correspond to different command templates, and the binding parameters are used for determining the information of objects set and bound in the target switch;
dividing the target switch into corresponding management levels based on the related information of the target switch, wherein the management levels comprise a plurality of access points, and associating the target switch with the corresponding access points, a command template and an Internet Protocol (IP) network segment;
and carrying out information management on the target switch and the terminal managed by the target switch based on a management instruction of a management level where the target switch is located.
In one possible implementation manner, the management hierarchy includes a usage unit management layer, a template management layer, a network device management layer, an account management layer, a terminal management layer and a comprehensive query management layer; information under different management levels can be managed through management accounts with different management authorities;
the information management of the target switch and the terminal managed by the target switch based on the management instruction of the management level of the target switch comprises the following steps:
determining a current login management account, displaying a management function under a corresponding management level based on the management authority of the management account, and acquiring a corresponding management instruction based on the displayed management function;
and carrying out information management on the target switch and the terminal managed by the target switch based on the management instruction.
In a possible implementation manner, the performing information management on the target switch and the terminal managed by the target switch based on the management instruction of the management level where the target switch is located includes:
when a first modification instruction for modifying the information of the target switch is acquired, modifying the information of the target switch based on the first modification instruction;
when a second modification instruction for modifying the information of the terminal managed by the target switch is acquired, modifying the information of the terminal managed by the target switch based on the second modification instruction.
In a possible implementation manner, the performing information management on the target switch and the terminal managed by the target switch based on the management instruction of the management level where the target switch is located includes:
when a first query instruction for querying the information of the target switch is acquired, querying the information of the target switch based on the first query instruction;
and when a second query instruction for querying the information of the terminal managed by the target switch is acquired, querying the information of the terminal managed by the target switch based on the second query instruction.
In one possible implementation, the method further includes:
when a target terminal managed by the target switch needs to be added, acquiring an IP address, a Media Access Control (MAC) address and a corresponding port number of the target terminal;
determining a target switch for managing the target terminal based on the IP address of the target terminal;
searching a command template matched with the target switch;
and calling a binding command in the command template to bind the IP address and the MAC address of the target terminal to obtain a binding parameter aiming at the target terminal, wherein the binding parameter aiming at the target terminal comprises the IP address, the MAC address and a corresponding port number of the target terminal.
In one possible implementation, the method further includes:
when the new switch needs to be added, calling the switch configuration interface to configure the new switch to obtain the related information of the new switch;
dividing the new switch into corresponding management levels based on the related information of the new switch, and associating the new switch with a corresponding access point, a command template and an IP network segment;
and performing information management on the new switch and the terminal managed by the new switch based on the related information of the new switch.
In another aspect, there is provided an information management apparatus, the apparatus including:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for calling a switch configuration interface to configure a target switch and acquiring related information of the target switch, the related information comprises necessary parameters for logging in the target switch, a command template of the target switch and binding parameters of the target switch, the necessary parameters and the binding parameters are all associated with the command template, the command template is obtained by analyzing and sorting control commands of the target switch, different types of switches correspond to different command templates, and the binding parameters are used for determining object information set and bound in the target switch;
the association unit is used for dividing the target switch into corresponding management levels based on the related information of the target switch, wherein the management levels comprise a plurality of access points, and the target switch is associated with the corresponding access points, the command template and the Internet Protocol (IP) network segment;
and the management unit is used for carrying out information management on the target switch and the terminal managed by the target switch based on the management instruction of the management level of the target switch.
In one possible implementation manner, the management hierarchy comprises a use unit management layer, a template management layer, a network equipment management layer, an account management layer, a terminal management layer and a comprehensive query management layer; information under different management levels can be managed through management accounts with different management authorities;
the management unit is used for determining a currently logged-in management account, displaying a management function under a corresponding management level based on the management authority of the management account, and acquiring a corresponding management instruction based on the displayed management function; and performing information management on the target switch and the terminal managed by the target switch based on the management instruction.
In a possible implementation manner, the management unit is configured to, when a first modification instruction for modifying the information of the target switch is acquired, modify the information of the target switch based on the first modification instruction; when a second modification instruction for modifying the information of the terminal managed by the target switch is acquired, modifying the information of the terminal managed by the target switch based on the second modification instruction.
In a possible implementation manner, the management unit is configured to, when a first query instruction for querying information of the target switch is acquired, query the information of the target switch based on the first query instruction; and when a second query instruction for querying the information of the terminal managed by the target switch is acquired, querying the information of the terminal managed by the target switch based on the second query instruction.
In a possible implementation manner, the obtaining unit is further configured to obtain an IP address, a MAC address, and a corresponding port number of a target terminal when the target terminal managed by the target switch needs to be added;
the management unit is further used for determining a target switch for managing the target terminal based on the IP address of the target terminal; searching a command template matched with the target switch; and calling a binding command in the command template to bind the IP address and the MAC address of the target terminal to obtain a binding parameter aiming at the target terminal, wherein the binding parameter aiming at the target terminal comprises the IP address, the MAC address and a corresponding port number of the target terminal.
In a possible implementation manner, the association unit is further configured to, when the new switch needs to be added, invoke the switch configuration interface to configure the new switch, so as to obtain related information of the new switch; dividing the new switch into corresponding management levels based on the related information of the new switch, and associating the new switch with a corresponding access point, a command template and an IP network segment;
and the management unit is also used for carrying out information management on the new switch and the terminal managed by the new switch based on the related information of the new switch.
The technical scheme provided by the embodiment of the invention has the beneficial effects that at least:
the method provided by the embodiment of the invention replaces manual collection, recording and planning of operators, reduces the error probability, improves the management efficiency and also lightens the workload of network administrators.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of an information management method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a workflow of a switch configuration interface according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a management hierarchy provided by an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an information management apparatus according to an embodiment of the present invention.
Detailed Description
Unless defined otherwise, all technical terms used in the examples of the present invention have the same meaning as commonly understood by one of ordinary skill in the art.
With the continuous expansion of enterprises, the complexity of the network structure of the enterprise also increases, and a network administrator needs to record and plan information such as an IP (Internet Protocol) Address through tools such as Excel from daily network maintenance to allocation of the IP Address. Or when inquiring the IP address of a certain switch, the IP address of the needed switch can be obtained only by manually inquiring one by one through Excel.
The method provided by the embodiment of the invention replaces manual acquisition, recording and planning of operators, reduces the error probability, improves the information management efficiency and also reduces the workload of network administrators.
To make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
An embodiment of the present invention provides an information management method, as shown in fig. 1, the method includes:
step 101, calling a switch configuration interface to configure a target switch, and acquiring related information of the target switch; the related information comprises necessary parameters for logging in the target switch, a command template of the target switch and binding parameters of the target switch; the necessary parameters and the binding parameters are associated with a command template, the command template is obtained by analyzing and sorting control commands of the target switch, different types of target switches correspond to different command templates, and the binding parameters are used for determining the object information set and bound in the target switch.
The embodiment of the invention transmits or configures the information of the target switch through the switch configuration interface. Referring to fig. 2, the switch configuration interface obtains an IP address, a Media Access Control (MAC) address, a login user name, a login password, and the like of the switch, that is, necessary parameters of the login target switch, to implement configuration of the switch. When a user acquires the information of a target switch, the switch configuration interface transmits a login user name and a login password of the target switch to a command template corresponding to the target switch by inputting the login user name and the login password of the target switch, and the corresponding switch is found through the command template. Or when the IP address of the target terminal needs to be bound with the MAC address, inputting the IP address of the terminal, searching the switch managing the IP network segment through the command template of the target switch managing the target terminal, and realizing the binding of the IP address of the target terminal and the MAC address through the searched switch under the IP network segment.
It will be appreciated that each switch has a corresponding IP address, MAC address, login username and login password, etc. When a user needs to acquire the information of the target switch, a first acquisition instruction is sent, the switch configuration interface searches the target switch matched with the first acquisition instruction after receiving the instruction, and the information of the target switch is transmitted to the user terminal so as to be provided for the user to check.
However, because there are many kinds of switches, manufacturers, models, login protocols, and the like, if a new target switch needs to be managed each time, manual operation is performed on the target switch, and an instruction is sent to search for the corresponding target switch, a lot of time is wasted, and the workload of a user is increased. Therefore, the commands of different target switches are analyzed and arranged to obtain the command templates, and different switches correspond to different command templates. By associating the necessary parameters and the binding parameters of the target switch with the command template, when the information of the corresponding target switch needs to be managed, the network administrator sends a first acquisition instruction through the user terminal, and the switch configuration interface receives the second acquisition instruction, searches the corresponding target switch from the command template and provides the second acquisition instruction for the user terminal. Thus, the efficiency of information management of the target switch is improved.
The information management method provided by the embodiment of the invention further comprises the step of managing the terminal managed by the target switch, so that the switch configuration interface also needs to acquire the binding parameters of the target switch, namely the target information set and bound in the target switch is determined.
As an example, the binding parameter of the target switch includes an IP address of a terminal controlled by the target switch, a MAC address of the terminal, a port of the terminal corresponding to the switch, and the like. For example, binding and unbinding of the IP address of the terminal and the MAC address of the terminal, and the like.
The parameter information is obtained through the switch configuration interface, the parameter information is associated with the command template corresponding to the target switch, when the target terminal needs to be bound, the user terminal sends a binding instruction, the switch configuration interface receives the binding instruction, the terminal corresponding to the instruction is searched in the command template, the binding and unbinding of the IP address and the MAC address of the terminal are achieved through the target switch for managing the terminal, and the management efficiency of the terminal is improved.
As an example, when a switch configuration interface is invoked to configure a target switch, a user logs in the switch, and uses a management address, a user name and a password configured by the target switch to log in the target switch through an open link protocol, and enters a configuration mode of the target switch after switching to a super user mode. Due to the security protection mechanism of the target switch, different configuration commands can be switched to the super user mode after entering the target switch without passing the permission, and subsequent configuration work can be carried out. And after the configuration of the target switch is completed, binding necessary parameters of the target switch, namely binding parameters, with the command template. The super-user mode may be considered as the mode with the most rights, and may include all rights, for example.
The configuration of the target switch is realized through the switch configuration interface, so the switch configuration interface needs to be developed to complete the configuration work of the target switch.
In the process of setting the switch configuration interface, the related information of the target switch is transmitted to the switch configuration interface according to JSON (JavaScript Object Notation) with a standard format, which is a lightweight data exchange format data, and the switch configuration interface is processed and then returned to the original information source in the JSON format for responding. After the switch configuration interface is developed, it needs to test whether the data can be normally transmitted, and the response message is shown in table 1:
TABLE 1
Parameter field Description of field Type (B)
errcode Returned status code Int
errmsg Description of returned states String
The return value can be judged according to the errcode field, if the received return value is 0, the switch configuration interface is successfully developed, and if the return value is not 0, the switch configuration interface is failed to be developed, the prompt information can prompt in the errmsg field.
And 102, dividing the target switch into corresponding management levels based on the related information of the target switch, wherein the management levels comprise a plurality of access points, and associating the target switch with the corresponding access points, the command template and the Internet Protocol (IP) network segment.
In one possible implementation mode, the management level comprises a use unit management layer, a template management layer, a network equipment management layer, an account management layer, a terminal management layer and a comprehensive query management layer; information at different management levels may be managed through management accounts with different management rights.
The network segment types and network segment levels managed by different target switches, the use units and use levels of the switches and the like are all different, and the switches are divided into corresponding management levels according to the network segment types, network segment levels, use units and use levels of the switches and the like. The management level comprises a plurality of access points, and the target switch is associated with the corresponding access points, the command template and the IP network segment. When the target switch needs to be queried, the query instruction carries an instruction for querying the target switch information of the specified level.
As an example, when the target switch or terminal under the lan segment needs to be queried, the query instruction can only query the information of the target switch or terminal under the management lan segment, but cannot query the information of the target switch or terminal under other segments, such as the wide area segment.
Or, when the information of the switch of the first usage level needs to be queried, the query instruction only includes the information of the switch of the first usage level, but cannot query the information of the switches except the switch of the first usage level.
And 103, performing information management on the target switch and the terminal managed by the target switch based on the management instruction of the management level of the target switch.
The management referred to in the embodiment of the present invention includes, but is not limited to, operations such as querying and modifying information of the target switch and the terminal managed by the target switch. Wherein the modification includes, but is not limited to, a delete operation, etc.
As an example, when the information of the target switch needs to be queried, based on a query instruction of a management layer where the target switch is located, the switch configuration interface receives the query instruction, queries the target switch corresponding to the query instruction from a command template, and provides the information of the target switch.
When the information of the terminal managed by the target switch needs to be inquired, based on the inquiry instruction of the management level of the terminal managed by the target switch, the switch configuration interface receives the inquiry instruction, searches the target switch for managing the terminal from the instruction template, and then inquires the information of the terminal.
In one possible implementation, as shown in fig. 3, the management hierarchy includes a usage unit management layer, a template management layer, a network device management layer, an account management layer, a terminal management layer, and a comprehensive query management layer; information at different management levels may be managed through management accounts with different management rights.
The usage unit management layer includes management layers divided in different attributes at a hierarchy of usage units to the target switch. For example, referring to fig. 3, the primary usage units may include senior users, the secondary usage units may include intermediate users, the tertiary usage units may include primary users, etc., and for example, the senior users may have wider usage rights than the intermediate users, and the primary users may only have rights to view accounts, etc. In this way, information management can be made clearer and clearer.
The template management layer is used for manufacturing command templates for the target switches of different models and managing the command templates of the target switches of different models. The command templates of the target switches of different models can realize the induction and compatibility of the commands of the target switches of different models.
The network management layer provides a uniform management function for the IP network segment, for example, the IP network segment may be divided into a wide area network, an internet network, a private network, and the like, and the operations such as importing and counting the IP network segment are performed according to the user's requirement. The user information management and other office processes can be connected through the operation, and the union of the user work order system is realized.
The work order System (Ticket System), also called as a work order management System, may also be called as a problem work order System, a transaction Tracking System (Issue Tracking System) or a Support work order System (Support Ticket System), is a network software System, and is used for managing, maintaining and Tracking a series of problems and requests according to the needs of different organizations, departments and external clients.
The network device management layer includes management of different types of target switches. As an example, the network device management layer includes managing a target switch IP address, switch login user information, a switch login password, or a link protocol of the switch, etc.
The account management layer comprises management of the use account of the user and the use role, authority, account number, password and the like of the user based on the target switch.
The terminal management layer includes management of the terminals according to different types of the terminals. As an example, the terminal provided in the embodiment of the present invention includes any electronic product that can perform human-Computer interaction with a user through one or more manners such as a keyboard, a touch pad, a touch screen, a remote controller, voice interaction, or a handwriting device, for example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC, handheld Computer), a tablet Computer, a smart car machine, a smart television, a smart speaker, and the like.
Therefore, the terminals used by the user are various, the types and the models of all the terminals are different, the information of the terminals used by the user is unified and stored through the terminal management layer, the terminals can be directly called when the terminals are used conveniently, and the workload of the user is reduced.
The comprehensive query management layer comprises the management of functions of operation query, network segment search, IP address detail search and the like of a user on the basis of a target switch and a target terminal managed by the target switch.
In one possible implementation, step 103 includes: step A and step B.
Step A, determining a current login management account, displaying a management function under a corresponding management level based on the management authority of the management account, and acquiring a corresponding management instruction based on the displayed management function.
When information query and other operations need to be performed on the target switch or the terminal managed by the target switch, the current login management account needs to be determined, different management authorities have different management authorities, different information can be managed by different management authorities, and different instructions for managing the information by the management authorities are different, so that the management instruction corresponding to the management function under the management account is obtained, and the information management is performed on the target switch and the terminal managed by the target switch through the management instruction.
And B, carrying out information management on the target switch and the terminal managed by the target switch based on the management instruction.
After the management instruction is obtained, information management can be performed on the target switch and the terminal managed by the target switch, for example, information inquiry on the target switch and the like, information inquiry on the terminal managed by the target switch and the like.
In one possible implementation, step 103 includes: step C and step D.
And C, when a first modification instruction for modifying the information of the target switch is acquired, modifying the information of the target switch based on the first modification instruction.
The information management method provided by the embodiment of the invention further comprises the step of modifying the information of the target switch, wherein the modification comprises but is not limited to deletion and other operations. For example, when the target switch needs to be deleted, an instruction for deleting the target switch, that is, a first modification instruction needs to be sent, and the information of the target switch is deleted based on the first modification instruction.
And D, when a second modification instruction for modifying the information of the terminal managed by the target switch is acquired, modifying the information of the terminal managed by the target switch based on the second modification instruction.
The method provided by the embodiment of the invention also comprises the step of modifying the terminal information managed by the target switch, including but not limited to deletion and other operations. As an example, when the information of the terminal managed by the target switch needs to be modified, an instruction to modify the information of the terminal managed by the target switch, that is, a second modification instruction needs to be sent, and the information of the terminal managed by the target switch is deleted based on the second modification instruction.
In one possible implementation, step 103 includes: step E and step F.
And E, when a first query instruction for querying the information of the target switch is acquired, querying the information of the target switch based on the first query instruction.
The information management method provided by the embodiment of the invention also comprises the step of inquiring the information of the target switch. When the information of the target switch needs to be acquired, a user needs to send a query instruction for querying the target switch, namely a first query instruction, the switch configuration interface receives the first query instruction, searches the information of the target switch corresponding to the first query instruction in the command template, and transmits the information of the target switch to the user.
As an example, the first query instruction may be a query including an IP address of the query target switch, a binding unbind command, or a connection protocol, etc.
And F, when a second query instruction for querying the information of the terminal managed by the target switch is acquired, querying the information of the terminal managed by the target switch based on the second query instruction.
The information management method provided by the embodiment of the invention also comprises the step of inquiring the information of the terminal managed by the target switch. When the information of the terminal managed by the target switch needs to be inquired, the user needs to send an inquiry instruction for inquiring the terminal managed by the target switch, namely a second inquiry instruction, the switch configuration interface receives the second inquiry instruction, searches the information of the target switch in the command template, finds the information of the terminal managed by the target switch through the information of the target switch, and transmits the information to the user.
As an example, the second query instruction may include querying an IP address, a MAC address, or a usage account of the terminal, a password of the usage account, or the like of the terminal managed by the target switch.
In a possible implementation manner, the method provided in the embodiment of the present invention further includes: when a target terminal managed by a target switch needs to be added, acquiring an IP address, a Media Access Control (MAC) address and a corresponding port number of the target terminal;
determining a target switch for managing the target terminal based on the IP address of the target terminal;
searching a command template matched with the target switch;
and calling a binding command in the command template to bind the IP address and the MAC address of the target terminal to obtain a binding parameter aiming at the target terminal, wherein the binding parameter aiming at the target terminal comprises the IP address, the MAC address and a corresponding port number of the target terminal.
When a target terminal managed by a target switch needs to be added, the IP address, the MAC address and the corresponding port number of the target terminal are obtained, a command template matched with the target switch is searched, and a binding command in the command template is called to bind the IP address and the MAC address of the target terminal. Therefore, the newly added target terminal can only be used in a specific IP address range, and the non-target terminal which is not bound with the IP address can not be used in the IP network segment, so that the user can record all users using the IP network segment, and the real-time management of the user use information can be realized.
In a possible implementation manner, the method provided in the embodiment of the present invention further includes: when a new switch needs to be added, calling a switch configuration interface to configure the new switch to obtain related information of the new switch;
dividing the new switch into corresponding management levels based on the related information of the new switch, and associating the new switch with the corresponding access point, command template and IP network segment;
and performing information management on the new switch and the terminal managed by the new switch based on the relevant information of the new switch.
It will be appreciated that when a new target switch needs to be added, the switch configuration interface is used to configure the information of the new switch, such as the IP address, MAC address, login account, login password, etc. of the new target switch.
And dividing the new target switch into corresponding management levels according to the information of the IP address, the MAC address, the login account, the login password and the like of the new target switch, and associating the new switch with the corresponding access point, the command template and the IP network segment so as to ensure that when the information of the new target switch is inquired and modified, the inquiry or modification and the like of the newly added information of the target switch can be realized by referring to the management instruction of the management levels. And when inquiring and modifying the information of the target terminal managed by the new target switch, the inquiry or modification of the information of the target terminal managed by the target switch can be realized by referring to the management instruction of the management level.
On the other hand, an embodiment of the present invention further provides an information management apparatus, as shown in fig. 4, the apparatus includes:
the system comprises an acquisition unit 201, a processing unit and a processing unit, wherein the acquisition unit 201 is used for calling a switch configuration interface to configure a target switch and acquiring related information of the target switch, the related information comprises necessary parameters for logging in the target switch, a command template of the target switch and binding parameters of the target switch, the necessary parameters and the binding parameters are all associated with the command template, the command template is obtained by analyzing and sorting control commands of the target switch, different types of target switches correspond to different command templates, and the binding parameters are used for determining binding object information set in the target switch;
the association unit 202 is configured to divide the target switch into corresponding management tiers based on the related information of the target switch, where the management tiers include multiple access points and associate the target switch with the corresponding access points, the command template, and the internet protocol IP network segment;
the management unit 203 is configured to perform information management on the target switch and the terminal managed by the target switch based on a management instruction of a management level where the target switch is located.
In one possible implementation manner, the management level comprises a use unit management layer, a template management layer, a network equipment management layer, an account management layer, a terminal management layer and a comprehensive query management layer; information under different management levels can be managed through management accounts with different management authorities;
the management unit 203 is configured to determine a currently logged-in management account, display a management function in a corresponding management level based on a management authority of the management account, and acquire a corresponding management instruction based on the displayed management function;
and carrying out information management on the target switch and the terminal managed by the target switch based on the management instruction.
In a possible implementation manner, the management unit 203 is configured to, when a first modification instruction for modifying information of a target switch is acquired, modify the information of the target switch based on the first modification instruction;
when a second modification instruction for modifying the information of the terminal managed by the target switch is acquired, the information of the terminal managed by the target switch is modified based on the second modification instruction.
In a possible implementation manner, the management unit 203 is configured to, when a first query instruction for querying information of a target switch is obtained, query the information of the target switch based on the first query instruction;
and when a second query instruction for querying the information of the terminal managed by the target switch is acquired, querying the information of the terminal managed by the target switch based on the second query instruction.
In a possible implementation manner, the obtaining unit 201 is further configured to obtain, when a target terminal managed by a target switch needs to be added, an IP address, a media access control MAC address, and a corresponding port number of the target terminal;
a management unit 203, further configured to determine a target switch for managing the target terminal based on the IP address of the target terminal; searching a command template matched with the target switch; and calling a binding command in the command template to bind the IP address and the MAC address of the target terminal to obtain a binding parameter aiming at the target terminal, wherein the binding parameter aiming at the target terminal comprises the IP address, the MAC address and a corresponding port number of the target terminal.
In a possible implementation manner, the associating unit 202 is further configured to, when a new switch needs to be added, invoke a switch configuration interface to configure the new switch, so as to obtain relevant information of the new switch; dividing the new switch into corresponding management levels based on the related information of the new switch, and associating the new switch with the corresponding access point, command template and IP network segment;
the management unit 203 is further configured to perform information management on the new switch and the terminal managed by the new switch based on the relevant information of the new switch.
The device provided by the embodiment of the invention replaces manual acquisition, recording and planning of operators, reduces the error probability, improves the management efficiency and also lightens the workload of network managers.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
The above description is only an illustrative embodiment of the present invention, and should not be taken as limiting the scope of the invention, and any modifications, equivalents, improvements and the like that are within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. An information management method, characterized in that the method comprises:
calling a switch configuration interface to configure a target switch, and acquiring related information of the target switch, wherein the related information comprises necessary parameters for logging in the target switch, a command template of the target switch and binding parameters of the target switch, the necessary parameters and the binding parameters are all associated with the command template, the command template is obtained by analyzing and sorting control commands of the target switch, different types of target switches correspond to different command templates, and the binding parameters are used for determining object information set and bound in the target switch;
dividing the target switch into corresponding management levels based on the related information of the target switch, wherein the management levels comprise a plurality of access points, and associating the target switch with the corresponding access points, a command template and an Internet Protocol (IP) network segment;
and carrying out information management on the target switch and the terminal managed by the target switch based on a management instruction of a management level where the target switch is located.
2. The method of claim 1, wherein the management hierarchy comprises a usage unit management layer, a template management layer, a network device management layer, an account management layer, a terminal management layer, and a comprehensive query management layer; information under different management levels can be managed through management accounts with different management authorities;
the information management of the target switch and the terminal managed by the target switch based on the management instruction of the management level of the target switch comprises the following steps:
determining a current login management account, displaying a management function under a corresponding management level based on the management authority of the management account, and acquiring a corresponding management instruction based on the displayed management function;
and carrying out information management on the target switch and the terminal managed by the target switch based on the management instruction.
3. The method according to claim 1, wherein the information management of the target switch and the terminal managed by the target switch based on the management instruction of the management level of the target switch comprises:
when a first modification instruction for modifying the information of the target switch is acquired, modifying the information of the target switch based on the first modification instruction;
when a second modification instruction for modifying the information of the terminal managed by the target switch is acquired, modifying the information of the terminal managed by the target switch based on the second modification instruction.
4. The method according to claim 1, wherein the information management of the target switch and the terminal managed by the target switch based on the management instruction of the management level of the target switch comprises:
when a first query instruction for querying the information of the target switch is acquired, querying the information of the target switch based on the first query instruction;
and when a second query instruction for querying the information of the terminal managed by the target switch is acquired, querying the information of the terminal managed by the target switch based on the second query instruction.
5. The method according to any one of claims 1-4, further comprising:
when a target terminal managed by the target switch needs to be added, acquiring an IP address, a Media Access Control (MAC) address and a corresponding port number of the target terminal;
determining a target switch for managing the target terminal based on the IP address of the target terminal;
searching a command template matched with the target switch;
and calling a binding command in the command template to bind the IP address and the MAC address of the target terminal to obtain a binding parameter aiming at the target terminal, wherein the binding parameter aiming at the target terminal comprises the IP address, the MAC address and a corresponding port number of the target terminal.
6. The method according to any one of claims 1-4, further comprising:
when a new switch needs to be added, calling the switch configuration interface to configure the new switch to obtain the related information of the new switch;
dividing the new switch into corresponding management levels based on the related information of the new switch, and associating the new switch with a corresponding access point, a command template and an IP network segment;
and performing information management on the new switch and the terminal managed by the new switch based on the relevant information of the new switch.
7. An information management apparatus, characterized in that the apparatus comprises:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for calling a switch configuration interface to configure a target switch and acquiring related information of the target switch, the related information comprises necessary parameters for logging in the target switch, a command template of the target switch and binding parameters of the target switch, the necessary parameters and the binding parameters are all associated with the command template, the command template is obtained by analyzing and sorting control commands of the target switch, different types of target switches correspond to different command templates, and the binding parameters are used for determining object information for setting binding in the target switch;
the association unit is used for dividing the target switch into corresponding management levels based on the related information of the target switch, wherein the management levels comprise a plurality of access points, and the target switch is associated with the corresponding access points, the command template and the Internet Protocol (IP) network segment;
and the management unit is used for carrying out information management on the target switch and the terminal managed by the target switch based on the management instruction of the management level of the target switch.
8. The apparatus of claim 7, wherein the management hierarchy comprises a usage unit management layer, a template management layer, a network device management layer, an account management layer, a terminal management layer, and a comprehensive query management layer; information under different management levels can be managed through management accounts with different management authorities;
the management unit is used for determining a currently logged-in management account, displaying a management function under a corresponding management level based on the management authority of the management account, and acquiring a corresponding management instruction based on the displayed management function; and carrying out information management on the target switch and the terminal managed by the target switch based on the management instruction.
9. The apparatus according to claim 7, wherein the management unit is configured to, when a first modification instruction for modifying the information of the target switch is acquired, modify the information of the target switch based on the first modification instruction; when a second modification instruction for modifying the information of the terminal managed by the target switch is acquired, modifying the information of the terminal managed by the target switch based on the second modification instruction.
10. The apparatus according to any one of claims 7 to 9, wherein the management unit is configured to, when a first query instruction for querying information of the target switch is acquired, query the information of the target switch based on the first query instruction; and when a second query instruction for querying the information of the terminal managed by the target switch is acquired, querying the information of the terminal managed by the target switch based on the second query instruction.
CN201910469201.9A 2019-05-31 2019-05-31 Information management method and device Active CN112019364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910469201.9A CN112019364B (en) 2019-05-31 2019-05-31 Information management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910469201.9A CN112019364B (en) 2019-05-31 2019-05-31 Information management method and device

Publications (2)

Publication Number Publication Date
CN112019364A CN112019364A (en) 2020-12-01
CN112019364B true CN112019364B (en) 2023-04-18

Family

ID=73501981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910469201.9A Active CN112019364B (en) 2019-05-31 2019-05-31 Information management method and device

Country Status (1)

Country Link
CN (1) CN112019364B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113674741A (en) * 2021-07-30 2021-11-19 北京卓越信通电子股份有限公司 Method for configuring switch in intelligent interactive mode

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1411214A (en) * 2002-11-15 2003-04-16 烽火通信科技股份有限公司 Network equipment management method based on ethernet technology
US6718379B1 (en) * 2000-06-09 2004-04-06 Advanced Micro Devices, Inc. System and method for network management of local area networks having non-blocking network switches configured for switching data packets between subnetworks based on management policies
CN102123050A (en) * 2011-03-09 2011-07-13 成都勤智数码科技有限公司 Network terminal management method
CN104394008A (en) * 2014-10-10 2015-03-04 广东电网有限责任公司电力科学研究院 A method for configuring uniformly different types of intelligent electronic devices and the system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6718379B1 (en) * 2000-06-09 2004-04-06 Advanced Micro Devices, Inc. System and method for network management of local area networks having non-blocking network switches configured for switching data packets between subnetworks based on management policies
CN1411214A (en) * 2002-11-15 2003-04-16 烽火通信科技股份有限公司 Network equipment management method based on ethernet technology
CN102123050A (en) * 2011-03-09 2011-07-13 成都勤智数码科技有限公司 Network terminal management method
CN104394008A (en) * 2014-10-10 2015-03-04 广东电网有限责任公司电力科学研究院 A method for configuring uniformly different types of intelligent electronic devices and the system thereof

Also Published As

Publication number Publication date
CN112019364A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
US20200327145A1 (en) Cooperative naming for configuration items in a distributed configuration management database environment
CN101166118B (en) A method for processing user configuration information and service report system
CN107798038B (en) Data response method and data response equipment
JP2006520575A (en) Relational model for management information in network services
CN104217150A (en) Method and device for calling application
US9100301B2 (en) Systems, methods, and articles of manufacture to manage alarm configurations of servers
CN111651738B (en) Fine-grained role authority unified management method based on front-end and back-end separation architecture and electronic device
CN110909034A (en) Service data distribution method, device, terminal equipment and storage medium
CN111274561A (en) Identity management method, device, equipment and storage medium
CN111177698B (en) Processing method and device of portal system and computer equipment
CN104731062A (en) Intelligent network management system and method used for monitoring state and dispatching for instruments
CN107633386B (en) Method, system, equipment and storage medium for managing network terminal information
CN112019364B (en) Information management method and device
CN112288400A (en) Multi-system data interaction method and device, computer equipment and storage medium
US20150310390A1 (en) Aggregation and workflow engines for managing project information
EP2348676B1 (en) Method for accessing magnanimity data of intelligent network service database and system and device thereof
CN106777019B (en) A kind of monitoring method and monitoring server of HBase system
CN106209955A (en) A kind of account management method, Apparatus and system
CN111680275A (en) Authority management method and system of industrial personal computer control system, storage medium and equipment
CN111027093A (en) Access right control method and device, electronic equipment and storage medium
CN116049254A (en) Data asset statistics method based on database
CN109460318A (en) It is a kind of can rollback archives acquisition data introduction method, computer installation and computer readable storage medium
CN101646191B (en) Data processing method and device
CN110704501B (en) User account correlation method and device
CN113742369A (en) Data authority management method, system 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
GR01 Patent grant
GR01 Patent grant