CN106452978A - Method and device for detecting communication abnormity - Google Patents

Method and device for detecting communication abnormity Download PDF

Info

Publication number
CN106452978A
CN106452978A CN201611059733.8A CN201611059733A CN106452978A CN 106452978 A CN106452978 A CN 106452978A CN 201611059733 A CN201611059733 A CN 201611059733A CN 106452978 A CN106452978 A CN 106452978A
Authority
CN
China
Prior art keywords
heartbeat
packet
communication
real
interval
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611059733.8A
Other languages
Chinese (zh)
Inventor
高锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
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 Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201611059733.8A priority Critical patent/CN106452978A/en
Publication of CN106452978A publication Critical patent/CN106452978A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Embodiments of the invention disclose a method and a device for detecting communication abnormity. The method for detecting the communication abnormity comprises the following steps of sending heartbeat packets in an ATM at a preset sending interval; detecting real-time communication load parameters corresponding to data packets in the ATM, wherein the data packets include the heartbeat packets; and carrying out communication abnormity detection according to the real-time communication load parameters. In comparison with the existing technology, only when business communication exists in the ATM, the communication abnormity detection can be carried out, namely the communication detection is only carried out on business data, and furthermore, according to the method and the device for detecting the communication abnormity, which are provided by the invention, through adding a heartbeat packet mechanism, the heartbeat packets and the business data can be combined to carry out communication detection, and when the business data does not exist, the detection is only carried out according to the heartbeat packets, so that the reliability of the communication abnormity detection in the ATM is improved.

Description

