CN105281934A - Storage method and system for single board log information - Google Patents

Storage method and system for single board log information Download PDF

Info

Publication number
CN105281934A
CN105281934A CN201410301972.4A CN201410301972A CN105281934A CN 105281934 A CN105281934 A CN 105281934A CN 201410301972 A CN201410301972 A CN 201410301972A CN 105281934 A CN105281934 A CN 105281934A
Authority
CN
China
Prior art keywords
network element
syslog
message
gateway
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410301972.4A
Other languages
Chinese (zh)
Other versions
CN105281934B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410301972.4A priority Critical patent/CN105281934B/en
Priority to PCT/CN2014/090472 priority patent/WO2015196694A1/en
Publication of CN105281934A publication Critical patent/CN105281934A/en
Application granted granted Critical
Publication of CN105281934B publication Critical patent/CN105281934B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a storage method for single board log information, which comprises the steps of: presetting a communication interface of wavelength division multiplexing according to a networking method between a network element and a system log Syslog server, so as to bind a log information transmitting path; and transmitting log information to the Syslog server according to the bound log information transmitting path when the network generates the log information, so that the log information is stored by the Syslog server. The invention further provides a storage system for single board log information for implementing the method. The storage method and the storage system can avoid the occurrence of log information loss incidents, and improve safety and reliability of the system.

Description

