Summary of the invention
In order to carry out the remote auto debugging to communication equipment, the invention provides a kind of remote automatic debugging method of communication equipment, after the hardware installation of communication equipment, Network Management Equipment carries out the remote auto debugging to described communication equipment, it is characterized in that described adjustment method may further comprise the steps:
(A), Network Management Equipment and communication equipment to be debugged establish a communications link, by the described described device attribute information for the treatment of debug communications equipment that obtains that communicates to connect, described device attribute information comprises: the fundamental type of communication equipment and monitoring type, the routing iinformation of communication equipment and networking mode, and the attribute information of veneer in the communication equipment;
(B), Network Management Equipment will treat that the device attribute information of debug communications equipment sends to network analog equipment, described network analog equipment generates artificial traffic equipment based on the fundamental type and the monitoring type of described communication equipment in analog network, routing iinformation based on described communication equipment is connected with networking mode is set up described artificial traffic equipment in analog network network, and the attribute information based on veneer generates analog veneer in artificial traffic equipment, realizes the location and the identification of veneer in the artificial traffic equipment;
(C), artificial traffic equipment is set up after the request that receives Network Management Equipment and the communicating to connect of Network Management Equipment, artificial traffic equipment is to Network Management Equipment reporting equipment operation information, Network Management Equipment is debugged artificial traffic equipment in analog network according to equipment operation information, process surveyed in the accent of artificial traffic equipment record Network Management Equipment, generates the configuration file of being made up of debug command;
(D), Network Management Equipment sends to the described debug communications equipment for the treatment of with the configuration file that generates, utilize configuration file that the described debug communications equipment for the treatment of is configured, wait for the described commissioning device return results for the treatment of, if configuration successful, then the described business datum for the treatment of on the debug communications equipment of Network Management Equipment configuration is finished the debugging for the treatment of debug communications equipment to described; If configuration failure illustrates the described debug communications equipment existing problems for the treatment of, determine particular problem according to return results.
Also comprise, described network analog equipment generates analog veneer based on the attribute information of veneer in artificial traffic equipment after, set up the relation table that communicates to connect between a plurality of veneers, and communicate to connect in the retransmission unit that relation table is stored in network analog equipment described, described retransmission unit is transmitted message between the veneer according to connection relational table, veneer is carried out corresponding action according to the message of receiving, the state that retransmission unit is carried out after moving veneer is stored, and retransmission unit reports Network Management Equipment with analog veneer running state information and analog veneer action message.
Also comprise veneer batch processing configuration, Network Management Equipment is opened veneer batch processing configuration interface, select the veneer that message triggered, select the performed action of veneer triggered then, described action comprises: the upset of veneer presence, the upset of alarm status, the variation of parameter option, the variation of variation of bus mapping table and time slot allocation.
Also comprise, described Network Management Equipment is opened the configuration interface of veneer, configuration single board service parameter, the mapping table of configuration device port sequence number and bus sequence number, the mapping table of configured port sequence number and time slot, the mapping table of source of configuration bus sequence number, source time slot sequence number, place bus sequence number and place time slot sequence number, and configuration information is kept in the database.
Also comprise the numerical value change that configuration is legal, also can dispose and cross the border or the variation of insignificant illegal value, and this file is preserved, open the triggering dialog box, select the time and the time interval of regularly triggering; As test large information capacity we can to dispose the equipment that is triggered a lot, the batch processing execution interval is short; As test anomalous event, then we can be configured to said mapping table be illegal value.
Described configuration file adopts XML and ASCII character to realize jointly, and timer function is set, and has solved the conventional arrangement file problem of disposable execution in batches, and the execution of can regularly carrying out or circulate of described configuration file is to reach the purpose of automatic adjusting and testing.
The present invention also provides a kind of remote auto debug system of communication equipment, after the hardware installation of communication equipment, Network Management Equipment carries out the remote auto debugging to described communication equipment, gateway device is set up respectively with treating the two-way communication of debug communications equipment with network analog equipment and is connected, it is characterized in that, also comprise:
Network Management Equipment, obtain the described device attribute information for the treatment of debug communications equipment, described device attribute information comprises: the fundamental type of communication equipment and monitoring type, the routing iinformation of communication equipment and networking mode, and the attribute information of veneer in the communication equipment, described device attribute information is sent to network analog equipment;
Network analog equipment, information Network Based generates the analog network of supporting the multi-communication devices expansion, described network analog equipment generates artificial traffic equipment based on the fundamental type and the monitoring type of described communication equipment in analog network, routing iinformation based on described communication equipment is connected with networking mode is set up described artificial traffic equipment in analog network network, and the attribute information based on veneer generates analog veneer in artificial traffic equipment, realizes the location and the identification of veneer in the artificial traffic equipment;
Network Management Equipment request and artificial traffic equipment establish a communications link, after communicating to connect foundation, artificial traffic equipment is to Network Management Equipment reporting equipment operation information, Network Management Equipment is debugged artificial traffic equipment in analog network according to equipment operation information, process surveyed in the accent of artificial traffic equipment record Network Management Equipment, generates the configuration file of being made up of debug command;
Network Management Equipment sends to the described debug communications equipment for the treatment of with the configuration file that generates, utilize configuration file that the described debug communications equipment for the treatment of is configured, wait for the described commissioning device return results for the treatment of, if configuration successful, then the described business datum for the treatment of on the debug communications equipment of Network Management Equipment configuration is finished the debugging for the treatment of debug communications equipment to described; If configuration failure illustrates the described debug communications equipment existing problems for the treatment of, determine particular problem according to return results.
Also comprise, described network analog equipment generates analog veneer based on the attribute information of veneer in artificial traffic equipment after, set up the relation table that communicates to connect between a plurality of veneers, and communicate to connect in the retransmission unit that relation table is stored in network analog equipment described, described retransmission unit is transmitted message between the veneer according to connection relational table, veneer is carried out corresponding action according to the message of receiving, the state that retransmission unit is carried out after moving veneer is stored, and retransmission unit reports Network Management Equipment with analog veneer running state information and analog veneer action message.
Also comprise veneer batch processing configuration, Network Management Equipment is opened veneer batch processing configuration interface, select the veneer that message triggered, select the performed action of veneer triggered then, described action comprises: the upset of veneer presence, the upset of alarm status, the variation of parameter option, the variation of variation of bus mapping table and time slot allocation.
Also comprise, described Network Management Equipment is opened the configuration interface of veneer, configuration single board service parameter, the mapping table of configuration device port sequence number and bus sequence number, the mapping table of configured port sequence number and time slot, the mapping table of source of configuration bus sequence number and source time slot sequence number, the mapping table of configuration place bus sequence number and place time slot sequence number, and configuration information is kept in the database.
Also comprise the numerical value change that configuration is legal, also can dispose and cross the border or the variation of insignificant illegal value, and this file is preserved, open the triggering dialog box, select the time and the time interval of regularly triggering; As test large information capacity we can to dispose the equipment that is triggered a lot, the batch processing execution interval is short; As test anomalous event, then we can be configured to said mapping table be illegal value.
Described configuration file adopts XML and ASCII character to realize jointly, and timer function is set, and has solved the conventional arrangement file problem of disposable execution in batches, and the execution of can regularly carrying out or circulate of described configuration file is to reach the purpose of automatic adjusting and testing.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further.
As shown in Figure 2, after installation personnel installed the hardware of communication equipment, Network Management Equipment carried out the remote auto debugging to described communication equipment.Described Network Management Equipment is the intelligent apparatus with storage and information processing function, for example, and server, PC, personal digital assistant PDA etc.Network Management Equipment establishes a communications link with communication equipment to be debugged, obtain the described device attribute information for the treatment of debug communications equipment by described connection, described device attribute information comprises: the fundamental type of communication equipment and monitoring type, the routing iinformation of communication equipment and networking mode, and the attribute information of veneer in the communication equipment.
Described communication equipment fundamental type comprises: device type ID, device version, PCB version, FPGA version.The monitoring type of described communication equipment comprises: (1) COM monitor mode or Ethernet monitor mode; (2) use agreement is proprietary protocol or snmp protocol, and the version of described agreement.
The routing iinformation of described communication equipment comprises: the cable type of (1) communication equipment, for example, 2M cable, voice cable, light cable, Ethernet cable, RS232/485 cable; (2) link information of communication equipment, for example, IP address, MAC Address, the network address, device address and port numbers.Described networking mode comprises: switch networking, broadband router networking, wireless networking and USB networking etc.
The attribute information of described veneer comprises: (1) veneer fundamental type comprises: board type ID, single board edition, PCB version and FPGA version; (2) single-plate parameters comprises: network management path configuration, port enable configuration, CRC check configuration, clock configuration; (3) action of veneer execution comprises: the upset of veneer presence, the upset of alarm status, the setting of setting of bus mapping table and time slot allocation; (4) single board service parameter comprises: configured port sequence number, the mapping table of configuration bus sequence number, the mapping table of configuration time slot, source of configuration bus sequence number mapping table, source of configuration time slot sequence number mapping table, configuration place bus sequence number mapping table and configuration place time slot sequence number mapping table.
Network analog equipment information Network Based generates the analog network of supporting the multi-communication devices expansion, and this network analog equipment is the intelligent apparatus with storage and information processing function, for example, and server, PC, personal digital assistant PDA etc.Network analog equipment is set up the analog network that comprises a plurality of artificial traffic equipments according to the network information that Network Management Equipment provided, described artificial traffic equipment is identical with the parameter of its corresponding communication equipment, and the running status of analog network is consistent with the running status of real network.
Network Management Equipment will treat that the device attribute information of debug communications equipment sends to network analog equipment, described network analog equipment generates artificial traffic equipment based on the fundamental type and the monitoring type of described communication equipment in analog network, routing iinformation based on described communication equipment is connected with networking mode is set up described artificial traffic equipment in analog network network, and the attribute information based on veneer generates analog veneer in artificial traffic equipment, realizes the location and the identification of veneer in the artificial traffic equipment;
Artificial traffic equipment is set up after the request that receives Network Management Equipment and the communicating to connect of Network Management Equipment, artificial traffic equipment is to Network Management Equipment reporting equipment operation information, Network Management Equipment is debugged network analog equipment in analog network according to equipment operation information, process surveyed in the accent of artificial traffic equipment record Network Management Equipment, generates the configuration file of being made up of debug command.
Network Management Equipment sends to the described debug communications equipment for the treatment of with the configuration file that generates, utilize configuration file that the described debug communications equipment for the treatment of is configured, wait for the described commissioning device return results for the treatment of, if configuration successful, then the described business datum for the treatment of on the debug communications equipment of Network Management Equipment configuration is finished the debugging for the treatment of debug communications equipment to described; If configuration failure illustrates the described debug communications equipment existing problems for the treatment of, determine particular problem according to return results.
Described network analog equipment generates analog veneer based on the attribute information of veneer in artificial traffic equipment after, set up the relation table that communicates to connect between a plurality of veneers, and communicate to connect in the retransmission unit that relation table is stored in network analog equipment described, described retransmission unit is transmitted message between the veneer according to connection relational table, veneer is carried out corresponding action according to the message of receiving, the state that retransmission unit is carried out after moving veneer is stored, and retransmission unit reports Network Management Equipment with analog veneer running state information and analog veneer action message.
The communication equipment network environment is made of many communication equipments, and communication equipment is made up of many hardware single board, and therefore, the communication equipment network environment finally is made up of many veneers.Network analog equipment is wanted the network environment of artificial traffic equipment, it is exactly in fact the information transmission of wanting between the analog veneer, this information transmission can be described as the annexation of a provenance veneer to the purpose veneer, simulates a network environment, and what finally obtain is a connection relational table.
Network analog equipment provides the networking interface to carry out networking operation and veneer simulation to Network Management Equipment, veneer as source veneer in the analog network will need the information of outwards transmission to pass to the retransmission unit of network analog equipment, and the retransmission unit unification is forwarded to information and belongs to the pairing purpose veneer of described source veneer transmission information.Network Management Equipment generates the order of simulation webmaster and comes management single board, or carries out the fault location of veneer.
Fig. 3 is the flow chart according to the debugging single board method of embodiment of the present invention.Be that example describes with the SDH network environment below, the introduction analog network how analog machine Network Based provided carries out the process of SDH debugging single board, and described debugging single board process is specific as follows:
Step 1, Network Management Equipment are set up two-way communication with the networking unit of network analog equipment respectively with retransmission unit and are connected, and set up two-way communication between networking unit and the retransmission unit and connect;
Step 2, the network equipment carries out networking operation according to property of single plate information on the networking unit, and network analog equipment generates the veneer connection relational table according to the networking information that the network equipment provided; The information of each veneer comprises: veneer ID, groove bit address, veneer address, communication equipment ID, pass-along message type.
Step 3, the networking unit sends to retransmission unit by communicating to connect with the veneer connection relational table, and retransmission unit is preserved described veneer connection relational table;
Step 4, network analog equipment set up that two-way communication is connected between veneer and the retransmission unit, and veneer sends registration message by communicating to connect to retransmission unit, and described registration message comprises: source veneer ID, registration message sign, access path; The mapping relations that retransmission unit is set up the source veneer and communicated to connect according to the registration message that receives;
Step 5, repeating step 4 form veneer and the mapping table that communicates to connect until the registration message of setting up all veneers, and described mapping table comprises: veneer ID, access path;
Step 6, Network Management Equipment set up with veneer between two-way communication is connected, Network Management Equipment sends to veneer A and simulates the webmaster order, veneer A is carried out corresponding action after receiving the order of simulation webmaster, outwards sends message if desired, then the described message that will send is sent to retransmission unit, the form of described message is as follows: message identifier, source veneer, type of message, message-length, the message number, message content, type of action.
Step 7, retransmission unit is received described forwarding message, according to the source single board information inquiry connection relational table in the message header, search the purpose veneer, and the purpose single board information added in the information header, according to purpose single board information Query Board with communicate to connect mapping table, find corresponding communicating to connect, communicate to connect by this at last forwarding message is sent to the purpose veneer, the purpose veneer is carried out corresponding action, and the form of transmitting message is as follows: transmit message identifier, the source veneer, the purpose veneer, type of message, message-length, message number, message content, type of action;
Step 8, the real-time action message with its generation of veneer sends to retransmission unit, and retransmission unit is preserved its action message that receives;
Step 9, retransmission unit storage running state of single plate information also writes down the veneer action message, and above-mentioned information is regularly sent to Network Management Equipment, and whether the checking veneer moves normally.
If veneer breaks down, need report failure message, the failure message form that veneer reports Network Management Equipment to adopt comprises: failure message ID: the identifier of distinguishing other failure message; Fault time: the time that record trouble takes place, for example, 2009-03-0112:02:28; Type code: determine which class fault is this fault belong to, the fault of types such as power failure, master chip fault, config failure, Network Management Equipment is according to type code analysis of failure type; Communication equipment ID, the identifier of the present communication equipment of veneer; Data length: the true length of determining fault data; Fault data: reflect that truly veneer internal data at that time takes place fault;
When fault takes place, when Network Management Equipment is inquired about concrete failure logging, the mode of inquiry is closely related with user-defined data, can be by " fault type " inquiry, also can be by " time of failure section " inquiry or the like, so rapidly and efficiently the fault of positioning equipment avoids similar fault to take place once more, guarantees the stable operation of equipment.
Network Management Equipment can also carry out the veneer configuration to veneer, described Network Management Equipment is opened the configuration interface of veneer, the option of configuration single-plate parameters, the mapping table of configuration device port sequence number and bus sequence number, the mapping table of configured port sequence number and time slot, the mapping table of source of configuration bus sequence number and source time slot sequence number, the mapping table of place bus sequence number and place time slot sequence number, and configuration information is kept in the database.
Network Management Equipment can also carry out the batch processing configuration to veneer, Network Management Equipment is opened veneer batch processing configuration interface, select the veneer that message triggered, select the performed action of veneer triggered then, described action comprises: the upset of veneer presence, the upset of alarm status, the variation of parameter option, the variation of variation of bus mapping table and time slot allocation.
Also comprise the numerical value change that configuration is legal, also can dispose and cross the border or the variation of insignificant illegal value, and this file is preserved.Open the triggering dialog box, select the time and the time interval of regularly triggering, triggering perhaps directly touches the button.As test large information capacity we can to dispose the equipment that is triggered a lot, the batch processing execution interval is short.As test anomalous event, then we can be configured to said mapping table be illegal value.
Also comprise the transducer that described communication equipment is carried out environmental monitoring in the communication equipment, management for environment monitor information is monitored and obtained to transducer to the residing environment of communication equipment, described management for environment monitor information comprises: video monitoring information, monitoring temperature information, humidity control information, smog monitor message, water logging monitor message and noise monitoring information.Described video monitoring information obtains by monitoring remote video equipment, described monitoring temperature information, humidity control information, smog monitor message, water logging monitor message and noise information are passed through temperature sensor, humidity sensor respectively, Smoke Sensor, water sensor and noise transducer obtain.
The management for environment monitor information that Network Management Equipment obtains according to transducer is determined the particular location and the fault type of network failure.
Network Management Equipment is by communicating to connect the management for environment monitor information of obtaining communication equipment, and described management for environment monitor information sent to network analog equipment, network analog equipment is set up simulated environment information for each artificial traffic equipment in the simulation networking, and according to management for environment monitor information real-time update simulated environment information that Network Management Equipment sent.
Fig. 4 is the remote auto debug system according to the communication equipment of embodiment of the present invention.After installation personnel installed the hardware of communication equipment, Network Management Equipment carried out the remote auto debugging to described communication equipment.Described Network Management Equipment is the intelligent apparatus with storage and information processing function, for example, and server, PC, personal digital assistant PDA etc.The Network Management Equipment Network Management Equipment is set up two-way communication with communication equipment to be debugged and is connected, by the described described device attribute information for the treatment of debug communications equipment that obtains that communicates to connect, described device attribute information comprises: the fundamental type of communication equipment and monitoring type, the routing iinformation of communication equipment and networking mode, and the attribute information of veneer in the communication equipment.
Network Management Equipment will treat that the device attribute information of debug communications equipment sends to network analog equipment, network analog equipment information Network Based generates the analog network of supporting the multi-communication devices expansion, this network analog equipment is the intelligent apparatus with storage and information processing function, for example, server, PC, personal digital assistant PDA etc.
Network analog equipment generates artificial traffic equipment based on the fundamental type and the monitoring type of described communication equipment in analog network, routing iinformation based on described communication equipment is connected with networking mode is set up described artificial traffic equipment in analog network network, and the attribute information based on veneer generates analog veneer in artificial traffic equipment, realizes the location and the identification of veneer in the artificial traffic equipment.
Artificial traffic equipment is set up after the request that receives Network Management Equipment and the communicating to connect of Network Management Equipment, artificial traffic equipment is to Network Management Equipment reporting equipment operation information, Network Management Equipment is debugged artificial traffic equipment in analog network according to equipment operation information, generates the configuration file for the treatment of debug communications equipment according to debug results.
Network Management Equipment sends to the described debug communications equipment for the treatment of with the configuration file that generates, utilize configuration file to described treat that debug communications equipment is configured after, the described business datum for the treatment of on the debug communications equipment of Network Management Equipment configuration is finished the debugging for the treatment of debug communications equipment to described.
As shown in Figure 5, described network analog equipment also comprises networking unit and retransmission unit, and the networking unit of network analog equipment is set up two-way communication with Network Management Equipment respectively with retransmission unit and is connected, and sets up the two-way communication connection between networking unit and the retransmission unit.The network equipment carries out networking operation according to property of single plate information on the networking unit, network analog equipment generates the veneer connection relational table according to the networking information that the network equipment provided.
The networking unit sends to retransmission unit by communicating to connect with the veneer connection relational table, and retransmission unit is preserved described veneer connection relational table.Network analog equipment sets up that two-way communication is connected between veneer and the retransmission unit, veneer sends registration message by communicating to connect to retransmission unit, the mapping relations that retransmission unit is set up the source veneer and communicated to connect according to the registration message that receives, retransmission unit forms veneer and the mapping table that communicates to connect according to the registration message of all veneers.
Network Management Equipment set up with veneer between two-way communication be connected, Network Management Equipment sends the order of simulation webmaster to veneer A, and veneer A is carried out corresponding action after receiving the order of simulation webmaster, outwards send message if desired, then the described message that will send is sent to retransmission unit.
Retransmission unit is received described forwarding message, according to the source single board information inquiry connection relational table in the message header, search the purpose veneer, and with in the purpose single board information adding information header, according to purpose single board information Query Board with communicate to connect mapping table, find corresponding communicating to connect, communicate to connect by this at last forwarding message is sent to the purpose veneer, the purpose veneer is carried out corresponding action.
The real-time action message with its generation of veneer sends to retransmission unit, and retransmission unit is preserved its action message that receives;
Retransmission unit is stored analog veneer running state information and analog veneer action message, and above-mentioned information is regularly sent to Network Management Equipment, and whether the checking veneer moves normally.