A kind of detection method of communication abnormality and device
Technical field
The present embodiments relate to communication check technology, more particularly, to a kind of detection method of communication abnormality and device.
Background technology
ATM (Automatic Teller Machine, ATM) is more and more universal in daily life, The life giving people brings great convenience.But frequent use of single device generally occurs various communication abnormality Problem, therefore, carries out detecting very necessary to ATM communication abnormality i.e..
When the intercommunication of ATM being detected in prior art, if there is service communication between ATM internal unit, Then judge whether communication abnormality occurs between ATM internal unit according to intercommunication time-out time.
However, inside ATM no service communication when, prior art cannot detect no within business communication period ATM Communication abnormality, the reliability of communication abnormality detection is low.
Content of the invention
The embodiment of the present invention provides a kind of detection method of communication abnormality and device, is extremely examined with improving ATM intercommunication The reliability surveyed.
In a first aspect, embodiments providing a kind of detection method of communication abnormality, the detection side of this communication abnormality Method includes:
It is spaced in inside ATM sending heartbeat packet according to default transmission;
Detect the packet corresponding real-time Communication for Power load parameter within described ATM, described packet includes described heartbeat Wrap corresponding heartbeat response bag;
Communication abnormality detection is carried out according to described real-time Communication for Power load parameter.
Further, after detecting the packet corresponding real-time Communication for Power load parameter within described ATM, also include:
Interval is sent according to the target that described real-time Communication for Power load parameter determines heartbeat packet, described target is sent interval and makees Send interval for default.
Further, described real-time Communication for Power load parameter is real-time traffic, packet loss or delay time, described in described basis Real-time Communication for Power load parameter determines that the target of heartbeat packet sends interval, including:
If described real-time Communication for Power load parameter increases, the target extending heartbeat packet sends interval;
If described real-time Communication for Power load parameter reduces, the target shortening heartbeat packet sends interval.
Further, before heartbeat packet is sent according to default transmission interval, also include:
Receive the heartbeat inter-packet gap configuration-direct that external device sends;
The transmission interval that described heartbeat inter-packet gap configuration-direct is carried is configured to described default transmission and is spaced.
Further, included according to default transmission before interval sends heartbeat packet:
Device numbering is configured in described heartbeat packet and described heartbeat response bag;And/or
Configuration space setting method, apparatus numbering in described heartbeat packet and described heartbeat response bag;And/or
Verification data is configured in described heartbeat packet and described heartbeat response bag.
Second aspect, the embodiment of the present invention additionally provides a kind of detection means of communication abnormality, the detection of this communication abnormality Device includes:
Heartbeat packet sending module, for being spaced in inside ATM sending heartbeat packet according to default transmission;
Real-time Communication for Power load parameter detection module, negative for detecting the corresponding real-time Communication for Power of packet within described ATM Carry parameter, described packet includes described heartbeat packet corresponding heartbeat response bag;
Communication abnormality detection module, for carrying out communication abnormality detection according to described real-time Communication for Power load parameter.
Further, the detection means of described communication abnormality, also includes:
Target sends interval determination module, and the target for determining heartbeat packet according to described real-time Communication for Power load parameter sends Interval, described target is sent interval and sends interval as default.
Further, described real-time Communication for Power load parameter is real-time traffic, packet loss or delay time, and described target sends Interval determination module, specifically for:
If described real-time Communication for Power load parameter increases, the target extending heartbeat packet sends interval;
If described real-time Communication for Power load parameter reduces, the target shortening heartbeat packet sends interval.
Further, the detection means of described communication abnormality, also includes:
Configuration-direct receiver module, for receiving the heartbeat inter-packet gap configuration-direct of external device transmission;
Default transmission is spaced configuration module, and the transmission interval for carrying described heartbeat inter-packet gap configuration-direct is configured to Described default transmission is spaced.
Further, the detection means of described communication abnormality includes:
Device numbering configuration module, for configuring device numbering in described heartbeat packet and described heartbeat response bag;And/or
Interval setting method, apparatus numbering configuration module, for configuration space in described heartbeat packet and described heartbeat response bag Setting method, apparatus numbering;And/or
Verification data configuration module, for configuring verification data in described heartbeat packet and described heartbeat response bag.
It is spaced in inside ATM sending heartbeat packet according to default transmission first in the embodiment of the present invention, then inside detection ATM Packet corresponding real-time Communication for Power load parameter, carry out communication abnormality detection finally according to real-time Communication for Power load parameter.Existing Have in technology, when only having service communication in ATM, just can carry out communication abnormality detection, can only carry out for business datum Communication check, and in the application, pass through to add heartbeat machine contracting system, heartbeat packet and business datum can be combined and carry out communication check, with And detected according only to heartbeat packet in no business datum, improve the reliability of ATM intercommunication abnormality detection.
Brief description
Fig. 1 is the flow chart of the detection method of one of the embodiment of the present invention one communication abnormality;
Fig. 2 is the flow chart of the detection method of one of the embodiment of the present invention two communication abnormality;
Fig. 3 is the flow chart of the detection method of one of the embodiment of the present invention three communication abnormality;
Fig. 4 is the flow chart of the detection method of one of the embodiment of the present invention four communication abnormality;
Fig. 5 is a kind of heartbeat mechanism workflow diagram that the embodiment of the present invention four provides;
Fig. 6 is the structural representation of the detection means of one of the embodiment of the present invention five communication abnormality.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than entire infrastructure is illustrate only in description, accompanying drawing.
Embodiment one
A kind of flow chart of the detection method of communication abnormality that Fig. 1 provides for the embodiment of the present invention one, the present embodiment can be fitted For there being the situation of business datum and the no communication abnormality detection of business datum in ATM, the method can be received by having heartbeat packet Send out, the microprocessing unit of configuration and response function executing, as shown in figure 1, the detection method of this communication abnormality specifically include as Lower step:
Step 110, is spaced in inside ATM sending heartbeat packet according to default transmission.
Wherein, heartbeat packet can be sent according to intervals, transmits between equipment or multiple equipment at two To notify a self-defining command character of other side oneself state.The default interval that sends can be to install heartbeat to ATM Time interval between the two neighboring heartbeat packet of setting before generator package, to ensure the normal operation of heartbeat generator.
Under this application scene, it is spaced in sending inside ATM realizing process and being of heartbeat packet according to default transmission, first Timer is first adopted to produce accurate sequential, the heartbeat then setting up equipment room connects, and starts finally according to default transmission interval Heartbeat packet is sent in ATM.
Step 120, the packet corresponding real-time Communication for Power load parameter within detection ATM, packet includes heartbeat packet pair The heartbeat response bag answered.
Wherein, the packet within ATM can include heartbeat packet, heartbeat response bag and business data packet.Heartbeat response bag Can be the heartbeat packet that the heartbeat packet sending is responded, the frame format of heartbeat response bag is consistent with the frame format of heartbeat packet, Simply make differentiation from type, the form of frame format can be form as shown in table 1.
Table 1
Frame indicates Frame type Type of message Inspection data Data field length Data
4 bytes 1 byte 1 byte 1 byte 4 bytes N byte
In Table 1, frame indicates (Tag) can be 0x58267A;Frame type (FrameType) can be defined as 0 expression please Seek frame, 1 expression response frame;Type of message (MsgType) can be defined as 0 expression time interval setting, and 1 represents that heartbeat starts, and 2 Represent that heartbeat stops, 3 represent that heartbeat is set up connects;Data check can adopt CRC (Cyclic Redundancy Check, CRC) 32 pairs of Frames verify;Data field length (Datalen) is used for showing the length of follow-up data;Data (Data) can be adjustable length data, the needs according to different messages type write corresponding data, such as time interval The message of setting, can correspond to time-write interval.
Real-time Communication for Power load parameter can be weighed by packet loss, time delay and real-time traffic.Under this application scene, Packet loss can be the ratio of heartbeat response bag and heartbeat packet, can react the communication quality within ATM, such as:In certain time period Inside send 10 heartbeat packet altogether, heartbeat packet receiver receives 7 heartbeat packet, only return 7 heartbeat response bags, that packet loss Rate is just 30%;Time delay can be the time delay of heartbeat packet or the time delay of business datum, during the delay of heartbeat packet Between can be receive heartbeat response bag and send corresponding heartbeat packet time difference, the time delay of business datum can be connect Receive the time difference between business datum and transmission business datum, such as:A equipment sends heartbeat packet or business datum, A equipment to B device Sending heartbeat packet or the time of business datum is T1, and B device receives the time T2 of heartbeat response bag or business datum, time delay Just for T2-T1;Real-time traffic can be the size of unit interval transceiving data flow in communication, can reflect the reality of traffic load Situation, such as:In ATM communication, the data traffic sending in certain 1s time is 1,000,000 (M), and the data traffic of reception is 2.3M, that Within the secondary 1s time, the real-time traffic in communication is 3.3M.
Under this application scene, detect that the method for the packet corresponding real-time Communication for Power load parameter within ATM can be, The method of detection packet loss can be by calculating the ratio of heartbeat the packet receiver heartbeat packet receiving and the heartbeat packet sending Or calculate the ratio that heartbeat packet sends equipment the heartbeat response bag receiving and the heartbeat packet sending;Detection heartbeat packet time delay Method can be calculate receive heartbeat packet with send corresponding heartbeat packet time difference or calculating heartbeat packet transmission equipment The heartbeat response bag receiving and the difference of the time sending corresponding heartbeat packet, detect that the method for business datum time delay can be meter Calculate the time difference between receiving business datum and sending between corresponding business datum;The method of detection real-time traffic can be using stream Amount detector carries out real-time detection to the flow in communication.
Step 130, carries out communication abnormality detection according to real-time Communication for Power load parameter.
Under this application scene, according to the method that real-time Communication for Power load parameter carries out communication abnormality detection can be, when losing When bag rate is more than given threshold, system report communication abnormality, this given threshold for example may be configured as any one between 70%-90% Integer, or when time delay exceeding predetermined high delay time, system report communication abnormality, for example, heartbeat packet and business The maximum delay time of data all may be configured as the arbitrary integer between 5s-10s.
The technical scheme that the present embodiment provides, is spaced in inside ATM sending heartbeat packet, Ran Houjian according to default transmission first Survey the packet corresponding real-time Communication for Power load parameter within ATM, carry out communication abnormality finally according to real-time Communication for Power load parameter Detection.In the prior art, when only having service communication in ATM, just can carry out communication abnormality detection, can only be directed to business Data carries out communication check, and passes through to add heartbeat machine contracting system in the application, can combine heartbeat packet and business datum and be led to Letter detection, and detected according only to heartbeat packet in no business datum, improve the reliability of ATM intercommunication abnormality detection Property.
Embodiment two
A kind of flow chart of the detection method of communication abnormality that Fig. 2 provides for the embodiment of the present invention two, with above-described embodiment Based on, as shown in Fig. 2 after step 120, also include:
Step 140, sends interval according to the target that real-time Communication for Power load parameter determines heartbeat packet, target is sent interval and makees Send interval for default.
According to the method that the target that real-time Communication for Power load parameter determines heartbeat packet sends interval can be, if real-time Communication for Power Load parameter increases, then the target extending heartbeat packet sends interval;If real-time Communication for Power load parameter reduces, shorten heartbeat packet Target send interval.Wherein, according to the method that the target that packet loss determines heartbeat packet sends interval can be, with communication The target that the increase of packet loss extends heartbeat packet sends interval;The side at interval is sent according to the target that time delay determines heartbeat packet Method can be, in the case that time delay is less than maximum delay time, when the time delay of heartbeat packet is elongated, to extend heartbeat packet Target send interval;According to the method that the target that real-time traffic determines heartbeat packet sends interval can be, little in real-time traffic In the case of handling capacity, when the real-time streams quantitative change in communication is big, the target extending heartbeat packet sends interval.
Preferably, if real-time Communication for Power load parameter increase, extend heartbeat packet target send interval realize process Can be that, when packet loss often increases by 10%, the target of heartbeat packet sends interval increases 1s, exemplary, is 20% in packet loss When, the target of heartbeat packet sends and is spaced apart 2s, and when packet loss increases to 30%, the target transmission interval of heartbeat packet is adaptive It is adjusted to 3s;The time delay of heartbeat packet, time delay often increased 1s, heartbeat packet in the case of less than maximum delay time Target sends interval increases 1s, exemplary, and when the time delay of heartbeat packet being 2s, the target of heartbeat packet sends and is spaced apart 1s, if the time delay of heartbeat packet increases to 3s, the target transmission interval of heartbeat packet is adaptive to increase to 2s;In real-time streams Less than on the premise of handling capacity, in communication, real-time traffic often increases 1M to amount, and the target of heartbeat packet sends interval increases 1s, exemplary , when in communication, real-time traffic is 3M, the target of heartbeat packet sends and is spaced apart 2s, if real-time traffic increases to 3M, target is sent out Interval is sent adaptive to increase to 3s.
Handling capacity can be in the case of frame losing, the maximum stream flow that can communicate in system, reflects the logical of system Letter ability.When real-time traffic reaches handling capacity, heartbeat generator stops sending heartbeat packet, to avoid ATM regular traffic is led to Letter produces impact.
If real-time Communication for Power load parameter reduces, shorten heartbeat packet target send interval realize process can be as above-mentioned It is adjusted according to the method for adjustment of packet loss, time delay and real-time traffic, here is omitted.
The technical scheme of this enforcement, sends interval according to the target that real-time Communication for Power load parameter determines heartbeat packet, by target Send interval and send interval as default, integrated use packet loss, time delay, real-time traffic and handling capacity are currently led to describe Letter situation, carrys out the dynamic regulation eartbeat interval time and controls unlatching, closes heartbeat, increased resource utilization, it is to avoid heartbeat pair The adverse effect of proper communication, increased the adaptivity of heartbeat mechanism simultaneously.
Embodiment three
A kind of flow chart of the detection method of communication abnormality that Fig. 3 provides for the embodiment of the present invention three, with above-described embodiment Based on, as shown in figure 3, after step 110, also include:
Step 150, receives the heartbeat inter-packet gap configuration-direct that external device sends.
Wherein, external device can be to be responsible for the public machine of interface display and the movement being made up of two pieces of control panels in ATM. Under this application scene, when no service communication in ATM, the transmission interval of heartbeat packet can be configured by external device, exemplary , whether the communication between testing equipment A and equipment B exception, need directly to set up heartbeat even in device A with equipment B Connect, the transmission of heartbeat packet interval can be configured by device A, and such as this transmission is spaced apart 4s, then device A every 4s to equipment B sends a heartbeat packet.
Step 160, the transmission interval that heartbeat inter-packet gap configuration-direct is carried is configured to default transmission and is spaced.
Under this application scene, communication between device A described above and equipment B, between the time that can configure device A It is configured to default transmission every 4s to be spaced, heartbeat packet is according to this default transmission heartbeat packet sending gap periods.
The technical scheme of the present embodiment, receives the heartbeat inter-packet gap configuration-direct that external device sends, by heartbeat inter-packet gap The transmission interval that configuration-direct carries is configured to the default interval that sends so that ATM is in the case of five service communications, by heartbeat Machine contracting system realizes the detection to communication abnormality, improves reliability.
Example IV
A kind of flow chart of the detection method of communication abnormality that Fig. 4 provides for the embodiment of the present invention four, with above-described embodiment Based on, as shown in figure 4, the detection method of this communication abnormality also includes:
Step 410, configures device numbering in heartbeat packet and heartbeat response bag.
Wherein, device numbering can be the numbering to the equipment being communicated in ATM, for example can be suitable according to English alphabet Sequence is numbered, and is configured to device A, equipment B and equipment C etc. successively.In heartbeat packet and heartbeat response bag, configuration equipment is compiled Number method can be, in the data of heartbeat packet and the frame format of heartbeat response bag increase device numbering data, exemplary , communication between device A and equipment B, table 2 is the frame format of the heartbeat packet being sent by device A, and table 3 is returned by equipment B Frame format corresponding to the response bag of heartbeat packet.
Table 2
Frame indicates Frame type Type of message Inspection data Data field length Data
4 bytes 0 3 1 byte 4 bytes A……
Table 3
Frame indicates Frame type Type of message Inspection data Data field length Data
4 bytes 1 1 1 byte 4 bytes B……
Can go out from the frame format of table 2, this heartbeat packet is sent by A equipment, the claim frame of heartbeat connection will be set up, As can be seen from Table 3, sent by B during this heartbeat packet, represent the response bag that heartbeat starts.
And/or, step 420, configuration space setting method, apparatus numbering in heartbeat packet and heartbeat response bag.
Under this application scene, in heartbeat packet and heartbeat response bag, the method for configuration space setting method, apparatus numbering is permissible It is to increase the data of interval setting method, apparatus numbering in the data of heartbeat packet and the frame format of heartbeat response bag, exemplary, Communication between device A and equipment B, table 4 is between the time of heartbeat packet communicating between the device A and equipment B being arranged by device A Every frame format.
Table 4
Frame indicates Frame type Type of message Inspection data Data field length Data
4 bytes 0 0 1 byte 4 bytes AB……
From table 4, it can be seen that this frame format represents, the heartbeat packet between the device A being arranged by device A and equipment B when Between be spaced.
And/or, step 430, heartbeat packet and heartbeat response bag configure verification data.
Wherein, verification data can be CRC32, can verify the correctness of heartbeat packet and response bag data itself and complete Property.
The technical scheme that the present embodiment provides, configures device numbering in heartbeat packet and heartbeat response bag, can increase heartbeat Machine contracting system have service communication and no service communication etc. difference occasion application;Configuration space in heartbeat packet and heartbeat response bag Setting method, apparatus numbering, increases the flexibility of heartbeat machine contracting system, can need to arrange corresponding time interval according to different;In the heart Jump configuration verification data in bag and heartbeat response bag it is ensured that the integrality of heartbeat packet and correctness, improve communication abnormality detection Reliability.
Preferred embodiment, a kind of heartbeat mechanism workflow diagram that Fig. 5 provides for the embodiment of the present invention four, as Fig. 5 institute Show, the flow process of this heartbeat mechanism includes:
Step 401, starts.
Step 402, initializes heartbeat management module, sets up heartbeat and connects.
Step 403, detects whether that there is heartbeat starts request.
Step 404, if there is heartbeat to start request, starting heartbeat generator, and being responded.
Step 405, detects whether that there is heartbeat stops request.
Step 406, if there is heartbeat to stop request, stopping heartbeat generator, and being responded.
Step 407, detection real-time traffic, time delay etc., in the case that no the external world sets interval, according to load Situation real-time regulation interval time.
Step 408, whether detection real-time traffic reaches handling capacity.
Step 409, if real-time traffic reaches throughput of system, closes heartbeat, it is to avoid produce impact to proper communication.
Step 410, has detected whether that the external world sets interval.
Step 411, if there is the external world setting interval, regulating time is spaced, and responds.
Step 412, if there is not the external world setting interval, according to real-time traffic, time delay dynamic adjustment time Interval.
Step 413, carries out heartbeat detection.
Step 414, statistics packet loss, time delay etc..
Step 415, terminates.
Embodiment five
A kind of structural representation of the detection means of communication abnormality that Fig. 6 provides for the embodiment of the present invention five, as Fig. 6 institute Show, the detection means of this communication abnormality includes:Device numbering configuration module 510, interval setting method, apparatus numbering configuration module 520, verification data configuration module 530, configuration-direct receiver module 540, preset and send interval configuration module 550, heartbeat packet is sent out Send module 560, real-time Communication for Power load parameter detection module 570, target sends interval determination module 580 and communication abnormality detection mould Block 590.
Heartbeat packet sending module 560, for being spaced in inside ATM sending heartbeat packet according to default transmission;
Real-time Communication for Power load parameter detection module 570, for detecting the packet corresponding real-time Communication for Power load within ATM Parameter, packet includes heartbeat packet corresponding heartbeat response bag;
Communication abnormality detection module 590, for carrying out communication abnormality detection according to real-time Communication for Power load parameter.
Preferably, the detection means of this communication abnormality, also includes:
Target sends interval determination module 580, and the target for determining heartbeat packet according to real-time Communication for Power load parameter sends Interval, target is sent interval and sends interval as default.
Preferably, real-time Communication for Power load parameter is real-time traffic, packet loss or delay time, and target sends interval and determines mould Block 580, specifically for:
If described real-time Communication for Power load parameter increases, the target extending heartbeat packet sends interval;
If described real-time Communication for Power load parameter reduces, the target shortening heartbeat packet sends interval.
Preferably, the detection means of this communication abnormality, also includes:
Configuration-direct receiver module 540, for receiving the heartbeat inter-packet gap configuration-direct of external device transmission;
Default transmission is spaced configuration module 550, and the transmission interval for carrying described heartbeat inter-packet gap configuration-direct is joined It is set to described default transmission to be spaced.
Preferably, the detection means of this communication abnormality includes:
Device numbering configuration module 510, for configuring device numbering in heartbeat packet and heartbeat response bag;And/or
Interval setting method, apparatus numbering configuration module 520, is arranged for configuration space in heartbeat packet and heartbeat response bag Method, apparatus are numbered;And/or
Verification data configuration module 530, for configuring verification data in heartbeat packet and heartbeat response bag.
Said apparatus can perform the method that the aforementioned all embodiments of the present invention are provided, and possesses execution said method corresponding Functional module and beneficial effect.The not ins and outs of detailed description in the present embodiment, can be found in the aforementioned all enforcements of the present invention The method that example is provided.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other Equivalent embodiments more can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of detection method of communication abnormality is it is characterised in that include:
It is spaced in inside ATM ATM sending heartbeat packet according to default transmission;
Detect the packet corresponding real-time Communication for Power load parameter within described ATM, described packet includes described heartbeat packet pair The heartbeat response bag answered;
Communication abnormality detection is carried out according to described real-time Communication for Power load parameter.
2. the detection method of communication abnormality according to claim 1 is it is characterised in that detecting the number within described ATM After wrapping corresponding real-time Communication for Power load parameter, also include:
Interval is sent according to the target that described real-time Communication for Power load parameter determines heartbeat packet, described target is sent interval as in advance If sending interval.
3. the detection method of communication abnormality according to claim 2 is it is characterised in that described real-time Communication for Power load parameter is Real-time traffic, packet loss or delay time, described according to described real-time Communication for Power load parameter determine heartbeat packet target send between Every, including:
If described real-time Communication for Power load parameter increases, the target extending heartbeat packet sends interval;
If described real-time Communication for Power load parameter reduces, the target shortening heartbeat packet sends interval.
4. the detection method of communication abnormality according to claim 1 is it is characterised in that sending according to the default interval that sends Before heartbeat packet, also include:
Receive the heartbeat inter-packet gap configuration-direct that external device sends;
The transmission interval that described heartbeat inter-packet gap configuration-direct is carried is configured to described default transmission and is spaced.
5. the detection method of the communication abnormality according to any one of claim 1-4 is it is characterised in that also include:
Device numbering is configured in described heartbeat packet and described heartbeat response bag;And/or
Configuration space setting method, apparatus numbering in described heartbeat packet and described heartbeat response bag;And/or
Verification data is configured in described heartbeat packet and described heartbeat response bag.
6. a kind of detection means of communication abnormality is it is characterised in that include:
Heartbeat packet sending module, for being spaced in inside ATM ATM sending heartbeat packet according to default transmission;
Real-time Communication for Power load parameter detection module, for detecting the packet corresponding real-time Communication for Power load ginseng within described ATM Number, described packet includes described heartbeat packet corresponding heartbeat response bag;
Communication abnormality detection module, for carrying out communication abnormality detection according to described real-time Communication for Power load parameter.
7. the detection means of communication abnormality according to claim 6 is it is characterised in that the detection of described communication abnormality fills Put, also include:
Target sends interval determination module, between the target for determining heartbeat packet according to described real-time Communication for Power load parameter sends Every using described target transmission interval as default transmission interval.
8. the detection means of communication abnormality according to claim 7 is it is characterised in that described real-time Communication for Power load parameter is Real-time traffic, packet loss or delay time, described target sends interval determination module, specifically for:
If described real-time Communication for Power load parameter increases, the target extending heartbeat packet sends interval;
If described real-time Communication for Power load parameter reduces, the target shortening heartbeat packet sends interval.
9. the detection means of communication abnormality according to claim 6 is it is characterised in that the detection of described communication abnormality fills Put, also include:
Configuration-direct receiver module, for receiving the heartbeat inter-packet gap configuration-direct of external device transmission;
Default transmission is spaced configuration module, and the transmission interval for carrying described heartbeat inter-packet gap configuration-direct is configured to described Default transmission is spaced.
10. the detection means of the communication abnormality according to any one of claim 6-9 is it is characterised in that described communication is different Normal detection means includes:
Device numbering configuration module, for configuring device numbering in described heartbeat packet and described heartbeat response bag;And/or
Interval setting method, apparatus numbering configuration module, is arranged for configuration space in described heartbeat packet and described heartbeat response bag Method, apparatus are numbered;And/or
Verification data configuration module, for configuring verification data in described heartbeat packet and described heartbeat response bag.
CN201611059733.8A 2016-11-25 2016-11-25 Method and device for detecting communication abnormity Pending CN106452978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611059733.8A CN106452978A (en) 2016-11-25 2016-11-25 Method and device for detecting communication abnormity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611059733.8A CN106452978A (en) 2016-11-25 2016-11-25 Method and device for detecting communication abnormity

