CN106411645A - Network data unvarnished transmission system and disconnection detecting method thereof - Google Patents

Network data unvarnished transmission system and disconnection detecting method thereof Download PDF

Info

Publication number
CN106411645A
CN106411645A CN201610870665.7A CN201610870665A CN106411645A CN 106411645 A CN106411645 A CN 106411645A CN 201610870665 A CN201610870665 A CN 201610870665A CN 106411645 A CN106411645 A CN 106411645A
Authority
CN
China
Prior art keywords
module
data
network
gsm module
data transmission
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
CN201610870665.7A
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.)
CHINESE NONFERROUS METAL SURVEY AND DESIGN Institute OF CHANGSHA Co Ltd
Original Assignee
CHINESE NONFERROUS METAL SURVEY AND DESIGN Institute OF CHANGSHA Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHINESE NONFERROUS METAL SURVEY AND DESIGN Institute OF CHANGSHA Co Ltd filed Critical CHINESE NONFERROUS METAL SURVEY AND DESIGN Institute OF CHANGSHA Co Ltd
Priority to CN201610870665.7A priority Critical patent/CN106411645A/en
Publication of CN106411645A publication Critical patent/CN106411645A/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections

Landscapes

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

Abstract

The invention provides a network data unvarnished transmission system which is simplified in structure and applicable to environment, hydrology and geological disaster monitoring. The network data unvarnished transmission system comprises a remote data transmission device and a remote server connected with the remote data transmission device; the remote data transmission device comprises a GSM module having a back-display function and a microprocessor connected with the GSM module; and the microprocessor comprises an initialization module for initiating the GSM module, a timer polling module for sending heartbeat packets including specific character strings to the outside at intervals, a network disconnection reconnection module for starting for reconnection after receiving a reconnection signal sent by the timer polling module and a monitoring data transmission module for monitoring the transmission data in real time. The invention also discloses a disconnection detecting method of the network data unvarnished transmission system. By utilizing the characteristic that data subjected to unvarnished transmission are displayed back if connection is cut off and when the GSM module is in a network unvarnished transmission mode and combining with reasonable selection of each component, the remote monitoring device is guaranteed to be connected and online in real time.

Description