The storage means of veneer log information and system
Technical field
The present invention relates to communication technical field, particularly a kind of storage means of veneer log information and system.
Background technology
In the exploitation of WDM (WavelengthDivisionMultiplexing, wave-division device) board software and practical application, the acquisition for the average information in running software and software fault information is a very stubborn problem always.How in the normal implementation of board software, obtaining intermediateness that veneer runs and the software anomaly information that veneer once occurred, is a problem in the urgent need to address to analyzing veneer software fault.
General journal module on veneer can in the mode of journal file, and according to user's request, the key message in the normal implementation of record board software, be also supported under unusual condition appears in veneer, recording exceptional type information is in journal file.Functions such as supporting the inquiry of user journal information simultaneously in many ways, retrieve, report, facilitates user's Remote Acquisitioning log content.But these information are kept at the memory space of veneer in the form of a file, veneer can produce a large amount of log informations after long-play, and the memory space of veneer is limited, likely causes information dropout.
Summary of the invention
Main purpose of the present invention is the storage means providing a kind of veneer log information, is intended to effectively to solve the technical problem that current log information may be lost.
In order to realize foregoing invention object, the invention provides a kind of storage means of veneer log information, comprising the following steps:
The communication interface of wave-division device is preset, to bind log information transmit path according to the networking mode between network element and system journal Syslog server;
When network element produces log information, the log information transmit path according to binding sends log information, for Syslog server stores to Syslog server.
Preferably, describedly preset communication interface according to the networking mode between network element and system journal Syslog server and comprise:
Time between network element and Syslog server for direct communication relation, the first configuration interface for the veneer on network element arranges Syslog server ip address and port, uses the first message interface to send message to Syslog server.
Preferably, describedly preset communication interface according to the networking mode between network element and system journal Syslog server and comprise:
Communicated by agent equipment between network element with Syslog server, when agent equipment is master control borad, use the second configuration interface that its IP address to Syslog server and port are set, open the message that other veneers of port accepts are sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server;
When agent equipment is gateway veneer, use the 3rd configuration interface that its IP address to Syslog server and port are set, open the message that a port accepts network element is sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server;
Veneer uses the first configuration interface be set to IP and the port of network element master control borad, use the first message interface to send Syslog message to master control borad.
Preferably, describedly preset communication interface according to the networking mode between network element and system journal Syslog server and comprise:
Be connected by access network element between network element with Syslog server, when access network element is as gateway, gateway configures IP address and the port of Syslog server, on gateway, opens the Syslog message that a User Datagram Protoco (UDP) udp port reception network element of specifying sends over simultaneously; In order not make an amendment, Syslog server is forwarded directly to the processing mode of Syslog message.
Preferably, described when being connected by access network element between network element with Syslog server, when access network element is as gateway, gateway configures IP address and the port of Syslog server, and the step of simultaneously opening the Syslog message that a User Datagram Protoco (UDP) udp port reception network element of specifying sends on gateway comprises:
When IAD type is common network element gateway, gateway veneer is interface board, arranges Syslog server by DCN network and IAD intercommunication;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, open a udp port of specifying at master control borad simultaneously, receive the Syslog message that other veneers in this network element send over, and the IP that the IP section of message is modified as this network element is sent to gateway by the second message interface;
Veneer uses the first configuration interface it is set to IP of server and port be this network element master control borad IP and port, use the first message interface to send Syslog message to master control borad.
Preferably, described when being connected by access network element between network element with Syslog server, when access network element is as gateway, gateway configures IP address and the port of Syslog server, and the step of simultaneously opening the Syslog message that a User Datagram Protoco (UDP) udp port reception network element of specifying sends on network element comprises:
When IAD is enhancement mode network element gateway, gateway veneer is master control borad, arranges Syslog server by DCN network and IAD intercommunication;
Gateway veneer use the first configuration interface its IP address to Syslog server and port are set, on gateway veneer, open a udp port of specifying simultaneously, accept the Syslog message that network element sends, do not make an amendment and use message interface to be transmitted to Syslog server;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, on master control borad, open a udp port of specifying simultaneously, receive the Syslog message that in this network element, other veneers send over, send to gateway with the second message interface;
Veneer uses the 3rd configuration interface it is set to the IP address and the port that are this network element master control borad, use the first message interface to send Syslog message to master control borad.
The present invention also provides a kind of storage system of veneer log information, and comprise wave-division device and Syslog server, wherein said network element comprises:
Communication setting module, for presetting the communication interface of wave-division device according to the networking mode between network element and system journal Syslog server, to bind log information transmit path;
Log information sending module, for when network element produces log information, the log information transmit path according to binding sends log information, for Syslog server stores to Syslog server.
Preferably, described communication setting module is used for:
Time between network element and Syslog server for direct communication relation, the first configuration interface for the veneer on network element arranges Syslog server ip address and port, uses the first message interface to send message to Syslog server.
Preferably, described communication setting module is used for:
When being communicated by agent equipment between network element with Syslog server, agent equipment uses the second configuration interface to arrange its IP address to Syslog server and port when being master control borad, open the message that other veneers of port accepts are sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server; Use the 3rd configuration interface that its IP address to Syslog server and port are set when agent equipment is gateway veneer, open the message that a port accepts network element is sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server;
Veneer uses the first configuration interface be set to IP and the port of network element master control borad, use the first message interface to send Syslog message to master control borad.
Preferably, described communication setting module is used for:
Be connected by access network element between network element with Syslog server, when access network element is as gateway, gateway configures IP address and the port of Syslog server, on gateway, opens the Syslog message that a User Datagram Protoco (UDP) udp port reception network element of specifying sends over simultaneously; In order not make an amendment, Syslog server is forwarded directly to the processing mode of Syslog message.
Preferably, described communication setting module is used for:
When IAD type is common network element gateway, gateway veneer is interface board, arranges Syslog server by DCN network and IAD intercommunication;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, open a udp port of specifying at master control borad simultaneously, receive the Syslog message that other veneers in this network element send over, and the IP that the IP section of message is modified as this network element is sent to gateway by the second message interface;
Veneer uses the first configuration interface it is set to IP of server and port be this network element master control borad IP and port, use the first message interface to send Syslog message to master control borad.
Preferably, described communication setting module is used for, and when IAD is enhancement mode network element gateway, gateway veneer is master control borad, arranges Syslog server by DCN network and IAD intercommunication;
Gateway veneer use the first configuration interface its IP address to Syslog server and port are set, on gateway veneer, open a udp port of specifying simultaneously, accept the Syslog message that network element sends, do not make an amendment and use message interface to be transmitted to Syslog server;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, on master control borad, open a udp port of specifying simultaneously, receive the Syslog message that in this network element, other veneers send over, send to gateway with the second message interface;
Veneer uses the 3rd configuration interface it is set to the IP address and the port that are this network element master control borad, use the first message interface to send Syslog message to master control borad.
The present invention program is by improving network element, communicate flexibly configuration mode and interface is provided according to different networking modes, make network element all log information can be sent to Syslog server to preserve under multiple networking mode, avoid the generation that log information loses event, improve the safety and reliability of system.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the storage means of veneer log information in a preferred embodiment of the present invention;
Fig. 2 is the multiple configuration diagram of equipment in Syslog agreement in a preferred embodiment of the present invention;
Fig. 3 is veneer in a preferred embodiment of the present invention/subrack commissioning environment schematic;
Fig. 4 is single NE commissioning environment schematic in a preferred embodiment of the present invention;
Fig. 5 is many network element group networks environment in a preferred embodiment of the present invention;
Fig. 6 is the structural representation of the storage system of veneer log information in a preferred embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of storage means of veneer log information, with reference to Fig. 1, in one embodiment of the invention, the storage means of this veneer log information at least comprises the following steps:
Step S10, presets the communication interface of wave-division device according to the networking mode between network element and system journal Syslog server, to bind log information transmit path; Known, there are following two kinds of networking modes at present: 1, directly connect; 2, gateway connects.Gateway connects and is divided into according to actual conditions: common network element gateway (GNE) and enhancement mode gateway (EGNE) two kinds of situations.In gateway connects, more special equipment is access network element, and it has the function of network element, also has the function of gateway simultaneously.Under different networking modes, veneer and module, the mode communicated also have a great difference.The present invention arranges communication interface according to different networking modes, and to make to realize remote data transfer and flexible network configuration between network element and Syslog server, this realization carries out message transmission based on RFC3164 agreement.
The present invention improves network element according to different networking modes, presets different communication interfaces to be formed and to bind log information transmit path, thus realizes the log information of veneer to be sent to Syslog server, makes it be able to preserve at Syslog server.
With reference to Fig. 2, at present, under RFC3164 agreement, the communication mode of network element and server has following several: network element directly and server communicate to connect, network element is communicated to connect by agent equipment and server, and network element is direct or communicated to connect by agent equipment and server.RFC3164 agreement needs three types equipment:
1, Device: message producer;
2, Relay: message forward relay;
3, Collector: message collection person.
In the embodiment of the present invention, wave-division device is described below:
Network element, is made up of master control borad and various veneer, and in the embodiment of the present invention, master control borad and veneer increase configuration interface;
Veneer is the device producing syslog message;
Agent equipment, operates in master control borad as trunking, the ip section in the syslog message needing amendment to receive;
Gateway Network Element, is used for isolating non-access network element, does not make an amendment and be directly transmitted to syslog server when receiving the syslog message of other network elements as trunking, in the embodiment of the present invention, increases a configuration interface;
Syslog server: use conventional syslog software, be deployed on pc server, as information collector.
Concrete, aforementioned communication interface can comprise:
First message interface, for sending the Syslog message structure generating and meet RFC3164 agreement;
Second message interface, sends agent equipment and have modified the message structure being transmitted to Syslog server in the first message interface after IP section;
First configuration interface, for h.323-configured gateway to the IP address of Syslog server and port;
Second configuration interface, for Configuration Agent equipment to the IP address of Syslog server and port;
3rd configuration interface, for configuring Syslog server ip address and the port of veneer.
Step S20, when network element produces log information, the log information transmit path according to binding sends log information, for Syslog server stores to Syslog server.
Below in above-mentioned several mode, technical scheme of the present invention will be described in detail:
In one embodiment of the invention, time between network element and Syslog server for direct communication relation, above-mentioned steps S10 can comprise:
Time between network element and Syslog server for direct communication relation, the first configuration interface for the veneer on network element arranges Syslog server ip address and port, uses the first message interface to send message to Syslog server.
Reference Fig. 3, Fig. 3 are veneer/subrack debugging enironment, and under this environment, Syslog server can directly be communicated with veneer.Preceding method can comprise the following steps:
Step S11, is deployed in Syslog server software on server (computer);
Step S12, veneer uses the 3rd configuration interface arrange IP address and the port of Syslog server, uses the first message interface to send message to Syslog server.
With reference to Fig. 4 and Fig. 5, in another embodiment of the invention, when being communicated by agent equipment between network element with Syslog server, communicated by agent equipment between network element with Syslog server, when agent equipment is master control borad, use the second configuration interface that its IP address to Syslog server and port are set, open the message that other veneers of port accepts are sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server;
When agent equipment is gateway veneer, use the 3rd configuration interface that its IP address to Syslog server and port are set, open the message that a port accepts network element is sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server;
Veneer uses the first configuration interface be set to IP and the port of network element master control borad, use the first message interface to send Syslog message to master control borad.
Concrete, the present embodiment comprises following two kinds of debugging enironments:
One, single network element debugging enironment
Fig. 4 is single network element debugging enironment.Under this kind of debugging enironment, connection mode is the same with veneer/subrack debugging enironment, and veneer can directly and Syslog server communication, also can by agent equipment and Syslog server communication, and agent equipment carries out the forwarding of Syslog message as trunking.Concrete, preceding method can comprise the following steps:
First, Syslog server software is deployed on PC server;
Agent equipment uses the second configuration interface to arrange IP address and the port of Syslog server, will open the message that other veneers of port accepts send simultaneously, use the second message interface to be transmitted to Syslog server in internal default
Veneer uses the 3rd configuration interface the IP and port that server is network element master control borad is set, use the first message interface to send Syslog message to master control borad.
Two, many network element group networks environment
Fig. 5 is many network elements debugging enironment.Non-h.323-configured gateway in this environment, each network element main control module can with server direct communication, veneer sends Syslog message by network element agent equipment to server.Multiple Syslog server can be disposed in this scene, collect the log information of different network elements separately.Concrete, preceding method can comprise the following steps:
First, Syslog server software is deployed on PC server;
Then, agent equipment uses the second configuration interface to arrange IP address and the port of Syslog server, because deploying multiple Syslog server, can arrange different servers on different network element agent equipments.Open the message that other veneers of port accepts network element of specifying are sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server;
Veneer uses the 3rd configuration interface be set to IP and the port of this network element master control borad, use the first message interface to send Syslog message to master control borad.
In one embodiment, be connected between network element with Syslog server by access network element, when access network element is as gateway, abovementioned steps S10 comprises:
Step S100, gateway configures IP address and the port of Syslog server, opens the Syslog message that a User Datagram Protoco (UDP) udp port reception network element of specifying sends on gateway simultaneously; In order not make an amendment, Syslog server is forwarded directly to the processing mode of Syslog message.
In the embodiment of the present invention, gateway is divided into common network element gateway (GNE) and enhancement mode gateway (EGNE) two kinds of situations.
In a preferred version, when IAD type is common network element gateway, abovementioned steps S100 comprises:
When IAD type is common network element gateway, gateway veneer is interface board, arranges Syslog server by DCN network and IAD intercommunication;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, open a udp port of specifying at master control borad simultaneously, receive the Syslog message that other veneers in this network element send over, and the IP that the IP section of message is modified as this network element is sent to gateway by the second message interface;
Veneer uses the first configuration interface it is set to IP of server and port be this network element master control borad IP and port, use the first message interface to send Syslog message to master control borad.
Concrete, the present embodiment networking mode is used in test and engineering, be isolate between non-access network element and server, need, by access network element, Syslog message is sent to Syslog server, the IAD of common Gateway Network Element is the sosc veneer of access network element.Concrete, in this programme, by the step of gateway transfer log information be:
First, Syslog server software is deployed on pc server, pc needs by DCN network and gateway intercommunication;
Then on gateway veneer, use the first configuration interface that ip address and the port of syslog server are set, need unlatching udp port of specifying simultaneously, accept the syslog message that other network elements send, do not make an amendment use second message interface and be transmitted to syslog server;
Other network element master control borads use the second configuration interface arrange ip address and port that server is gateway, opens a udp port of specifying simultaneously, receives the syslog message that in this network element, other veneers send over, send to gateway with the second message interface;
Veneer uses the 3rd configuration interface the ip and port that server is this network element master control borad is set, use the first message interface to send syslog message to master control borad.
In another preferred version, when IAD is enhancement mode network element gateway, abovementioned steps S100 comprises:
When IAD is enhancement mode network element gateway, gateway veneer is master control borad, arranges Syslog server by DCN network and IAD intercommunication;
Gateway veneer use the first configuration interface its IP address to Syslog server and port are set, on gateway veneer, open a udp port of specifying simultaneously, accept the Syslog message that network element sends, do not make an amendment and use message interface to be transmitted to Syslog server;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, on master control borad, open a udp port of specifying simultaneously, receive the Syslog message that in this network element, other veneers send over, send to gateway with the second message interface;
Veneer uses the 3rd configuration interface be set to IP address and the port of this network element master control borad, use the first message interface to send Syslog message to master control borad.
The networking mode of enhancement mode Gateway Network Element is safer, and simultaneously crucial message conversion realization moves on to SNP plate and realizes.
Concrete, in this programme, by the step of gateway transfer log information be:
Syslog server software is deployed on pc server, and pc needs by DCN network and gateway intercommunication;
Ip address and the port of syslog server are set at upper use first configuration interface of gateway veneer (snp plate), on master control borad, open a udp port of specifying simultaneously, accept the syslog message that other network elements send, do not make an amendment use second message interface and be transmitted to syslog server;
Other network element master control borads use the second configuration interface arrange ip address and port that server is gateway, opens a udp port of specifying simultaneously, receives the syslog message that in this network element, other veneers send over, send to gateway with the second message interface;
Veneer uses the 3rd configuration interface the ip and port that server is this network element master control borad is set, use the first message interface to send syslog message to master control borad.
The present invention also provides a kind of storage system of veneer log information, uses to implement the above described method.With reference to shown in Fig. 6, in one embodiment of the present invention, the storage system of this veneer log information comprises wave-division device 10 and Syslog server 20, and wherein said network element comprises:
Communication setting module 11, for presetting the communication interface of wave-division device according to the networking mode between network element and system journal Syslog server, to bind log information transmit path;
Log information sending module 12, for when network element produces log information, the log information transmit path according to binding sends log information, for Syslog server stores to Syslog server.
RFC3164 agreement needs three types equipment:
1, Device: message producer;
2, Relay: message forward relay;
3Collector: message collection person.
In the embodiment of the present invention, wave-division device is described below:
Network element, is made up of master control borad and various veneer, and in the embodiment of the present invention, master control borad and veneer increase configuration interface;
Veneer is the device producing syslog message;
Agent equipment, operates in master control borad as trunking, the ip section in the syslog message needing amendment to receive;
Gateway Network Element, is used for isolating non-access network element, does not make an amendment and be directly transmitted to syslog server when receiving the syslog message of other network elements as trunking, in the embodiment of the present invention, increases a configuration interface;
Syslog server: use conventional syslog software, be deployed on pc server, as information collector.
Concrete, aforementioned communication interface can comprise:
First message interface, for sending the Syslog message structure generating and meet RFC3164 agreement;
Second message interface, sends agent equipment and have modified the message structure being transmitted to Syslog server in the first message interface after IP section;
First configuration interface, for h.323-configured gateway to the IP address of Syslog server and port;
Second configuration interface, for Configuration Agent equipment to the IP address of Syslog server and port;
3rd configuration interface, for configuring Syslog server ip address and the port of veneer.
Step S20, when network element produces log information, the log information transmit path according to binding sends log information, for Syslog server stores to Syslog server.
In one embodiment of the invention, communication setting module 11 for:
Time between network element and Syslog server for direct communication relation, the first configuration interface for the veneer on network element arranges Syslog server ip address and port, uses the first message interface to send message to Syslog server.
In yet another embodiment of the present invention, communication setting module 11 for:
When being communicated by agent equipment between network element with Syslog server, agent equipment uses the second configuration interface to arrange its IP address to Syslog server and port when being master control borad, open the message that other veneers of port accepts are sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server; Use the 3rd configuration interface that its IP address to Syslog server and port are set when agent equipment is gateway veneer, open the message that a port accepts network element is sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server;
Veneer uses the first configuration interface be set to IP and the port of network element master control borad, use the first message interface to send Syslog message to master control borad.
In another embodiment of the present invention, communication setting module 11 for:
Be connected by access network element between network element with Syslog server, when access network element is as gateway, gateway configures IP address and the port of Syslog server, on gateway, opens the Syslog message that a User Datagram Protoco (UDP) udp port reception network element of specifying sends over simultaneously; In order not make an amendment, Syslog server is forwarded directly to the processing mode of Syslog message.
In one embodiment of the invention, communication setting module 11 for:
When IAD type is common network element gateway, gateway veneer is interface board, arranges Syslog server by DCN network and IAD intercommunication;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, open a udp port of specifying at master control borad simultaneously, receive the Syslog message that other veneers in this network element send over, and the IP that the IP section of message is modified as this network element is sent to gateway by the second message interface;
Veneer uses the first configuration interface it is set to IP of server and port be this network element master control borad IP and port, use the first message interface to send Syslog message to master control borad.
In another embodiment of the invention, communication setting module 11 for:
When IAD is enhancement mode network element gateway, gateway veneer is master control borad, arranges Syslog server by DCN network and IAD intercommunication;
Gateway veneer use the first configuration interface its IP address to Syslog server and port are set, on gateway veneer, open a udp port of specifying simultaneously, accept the Syslog message that network element sends, do not make an amendment and use message interface to be transmitted to Syslog server;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, on master control borad, open a udp port of specifying simultaneously, receive the Syslog message that in this network element, other veneers send over, send to gateway with the second message interface;
Veneer uses the 3rd configuration interface it is set to the IP address and the port that are this network element master control borad, use the first message interface to send Syslog message to master control borad.
The storage system of veneer log information of the present invention, its structure and operation principle specifically can refer to preceding method Fig. 1 to embodiment illustrated in fig. 5, contain all technical characteristics of previous embodiment, just do not describe in detail one by one at this.Owing to having aforementioned network element 10, the storage system of veneer log information of the present invention can provide communicate flexibly configuration mode and interface according to different networking modes, make network element all log information can be sent to Syslog server 20 to preserve under multiple networking mode, avoid the generation that log information loses event, improve the safety and reliability of system, and facilitate networking and use.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (12)