Publications (1)

Publication Number Publication Date
CN106452978A true CN106452978A (en) 2017-02-22

Family

ID=58219029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611059733.8A Pending CN106452978A (en) 2016-11-25 2016-11-25 Method and device for detecting communication abnormity

Country Status (1)

Country Link
CN (1) CN106452978A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108227567A (en) * 2017-12-15 2018-06-29 中国航空工业集团公司西安飞行自动控制研究所 A kind of engineering machine remote control system and method based on software radio
CN108834179A (en) * 2018-05-31 2018-11-16 深圳市酷达通讯有限公司 Adjust method, the server and client side of heart beat cycle
CN110070675A (en) * 2019-03-30 2019-07-30 广东七芯净化科技有限公司 The method of supplying water of lease formula water dispenser
WO2020000124A1 (en) * 2018-06-25 2020-01-02 深圳市大疆创新科技有限公司 Method for monitoring connection state of laser radar, laser radar, and master computer
CN111083665A (en) * 2019-12-05 2020-04-28 上海旗旌科技有限公司 Dual-master control interactive communication method and device
CN113452723A (en) * 2021-08-31 2021-09-28 深圳鼎信通达股份有限公司 Voice processing method, device and storage medium
CN114531381A (en) * 2020-11-04 2022-05-24 南京理工大学 Detection method for obfuscated KCP protocol encrypted flow

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7469350B2 (en) * 2005-12-22 2008-12-23 Ncr Corporation Power control interface for a self-service apparatus
US20100179887A1 (en) * 2009-01-09 2010-07-15 Cacheria Iii Anthony M System for providing goods and services based on accrued but unpaid earnings
CN102438181A (en) * 2011-08-18 2012-05-02 中兴通讯股份有限公司 Method and system for adjusting time for sending heartbeat message in Internet protocol television (IPTV) system
CN102571492A (en) * 2012-01-06 2012-07-11 华为技术有限公司 Method and device for detecting failure of routing equipment
CN102624515A (en) * 2011-11-24 2012-08-01 中联重科股份有限公司 Data transmission method, system and terminal
CN102843250A (en) * 2011-06-21 2012-12-26 中兴通讯股份有限公司 Adaptive method and adaptive device of heartbeat cycle
CN102905400A (en) * 2012-10-24 2013-01-30 邢振中 Adaptive double-mode mobile data communication terminal
CN103442224A (en) * 2013-09-09 2013-12-11 杭州巨峰科技有限公司 NAT penetration-based video monitoring access strategy and realization method
CN103490943A (en) * 2013-07-04 2014-01-01 文杰 Industrial Ethernet packet loss detection method based on heartbeat signals
CN104333465A (en) * 2014-10-31 2015-02-04 北京奇虎科技有限公司 Heartbeat interval setting method, device and system
CN104836955A (en) * 2015-05-06 2015-08-12 携程计算机技术(上海)有限公司 Self-service photographing pile, self-service photographing system and method
CN104933610A (en) * 2015-06-10 2015-09-23 金亚东 Mobile payment system and method for self-service purchase of goods and services
CN105118159A (en) * 2015-09-18 2015-12-02 杭州锦业科技有限公司 Automatic selling machine selling system based on embedded and mobile internet

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7469350B2 (en) * 2005-12-22 2008-12-23 Ncr Corporation Power control interface for a self-service apparatus
US20100179887A1 (en) * 2009-01-09 2010-07-15 Cacheria Iii Anthony M System for providing goods and services based on accrued but unpaid earnings
CN102843250A (en) * 2011-06-21 2012-12-26 中兴通讯股份有限公司 Adaptive method and adaptive device of heartbeat cycle
CN102438181A (en) * 2011-08-18 2012-05-02 中兴通讯股份有限公司 Method and system for adjusting time for sending heartbeat message in Internet protocol television (IPTV) system
CN102624515A (en) * 2011-11-24 2012-08-01 中联重科股份有限公司 Data transmission method, system and terminal
CN102571492A (en) * 2012-01-06 2012-07-11 华为技术有限公司 Method and device for detecting failure of routing equipment
CN102905400A (en) * 2012-10-24 2013-01-30 邢振中 Adaptive double-mode mobile data communication terminal
CN103490943A (en) * 2013-07-04 2014-01-01 文杰 Industrial Ethernet packet loss detection method based on heartbeat signals
CN103442224A (en) * 2013-09-09 2013-12-11 杭州巨峰科技有限公司 NAT penetration-based video monitoring access strategy and realization method
CN104333465A (en) * 2014-10-31 2015-02-04 北京奇虎科技有限公司 Heartbeat interval setting method, device and system
CN104836955A (en) * 2015-05-06 2015-08-12 携程计算机技术(上海)有限公司 Self-service photographing pile, self-service photographing system and method
CN104933610A (en) * 2015-06-10 2015-09-23 金亚东 Mobile payment system and method for self-service purchase of goods and services
CN105118159A (en) * 2015-09-18 2015-12-02 杭州锦业科技有限公司 Automatic selling machine selling system based on embedded and mobile internet

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108227567A (en) * 2017-12-15 2018-06-29 中国航空工业集团公司西安飞行自动控制研究所 A kind of engineering machine remote control system and method based on software radio
CN108834179A (en) * 2018-05-31 2018-11-16 深圳市酷达通讯有限公司 Adjust method, the server and client side of heart beat cycle
CN108834179B (en) * 2018-05-31 2021-07-09 深圳市酷达通讯有限公司 Method, server and client for adjusting heartbeat cycle
WO2020000124A1 (en) * 2018-06-25 2020-01-02 深圳市大疆创新科技有限公司 Method for monitoring connection state of laser radar, laser radar, and master computer
CN110070675A (en) * 2019-03-30 2019-07-30 广东七芯净化科技有限公司 The method of supplying water of lease formula water dispenser
CN111083665A (en) * 2019-12-05 2020-04-28 上海旗旌科技有限公司 Dual-master control interactive communication method and device
CN111083665B (en) * 2019-12-05 2023-09-19 上海旗旌科技有限公司 Method and equipment for double-master control interactive communication
CN114531381A (en) * 2020-11-04 2022-05-24 南京理工大学 Detection method for obfuscated KCP protocol encrypted flow
CN114531381B (en) * 2020-11-04 2024-07-09 南京理工大学 Detection method for encryption traffic of confused KCP protocol
CN113452723A (en) * 2021-08-31 2021-09-28 深圳鼎信通达股份有限公司 Voice processing method, device and storage medium