A kind of network data transparent transmission system and its wire break detection method
Technical field
The present invention relates to environment, the hydrology, monitoring technology for geological hazards field are and in particular to a kind of network data transparent transmission breaks Detection method.
Background technology
Wild environment, the hydrology, Geological Hazards Monitoring station often remote mountain area, does not have 3G, 4G network signal, only substantially GPRS network transmission data can be relied on.There are the various signals of Huawei Company's production in the market using more GPRS module Gsm module and the gsm module of Siemens Company's production.All using general AT command protocols, (AT refers to these gsm module products Order can inquire about connection status).Micro-processor MCV on equipment can control gsm module using AT command protocols.Huawei and west gate Whether the AT instruction in the gsm module that subsidiary produces can return current connection state normal.Although however, in practical application Gsm module return connect normal, in fact this TCP connect and disconnect already (this situation generally existing, many scientific papers with And this problem is all discussed on communication technology BBS).Therefore, gsm module has following defect:(1) virtual connections cannot be detected, lead to Communication disruption and cannot automatically recovering, has a strong impact on the passback efficiency of Monitoring Data;(2) need the time ability up to 100 minutes It is able to detect that, take long, practicality is not strong.
Internet is connected using GPRS network and carries out the situation that TCP communication is easy to generation virtual connections, remotely connect Communication link is already off.At present, the method solving GPRS network TCP virtual connections in industry field mainly has two kinds:
The first, shorten the TCP/IP bag Connection Time unconfirmed (being designated as prior art 1), specifically:Single-chip microcomputer is initial Sending AT^SCFG=120 instruction during change, if set in data 2min sending there is no confirmation, just closing connection breaking.Thus Real TCP/IP connection status can be obtained in AT^SISI instruction.The shortcoming of this mode is:(1), cannot real-time judge whether On-line joining process, needs to wait the response time setting just can judge whether to connect;(2) if the midfeather some time does not have There is transmission data, then during this period of time, gsm module will not be attached the judgement of state.But in environment, the hydrology, geology In disaster monitoring system, monitoring interval be often half an hour or a hour once, during this period of time cannot judge GPRS The state connecting.
Second, adopt timer period determining method (being designated as prior art 2), specifically:Concrete grammar is:Using AT^ SISI instructions query current state, even if there being the possibility of virtual connections,<ackData>Data also show the data having sent. If within a certain period of time it is contemplated that heart-beat protocol also data to be sent, may determine that this following period of time<ackData>It is No increase.If<ackData>Data does not increase, then explanation network is actually already off, needs to reconnect.This side The core of method is to judge whether either with or without increasing to connect normally according to the successful data package size of transmission.But in environment, water Literary composition, in geological disaster monitoring system, monitoring interval be often half an hour or a hour once, during this period of time packet Will not increase.If setting heartbeat packet, send a heartbeat bag data (as 10 seconds) that is, at regular intervals, be to solve this Individual problem.But it is directed to TCP/IP transparent transmission mode, connection status is inquired about in setting timer timing to be needed first to exit transparent transmission mode, Re-enter transparent transmission mode after confirming to connect normally.This method can affect normally to monitor number when switching transparent transmission mode According to transmission.
In sum, exploitation design a kind of structure simplify, easy to operate, real-time detection can be accomplished, because saturating without switching Arq mode is without affecting the transmission of normal Monitoring Data and the data transfer being applied to environment, the hydrology, Geological Hazards Monitoring System and method are significant.
Content of the invention
Present invention aim at providing a kind of structure to simplify and be applied to the data biography of environment, the hydrology, Geological Hazards Monitoring Defeated system, concrete technical scheme is as follows:
A kind of network data transparent transmission system, is connected including remote data transmission equipment with described remote data transmission equipment Remote service end;
Described remote data transmission equipment is included the gsm module with echo function and is connected with described gsm module Microprocessor, described microprocessor includes carrying out initialized initialization module, intermittent to described gsm module externally sending bag The timer poller module of the heartbeat packet containing specific character string, receive the reconnect signal that described timer poller module sends The network outage starting reconnect afterwards reconnects module and the monitoring data transmission module in real time transmission data being monitored.
In above technical scheme preferably, it is additionally provided between described remote data transmission equipment and described remote service end GPRS communication base station, between described remote data transmission equipment and described GPRS communication base station and described remote service end and institute State and all carried out data transmission by ICP/IP agreement between GPRS communication base station.
Application technical scheme, system total is simplified, and is easy to use;Remote data transmission equipment and long-range It is additionally provided with GPRS communication base station between service end, improve the precision of data transfer.
The present invention also provides a kind of wire break detection method of above-mentioned network data transparent transmission system, comprises the following steps:
The first step:On gsm module during electricity, initialization module initializes to gsm module, opens the echo of gsm module Function, starts being remotely connected and entering data penetration transmission pattern between remote data transmission equipment and remote service end;Start prison The data transmission scenarios of network are monitored by control data transmission module;
Second step:Timer poller module externally sends, at interval of time T1, the heartbeat packet comprising character string D, and T1 is 10ms-1s;
3rd step:The data that timer poller module real-time detection gsm module receives, enters to the data that gsm module receives Row judges:If the data that gsm module receives contains complete heartbeat packet then it is assumed that network connection has gone offline, timing device wheel Ask module transmission reconnect signal and reconnect module to network outage, enter next step;If the data that gsm module receives does not comprise Complete heartbeat packet, then it is assumed that network connection is normal, returns second step;
4th step:After network outage reconnects the reconnect signal that module receives the transmission of timer poller module, start weight New connection;If connection failure, again attempt to after suspension time T2, till network connection success or gsm module power-off, T2 is 20-50s.
In above technical scheme preferably, T1 is 500ms, and T2 is 30s.
Wire break detection method (the i.e. GPRS embedded Internet network number of the network data transparent transmission system of the application present invention According to transparent transmission wire break detection method), effect is:
1st, pass through to arrange the timer poller module heartbeat packet that constantly timing transmission comprises specific character string, detect in real time simultaneously Whether the data that survey gsm module receives comprises this heartbeat packet.If comprising this heartbeat packet, start disconnection reconnecting module RN.Pass through Above flow process can accomplish under real-time detector data transparent transmission mode, whether GPRS network connection goes offline, and can ensure that immediately after going offline Reconnect, thus reaching the purpose of GPRS module real-time online.The method can accomplish real-time detection, without switching transparent transmission mode from Without affecting the transmission of normal Monitoring Data, the method step is simple, easy to implement.
2nd, timer polling interval can need according to the application scenarios of the processing speed of Micro-processor MCV and gsm module 10ms-1s to be set to, the less real-time in polling interval is higher, but shared computing resource is higher, poll time herein Reasonable in design, meet the demand of environment, the hydrology, Geological Hazards Monitoring.
3rd, the application scenarios according to gsm module can design different heartbeat packet (comprising character string D) with ensure with long-range The data separation that service end sends over comes, and meets different demands.
In addition to objects, features and advantages described above, the present invention also has other objects, features and advantages. Below with reference to figure, the present invention is further detailed explanation.
Brief description
The accompanying drawing constituting the part of the application is used for providing a further understanding of the present invention, the schematic reality of the present invention Apply example and its illustrate, for explaining the present invention, not constituting inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation of the network data transparent transmission system of embodiment 1;
Wherein, 1, remote data transmission equipment, 1.1, gsm module, 1.2, microprocessor, 1.21, initialization module, 1.22nd, timer poller module, 1.23, network outage reconnect module, 1.24, monitoring data transmission module, 2, remote service end, 3rd, GPRS communication base station.
Specific embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are described in detail, but the present invention can limit according to claim Multitude of different ways that is fixed and covering is implemented.
Embodiment 1:
Referring to Fig. 1, a kind of network data transparent transmission system, pass including remote data transmission equipment 1 with described teledata The remote service end 2 that transfer device 1 connects.
Described remote data transmission equipment 1 include the gsm module 1.1 with echo function and with described gsm module 1.1 The microprocessor 1.2 connecting, described microprocessor 1.2 includes carrying out initialized initialization module to described gsm module 1.1 1.21st, intermittent externally sends the timer poller module 1.22 of heartbeat packet comprising specific character string, receives described timer The network outage starting reconnect after what poller module 1.22 sent reconnect signal reconnects module 1.23 and right in real time The monitoring data transmission module 1.24 that transmission data is monitored.
It is additionally provided with GPRS communication base station 3 between described remote data transmission equipment 1 and described remote service end 2, described remote Between journey data transmission set 1 and described GPRS communication base station 3 and described remote service end 2 and described GPRS communication base station 3 Between all carried out data transmission by ICP/IP agreement.
Apply above-mentioned network data transparent transmission system to carry out burn out detection, specifically include following steps:
The first step:On gsm module 1.1 during electricity, initialization module 1.21 initializes to gsm module 1.1, opens GSM The echo function of module 1.1, starts being remotely connected and entering data between remote data transmission equipment 1 and remote service end 2 Transparent transmission mode;Start monitoring data transmission module 1.24, the data transmission scenarios of network are monitored;
Second step:Timer poller module 1.22 externally sends, at interval of time T1, the heartbeat packet comprising character string D, and T1 is 10ms-1s (is chosen to be 500ms) herein;
3rd step:The data that timer poller module 1.22 real-time detection gsm module 1.1 receives, receives to gsm module 1.1 To data judged:If the data that gsm module 1.1 receives contain complete heartbeat packet then it is assumed that network connection Go offline, timer poller module 1.22 sends reconnect signal and reconnects module 1.23 to network outage, enters next step;If The data that gsm module 1.1 receives does not comprise complete heartbeat packet then it is assumed that network connection is normal, returns second step;
4th step:Network outage reconnects the reconnect signal that module 1.23 receives timer poller module 1.22 transmission Afterwards, start and reconnect;If connection failure, again attempt to after suspension time T2, until network connection success or gsm module Till 1.1 power-off, T2 is 20-50s (being herein chosen to be 30s).
The technical scheme of application the present embodiment, disconnects if connected under network transparent transmission mode by using gsm module, Transparent data can echo this characteristic, constantly sends spcial character by arranging timer module, once it is same to detect this Character string is echoed, then directly can detect virtual connections at Client end and exist, start disconnection reconnecting immediately, thus ensureing Remote monitor device connects real-time online.Meanwhile, this method does not need using AT^SISI instructions query connection status, therefore Transparent transmission mode need not be exited, do not affect the real-time Transmission of Monitoring Data.Judged also without remote server, thus protecting Demonstrate,prove and directly maintained true connection status in real time at Client end.
Technical scheme using the present embodiment is compared with prior art (prior art 1 and prior art 2), and details are shown in Table 1.
Embodiment 2- embodiment 3
Embodiment 2 and embodiment 3 difference from Example 1 are:
Embodiment 2:Timer poller module 1.22 externally sends the heartbeat packet comprising character string D, T1 at interval of time T1 For 10ms;Network outage again attempts to after reconnecting module 1.23 suspension time T2, and T2 is 20s;
Embodiment 3:Timer poller module 1.22 externally sends the heartbeat packet comprising character string D, T1 at interval of time T1 For 1s;Network outage again attempts to after reconnecting module 1.23 suspension time T2, and T2 is 50s;
Technical scheme using embodiment 2-3 is compared with prior art (prior art 1 and prior art 2), and details are shown in Table 1.
Table 1 embodiment 1-3, prior art 1 and prior art 2 three's effectiveness comparison table
Case/performance indications Whether can guarantee that and real-time detect virtual connections Whether affect data transfer The need of switching transparent transmission mode
Embodiment 1 Permissible Do not affect Do not need
Embodiment 2 Permissible Do not affect Do not need
Embodiment 3 Permissible Do not affect Do not need
Prior art 1 Permissible Impact Need
Prior art 2 Not all right Impact Need
As can be seen from Table 1:Using technical scheme, constantly send special word by arranging timer module Symbol and the combination combining each part, are the virtual connections that definitely can real-time detect network;Can reconnect in time network with And transparent transmission mode need not be switched it is ensured that the data transfer of whole network is unaffected.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (4)

