CN105791433B - The interlocking maintenance console remote diagnosis method for having multifile transfer function - Google Patents

The interlocking maintenance console remote diagnosis method for having multifile transfer function Download PDF

Info

Publication number
CN105791433B
CN105791433B CN201610269872.7A CN201610269872A CN105791433B CN 105791433 B CN105791433 B CN 105791433B CN 201610269872 A CN201610269872 A CN 201610269872A CN 105791433 B CN105791433 B CN 105791433B
Authority
CN
China
Prior art keywords
client
maintenance console
file
server
interlocking maintenance
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.)
Active
Application number
CN201610269872.7A
Other languages
Chinese (zh)
Other versions
CN105791433A (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.)
Casco Signal Ltd
Original Assignee
Casco Signal 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 Casco Signal Ltd filed Critical Casco Signal Ltd
Priority to CN201610269872.7A priority Critical patent/CN105791433B/en
Publication of CN105791433A publication Critical patent/CN105791433A/en
Application granted granted Critical
Publication of CN105791433B publication Critical patent/CN105791433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/0876Network utilisation, e.g. volume of load or congestion level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • 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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Abstract

The present invention relates to a kind of interlocking maintenance console remote diagnosis methods for having multifile transfer function, comprising: step S 1, client interlocking maintenance console initiate isdn dialup application;Step S2, the configuration of Inspection and maintenance platform is station interlocking maintenance console or client interlocking maintenance console, itself playback or query function are then directly entered if it is station interlocking maintenance console, then enters S3 if it is client interlocking maintenance console;Step S3, check whether isdn network is unobstructed, if general rule does not terminate, S4 is entered if unobstructed;Step S4, under the premise of isdn network is unobstructed, maintenance console is interlocked to client from the journal file group that distal end station interlocking maintenance console downloads the corresponding period according to the period of client request;Step S5, it is played back and is inquired according to historic state of the journal file group of downloading to distal end station interlocking maintenance console.Compared with prior art, the present invention has that practicability is good, high reliability.

Description