1. a storage means for veneer log information, is characterized in that, comprises the following steps:
The communication interface of wave-division device is preset, to bind log information transmit path according to the networking mode between network element and system journal Syslog server;
When network element produces log information, the log information transmit path according to binding sends log information, for Syslog server stores to Syslog server.
2. the storage means of veneer log information as claimed in claim 1, is characterized in that, describedly presets communication interface according to the networking mode between network element and system journal Syslog server and comprises:
Time between network element and Syslog server for direct communication relation, the first configuration interface for the veneer on network element arranges Syslog server ip address and port, uses the first message interface to send message to Syslog server.
3. the storage means of veneer log information as claimed in claim 1, is characterized in that, describedly presets communication interface according to the networking mode between network element and system journal Syslog server and comprises:
Communicated by agent equipment between network element with Syslog server, when agent equipment is master control borad, use the second configuration interface that its IP address to Syslog server and port are set, open the message that other veneers of port accepts are sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server;
When agent equipment is gateway veneer, use the 3rd configuration interface that its IP address to Syslog server and port are set, open the message that a port accepts network element is sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server;
Veneer uses the first configuration interface be set to IP and the port of network element master control borad, use the first message interface to send Syslog message to master control borad.
4. the storage means of veneer log information as claimed in claim 1, is characterized in that, describedly presets communication interface according to the networking mode between network element and system journal Syslog server and comprises:
Be connected by access network element between network element with Syslog server, when access network element is as gateway, gateway configures IP address and the port of Syslog server, on gateway, opens the Syslog message that a User Datagram Protoco (UDP) udp port reception network element of specifying sends over simultaneously; In order not make an amendment, Syslog server is forwarded directly to the processing mode of Syslog message.
5. the storage means of veneer log information as claimed in claim 4, it is characterized in that, described when being connected by access network element between network element with Syslog server, when access network element is as gateway, gateway configures IP address and the port of Syslog server, and the step of simultaneously opening the Syslog message that a User Datagram Protoco (UDP) udp port reception network element of specifying sends on gateway comprises:
When IAD type is common network element gateway, gateway veneer is interface board, arranges Syslog server by DCN network and IAD intercommunication;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, open a udp port of specifying at master control borad simultaneously, receive the Syslog message that other veneers in this network element send over, and the IP that the IP section of message is modified as this network element is sent to gateway by the second message interface;
Veneer uses the first configuration interface it is set to IP of server and port be this network element master control borad IP and port, use the first message interface to send Syslog message to master control borad.
6. the storage means of veneer log information as claimed in claim 4, it is characterized in that, described when being connected by access network element between network element with Syslog server, when access network element is as gateway, gateway configures IP address and the port of Syslog server, and the step of simultaneously opening the Syslog message that a User Datagram Protoco (UDP) udp port reception network element of specifying sends on network element comprises:
When IAD is enhancement mode network element gateway, gateway veneer is master control borad, arranges Syslog server by DCN network and IAD intercommunication;
Gateway veneer use the first configuration interface its IP address to Syslog server and port are set, on gateway veneer, open a udp port of specifying simultaneously, accept the Syslog message that network element sends, do not make an amendment and use message interface to be transmitted to Syslog server;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, on master control borad, open a udp port of specifying simultaneously, receive the Syslog message that in this network element, other veneers send over, send to gateway with the second message interface;
Veneer uses the 3rd configuration interface it is set to the IP address and the port that are this network element master control borad, use the first message interface to send Syslog message to master control borad.
7. a storage system for veneer log information, is characterized in that, comprise wave-division device and Syslog server, wherein said network element comprises:
Communication setting module, for presetting the communication interface of wave-division device according to the networking mode between network element and system journal Syslog server, to bind log information transmit path;
Log information sending module, for when network element produces log information, the log information transmit path according to binding sends log information, for Syslog server stores to Syslog server.
8. the storage system of veneer log information as claimed in claim 7, it is characterized in that, described communication setting module is used for:
Time between network element and Syslog server for direct communication relation, the first configuration interface for the veneer on network element arranges Syslog server ip address and port, uses the first message interface to send message to Syslog server.
9. the storage system of veneer log information as claimed in claim 7, it is characterized in that, described communication setting module is used for:
When being communicated by agent equipment between network element with Syslog server, agent equipment uses the second configuration interface to arrange its IP address to Syslog server and port when being master control borad, open the message that other veneers of port accepts are sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server; Use the 3rd configuration interface that its IP address to Syslog server and port are set when agent equipment is gateway veneer, open the message that a port accepts network element is sent simultaneously in agent equipment inside, use the second message interface to be transmitted to Syslog server;
Veneer uses the first configuration interface be set to IP and the port of network element master control borad, use the first message interface to send Syslog message to master control borad.
10. the storage system of veneer log information as claimed in claim 7, it is characterized in that, described communication setting module is used for:
Be connected by access network element between network element with Syslog server, when access network element is as gateway, gateway configures IP address and the port of Syslog server, on gateway, opens the Syslog message that a User Datagram Protoco (UDP) udp port reception network element of specifying sends over simultaneously; In order not make an amendment, Syslog server is forwarded directly to the processing mode of Syslog message.
The storage system of 11. veneer log informations as claimed in claim 10, it is characterized in that, described communication setting module is used for:
When IAD type is common network element gateway, gateway veneer is interface board, arranges Syslog server by DCN network and IAD intercommunication;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, open a udp port of specifying at master control borad simultaneously, receive the Syslog message that other veneers in this network element send over, and the IP that the IP section of message is modified as this network element is sent to gateway by the second message interface;
Veneer uses the first configuration interface it is set to IP of server and port be this network element master control borad IP and port, use the first message interface to send Syslog message to master control borad.
The storage system of 12. veneer log informations as claimed in claim 10, it is characterized in that, described communication setting module is used for, when IAD is enhancement mode network element gateway, gateway veneer is master control borad, arranges Syslog server by DCN network and IAD intercommunication;
Gateway veneer use the first configuration interface its IP address to Syslog server and port are set, on gateway veneer, open a udp port of specifying simultaneously, accept the Syslog message that network element sends, do not make an amendment and use message interface to be transmitted to Syslog server;
Network element master control borad use the second configuration interface its IP address to gateway and port are set, on master control borad, open a udp port of specifying simultaneously, receive the Syslog message that in this network element, other veneers send over, send to gateway with the second message interface;
Veneer uses the 3rd configuration interface it is set to the IP address and the port that are this network element master control borad, use the first message interface to send Syslog message to master control borad.
CN201410301972.4A 2014-06-27 2014-06-27 Method and system for storing single board log information Active CN105281934B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410301972.4A CN105281934B (en) 2014-06-27 2014-06-27 Method and system for storing single board log information
PCT/CN2014/090472 WO2015196694A1 (en) 2014-06-27 2014-11-06 Single-board log information storage method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410301972.4A CN105281934B (en) 2014-06-27 2014-06-27 Method and system for storing single board log information