Similar Documents

Publication Publication Date Title
CN106452978A (en) Method and device for detecting communication abnormity
CN107835088B (en) Air upgrading method and system for LoRa terminal equipment
CN102238608B (en) Wireless device testing method based on wireless ad hoc network
CN106304371A (en) A kind of data transmission method, device, terminal, base station and system
CN106878164A (en) A kind of message transmitting method and device
CN103530211A (en) PCIE loop back self-test method based on UVM platform
CN102695206B (en) Method and device for detecting voice service noise
CN107181780A (en) Communication port processing method and system
CN106412843A (en) Method, device and system for pairing gateway and terminal
JP6526835B2 (en) Analysis and classification of signaling sets or calls
CN102340368B (en) Method, system and device for monitoring error codes in CPRI (Common Public Radio Interface) link
CN106788894A (en) Segmentation individual transmission method of calibration
CN103297999B (en) Adjust the method and device of dispatch request false-alarm threshold value
CN109923836A (en) For using non-link test resource from the method for wireless equipment under test transmission test result
CN104038366B (en) Clustered node abatement detecting method and system
CN104301929A (en) Measurement report reporting method and equipment
CN104486787B (en) A kind of link failure method and device
CN107257265A (en) Real-time transmission data stream forward error correction, equipment and storage medium
CN102299779B (en) Method and system for detecting RLC (Radio Link Control) layer retransmitted data packet
JP6616184B2 (en) Data transmission method and apparatus
KR101639929B1 (en) Communication device and communication method
CN102802181A (en) Method and system for detecting physical topological link
CN104244393B (en) A kind of method and apparatus for adjusting Physical Downlink Control Channel
CN106713012A (en) Communication anomaly detection method and apparatus
CN114422126A (en) Joint debugging test system and method for quantum key management software module

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222