1. a kind of network data transparent transmission system it is characterised in that include remote data transmission equipment (1) and with described teledata The remote service end (2) that transmission equipment (1) connects;
Described remote data transmission equipment (1) include the gsm module (1.1) with echo function and with described gsm module (1.1) microprocessor (1.2) connecting, described microprocessor (1.2) includes described gsm module (1.1) is carried out initialized Initialization module (1.21), intermittent externally send the timer poller module (1.22) of heartbeat packet comprising specific character string, The network outage starting reconnect after receiving the reconnect signal that described timer poller module (1.22) sends reconnects mould Block (1.23) and the monitoring data transmission module (1.24) in real time transmission data being monitored.
2. network data transparent transmission system according to claim 1 is it is characterised in that described remote data transmission equipment (1) Be additionally provided with GPRS communication base station (3) and described remote service end (2) between, described remote data transmission equipment (1) with described All by ICP/IP between GPRS communication base station (3) and between described remote service end (2) and described GPRS communication base station (3) Agreement carries out data transmission.
3. the wire break detection method of the network data transparent transmission system as described in a kind of any one as claim 1-2, its feature exists In comprising the following steps:
The first step:During the upper electricity of gsm module (1.1), initialization module (1.21) initializes to gsm module (1.1), opens The echo function of gsm module (1.1), the long-range connection between startup remote data transmission equipment (1) and remote service end (2) is simultaneously Enter data penetration transmission pattern;Start monitoring data transmission module (1.24), the data transmission scenarios of network are monitored;
Second step:Timer poller module (1.22) externally sends, at interval of time T1, the heartbeat packet comprising character string D, and T1 is 10ms-1s;
3rd step:The data that timer poller module (1.22) real-time detection gsm module (1.1) receives, to gsm module (1.1) The data receiving is judged:If the data that gsm module (1.1) receives contains complete heartbeat packet then it is assumed that network connection Go offline, timer poller module (1.22) sends reconnect signal and reconnects module (1.23) to network outage, under entrance One step;If the data that gsm module (1.1) receives does not comprise complete heartbeat packet then it is assumed that network connection is normal, return second Step;
4th step:Network outage reconnects module (1.23) and receives the reconnect signal that timer poller module (1.22) sends Afterwards, start and reconnect;If connection failure, again attempt to after suspension time T2, until network connection success or gsm module (1.1), till power-off, T2 is 20-50s.
4. network data transparent transmission system according to claim 3 wire break detection method it is characterised in that T1 be 500ms, T2 is 30s.
CN201610870665.7A 2016-09-30 2016-09-30 Network data unvarnished transmission system and disconnection detecting method thereof Pending CN106411645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610870665.7A CN106411645A (en) 2016-09-30 2016-09-30 Network data unvarnished transmission system and disconnection detecting method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610870665.7A CN106411645A (en) 2016-09-30 2016-09-30 Network data unvarnished transmission system and disconnection detecting method thereof