Publications (2)

Publication Number Publication Date
CN105281934A true CN105281934A (en) 2016-01-27
CN105281934B CN105281934B (en) 2020-02-14

Family

ID=54936633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410301972.4A Active CN105281934B (en) 2014-06-27 2014-06-27 Method and system for storing single board log information

Country Status (2)

Country Link
CN (1) CN105281934B (en)
WO (1) WO2015196694A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776064A (en) * 2016-11-29 2017-05-31 北京元心科技有限公司 Method and device for managing logs in multiple systems
CN109818799A (en) * 2019-02-19 2019-05-28 上海雷腾软件股份有限公司 Log collection analysis method and equipment
CN111782445A (en) * 2020-06-28 2020-10-16 百度在线网络技术(北京)有限公司 Configuration method and device of equipment debugging environment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794646A (en) * 2005-04-27 2006-06-28 华为技术有限公司 Method for obtaining of daily information from network element equipment by network management server
CN1825812A (en) * 2005-02-25 2006-08-30 华为技术有限公司 System and method for managing network web log information
CN1852149A (en) * 2005-09-20 2006-10-25 华为技术有限公司 Method for verifying network-unit server in network management system
CN1855840A (en) * 2005-04-26 2006-11-01 华为技术有限公司 Method for network management device to obtain log data from network element
CN1874253A (en) * 2005-06-02 2006-12-06 华为技术有限公司 Method for managing system log
US20070038599A1 (en) * 2005-08-09 2007-02-15 Sbc Knowledge Ventures, L.P. End-user portal session logging by portlets
CN101212347A (en) * 2006-12-31 2008-07-02 中兴通讯股份有限公司 Method and device for obtaining operation log of network element management system
CN101321086A (en) * 2007-06-08 2008-12-10 华为技术有限公司 Connecting equipment management method and connecting equipment, management equipment and communication system
CN101621405A (en) * 2009-07-07 2010-01-06 中兴通讯股份有限公司 Distributed type management monitoring system, monitoring method and establishing method thereof
CN102064969A (en) * 2010-12-27 2011-05-18 大唐移动通信设备有限公司 Method and equipment for processing logs

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825812A (en) * 2005-02-25 2006-08-30 华为技术有限公司 System and method for managing network web log information
CN1855840A (en) * 2005-04-26 2006-11-01 华为技术有限公司 Method for network management device to obtain log data from network element
CN1794646A (en) * 2005-04-27 2006-06-28 华为技术有限公司 Method for obtaining of daily information from network element equipment by network management server
CN1874253A (en) * 2005-06-02 2006-12-06 华为技术有限公司 Method for managing system log
US20070038599A1 (en) * 2005-08-09 2007-02-15 Sbc Knowledge Ventures, L.P. End-user portal session logging by portlets
CN1852149A (en) * 2005-09-20 2006-10-25 华为技术有限公司 Method for verifying network-unit server in network management system
CN101212347A (en) * 2006-12-31 2008-07-02 中兴通讯股份有限公司 Method and device for obtaining operation log of network element management system
CN101321086A (en) * 2007-06-08 2008-12-10 华为技术有限公司 Connecting equipment management method and connecting equipment, management equipment and communication system
CN101621405A (en) * 2009-07-07 2010-01-06 中兴通讯股份有限公司 Distributed type management monitoring system, monitoring method and establishing method thereof
CN102064969A (en) * 2010-12-27 2011-05-18 大唐移动通信设备有限公司 Method and equipment for processing logs

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776064A (en) * 2016-11-29 2017-05-31 北京元心科技有限公司 Method and device for managing logs in multiple systems
CN106776064B (en) * 2016-11-29 2020-06-09 北京元心科技有限公司 Method and device for managing logs in multiple systems
CN109818799A (en) * 2019-02-19 2019-05-28 上海雷腾软件股份有限公司 Log collection analysis method and equipment
CN109818799B (en) * 2019-02-19 2022-03-25 上海雷腾软件股份有限公司 Log collection and analysis method and device
CN111782445A (en) * 2020-06-28 2020-10-16 百度在线网络技术(北京)有限公司 Configuration method and device of equipment debugging environment
CN111782445B (en) * 2020-06-28 2023-08-15 百度在线网络技术(北京)有限公司 Configuration method and device of equipment debugging environment