The interlocking maintenance console remote diagnosis method for having multifile transfer function
Technical field
The present invention relates to a kind of remote Diagnosis Technologies of computer interlock system, have multifile biography more particularly, to one kind The interlocking maintenance console remote diagnosis method of transmission function.
Background technique
Currently, the Remote Diagnosis System of computer interlock system is the critical function in interlock system.Utilize remote diagnosis Function can overcome railway station location remote, go on business and be not easy, and copy records and check station historic state not side Just.Provide a kind of operating method of cost that saves human and material resources.
Current remote diagnosis method, be using check long-range SQL database method realize yard playback sum number it is investigated that It askes.Although long-range SQL database can be used, due to physical channel narrow bandwidth, network channel is unstable, and data transmission is non- It is often difficult, the case where needing reconnection is interrupted frequent occurrence.Once channel interrupt, all data inquired are required to add again It carries, time-consuming and laborious, efficiency is lower.Such design presence is not scientific, can not adapt to increasingly developed industry requirement.
Summary of the invention
It is good, reliable that it is an object of the present invention to overcome the above-mentioned drawbacks of the prior art and provide a kind of practicabilities The high interlocking maintenance console remote diagnosis method for having multifile transfer function of property.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of interlocking maintenance console remote diagnosis method having multifile transfer function, which is characterized in that including following step It is rapid:
Step S1, client interlocking maintenance console initiates isdn dialup application;
Step S2, the configuration of Inspection and maintenance platform is station interlocking maintenance console or client interlocking maintenance console, if it is station Interlocking maintenance console is then directly entered playback or the query function of itself, then enters S3 if it is client interlocking maintenance console;
Step S3, check whether isdn network is unobstructed, if general rule does not terminate program, S4 is entered if unobstructed;
Step S4, it under the premise of isdn network is unobstructed, is tieed up according to the period of client request from distal end station interlocking The journal file group for protecting the platform downloading corresponding period interlocks maintenance console to client;
Step S5, it is played back and is looked into according to historic state of the journal file group of downloading to distal end station interlocking maintenance console It askes.
The step S5, which is used, to be played back and is inquired in downloading.
The step S5 is used to have downloaded and is played back and inquired again.
Journal file group downloading process in the step S4 is specific as follows:
T1, client send out a request packet to server, include the state pause judgments time;
T2, server statistics go out the size and MD5 code of each file, and will issue client after information package;
T3, after client receives message, and local file of the same name is compared MD5 code, is as a result divided to two classes: MD5 code one It causes or MD5 code is inconsistent, if local file is not present, it is inconsistent to be included into MD5 code;
T4, consistent this MD5 code or inconsistent message synchronization is to server.
T5If, it is consistent, client and server together, jumps to next file and return step T1It is operated;
T6If, it is inconsistent,
T6.1, server first throw away a beginning message and come, client creates new file after terminating to, then send one it is anti- It feeds server;
T6.2, server be connected to after feedback to start to read log content and be sent to client, during which check the slow of socket word Area is rushed, if having expired with regard to sleep;
T6.3, finally send an end mark, client terminates to end mark and is shut off file pointer, and feeds back, and server connects Next file is jumped into after to feedback;
Wherein client is that client interlocks maintenance console, and server is distal end station interlocking maintenance console.
In the journal file group downloading process, if TCP link disconnects, the file pointer of client and server is closed It closes, TCP is waited to connect again, once it connects, then breakpoint transmission.
In the journal file group downloading process, if RAS link disconnects, when in reconnect, then every operation Process is both needed to redo.
It in the journal file group downloading process, is shown using a progress bar, downloads file download more than percent It is few, it disappears after 100%.
The time of request playback inquiry, must not include current hour.
Compared with prior art, the invention has the following advantages that
1, the present invention devises a kind of data transmission method of multifile, file i.e. negligible network channel after transferring Influence, to reduce requirement of the system to network channel state quality;
2, the present invention devises a kind of data transmission method of multifile.Be in transmission process network channel it is unstable, A part of journal file can also be at least transmitted, the practicability of system is improved;
3, the present invention requires to calculate MD5 code when transmitting file, transmits file and original day to ensure that Will file is completely the same, improves Transmission system reliability;
4, the present invention is set by the period of setting CLIENT client maintenance platform, to automatically determine the file to be transmitted Group name and file group path.The way for avoiding selection individual files single every time, to improve document transmission system Convenience.
5, each file transmission front and back artificially joined first symbol and end mark, the integrality transmitted as single file according to According to be further ensured that the integrality of file.
It 6, can be with power-off continuous when keeping network channel unstable using the way of saving scene in document transmission process It passes.
Detailed description of the invention
Fig. 1 is the remote diagnosis flow chart of the present invention played back in downloading;
Fig. 2 is that the present invention has downloaded the remote diagnosis flow chart played back again;
Fig. 3 is that file group of the present invention downloads flow chart.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiment is a part of the embodiments of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, those of ordinary skill in the art's every other reality obtained without making creative work Example is applied, all should belong to the scope of protection of the invention.
With reference to Fig. 1-3, illustrate technical solution of the present invention, firstly, Fig. 2, those skilled in the art are easy to reference to Fig. 1 Understand the software flow of entire remote diagnosis, on this basis, with reference to Fig. 3, introduces the multifile transmission of core of the invention Algorithm.
Referring initially to Fig. 1, the remote diagnosis played back in downloading of the invention is introduced, comprising the following steps:
Step 100, client interlocking maintenance console initiate isdn dialup application.This step is completed in operating system level, with Software algorithm is unrelated.;
Step 101, the configuration of Inspection and maintenance platform are station interlocking maintenance console or client maintenance platform.If it is server end Maintenance console is then directly entered playback or the query function of itself.Then enter 102 if it is client maintenance platform;
Step 102 checks whether isdn network is unobstructed.If general rule does not terminate program, 103 are entered if unobstructed;
Step 103 clicks the START button in playback or the time in modification record inquiry.By need to inquire Period information package is good, is ready for sending and gives station interlocking maintenance console.
Step 104 checks whether TCP socket word is in good condition, if be not connected to, ossleep is called to be stopped It sleeps, waits in main program and be connected to TCP channel.Enter 105 if being connected to
Step 105, from distal end station interlocking maintenance console download log file group to local client maintenance console.
If step 106, without having downloaded completely, the journal file partially downloaded is added to playback inquiry sequence Column.If downloading is over, start playback inquiry.
The file that step 107, judgement have been downloaded, which discharges, not to be had, and terminates program if having discharged.If do not discharged, Then explanation is currently transmitting file, into waiting.
Step 108 waits this current file to be transmitted, and enters step 106, into the sequence for playing back this file.
Secondly Fig. 2 is referred to, introduces and of the invention has downloaded the remote diagnosis process played back again, comprising the following steps:
Step 201, the configuration of Inspection and maintenance platform are station interlocking maintenance console or client maintenance platform.If it is server end Maintenance console is then directly entered playback or the query function of itself.Then enter 102 if it is client maintenance platform;
Step 202 checks whether isdn network is unobstructed.If general rule does not terminate program, 103 are entered if unobstructed;
Step 203 clicks the START button in playback or the time in modification record inquiry.By need to inquire Period information package is good, is ready for sending and gives station interlocking maintenance console.
Step 204 checks whether TCP socket word is in good condition, if be not connected to, ossleep is called to be stopped It sleeps, waits in main program and be connected to TCP channel.Enter 105 if being connected to
Step 205, from distal end station interlocking maintenance console download log file group to local client maintenance console.
If step 206, without having downloaded completely, into wait state, until downloading finishes.If downloading is over, Start playback inquiry.
Fig. 3 is turned finally to, the multifile for introducing core of the present invention downloads process, comprising the following steps:
Step 301, client send out a request packet to server, include the state pause judgments time.
Step 302, server count the size of each file, and MD5 code will issue client after information package
After step 303, client receive message, and local file of the same name is compared MD5 code, is as a result divided to two classes: MD5 Code is consistent or MD5 code is inconsistent.Local file is not present, then it is inconsistent to be included into MD5 code.
Step 304, consistent this MD5 code or inconsistent message synchronization is to SERVER.
If step 305, consistent, client and server together, jump to next file and are operated;
If step 306, inconsistent,
Step 306.1server first throws away a beginning message and comes.Client creates new file after being connected to.Then one is sent It is a to feed back to server
Step 306.2server be connected to feedback after start read log content be sent to client.Period checks The buffer area of socket word, if having expired with regard to sleep.
Step 306.3 finally sends an end mark.Client is connected to end mark and is shut off file pointer, and feeds back. Server jumps into next file after being connected to feedback.
Once step 307, TCP link disconnect, the file pointer of client and server are closed, and TCP is waited to connect again. Once connecting, then breakpoint transmission.PS:, can be with saving scene restoring scene with getpostion, the seek of cstdiofile.
Once step 308, RAS link disconnect, when in reconnect, then every operation process, is both needed to redo.
Step 309, consideration there emerged a progress bar, download file download percent is how many, and 100% disappears later.It is imitative The thinking of that initialization progress bar when the big games such as EASPORTS initialize.
The time that step 310, request playback are inquired, must not include the journal file of current hour period, because working as The preceding file recorded is also being write, so that MD5 code not yet forms.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (5)

