CN105791433A - Interlocking maintenance station remote diagnosis method possessing multi-file transmission function - Google Patents
Interlocking maintenance station remote diagnosis method possessing multi-file transmission function Download PDFInfo
- Publication number
- CN105791433A CN105791433A CN201610269872.7A CN201610269872A CN105791433A CN 105791433 A CN105791433 A CN 105791433A CN 201610269872 A CN201610269872 A CN 201610269872A CN 105791433 A CN105791433 A CN 105791433A
- Authority
- CN
- China
- Prior art keywords
- client
- maintenance console
- interlocking maintenance
- interlocking
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/172—Caching, prefetching or hoarding of files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to an interlocking maintenance station remote diagnosis method possessing a multi-file transmission function. The method comprises the steps of S1 using a client interlocking maintenance station to initiate an integrated services digital network (ISDN) dialing application; S2 examining the maintenance station configuration is a station interlocking maintenance station or the client interlocking maintenance station, if the maintenance station configuration is the station interlocking maintenance station, directly entering an own playback or querying function, if the maintenance station configuration is the client interlocking maintenance station, entering a step S3; S3 examining whether an ISDN is unobstructed, if not, ending, if yes, entering a step S4; S4 under the premise that the ISDN is unobstructed, and according to a time quantum required by a client, downloading a log file set of the corresponding time quantum from a far-end station interlocking maintenance station to the client interlocking maintenance station; S5 carrying out the playback and querying operations on the historic states of the far-end station interlocking maintenance station according to the downloaded log file set. Compared with the prior art, the method of the present invention has the advantages of good practicality, high reliability, etc.
Description
Technical field
The present invention relates to the remote Diagnosis Technology of a kind of computer interlock system, especially relate to a kind of interlocking maintenance console remote diagnosis method possessing multifile transfer function.
Background technology
At present, the Remote Diagnosis System of computer interlock system is the critical function in interlock system.Utilizing Remote Diagnosis System, it is possible to overcome railway station location remote, go on business not easily, copy records and checks that station historic state is inconvenient.Provide the operational approach of a kind of cost that uses manpower and material resources sparingly.
Current remote diagnosis method, is adopt to check that the method for long-range SQL database realizes yard playback and data query.Although long-range SQL database can be used, but due to physical channel narrow bandwidth, network channel is unstable, and data transmission is very difficult, and the situation interrupting needing to reconnect often occurs.Once channel interrupt, all data inquired about all need to reload, and waste time and energy, inefficient.Such design exists not scientific, it is impossible to adapt to growing industry requirement.
Summary of the invention
Defect that the purpose of the present invention is contemplated to overcome above-mentioned prior art to exist and the interlocking maintenance console remote diagnosis method possessing multifile transfer function that a kind of practicality is good, reliability is high is provided.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of interlocking maintenance console remote diagnosis method possessing multifile transfer function, it is characterised in that comprise the following steps:
Step S1, client interlocking maintenance console initiates isdn dialup application;
The configuration of step S2, Inspection and maintenance platform is station interlocking maintenance console or client interlocking maintenance console, if station interlocking maintenance console is then directly entered playback or the query function of self, if client interlocking maintenance console then enters S3;
Whether step S3, inspection isdn network be unobstructed, if general rule does not terminate program, if unobstructed, enters S4;
Step S4, under the unobstructed premise of isdn network, download the journal file group of corresponding time period according to the time period of client request from far-end station interlocking maintenance console and interlock maintenance console to client;
Step S5, according to download journal file group the historic state of far-end station interlocking maintenance console is played back and inquires about.
Described step S5 adopts the playback of download limit, limit to carry out playing back and inquiring about.
Described step S5 adopts to have downloaded to play back again and carries out playing back and inquiring about.
It is specific as follows that journal file group in described step S4 downloads flow process:
T1, client send out a request bag to server, include the state pause judgments time;
T2, server statistics goes out size and the MD5 code of each file, and issues client by after information package;
T3, after client receives message, and this locality file of the same name compares MD5 code, and result divides two classes: MD5 code is consistent, or MD5 code is inconsistent, if local file is absent from, is then included into MD5 code inconsistent;
T4, message synchronization consistent or inconsistent for this MD5 code to server.
T5If, consistent, then client and server is together, jumps to next file and returns step T1It is operated;
T6If, inconsistent,
T6.1, server first throw away one start message come, client creates new file after receiving, then send one feed back to server;
T6.2, server start to read log content after receiving feedback and be sent to client, period check socket word relief area, if having expired with regard to sleep;
T6.3, finally send an end mark, client is received end mark and is shut off file pointer, and feeds back, and server jumps into next file after receiving feedback;
Wherein client is client interlocking maintenance console, and server is far-end station interlocking maintenance console.
In described journal file group downloading process, if TCP link disconnects, the file pointer of client and server is closed, and waits that TCP connects again, once connect, then and breakpoint transmission.
In described journal file group downloading process, if RAS link disconnects, time in reconnect, then every operation flow process, it is both needed to redo.
In described journal file group downloading process, adopt a progress bar to show, download file download percent how many, disappear after 100%.
The time of request playback inquiry, current hour must not be comprised.
Compared with prior art, the invention have the advantages that
1, the present invention devises the data transmission method of a kind of multifile, and file can ignore the impact of network channel after transferring, thus reducing the system requirement to network channel state quality;
2, the present invention devises the data transmission method of a kind of multifile.Namely it is that in transmitting procedure, network channel is unstable, it is also possible at least transmit a part of journal file, improve the practicality of system;
3, the present invention requires when transmitting file to calculate MD5 code, thus ensure that that transmit file and original journal file is completely the same, improves transmission system reliability;
4, the present invention sets by setting the time period of CLIENT client maintenance platform, automatically determines the file group name to transmit and file group path.Avoid every time the way of single selection individual files, thus improve the convenience of document transmission system.
5, first symbol and end mark are artificially added before and after the transmission of each file, as the integrity foundation that single file transmits, thus being further ensured that the integrity of file.
6, document transmission process adopts the way of saving scene, when making network channel unstable, it is possible to power-off resumes.
Accompanying drawing explanation
Fig. 1 is the long-range diagnostic flow chart of download limit, limit of the present invention playback;
Fig. 2 is that the present invention has downloaded the long-range diagnostic flow chart played back again;
Fig. 3 is that file group of the present invention downloads flow chart.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the premise not making creative work, all should belong to the scope of protection of the invention.
With reference to Fig. 1-3, technical scheme being described, first, with reference to Fig. 1, Fig. 2, those skilled in the art are readily appreciated that the software flow of whole long-range diagnosis, on this basis, with reference to Fig. 3, introduce the algorithm of the multifile transmission of the core of the present invention.
With reference first to Fig. 1, introduce the long-range diagnosis of download limit, the limit playback of the present invention, comprise the following steps:
Step 100, client interlocking maintenance console initiates isdn dialup application.This step completes in operating system aspect, unrelated with software algorithm.;
The configuration of step 101, Inspection and maintenance platform is station interlocking maintenance console or client maintenance platform.If server end maintenance console is then directly entered playback or the query function of self.If client maintenance platform then enters 102;
Whether step 102, inspection isdn network be unobstructed.If general rule does not terminate program, if unobstructed, enter 103;
Step 103, the START button clicked in playback, or the time in amendment record inquiry.By needing, the time period information package inquired about is good, is ready for sending to station interlocking maintenance console.
Whether step 104, inspection TCPsocket word be in good condition, if do not connected, then calls ossleep and carries out dormancy, waits connection TCP channel in mastery routine.If connected, enter 105
Step 105, from far-end station interlocking maintenance console download log file group to local client maintenance console.
Step 106, without having downloaded completely, then the journal file downloaded of part is joined playback search sequence.It is over if downloaded, then starts playback inquiry.
The file that step 107, judgement have been downloaded discharges not to be had, if discharged, terminates program.If do not discharged, then illustrate currently transmitting file, enter and wait.
Step 108, wait this file current are transmitted, and enter step 106, enter the sequence playing back this file.
Secondly with reference to Fig. 2, that introduces the present invention has downloaded the long-range diagnostic process played back again, comprises the following steps:
The configuration of step 201, Inspection and maintenance platform is station interlocking maintenance console or client maintenance platform.If server end maintenance console is then directly entered playback or the query function of self.If client maintenance platform then enters 102;
Whether step 202, inspection isdn network be unobstructed.If general rule does not terminate program, if unobstructed, enter 103;
Step 203, the START button clicked in playback, or the time in amendment record inquiry.By needing, the time period information package inquired about is good, is ready for sending to station interlocking maintenance console.
Whether step 204, inspection TCPsocket word be in good condition, if do not connected, then calls ossleep and carries out dormancy, waits connection TCP channel in mastery routine.If connected, enter 105
Step 205, from far-end station interlocking maintenance console download log file group to local client maintenance console.
Step 206, without having downloaded completely, enter waiting state, until download complete.It is over if downloaded, then starts playback inquiry.
Turning finally to Fig. 3, the multifile introducing core of the present invention downloads flow process, comprises the following steps:
Step 301, client send out a request bag to server, include the state pause judgments time.
Step 302, server count the size of each file, MD5 code, issue client by after information package
After step 303, client receive message, and this locality file of the same name compares MD5 code, and result divides two classes: MD5 code is consistent, or MD5 code is inconsistent.Local file is absent from, then be included into MD5 code inconsistent.
Step 304, message synchronization consistent or inconsistent for this MD5 code to SERVER.
If step 305 is consistent, then client and server is together, jumps to next file and is operated;
If step 306 is inconsistent,
Step 306.1server first throws away a beginning message and comes.Client creates new file after receiving.Then send one and feed back to server
Step 306.2server starts to read log content and is sent to client after receiving feedback.Period checks the relief area of socket word, if having expired with regard to sleep.
Step 306.3 finally sends an end mark.Client receives end mark and is shut off file pointer, and feeds back.Server jumps into next file after receiving feedback.
Step 307 is once TCP link disconnects, and the file pointer of client and server is closed, and waits that TCP connects again.Once connect, then breakpoint transmission.PS: with getpostion, the seek of cstdiofile, it is possible to saving scene restoring scene.
Step 308 is once RAS link disconnects, time in reconnect, then and every operation flow process, it is both needed to redo.
Step 309, consideration there emerged a progress bar, download file download percent how many, disappear after 100%.The thinking of that initialization progress bar when big games such as imitative EASPORTS initialize.
The time that step 310, request playback are inquired about, the journal file of current hours section must not be comprised, because the file being currently recording also is being write so that the not yet molding of MD5 code.
The above; it is only the specific embodiment of the present invention; but protection scope of the present invention is not limited thereto; any those familiar with the art is in the technical scope that the invention discloses; can readily occurring in amendment or the replacement of various equivalence, these amendments or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.
Claims (8)
1. the interlocking maintenance console remote diagnosis method possessing multifile transfer function, it is characterised in that comprise the following steps:
Step S1, client interlocking maintenance console initiates isdn dialup application;
The configuration of step S2, Inspection and maintenance platform is station interlocking maintenance console or client interlocking maintenance console, if station interlocking maintenance console is then directly entered playback or the query function of self, if client interlocking maintenance console then enters S3;
Whether step S3, inspection isdn network be unobstructed, if general rule does not terminate program, if unobstructed, enters S4;
Step S4, under the unobstructed premise of isdn network, download the journal file group of corresponding time period according to the time period of client request from far-end station interlocking maintenance console and interlock maintenance console to client;
Step S5, according to download journal file group the historic state of far-end station interlocking maintenance console is played back and inquires about.
2. a kind of interlocking maintenance console remote diagnosis method possessing multifile transfer function according to claim 1, it is characterised in that described step S5 adopts the playback of download limit, limit to carry out playing back and inquiring about.
3. a kind of interlocking maintenance console remote diagnosis method possessing multifile transfer function according to claim 1, it is characterised in that described step S5 adopts to have downloaded to play back again and carries out playing back and inquiring about.
4. a kind of interlocking maintenance console remote diagnosis method possessing multifile transfer function according to claim 1, it is characterised in that it is specific as follows that the journal file group in described step S4 downloads flow process:
T1, client send out a request bag to server, include the state pause judgments time;
T2, server statistics goes out size and the MD5 code of each file, and issues client by after information package;
T3, after client receives message, and this locality file of the same name compares MD5 code, and result divides two classes: MD5 code is consistent, or MD5 code is inconsistent, if local file is absent from, is then included into MD5 code inconsistent;
T4, message synchronization consistent or inconsistent for this MD5 code to server.
T5If, consistent, then client and server is together, jumps to next file and returns step T1It is operated;
T6If, inconsistent,
T6.1, server first throw away one start message come, client creates new file after receiving, then send one feed back to server;
T6.2, server start to read log content after receiving feedback and be sent to client, period check socket word relief area, if having expired with regard to sleep;
T6.3, finally send an end mark, client is received end mark and is shut off file pointer, and feeds back, and server jumps into next file after receiving feedback;
Wherein client is client interlocking maintenance console, and server is far-end station interlocking maintenance console.
5. a kind of interlocking maintenance console remote diagnosis method possessing multifile transfer function according to claim 4, it is characterized in that, in described journal file group downloading process, if TCP links disconnection, the file pointer of client and server is closed, wait that TCP connects again, once connect, then breakpoint transmission.
6. a kind of interlocking maintenance console remote diagnosis method possessing multifile transfer function according to claim 4, it is characterised in that in described journal file group downloading process, if RAS links disconnection, time in reconnect, then every operation flow process, it is both needed to redo.
7. a kind of interlocking maintenance console remote diagnosis method possessing multifile transfer function according to claim 4, it is characterized in that, in described journal file group downloading process, adopt a progress bar to show, download file download percent how many, disappear after 100%.
8. a kind of interlocking maintenance console remote diagnosis method possessing multifile transfer function according to claim 4, it is characterised in that the time of request playback inquiry, current hour must not be comprised.
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 true CN105791433A (en) | 2016-07-20 |
CN105791433B 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)
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 |
-
2016
- 2016-04-27 CN CN201610269872.7A patent/CN105791433B/en active Active
Patent Citations (6)
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 |
---|---|
CN105791433B (en) | 2019-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100568938C (en) | The upgrading of digital media server | |
CN103152412B (en) | Based on the multimedia networking information release terminal system of QT | |
CN109101261A (en) | A kind of the remote online upgrade method and system of data acquisition transmission instrument terminal | |
CN105743948A (en) | Network version upgrading method and apparatus | |
CA2523780A1 (en) | System and method for providing a digital media supply chain operation system and suite of applications | |
CN102064962B (en) | Method for implementing input and output assemblies of ATS (Automatic Train Supervision) system based on named pipeline communication | |
CN104079983A (en) | System and method for HLS program recording and service | |
CN103546771B (en) | A kind of TV programme comment processing method and system based on intelligent terminal | |
CN107103047A (en) | A kind of method and device for inquiring about advertisement putting abnormal cause | |
WO2011160553A1 (en) | Method and system for data synchronization in internet protocol television | |
CN106059936A (en) | Method and device for multicasting files in cloud system | |
CN101064687B (en) | Routing convergence method | |
CN111954009A (en) | Video data push system crossing network domains | |
WO2017128904A1 (en) | Advertisement pushing system and method using multiple vehicle-mounted ring topology most networks | |
CN100446567C (en) | Apparatus and method for realizing P2P stream broadcasting in information family appliances | |
CN102611717A (en) | Service data sending method and system, client-side agent and server agent | |
CN105791433A (en) | Interlocking maintenance station remote diagnosis method possessing multi-file transmission function | |
CN106130798A (en) | A kind of method of service system smooth upgrade | |
CN101453485B (en) | Method for data transmission and writing using multicast data stream | |
CN107547645B (en) | Cross-platform file transmission method between Linux server and windows client | |
CN109756708B (en) | Continuous transmission method and device of audio and video data | |
US20080244082A1 (en) | Contents communication method for transmitting contents by using a predetermined communication protocol, and contents transmitting apparatus and contents receiving apparatus using the method | |
CN102006521A (en) | IPTV system and method for implementing on-demand service and node equipment thereof | |
CN101115048A (en) | 3C TV program database administration method | |
CN111176690A (en) | Software version upgrading method, server and intelligent hardware equipment |
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 |