Also Published As

Publication number Publication date
CN105281934B (en) 2020-02-14
WO2015196694A1 (en) 2015-12-30

Similar Documents

Publication Publication Date Title
CN105429883B (en) The long connection method of multiple smart machines and server apparatus and smart machine
CN104242465B (en) A kind of transformer substation remote monitoring system based on B/S and method
CN105337756A (en) Centralized operation and maintenance method and device
CN102404326B (en) Method, system and device for validating safety of messages
US20190036796A1 (en) Monitoring data transmission method and related device
CN103997539A (en) Radar operation state collecting and distributing system and method based on web service
CN101321086A (en) Connecting equipment management method and connecting equipment, management equipment and communication system
CN104270604A (en) Method, system and device for obtaining real-time video data of IPC
CN113852673B (en) Signaling tracking method and device of core network element and storage medium
CN101997721B (en) A kind of telecommunication network management system, method and accordingly device
CN105281934A (en) Storage method and system for single board log information
CN103532863A (en) Method and device for realizing software stacking
CN104639497A (en) Remote access configuration method, remote access method, remote access configuration device, remote access device and remote access system
CN112769602A (en) System and method for unified configuration management of white box switch and network operating system
CN103096038B (en) The method for supervising of the fusion video monitoring system of multi-protocol video watch-dog access
CN102332989B (en) Method for sending configuration information and service boards
CN101783774A (en) Network device connection method, system and device
CN103439934A (en) Intelligent electrical appliance control method, server and system
CN101795288A (en) Equipment management method, system and device
CN102170366B (en) Method, device and system for communicating with single board
CN104243198A (en) Network management method and system based on network configuration protocol
CN102685218A (en) Method and system for reporting and downloading information
CN102238571B (en) Apparatus of Internet of Things machine to machine/man (M2M) business processing, system and method thereof
CN103138961B (en) server control method, controlled server and central control server
EP2747341B1 (en) Connecting computer management systems via cellular digital telecommunication networks

Legal Events

Date Code Title Description
C06 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