CN102857354A - Method, device and system for reporting alarm information - Google Patents

Method, device and system for reporting alarm information Download PDF

Info

Publication number
CN102857354A
CN102857354A CN2011101753349A CN201110175334A CN102857354A CN 102857354 A CN102857354 A CN 102857354A CN 2011101753349 A CN2011101753349 A CN 2011101753349A CN 201110175334 A CN201110175334 A CN 201110175334A CN 102857354 A CN102857354 A CN 102857354A
Authority
CN
China
Prior art keywords
warning information
numbering
managed device
information
management station
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
CN2011101753349A
Other languages
Chinese (zh)
Other versions
CN102857354B (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 CN201110175334.9A priority Critical patent/CN102857354B/en
Priority to PCT/CN2012/070017 priority patent/WO2013000282A1/en
Publication of CN102857354A publication Critical patent/CN102857354A/en
Application granted granted Critical
Publication of CN102857354B publication Critical patent/CN102857354B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a device and a system for reporting alarm information. The method includes that a managed device receives a heartbeat check message from a management station, the heartbeat check message carries a number information for indicating current alarm information received by the management station; the managed device determines number of alarm information needed to be resent according to the number information and number of the current alarm information sent from the managed device; and the managed device sends the alarm information corresponding to the number of the alarm information needed to be resent to the management station. By the method, the device and the system for reporting alarm information, loss of alarm information can be found out in time and the lost alarm information can be resent, and consistency between a sequence of the alarm information received by the management station and a sequence of the alarm information sent from the managed device can be guaranteed.

Description

Alarm information reporting method, Apparatus and system
Technical field
The present invention relates to the communications field, in particular to a kind of alarm information reporting method, Apparatus and system.
Background technology
In the communication network management, (the Simple Network Management Protocol of normal operation SNMP between management station and the managed device, Simple Network Management Protocol) carry out communication, managed device is to active reporting normal operation SNMP TRAP (trap) message of warning information.
In network management system, must guarantee that management station is consistent with information on the managed device, so report need to very high reliability for the warning information of managed device, reliability comprises two aspects: the one, information integrity; The 2nd, the order of many information.
The TRAP message of Simple Network Management Protocol does not guarantee the mechanism of reliability in protocol level, because the TRAP bag is based on UDP (User Datagram Protocol, User Datagram Protocol), and udp protocol is insecure, causes packet the packet loss phenomenon may occur in transport process; In addition, because SNMP TRAP message may be passed through routing forwarding, so arrive the order that the order of the SNMP TRAP message of destination may be different from the SNMP TRAP message of message source transmission.
For above two problems, existing solution is: judge by Alarm Sequence Number whether the TRAP bag is lost, and loses as finding by receiving terminal (be management station, or be called webmaster), then initiatively sending a request message to managed device requires to retransmit.But, in the prior art, because when receiving terminal is only received next alarm, just can know whether information drop-out, if just arrive after the next alarm for a long time, need so to wait for that long time can know just whether message packet loss occurs, when knowing packet loss, necessity that this message may not retransmitted again, therefore, its promptness is relatively poor.
Summary of the invention
Main purpose of the present invention is to provide a kind of alarm information reporting method, system and managed device, one of to address the above problem at least.
According to an aspect of the present invention, provide a kind of alarm information reporting method, having comprised: the heartbeat that managed device receives from management station checks message, and wherein, heartbeat checks that message carries the number information of the current receiving alarm information state of indication management station; Managed device is determined the numbering of the warning information that needs are retransmitted according to the numbering of number information and the current warning information that has sent of managed device; The warning information corresponding to numbering of the warning information that managed device will be retransmitted with needs sends to management station.
Before the heartbeat inspection message of above-mentioned managed device reception from management station, the method comprises: managed device is numbering of each warning information configuration according to sending order; Managed device is carried at the numbering of warning information in this warning information and sends to management station, and at the local cache warning information.
Above-mentioned number information comprises: the maximum numbering of the current warning information that has received of management station; Managed device is according to the numbering of number information and the current alarm information that has sent of managed device, the numbering of the warning information of determine to need retransmitting comprises: managed device will number and be checked in heartbeat that warning information between the numbering of the maximum numbering of carrying in the message and the current warning information that has sent of managed device adds and wait to retransmit during the judgement warning information gathers; Managed device judges that whether wait to retransmit each warning information of judging in the warning information set is to need the warning information retransmitted.
Above-mentioned number information also comprises: do not arrive the numbering set of the warning information of management station; Managed device judges that whether wait to retransmit each warning information of judging in the warning information set is before the warning information that needs to retransmit, and method also comprises: managed device will the warning information corresponding with each numbering in the numbering set adds to wait to retransmit judges that warning information is gathered.
For a numbering of each warning information configuration the time, the method also comprises: judge whether warning information has the preorder warning information, if so, then the numbering of preorder warning information is numbered as the preorder of warning information, and the preorder numbering is carried in the warning information.
Managed device the numbering of warning information is carried at send to management station in this warning information after, the method also comprises: the maximum numbering (M) of the warning information that management station will receive before receiving alarm information compares with the first numbering (S) of the current warning information that receives, wherein: if M+1<S, then management station determines that the warning information that is numbered M+1 to S-1 does not arrive, and the numbering of M+1 to S-1 is added the numbering set of the warning information that does not arrive; If M+1=S, then in the numbering set of the warning information that does not arrive, retrieve the second numbering H of the preorder warning information that whether has the current warning information that receives, if, then that described the second numbering H is related with described the first numbering S, after warning information corresponding to described the second numbering H arrives, number (H) front according to second, the first numbering (S) after order warning information and warning information corresponding to the first numbering (S) that the second numbering (H) is corresponding join the warning information that has received, if not, then the first warning information of numbering (S) is joined the warning information that has received; If S<M, then the warning information with the first numbering (S) joins the warning information that has received.
Above-mentioned managed device is judged and waited to retransmit whether each warning information of judging in the warning information set is that the warning information that needs to retransmit comprises: managed device obtains the very first time stamp that heartbeat checks message; For waiting to retransmit each warning information of judging in the warning information set, managed device obtains this warning information of indication and sends the second timestamp of time, judge that whether the time difference of the second timestamp and very first time stamp is greater than default packet loss time threshold, if so, determine that then this warning information needs to retransmit.
The warning information that does not arrive of the numbering correspondence of the warning information that above-mentioned managed device will not arrive sends to after the management station, also comprise: managed device checks the definite warning information of standing and successfully receiving that has been managed of message according to heartbeat, deletes the warning information that being managed of managed device buffer memory stood and successfully received.
According to a further aspect in the invention, a kind of warning information reporting device is provided, be positioned at the managed device side, this device comprises: the first receiver module, the heartbeat that is used for receiving from management station checks message, wherein, heartbeat checks that message carries the number information of the current receiving alarm information state of indication management station; The first determination module is used for the numbering according to number information and the current alarm information that has sent, definite numbering that needs the warning information of repeating transmission; The first sending module, warning information corresponding to numbering that is used for the warning information that will retransmit with needs sends to management station.
Above-mentioned number information comprises: the maximum numbering of the current warning information that has received of management station; The first determination module comprises: obtain submodule, be used for number and check in heartbeat that warning information between the numbering of maximum numbering that message carries and the current warning information that has sent of managed device adds and wait to retransmit during the judgement warning information gathers; Judge submodule, be used for judging and wait to retransmit whether each warning information of judging the warning information set is the warning information that needs repeating transmission.
Above-mentioned number information also comprises: do not arrive the numbering set of the warning information of management station; Obtaining submodule also is used for will the warning information corresponding with each numbering of numbering set adding waiting to retransmit and judges that warning information is gathered.
Above-mentioned judgement submodule comprises: the first acquiring unit is used for obtaining the very first time stamp that heartbeat checks message; Second acquisition unit is used for obtaining waiting to retransmit and judges that each warning information that warning information is gathered sends the second timestamp of time; Whether judging unit is used for judging respectively the time difference of the second timestamp of waiting to retransmit each warning information of judging the warning information set and very first time stamp greater than default packet loss time threshold, and if so, then definite this warning information needs repeating transmission.
According to a further aspect in the invention, a kind of warning information reporting system is provided, comprise: management station and managed device, wherein, managed device comprises above-mentioned warning information reporting device, wherein, management station comprises: the second receiver module, be used for receiving the warning information that managed device sends, wherein, carry the numbering of this warning information in the described warning information; The second determination module is used for definite number information of indicating the current receiving alarm information state of described management station; The second sending module is used for sending heartbeat to described managed device and checks message, and wherein, described heartbeat checks carries the described number information that current heartbeat checks that the second determination module is determined described in the message transmission cycle in the message.
Above-mentioned number information comprises: the maximum numbering of the current warning information that has received of management station and the numbering set of the warning information that does not arrive management station; Also carry the numbering of the preorder warning information of warning information in the warning information; The second determination module comprises: comparison module, compare for the maximum numbering M of the warning information that will before receiving alarm information, receive and the first numbering S of the current warning information that receives, if M+1<S, determine that then the warning information that is numbered M+1 to S-1 does not arrive, trigger the numbering set that Executive Module adds the numbering of M+1 to S-1 the warning information that does not arrive; If M+1=S then triggers retrieval module; Retrieval module, be used for whether depositing current the second numbering H that receives the preorder warning information of warning information in the numbering set retrieval of the warning information that does not arrive, if, then trigger Executive Module described the second numbering H is related with described the first numbering S, after warning information corresponding to described the second numbering H arrives, number H front according to second, the first numbering S after order the second warning information corresponding to numbering H and warning information corresponding to the first numbering S are joined the warning information that has received, if not, then trigger Executive Module the first warning information of numbering S is joined the warning information that has received; If S<M then triggers Executive Module the first warning information of numbering S is joined the warning information that has received; Executive Module is used for according to the comparative result of comparison module and/or the result for retrieval of retrieval module, carries out accordingly and processes.
By the present invention, adopt management station to check the number information of carrying current heart beat cycle receiving alarm information in the message in each heartbeat, thereby so that managed device can be determined according to this number information the numbering of the warning information that needs are retransmitted, the warning information that will need again to retransmit sends to the mode of management station, solved the poor problem of promptness of determining packet loss in the prior art, and then only reached and to need a heart beat cycle namely can determine whether to send packet loss, and make managed device in time, the warning information that automatically will lose resends the effect to management station.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the alarm information reporting method of the embodiment of the invention;
Fig. 2 is numbered the schematic diagram that configures with the preorder numbering according to the embodiment of the invention to TRAP agreement warning information;
Fig. 3 is the message structure schematic diagram that carries when sending heartbeat message according to the management station of the embodiment of the invention;
Fig. 4 is according to the management station of the embodiment of the invention process chart to the new alarm information that receives;
Fig. 5 is the process chart that the heartbeat of receiving is checked message according to the managed device of the embodiment of the invention;
Fig. 6 is the structural representation according to the warning information reporting device of the embodiment of the invention;
Fig. 7 is the structural representation of the first determination module of warning information reporting device according to the preferred embodiment of the invention;
Fig. 8 is the structural representation of the judgement submodule of according to the preferred embodiment of the invention the first determination module;
Fig. 9 is the structural representation according to the warning information reporting system of the embodiment of the invention;
Figure 10 is the structural representation according to the management station of the embodiment of the invention;
Figure 11 is the structural representation of the second determination module of management station according to the preferred embodiment of the invention.
Embodiment
Hereinafter also describe in conjunction with the embodiments the present invention in detail with reference to accompanying drawing.Need to prove, in the situation that do not conflict, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 1 is the flow chart according to the alarm information reporting method of the embodiment of the invention, and as shown in Figure 1, the method mainly may further comprise the steps (step S102-step S106):
The heartbeat that step S102, managed device receive from management station checks message, and wherein, heartbeat checks that message carries indication in the number information of current heart beat cycle management station receiving alarm information state;
In embodiments of the present invention, for being established side by pipe, managed device can be numbering of each warning information configuration according to initial sending order between sending a warning message.
In a preferred implementation of the embodiment of the invention, for each warning information configuration numbering the time, managed device can also judge whether this warning information has the preorder warning information, if, also be carried at then with the numbering of its preorder warning information preorder numbering as this warning information, and with the preorder numbering and send to management station in the warning information.For example, the numbering of warning information can be 1 serial number for continuous a, step-length.For example, Fig. 2 is numbered the schematic diagram that configures with the preorder numbering to TRAP agreement warning information according to the preferred embodiment of the invention, as shown in Figure 2, managed device can be carried at the preorder numbering of the numbering of warning information and warning information simultaneously in this warning information as number information and send to management station.Preferably, for the ease of this warning information of subsequent retransmissions, managed device can also be when sending to management station with warning information, with this warning information at local cache.
For management station's side, management station can send heartbeat to managed device according to predefined heart beat cycle and check message, behind a new warning information that whenever receives the managed device transmission, at first this warning information is resolved, thereby obtaining comprise numbering, the preorder of carrying in this warning information numbers, obtain indicating the number information of the current receiving alarm information of management station, when sending heartbeat and check message, check the number information that is carried at the current receiving alarm information of indication management station that current heart beat cycle obtains in the message in heartbeat.
For example, heartbeat checks that message can adopt message structure schematic diagram shown in Figure 3, as shown in Figure 3, and in actual applications, in a single day management station acquires this number information, and this number information that current heart beat cycle is obtained is carried at the current heartbeat that will send and checks in the message and send to managed device.Wherein, above-mentioned number information includes but not limited to: the numbering set of the warning information of management station is numbered, do not arrived to the maximum of the paid-in warning information of current management station.
Step S104, managed device determine the numbering of the warning information that needs are retransmitted according to the numbering of above-mentioned number information and the current warning information that has sent of managed device;
In the preferred embodiment of the present invention, if above-mentioned number information includes only: the maximum numbering of the current warning information that has received of management station, then managed device will be numbered and be checked in described heartbeat that warning information between the numbering of the described maximum numbering of carrying in the message and the current warning information that has sent of managed device adds to wait to retransmit and judge in the warning information set, then judge described wait to retransmit each warning information of judging in the warning information set whether be need to repeating transmission warning information.
In another preferred embodiment of the embodiment of the invention, if above-mentioned number information also comprises the numbering set of the warning information that does not arrive described management station, then managed device also adds above-mentioned treating in the set of repeating transmission judgement warning information with the warning information corresponding with each numbering in this numbering set.
Management station can not arrived the numbering set (in the situation that carrying the preorder numbering in the warning information) of the warning information of management station in the following manner in a preferred implementation of the embodiment of the invention: (be designated as: M) the first numbering with the current warning information that receives (is designated as: S) compare the maximum numbering of the warning information that management station will receive before receiving alarm information, wherein: if M+1<S, then management station determines that the warning information that is numbered M+1 to S-1 does not arrive, and the numbering of M+1 to S-1 is added the numbering set of the warning information that does not arrive; If M+1=S, then in the numbering set of the warning information that does not arrive, retrieve the second numbering H of the preorder warning information that whether has the current warning information that receives, if, then that described the second numbering H is related with described the first numbering S, after warning information corresponding to described the second numbering H arrives, number (H) front according to second, the first numbering (S) after order warning information and warning information corresponding to the first numbering (S) that the second numbering (H) is corresponding join the warning information that has received, if not, then the first warning information of numbering (S) is joined the warning information that has received; If S<M, then the warning information with the first numbering (S) joins the warning information that has received.Adopt this execution mode, management station can check the order whether the receiving alarm sequence of information meets the demands.
For example, in actual applications, after managed device receives that heartbeat checks message, can therefrom take out the maximum serial number M of the warning information that arrives management station, simultaneously, record the serial number C of the current warning information that oneself sends, calculate (M, C] interval serial number, then merge with the numbering set that is the warning information of arrival management station, obtain the numbering set (comprising the numbering of the warning information of packet loss) (for example, the alarm numbering formation of the warning information that do not arrive can be labeled as Q) of the new warning information that does not arrive management station, thereby determine the numbering of the warning information that need to resend to management station.
For example, managed device can be labeled as Q (1) with the formation of local alarm message buffer (namely having sent to the warning information of management station), behind the alarm numbering formation Q that obtains new not arrival (being above-mentioned wait retransmitting the set of judgement warning information), the taking-up warning information corresponding with numbering among the Q obtains new local alarm message buffer formation Q (2) (Q (2) is managed device needs the further repeating transmission for the treatment of of judging to judge the warning information set) from Q (1).
In a preferred embodiment of the present invention, when heartbeat checks that message arrives, managed device can obtain the very first time stamp (this timestamp can be designated as and wait to retransmit the time that each warning information of judging in the warning information set arrives management station) that heartbeat checks message, for waiting to retransmit each warning information of judging in the warning information set, managed device can obtain this warning information of indication and send the second timestamp of time, then judge further that whether the time difference of the second timestamp and very first time stamp is greater than default packet loss time threshold, if so, determine that then this warning information needs to retransmit.
For example, the timestamp that the managed device record takes out heartbeat inspection message is T (h), take out successively each element among the Q (2), record takes out the timestamp of this alarm again, is designated as T (a), calculates t=(T (h)-T (a)), t and predefined packet loss time threshold (are designated as: G) relatively, if t>G or t=G then add re-transmit queue with the warning information among the Q (2), and delete from local cache; If t<G then continues to wait for.
Step S106, the warning information corresponding to numbering of the warning information that managed device will be retransmitted with needs sends to management station.
In embodiments of the present invention, after warning information that managed device will need to retransmit sends to management station, managed device can also check that message determines to be managed the warning information of stand and successfully receiving according to heartbeat, and the deletion managed device be buffered in this locality and be managed the successfully warning information of reception of standing.
The said method that provides by the embodiment of the invention, whether can in time detect warning information has and loses, thereby timely to the warning information of management station's retransmits lost, and, the said method that adopts this bright embodiment to provide, management station's warning information that managed device sends in restarting process also can detect, thereby has guaranteed that these warning information can not be lost.In addition, in embodiments of the present invention, whether the order that the warning information that receives can also detect in management station is consistent with the sending order of equipment end.
Fig. 4 be management station in the preferred embodiment of the present invention to the process chart of the new warning information that receives, as shown in Figure 4, this flow process mainly may further comprise the steps:
Step 1, when webmaster (management station) system starts, the maximum alarm numbering M that initialization has received, the formation of the warning information of management station is not arrived in initialization, and at this moment, formation is empty;
In embodiments of the present invention, the initialization strategy can carry out synchronously the maximum alarm numbering M of managed device and management station, current alarm in setting up the communication link process, and after finishing synchronously, initialize queue is empty.
Step 2,3, receiving alarm information, and from the warning information of TRAP agreement, parse the numbering (S) of alarm and the preorder numbering (H) of binding (configuration);
Step 4, the size of comparison S and M is if S greater than M, then continues execution in step 9; If S less than M, then continues execution in step 5;
Step 5 is put into processing queue with the new alarm that receives, and waits for the processing threads processing;
Step 6 in not arriving formation, checks whether relevant alarm of S, if relevant alarm then continues execution in step 7, otherwise continues execution in step 8;
Step 7 is put into processing queue with the associated alarm of S, waits for the processing threads processing;
Step 8 never arrives and deletes S in the formation;
Step 9 judges whether S equals M+1, if equate, then execution in step 11, otherwise, continue execution in step 10;
Step 10, each integer in open interval (M, S) is constructed the ghost warning information for numbering, and puts into and do not arrive formation;
Step 11 judges that the alarm be numbered H whether in not arriving formation, if in formation, then continues execution in step 12; Otherwise, execution in step 14;
Step 12, the warning information of newly receiving is set to not arrive the associated alarm of the alarm that is numbered H in the formation, waits for after the alarm that is numbered H arrives and handling together;
Step 13 is upgraded the maximum alarm numbering that receives, and makes M=S;
Step 14 is put into processing queue with new alarm, waits for the processing threads processing.
In embodiments of the present invention, after managed device is issued management station with TRAP agreement warning information, a copy of this alarm can be cached in the local buffer memory as transmit queue, after managed device receives heartbeat and checks message, can also upgrade buffer memory.
For example, Fig. 5 is the process chart that the heartbeat of receiving is checked message according to the managed device of the embodiment of the invention, and as shown in Figure 5, this flow process mainly may further comprise the steps:
Step 1,2,3, receive the link setup command of management station after, set up communication link, synchronous altering message data, synchronous maximum alarm numbering;
Step 4 after the link establishment success, is received the heartbeat message that management station sends;
Step 5 is resolved heartbeat and is checked the data message that carries in the message, comprises that the maximum alarm numbering (M) that has arrived, the not arrival warning information sequence that management station finds out (are designated as: [N 1..., N k]), management station's current alarm numbering (C) of gathering the timestamp (Tm) of above-mentioned information and getting access to from managed device;
Step 6, the size of comparison C and M, if C greater than M, continues execution in step 7, otherwise, execution in step 8;
Step 7, will (M, C] integer value in interval adds and do not arrive sequence, do not arrive sequence be updated to [N1 ..., Nk ..., Nc];
Step 8 will be managed the part deletion of receiving at the station in the buffer memory that sends a warning message, method is if the numbering of this warning information is not in arriving sequence, then deletion;
Step 9 scans the buffer queue that sent a warning message, and calculates current time (Tc) and management station's heartbeat message acquisition time TMDifference, if difference is greater than timeout threshold (being the packet loss time threshold), then retransmit.
The alarm information reporting method that adopts above-described embodiment to provide, send heartbeat by management station to managed device and check message, can in time so that managed device (warning information transmitting terminal) knows whether send packet loss, solved the poor problem of promptness, simultaneously, preorder warning information by the current warning information of receiving of retrieval in not arriving the warning information formation, the sequence consensus of the warning information that the order that has guaranteed the warning information that managed device sends and management station receive, can Active repeat thereby can reach behind the timely discovery packet loss, and avoid the effect of unnecessary repeating transmission.
Corresponding with above-mentioned alarm information reporting method, the embodiment of the invention also provides a kind of warning information reporting device, and this device is positioned at the managed device side.
Fig. 6 is that this device comprises according to the structural representation of the warning information reporting device of the embodiment of the invention: the first receiver module 10, the first determination module 20 and the first sending module 30.Wherein, the first receiver module 10, the heartbeat that be used for to receive from management station checks message, wherein, this heartbeat checks that message carries indication in the number information of current heart beat cycle management station receiving alarm information state; The first determination module 20 is connected to the first receiver module 10, is used for according to number information and the numbering that the current alarm information that has sent is set by pipe, definite numbering that needs the warning information of repeating transmission; The first sending module 30 is connected to the first determination module 20, and warning information corresponding to numbering that is used for the warning information that will retransmit with needs sends to management station.
In a preferred implementation of the embodiment of the invention, above-mentioned number information comprises: the maximum numbering of the current warning information that has received of management station; As shown in Figure 7, in this preferred implementation, the first determination module 20 can comprise: obtain submodule 22, be used for number and check in heartbeat that warning information between the numbering of described maximum numbering that message carries and the current warning information that has sent of managed device adds and wait to retransmit during the judgement warning information gathers; Judge submodule 24, and obtain submodule 22 and is connected, be used for judging above-mentioned wait to retransmit each warning information of judging the warning information set whether be need to repeating transmission warning information.Adopt this execution mode, management station can send indication to managed device easily, and handling process is fairly simple.
In another preferred implementation of the embodiment of the invention, above-mentioned number information can also comprise: do not arrive the numbering set of the warning information of described management station; Then obtain submodule 22 also for the warning information corresponding with each numbering of this numbering set added above-mentioned treating in the set of repeating transmission judgement warning information.Adopt this execution mode, managed device need can determine the warning information of repeating transmission more accurately.
In a preferred implementation of the embodiment of the invention, as shown in Figure 8, judge that submodule 24 can comprise: the first acquiring unit 242 is used for obtaining the very first time stamp that above-mentioned heartbeat checks message; Second acquisition unit 244 is used for obtaining above-mentioned each warning information of retransmitting the set of judgement warning information of waiting and sends the second timestamp of time; Judging unit 246, are connected with second acquisition unit with the first acquiring unit 242 and are connected, be used for judging respectively that whether time difference that above-mentioned the second timestamp of waiting to retransmit each warning information of judging the warning information set and the very first time stab is greater than the packet loss time threshold of presetting, if so, determine that then this warning information needs to retransmit.
By the said apparatus that the embodiment of the invention provides, managed device can get access to the warning information of losing more timely, and in time retransmits, thereby has improved the reliability that warning information sends.
Fig. 9 is the structural representation according to the warning information reporting system of the embodiment of the invention, and as shown in Figure 7, this system comprises: management station 1 and managed device 2.Wherein, managed device 2 can comprise the warning information reporting device in above-described embodiment.
As shown in figure 10, management station 1 can comprise: the second receiver module 40, the second determination module 50 and the second sending module 60.Wherein, the second receiver module 40 is used for receiving the warning information that managed device sends, and wherein, carries its numbering in this warning information; The second determination module 50 is connected to the second receiver module 40, is used for determining the number information of indication management station 2 current receiving alarm information states; The second sending module 60 is connected to the second determination module 50, is used for sending heartbeat to managed device and checks message, and wherein, described heartbeat checks and carries the described number information that the second determination module described in the current heart beat cycle is determined in the message.
In the preferred implementation of the embodiment of the invention, above-mentioned number information can comprise: the maximum numbering of the current warning information that has received of described management station.
In another preferred implementation of the embodiment of the invention, above-mentioned number information can also comprise: do not arrive the numbering set of the warning information of described management station; Also carry the numbering of the preorder warning information of described warning information in the described warning information.Then as described in Figure 11, in this preferred implementation, the second determination module 50 can comprise: comparison module 52, be used for and compare at the first numbering S of the maximum numbering M that receives the warning information that has received before the described warning information and the current described warning information that receives, if M+1<S, determine that then the warning information that is numbered M+1 to S-1 does not arrive, trigger the numbering set that Executive Module 54 adds the numbering of M+1 to S-1 the warning information that does not arrive; If M+1=S then triggers retrieval module 56; Retrieval module 56, be used for whether depositing current the second numbering H that receives the preorder warning information of described warning information in the described numbering set retrieval of the warning information that does not arrive, if, then trigger Executive Module described the second numbering H is related with described the first numbering S, after warning information corresponding to described the second numbering H arrives, number H front according to described second, described the first numbering S after order will be described warning information and described first corresponding to the second numbering H number warning information corresponding to S and join the warning information that has received, if not, then trigger described Executive Module the 54 described first described warning information of numbering S are joined the warning information that has received; If S<M then triggers Executive Module 54 the described first described warning information of numbering S is joined the warning information that has received; Executive Module 54 is used for according to the comparative result of comparison module 52 and/or the result for retrieval of retrieval module 56, carries out accordingly and processes.
The above-mentioned warning information reporting system that adopts foregoing invention embodiment to provide, send heartbeat by management station to managed device and check message, can in time so that managed device (warning information transmitting terminal) knows whether send packet loss, solved the poor problem of promptness, simultaneously, preorder warning information by the current warning information of receiving of retrieval in not arriving the warning information formation, the sequence consensus of the warning information that the order that has guaranteed the warning information that managed device sends and management station receive, can Active repeat thereby can reach behind the timely discovery packet loss, and avoid the effect of unnecessary repeating transmission.
From above description, can find out, the present invention has realized following technique effect: management station is carried at heartbeat with the number information of the warning information that receives and checks in the message and send to managed device (warning information transmitting terminal), make managed device determine the numbering of the warning information that needs are retransmitted according to number information, the warning information that will need again to retransmit sends to the mode of management station, can in time so that managed device knows whether send packet loss, solved the poor problem of promptness of determining packet loss in the prior art, simultaneously, preorder warning information by the current warning information of receiving of retrieval in not arriving the warning information formation, the sequence consensus of the warning information that the order that has guaranteed the warning information that managed device sends and management station receive, and then only reached and namely can determine whether to send packet loss by a heart beat cycle, and make managed device timely, the warning information that automatically will lose resends the effect to management station.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. an alarm information reporting method is characterized in that, comprising:
The heartbeat that managed device receives from management station checks message, and wherein, described heartbeat checks that message carries indication in the number information of the current receiving alarm information state of the described management station of current heart beat cycle;
Described managed device is determined the numbering of the warning information that needs are retransmitted according to the numbering of described number information and the current warning information that has sent of described managed device;
Described managed device sends to described management station with the warning information corresponding with the numbering of the described warning information that need to retransmit.
2. method according to claim 1 is characterized in that, before the heartbeat inspection message of described managed device reception from management station, described method comprises:
Described managed device is described numbering of each described warning information configuration according to sending order;
Described managed device is carried at the numbering of described warning information and sends to described management station in this warning information, and at the described warning information of local cache.
3. method according to claim 2 is characterized in that,
Described number information comprises: the maximum numbering of the current warning information that has received of described management station;
Described managed device is according to the numbering of described number information and the current alarm information that has sent of described managed device, the numbering of the warning information of determine to need retransmitting comprises: described managed device will number and be checked in described heartbeat that warning information between the numbering of the described maximum numbering of carrying in the message and the current warning information that has sent of described managed device adds and wait to retransmit during the judgement warning information gathers; Described managed device judges that described whether wait to retransmit each warning information of judging in the warning information set be to need the warning information retransmitted.
4. method according to claim 3 is characterized in that,
Described number information also comprises: do not arrive the numbering set of the warning information of described management station;
Described managed device judges that described whether wait to retransmit each warning information of judging in the warning information set be before the warning information that needs to retransmit, described method also comprises: described managed device with the warning information corresponding with each numbering in the described numbering set add described wait to retransmit judge that warning information is gathered.
5. method according to claim 4, it is characterized in that, when being a described numbering of each described warning information configuration, described method also comprises: judge whether described warning information has the preorder warning information, if, then the numbering of described preorder warning information is numbered as the preorder of described warning information, and described preorder numbering is carried in the described warning information.
6. method according to claim 5 is characterized in that, described managed device the numbering of described warning information is carried at send to described management station in this warning information after, described method also comprises:
Described management station will compare at the first numbering S of the maximum numbering M that receives the warning information that has received before the described warning information and the current described warning information that receives, wherein:
If M+1<S, then described management station determines that the warning information that is numbered M+1 to S-1 does not arrive, and the numbering of M+1 to S-1 is added the described numbering set of the warning information that does not arrive;
If M+1=S, then in the described numbering set of the warning information that does not arrive, retrieve the second numbering H of the preorder warning information that whether has the current described warning information that receives, if, then that described the second numbering H is related with described the first numbering S, after warning information corresponding to described the second numbering H arrives, number H front according to described second, described the first numbering S after order will be described warning information and described first corresponding to the second numbering H number warning information corresponding to S and join the warning information that has received, if not, then the described first described warning information of numbering S is joined the warning information that has received;
If S<M, then the described warning information with described the first numbering S joins the warning information that has received.
7. each described method in 6 according to claim 1 is characterized in that, described managed device is judged and describedly waited to retransmit whether each warning information of judging in the warning information set is that the warning information that needs to retransmit comprises:
Described managed device obtains and receives the very first time stamp that described heartbeat checks the time of message;
For described each warning information of waiting to retransmit in the set of judgement warning information, described managed device obtains this warning information of indication and sends the second timestamp of time, judge that whether the time difference of described very first time stamp and described the second timestamp is greater than default packet loss time threshold, if so, determine that then this warning information needs to retransmit.
8. each described method in 6 according to claim 2 is characterized in that, described managed device sends to the described warning information that does not arrive of the numbering correspondence of the described warning information that does not arrive after the described management station, also comprises:
Described managed device checks the definite described warning information that has successfully been received by described management station of message according to described heartbeat, deletes the described described warning information that has successfully been received by described management station of described managed device buffer memory.
9. a warning information reporting device is positioned at the managed device side, it is characterized in that, described device comprises:
The first receiver module, the heartbeat that is used for receiving from management station checks message, wherein, described heartbeat checks that message carries indication in the number information of the current receiving alarm information state of the described management station of current heart beat cycle;
The first determination module is used for the numbering according to described number information and the current alarm information that has sent, definite numbering that needs the warning information of repeating transmission;
The first sending module is used for the warning information corresponding with the numbering of the described warning information that need to retransmit sent to described management station.
10. device according to claim 9 is characterized in that,
Described number information comprises: the maximum numbering of the current warning information that has received of described management station;
Described the first determination module comprises:
Obtain submodule, be used for number and check in described heartbeat that warning information between the numbering of described maximum numbering that message carries and the current warning information that has sent of described managed device adds and wait to retransmit during the judgement warning information gathers;
Judge submodule, be used for judging and describedly wait to retransmit whether each warning information of judging the warning information set is the warning information that needs repeating transmission.
11. device according to claim 10 is characterized in that,
Described number information also comprises: do not arrive the numbering set of the warning information of described management station;
The described submodule that obtains is also for the warning information corresponding with each numbering of described numbering set added described treating in the set of repeating transmission judgement warning information.
12. device according to claim 10 is characterized in that, described judgement submodule comprises:
The first acquiring unit is used for obtaining the very first time stamp that described heartbeat checks message;
Second acquisition unit is used for obtaining described each warning information of retransmitting the set of judgement warning information of waiting and sends the second timestamp of time;
Judging unit, be used for judging respectively that whether time difference that described described the second timestamp of waiting to retransmit each warning information of judging the warning information set and the described very first time stab is greater than the packet loss time threshold of presetting, if so, determine that then this warning information needs to retransmit.
13. a warning information reporting system is characterized in that, comprising: management station and managed device, wherein,
Described managed device comprises each described device in the claim 9 to 12;
Described management station comprises:
The second receiver module is used for receiving the warning information that described managed device sends, and wherein, carries the numbering of this warning information in the described warning information;
The second determination module is used for definite number information of indicating the current receiving alarm information state of described management station;
The second sending module is used for sending heartbeat to described managed device and checks message, and wherein, described heartbeat checks and carries the described number information that the second determination module described in the current heart beat cycle is determined in the message.
14. system according to claim 13 is characterized in that,
Described number information comprises: the maximum numbering of the current warning information that has received of described management station and the numbering set of the warning information that does not arrive described management station;
Also carry the numbering of the preorder warning information of described warning information in the described warning information;
Described the second determination module comprises:
Comparison module, be used for and compare at the first numbering S of the maximum numbering M that receives the warning information that has received before the described warning information and the current described warning information that receives, if M+1<S, determine that then the warning information that is numbered M+1 to S-1 does not arrive, trigger the numbering set that Executive Module adds the numbering of M+1 to S-1 the warning information that does not arrive; If M+1=S then triggers retrieval module;
Described retrieval module, be used for whether depositing current the second numbering H that receives the preorder warning information of described warning information in the described numbering set retrieval of the warning information that does not arrive, if, then trigger described Executive Module described the second numbering H is related with described the first numbering S, after warning information corresponding to described the second numbering H arrives, number H front according to described second, described the first numbering S after order will be described warning information and described first corresponding to the second numbering H number warning information corresponding to S and join the warning information that has received, if not, then trigger described Executive Module the described first described warning information of numbering S is joined the warning information that has received; If S<M then triggers described Executive Module the described first described warning information of numbering S is joined the warning information that has received;
Described Executive Module is used for according to the comparative result of described comparison module and/or the result for retrieval of described retrieval module, carries out accordingly and processes.
CN201110175334.9A 2011-06-27 2011-06-27 Alarm information reporting method, apparatus and system Active CN102857354B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110175334.9A CN102857354B (en) 2011-06-27 2011-06-27 Alarm information reporting method, apparatus and system
PCT/CN2012/070017 WO2013000282A1 (en) 2011-06-27 2012-01-04 Alarm information reporting method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110175334.9A CN102857354B (en) 2011-06-27 2011-06-27 Alarm information reporting method, apparatus and system

Publications (2)

Publication Number Publication Date
CN102857354A true CN102857354A (en) 2013-01-02
CN102857354B CN102857354B (en) 2018-08-03

Family

ID=47403564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110175334.9A Active CN102857354B (en) 2011-06-27 2011-06-27 Alarm information reporting method, apparatus and system

Country Status (2)

Country Link
CN (1) CN102857354B (en)
WO (1) WO2013000282A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015000230A1 (en) * 2013-07-04 2015-01-08 Wen Jie Industrial ethernet packet loss detection method based on heartbeat signals
CN105592489A (en) * 2014-11-12 2016-05-18 中兴通讯股份有限公司 Transmission data management method and apparatus
CN107360013A (en) * 2016-05-10 2017-11-17 北京数码视讯科技股份有限公司 A kind of alarm synchronization method and system
CN108809538A (en) * 2017-05-04 2018-11-13 大唐移动通信设备有限公司 A kind of method and apparatus for retransmitting warning information
CN108964955A (en) * 2017-05-23 2018-12-07 中兴通讯股份有限公司 A kind of loss Trap message lookup method and Network Management System and a kind of SNMP agent
CN109286532A (en) * 2018-11-28 2019-01-29 郑州云海信息技术有限公司 The management method and device of warning information in cloud computing system
CN111385111A (en) * 2018-12-28 2020-07-07 中国电信股份有限公司 Alarm method, device, system and computer readable storage medium
CN113542061A (en) * 2021-07-08 2021-10-22 阳光电源股份有限公司 Data transmission control method and related device
CN114244682A (en) * 2021-11-22 2022-03-25 中盈优创资讯科技有限公司 Equipment alarm loss leakage repairing method and device
CN114285723A (en) * 2021-12-22 2022-04-05 卡斯柯信号有限公司 Method for maintaining information transmission between terminals

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005309789A (en) * 2004-04-21 2005-11-04 Nippon Telegr & Teleph Corp <Ntt> Network management method and device, and storage medium recording program
CN101184003A (en) * 2007-12-03 2008-05-21 中兴通讯股份有限公司 NMP based front and background alarm management system and management method thereof
CN101577646A (en) * 2009-06-22 2009-11-11 武汉烽火网络有限责任公司 Alarm synchronizing method based on SNMP
CN101741635A (en) * 2008-11-26 2010-06-16 大唐移动通信设备有限公司 Method, system and device for synchronous altering message

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267335B (en) * 2007-03-15 2011-10-26 中兴通讯股份有限公司 A method for guaranteeing successful alarm receiving/transmission in simple network management protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005309789A (en) * 2004-04-21 2005-11-04 Nippon Telegr & Teleph Corp <Ntt> Network management method and device, and storage medium recording program
CN101184003A (en) * 2007-12-03 2008-05-21 中兴通讯股份有限公司 NMP based front and background alarm management system and management method thereof
CN101741635A (en) * 2008-11-26 2010-06-16 大唐移动通信设备有限公司 Method, system and device for synchronous altering message
CN101577646A (en) * 2009-06-22 2009-11-11 武汉烽火网络有限责任公司 Alarm synchronizing method based on SNMP

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015000230A1 (en) * 2013-07-04 2015-01-08 Wen Jie Industrial ethernet packet loss detection method based on heartbeat signals
CN105592489A (en) * 2014-11-12 2016-05-18 中兴通讯股份有限公司 Transmission data management method and apparatus
CN107360013A (en) * 2016-05-10 2017-11-17 北京数码视讯科技股份有限公司 A kind of alarm synchronization method and system
CN108809538A (en) * 2017-05-04 2018-11-13 大唐移动通信设备有限公司 A kind of method and apparatus for retransmitting warning information
CN108809538B (en) * 2017-05-04 2020-07-17 大唐移动通信设备有限公司 Method and device for retransmitting alarm information
CN108964955A (en) * 2017-05-23 2018-12-07 中兴通讯股份有限公司 A kind of loss Trap message lookup method and Network Management System and a kind of SNMP agent
CN109286532B (en) * 2018-11-28 2021-07-27 郑州云海信息技术有限公司 Management method and device for alarm information in cloud computing system
CN109286532A (en) * 2018-11-28 2019-01-29 郑州云海信息技术有限公司 The management method and device of warning information in cloud computing system
CN111385111A (en) * 2018-12-28 2020-07-07 中国电信股份有限公司 Alarm method, device, system and computer readable storage medium
CN111385111B (en) * 2018-12-28 2023-03-24 中国电信股份有限公司 Alarm method, device, system and computer readable storage medium
CN113542061A (en) * 2021-07-08 2021-10-22 阳光电源股份有限公司 Data transmission control method and related device
CN114244682A (en) * 2021-11-22 2022-03-25 中盈优创资讯科技有限公司 Equipment alarm loss leakage repairing method and device
CN114244682B (en) * 2021-11-22 2024-01-05 中盈优创资讯科技有限公司 Equipment alarm loss and leakage repairing method and device
CN114285723A (en) * 2021-12-22 2022-04-05 卡斯柯信号有限公司 Method for maintaining information transmission between terminals

Also Published As

Publication number Publication date
CN102857354B (en) 2018-08-03
WO2013000282A1 (en) 2013-01-03

Similar Documents

Publication Publication Date Title
CN102857354A (en) Method, device and system for reporting alarm information
US5432798A (en) Data communication method and system
US8284669B2 (en) Data acknowledgement apparatus and method
CN101217429B (en) Method for Determining Initiation Relationship Between TCP Messages Based on TCP Timestamp Options
KR102046792B1 (en) Method of transporting data from sending node to destination node
US9197373B2 (en) Method, apparatus, and system for retransmitting data packet in quick path interconnect system
CN103141050B (en) Data packet retransmission method and node in quick path interconnect system
CN105264843A (en) Managing pending acknowledgement packets in a communication device
US20040213231A1 (en) Apparatus and method for retransmitting data packets in mobile ad hoc network environment
CN108234087B (en) Data transmission method and sending end
JP3377994B2 (en) Data distribution management device and data distribution management method
CN107104902B (en) RDMA data transmission method, related device and system
CN105847184A (en) Network request method, device and processing system for android operation system
CN101567769A (en) Data retransmission method, system and peer-to-peer node
CN111711680A (en) File breakpoint continuous transmission method and device based on UDP (user Datagram protocol)
CN107959555B (en) Data transmission method, device and storage medium based on LWAAP
CN110351827A (en) A kind of wireless self-networking method and system based on Sub-GHz
KR102601348B1 (en) Data transmission method, transmission device, data reception method and receiving device
CN105933453A (en) Data transmission method and system
CN101873235A (en) Detection method of equipment network link, network management system and network system
CN111970092A (en) Multi-protocol redundant network asynchronous communication method supporting reliability adjustment
EP3672189B1 (en) Data transmission method, device and system
CN110266446B (en) Method and device for adjusting out-of-order time length based on SACK mode
US8274359B2 (en) Wireless connectivity for sensors
CN104580171B (en) The transmission method of Transmission Control Protocol, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180425

Address after: 210012 No. 68 Bauhinia Road, Yuhuatai District, Jiangsu, Nanjing

Applicant after: Nanjing Zhongxing New Software Co., Ltd.

Address before: No. 55, Nanshan District science and technology road, Nanshan District, Shenzhen, Guangdong

Applicant before: ZTE Corporation

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191118

Address after: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Patentee after: ZTE Communications Co., Ltd.

Address before: Yuhuatai District of Nanjing City, Jiangsu province 210012 Bauhinia Road No. 68

Patentee before: Nanjing Zhongxing New Software Co., Ltd.

TR01 Transfer of patent right