1. a kind of interlocking maintenance console remote diagnosis method for having multifile transfer function, which comprises the following steps:
Step S1, client interlocking maintenance console initiates isdn dialup application;
Step S2, the configuration of Inspection and maintenance platform is station interlocking maintenance console or client interlocking maintenance console, if it is station interlocking Maintenance console is then directly entered playback or the query function of itself, then enters S3 if it is client interlocking maintenance console;
Step S3, check whether isdn network is unobstructed, if general rule does not terminate program, S4 is entered if unobstructed;
Step S4, under the premise of isdn network is unobstructed, according to the period of client request from distal end station interlocking maintenance console The journal file group for downloading the corresponding period interlocks maintenance console to client;
Step S5, it is played back and is inquired according to historic state of the journal file group of downloading to distal end station interlocking maintenance console;
The step S5, which is used, to be played back and is inquired in downloading;
Journal file group downloading process in the step S4 is specific as follows:
T1, client send out a request packet to server, include the state pause judgments time;
T2, server statistics go out the size and MD5 code of each file, and will issue client after information package;
T3, after client receives message, and local file of the same name is compared MD5 code, be as a result divided to two classes: MD5 code unanimously, or It is that MD5 code is inconsistent, if local file is not present, it is inconsistent is included into MD5 code;
T4, consistent this MD5 code or inconsistent message synchronization is to server;
T5If, it is consistent, client and server together, jumps to next file and return step T1It is operated;
T6If, it is inconsistent,
T6.1, server first throw away a beginning message and come, client creates new file after terminating to, then send one feed back to Server;
T6.2, server be connected to feedback after start read log content be sent to client, during which check socket word buffering Area, if having expired with regard to sleep;
T6.3, finally send an end mark, client terminates to end mark and is shut off file pointer, and feeds back, and server is connected to instead Next file is jumped into after feedback;
Wherein client is that client interlocks maintenance console, and server is distal end station interlocking maintenance console;
In the journal file group downloading process, if TCP link disconnects, the file pointer of client and server is closed, etc. Connect again to TCP, once it connects, then breakpoint transmission;
By setting the period of client maintenance platform, to automatically determine the file group name to be transmitted and file group path;Each File transmission front and back joined first symbol and end mark, the integrality foundation as single file transmission.
2. a kind of interlocking maintenance console remote diagnosis method for having multifile transfer function according to claim 1, special Sign is that the step S5 is used to have downloaded and played back and inquired again.
3. a kind of interlocking maintenance console remote diagnosis method for having multifile transfer function according to claim 1, special Sign is, in the journal file group downloading process, if RAS link disconnects, and when in reconnect, then every operation stream Journey is both needed to redo.
4. a kind of interlocking maintenance console remote diagnosis method for having multifile transfer function according to claim 1, special Sign is, in the journal file group downloading process, is shown using a progress bar, downloads file download more than percent It is few, it disappears after 100%.
5. a kind of interlocking maintenance console remote diagnosis method for having multifile transfer function according to claim 1, special Sign is that the time of request playback inquiry, must not include current hour.
CN201610269872.7A 2016-04-27 2016-04-27 The interlocking maintenance console remote diagnosis method for having multifile transfer function Active CN105791433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610269872.7A CN105791433B (en) 2016-04-27 2016-04-27 The interlocking maintenance console remote diagnosis method for having multifile transfer function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610269872.7A CN105791433B (en) 2016-04-27 2016-04-27 The interlocking maintenance console remote diagnosis method for having multifile transfer function