Publications (1)

Publication Number Publication Date
CN106411645A true CN106411645A (en) 2017-02-15

Family

ID=59228493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610870665.7A Pending CN106411645A (en) 2016-09-30 2016-09-30 Network data unvarnished transmission system and disconnection detecting method thereof

Country Status (1)

Country Link
CN (1) CN106411645A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108063671A (en) * 2017-11-30 2018-05-22 广州烽火众智数字技术有限公司 A kind of transparent plug-in type telecommunication network rebooting device and method
CN108809761A (en) * 2018-06-12 2018-11-13 威创集团股份有限公司 Presence detection method and device
CN110204108A (en) * 2018-07-26 2019-09-06 浙江机电职业技术学院 Based on monolithic processor controlled Rural water supply station remote monitoring terminal and its application method
CN110607636A (en) * 2018-06-15 2019-12-24 重庆泥彩科技有限公司 Washing machine system based on Internet of things
CN111539671A (en) * 2020-04-26 2020-08-14 上海火卫信息科技有限公司 Device, system and method for realizing illegal unsealing prevention and process tracing functions in article transportation process

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655532A (en) * 2008-12-16 2010-02-24 河海大学常州校区 GPRS-based wireless remote online monitoring system of distributed arrester
CN102169623A (en) * 2011-01-18 2011-08-31 中国地质调查局水文地质环境地质调查中心 Distributed geological disaster monitoring and acquiring transmission instrument
CN103399538A (en) * 2013-07-18 2013-11-20 华南理工大学 Heterogeneous network communication-based water supply network monitoring and information service system and monitoring method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655532A (en) * 2008-12-16 2010-02-24 河海大学常州校区 GPRS-based wireless remote online monitoring system of distributed arrester
CN102169623A (en) * 2011-01-18 2011-08-31 中国地质调查局水文地质环境地质调查中心 Distributed geological disaster monitoring and acquiring transmission instrument
CN103399538A (en) * 2013-07-18 2013-11-20 华南理工大学 Heterogeneous network communication-based water supply network monitoring and information service system and monitoring method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
席军强: "《车辆信息技术》", 31 December 2013 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108063671A (en) * 2017-11-30 2018-05-22 广州烽火众智数字技术有限公司 A kind of transparent plug-in type telecommunication network rebooting device and method
CN108809761A (en) * 2018-06-12 2018-11-13 威创集团股份有限公司 Presence detection method and device
CN110607636A (en) * 2018-06-15 2019-12-24 重庆泥彩科技有限公司 Washing machine system based on Internet of things
CN110204108A (en) * 2018-07-26 2019-09-06 浙江机电职业技术学院 Based on monolithic processor controlled Rural water supply station remote monitoring terminal and its application method
CN111539671A (en) * 2020-04-26 2020-08-14 上海火卫信息科技有限公司 Device, system and method for realizing illegal unsealing prevention and process tracing functions in article transportation process

Similar Documents

Publication Publication Date Title
CN106411645A (en) Network data unvarnished transmission system and disconnection detecting method thereof
US6741171B2 (en) System for transmitting and verifying alarm signals
CN105897652A (en) Standard protocol based heterogeneous terminal dynamic access method
CN101416174A (en) Session persistence on a wireless network
CN103414916A (en) Fault diagnosis system and method
CN107147546A (en) Double net heartbeat inspecting method and system
CN109889409A (en) Cable network and wireless network double copies chain-circuit system and implementation method
CN106411644A (en) Network sharing device detection method and system based on DPI technology
CN106657290A (en) Broadband data communication technology-based elevator Internet-of-Things system and control method
CN101953139A (en) DHCP initialization responsive to network layer connectivity
CN106375152A (en) Method for processing communication abnormality of Client/Server (C/S) architecture
CN109733439A (en) Locomotive vehicle-mounted monitoring information integrated transmission system and method
CN108989152A (en) Obtain the method and device and computer storage medium of network delay
CN104580346B (en) Data transmission method and device
CN104283716B (en) Data transmission method, equipment and system
CN1917427B (en) Method and equipment for quick recovering environment of portal authentication
CN1805299B (en) Information transmission system, information transmission system for railway vehicle and information transmission terminal device for vehicle
CN104536853B (en) A kind of device ensureing dual controller storage device resource continuous availability
CN107342789A (en) A kind of group-net communication method of cable anti-theft monitoring system
CN205647589U (en) Data on -line measuring network architecture is put in office based on ethernet and cloud
CN109444933A (en) Positioning device and method based on big-dipper satellite
CN103552891A (en) Remote elevator monitoring method and remote elevator monitoring device
CN101316202B (en) On-line diagnosis method and system of embedded software, embedded software device
CN100518130C (en) Embedded type network access device and method
CN103684865B (en) Exchange system and information exchange method

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: 20170215