Publications (2)

Publication Number Publication Date
CN105791433A CN105791433A (en) 2016-07-20
CN105791433B true CN105791433B (en) 2019-12-03

Family

ID=56398799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610269872.7A Active CN105791433B (en) 2016-04-27 2016-04-27 The interlocking maintenance console remote diagnosis method for having multifile transfer function

Country Status (1)

Country Link
CN (1) CN105791433B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0077179A2 (en) * 1981-10-10 1983-04-20 Westinghouse Brake And Signal Company Limited Computer-based interlocking system
CN101247402A (en) * 2008-03-17 2008-08-20 腾讯科技(深圳)有限公司 Multimedia files downloading and broadcasting system and method
CN102799158A (en) * 2012-08-03 2012-11-28 卡斯柯信号有限公司 Computer interlocking system with centralized control function
CN102970363A (en) * 2012-11-21 2013-03-13 用友软件股份有限公司 Long-distance journal downloading system and long-distance journal downloading method
CN104539690A (en) * 2014-12-24 2015-04-22 大连理工大学 Server remote data synchronizing method based on feedback mechanism and MD5 code detection
CN105306574A (en) * 2015-11-04 2016-02-03 株洲南车时代电气股份有限公司 Method for remotely downloading train operation monitoring and recording file

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0077179A2 (en) * 1981-10-10 1983-04-20 Westinghouse Brake And Signal Company Limited Computer-based interlocking system
CN101247402A (en) * 2008-03-17 2008-08-20 腾讯科技(深圳)有限公司 Multimedia files downloading and broadcasting system and method
CN102799158A (en) * 2012-08-03 2012-11-28 卡斯柯信号有限公司 Computer interlocking system with centralized control function
CN102970363A (en) * 2012-11-21 2013-03-13 用友软件股份有限公司 Long-distance journal downloading system and long-distance journal downloading method
CN104539690A (en) * 2014-12-24 2015-04-22 大连理工大学 Server remote data synchronizing method based on feedback mechanism and MD5 code detection
CN105306574A (en) * 2015-11-04 2016-02-03 株洲南车时代电气股份有限公司 Method for remotely downloading train operation monitoring and recording file

Also Published As

Publication number Publication date
CN105791433A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
US20080275951A1 (en) Integrated logging for remote script execution
US7818623B2 (en) Kernel debugging in a cluster computing system
KR100729288B1 (en) Web server content replication
US20080126517A1 (en) File Transfer System, Transmitting Device and Receiving Device
US8352231B2 (en) System for performing a co-simulation and/or emulation of hardware and software
US20040216141A1 (en) Computer interface driver program
CN102495866A (en) Method and system for synchronously updating shared documents
CN103580942B (en) A kind of simulative serial port method of testing and device
CN109756552B (en) Passenger information system message distribution method and device and passenger information system
CN101179392A (en) Method and system for uploading document
JP2003524255A (en) Internet based remote data and file recovery system and method
CN100550743C (en) The shared method of digital content in a kind of point to point network
CN106713494A (en) Intelligent auditing method and device
CN105791433B (en) The interlocking maintenance console remote diagnosis method for having multifile transfer function
JP2002055888A (en) Data processing system, data logging system, measuring method of system performance and recording medium
US7839765B2 (en) Advertising port state changes in a network
KR100793449B1 (en) Game service system and method
JP2009157786A (en) Message transmission control method, message transmission control device, and message transmission control program
CN100566247C (en) A kind of network storage method and system based on immediate communication platform
CN106981146A (en) A kind of billing method based on many Golden Taxes disks
CN113905357B (en) Data migration method, device, equipment and storage medium based on WiFi direct connection
CN106953756B (en) Simulation delay method of service data and server
CN100583886C (en) Method and system for realizing trivial file transfer protocol (TFTP) file transmission
Cisco NP O/S Command Reference
Cisco NP O/S Command Reference

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1225190

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant