CN102340538B - Handheld device implementation method for data management of GYK (Railcar Running Control Device) - Google Patents

Handheld device implementation method for data management of GYK (Railcar Running Control Device) Download PDF

Info

Publication number
CN102340538B
CN102340538B CN 201110203242 CN201110203242A CN102340538B CN 102340538 B CN102340538 B CN 102340538B CN 201110203242 CN201110203242 CN 201110203242 CN 201110203242 A CN201110203242 A CN 201110203242A CN 102340538 B CN102340538 B CN 102340538B
Authority
CN
China
Prior art keywords
data
file
gyk
portable equipment
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.)
Active
Application number
CN 201110203242
Other languages
Chinese (zh)
Other versions
CN102340538A (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.)
Gaoxing Chuanglian Technology Co ltd
Original Assignee
HANGZHOU CHUANGLIAN ELECTRONIC TECHNOLOGY 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 HANGZHOU CHUANGLIAN ELECTRONIC TECHNOLOGY CO LTD filed Critical HANGZHOU CHUANGLIAN ELECTRONIC TECHNOLOGY CO LTD
Priority to CN 201110203242 priority Critical patent/CN102340538B/en
Publication of CN102340538A publication Critical patent/CN102340538A/en
Application granted granted Critical
Publication of CN102340538B publication Critical patent/CN102340538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a handheld device implementation method for data management of a GYK (Railcar Running Control Device). Depending on manpower, the traditional operation has low efficiency and integration level. Data storage and wireless data transmission in the method disclosed by the invention comprise the following steps of: manually storing GYK running data to the handheld device; compressing the GYK running data; increasing check codes; transmitting a compressed running data file to a remote FTP (File Transfer Protocol) server; and reading the feature information of the data file which is transmitted to the FTP server and checking the accuracy and integrality of the feature information. Wireless data reception and data treatment in the method disclosed by the invention comprise the following steps of: downloading and receiving newest GYK announcement data and GYK basic data by the handheld device; and reading the feature information of a corresponding file at the server side, and checking the accuracy and integrality of the feature information. The invention has the advantage of effectively making up the defects of incapability for timely uploading the traditional GYK running data to a remote management server and incapability for timely transmitting the newest announcement data and the basic data on the remote management server.

Description

A kind of portable equipment implementation method for the GYK data management
Technical field
The invention belongs to electronic information technical field, be specifically related to a kind of portable equipment that utilizes the vehicle track running control appliance is carried out the method that data are handled.
Background technology
Railcar (contain operation vehicle for contact wire, road maintainance machinery etc. and take turns movement special equipment certainly) operation control device (being called for short GYK, down together) is be used to preventing the railcar overspeed or cross the semaphore of closing, monitoring the visual plant of its safe operation.The record data of its generation (being called for short the GYK service data, down together) are the important information sources of analyzing railcar driver work quality, GYK equipment self quality.In time handle and analyze the GYK service data and not only can carry out preventive education targetedly in advance, correct the bad operating habit of operating personnel, also can prevent in advance to handle to the equipment self fault simultaneously.
But the railcar construction operation has characteristics such as dispersiveness, flowability, it is unimpeded inadequately that existing GYK service data transmits approach, the transmission cycle is long, and data are disperseed, be unfavorable for statistical analysis, can not provide support for equipment control department instructs safety in production, press for a kind of new data transmission method, both accomplished that transfer of data was timely, and can guarantee that again transfer of data was reliable.
Simultaneously, illustration informations such as the temporary speed limitation relevant conscientiously with the railcar safe operation, green licence, clearance card, interval job scheduling order, the chain rupture of circuit mileage (are called for short GYK and disclose data, down with) and master data information (abbreviation GYK master datas such as station, semaphore, branch line transfers, cross-channel transfer, mileage chain rupture, section speed limit, label, long heavy down grade, gps data, ED, down with) etc. software version also can't be upgraded in time, bring very big hidden danger to safety in production.Equipment control department presses for a kind of version information that can in time grasp each railcar, and in time finishes the method for version updating.
Summary of the invention
The objective of the invention is to utilize the advanced technology of existing electronic information field, give fully integrated, and implant outstanding management method, and can solve the problems that data management exists in the current vehicle track running management to provide a kind of, improve the method for railcar safety management level conscientiously.
Main hardware used in the present invention comprise ARM9 processor (comprising main control module and Power Management Unit), memory module, GSM GPRS EDGE radio-frequency module, WLAN Wireless LAN module, GPS module, LCD module, keystroke interface (reservation touch screen interface), audio interface, USB interface, Uart interface, SD interface, debugging interface, power interface etc.The ARM9 processor is the system core, its main control unit connected storage module, GSM GPRS EDG radio-frequency module, WLAN Wireless LAN module, GPS module and LCD module; Power Management Unit provides reliable source of power for above-mentioned module; Memory module provides system and the needed memory headroom of application program and user storage space; The WLAN Wireless LAN module is used for providing the WLAN (wireless local area network) application service; The GPS module is the required accurate time of time operation for generation of the GYK school, thereby eliminate the potential safety hazard that produces because of the time difference, also can in time provide the railcar geographical location information to equipment control department simultaneously, and monitoring tightens security; The LCD module is used for providing the demonstration output function.
The MT6235 platform chip of ARM9 processor adopting MediaTek of the present invention company, the integrated main control unit of this chip and Power Management Unit possess characteristics such as the speed of service is fast, low in energy consumption; Memory module adopts the TY9000A000GMGF MCP of Toshiba company, integrated 512Mb RAM and 1Gb Flash; Radio-frequency module adopts the ADl(analog device) AD6548 of company radiofrequency signal processor, operating frequency 850/900/1800/1900 MHz, support GSM GPRS EDGE network, have applicability and reliability widely; The WLAN Wireless LAN module adopts the MT5921 chip of MediaTek company, supports WAPI standard agreement and Wi-Fi standard; Characteristics such as the GPS module adopts the NEO-6M of UBlox, and it is fast to possess the star of searching, low in energy consumption.The LCD module adopts 3.2 cun 320x240 high-resolution TFT LCD; The present invention adopts the big capacity 3.7V of 1500mAH lithium battery as working power.
The present invention is based on reliability factor, adopt button man-machine interface design.Utilize the button multiplexing technology, all operations all can be finished by a fewer keys, simple to operation.Described button multiplexing technology refers to that by screen prompt same keypress function redefines at different interfaces, makes same button possess multiple operating function;
Multifunctional USB Interface design, usb data line both be used for transfer of data, also were used for charging.
The present invention adopts the embedded nucleus real time operating system of main flow, and this system aims at Embedded Application and the formula multi-task operating system kernel of trying to be the first designing, and promptness is strong.Application system based on this system development possesses very high reliability, can realize the complicated operations task.
The present invention uses the TCP/IP network transmission protocol, and file transfer adopts File Transfer Protocol.The ftp client program of the present invention exploitation has also increased the FTP order of reading file feature information and the network breakpoint transmission function when unusual except possessing the basic transfer function of FTP, efficiency of transmission significantly improves.
Performing step of the present invention:
After portable equipment powers on, at first load bottom start-up routine (uBoot), finish hardware initialization and driver and load, then guide the nucleus embedded OS, load graphical user interface (GUI), realize the startup of portable equipment system.
After the portable equipment system starts, start any wireless network services, described wireless network comprises mobile network and WLAN (wireless local area network).The mobile network serves and need to start radio-frequency module, and this radio-frequency module is searched mobile network signals, finishes that channel is selected, signal reaches user's registration synchronously; WLAN service need start the WLAN module, searches and connection WLAN access point; Mobile network and WLAN (wireless local area network) are selected to use by the user according to actual conditions.
Any wireless network services is moved application program module of the present invention after starting, and realizes every function of the present invention.
Each functional module performing step is as follows:
1. data dump and transmission
1-1.GYK to handheld device, portable equipment starts the ZIP algorithm GYK service data is compressed service data, increases check code by the dump of portable equipment USB port.
1-2. handheld device starts the ftp client program, and the GYK service data file after the compression is transmitted to ftp server by wireless network, described wireless network refers to mobile network or WLAN (wireless local area network).
1-3.GYK the service data file reads the characteristic information of the data file that is sent to ftp server after transmitting and finishing, and carries out accuracy and integrality check; The FTP order of the characteristic information of the described data file that reads ftp server, belong to the order that the present invention develops, ftp server also increases this process of commands function, and decompress(ion) automatically, the function that recomputates check code and rewrite file header sign symbol and end-of-file identifier are received behind the compressed file that portable equipment uploads in ftp server increase simultaneously.Described characteristic information comprises filename, file size, file header sign symbol and end-of-file identifier; The described data file that has been sent to ftp server refers to the data file of ftp server to the automatic decompress(ion) of the compressed file of having uploaded, after recomputating check code and rewriting file header sign symbol and end-of-file identifier.
1-4. setting up socket with TCP/IP mode and remotely administered server, portable equipment is connected.
1-5. portable equipment sends socket short message and fileinfo to remotely administered server, after remotely administered server is received short message, makes signing for and replys; Described socket content of short message is upload file, and described fileinfo comprises filename, file size and file date attribute, described sign for to reply refer to that remotely administered server sends paid-in identification information to portable equipment.
2. data receive and handle
2-1. portable equipment starts the ftp client program after receiving that data receive instruction, downloads the up-to-date GYK of reception from ftp server and discloses data, GYK master data.
2-2. after portable equipment received data file, the characteristic information that reads ftp server end respective file carried out accuracy and integrality check.Whether described integrality check refers to by file size comparison specified data file complete, described accuracy check refer to the legitimacy judgement by file header sign symbol and end-of-file identifier and compare check information that this identifier comprises and portable equipment recomputate these data after the check information consistent accuracy of judging the data that receive whether, described check information refers to the CRC32 check code.
2-3. for the data file of compression, start the ZIP algorithm to the data decompress(ion), and adopt the reliability of multistage method of calibration verification msg.Described multistage method of calibration, the method for comprise the built-in checking algorithm of ZIP algorithm, the legitimacy of the file header of file behind decompress(ion) sign symbol, end-of-file identifier being judged and compare check information that this identifier comprises and portable equipment to the consistent method of calibration whether of the check information after the decompressed data file recomputates.
As the data file of receiving is incompressible data file, then carries out next step.
2-4. portable equipment sends socket short message and fileinfo to remotely administered server, after remotely administered server is received short message, makes signing for and replys, described socket content of short message is for downloading file.
2-5. portable equipment is resolved the authentic data of the empirical tests that receives, sends operation indicating at the different pieces of information classification by the mode of voice and screen display.Described authentic data is divided into set form data and on-fixed formatted data, described data category is divided into GYK and discloses data, GYK master data and other data, described parsing refers to the fixed word joint number content by the read data files head, carries out the judgement of data category and version identifier.For the data of set form, can check data content by the preview mode.
2-6. for the data file of needs submission GYK, portable equipment is delivered to GYK by USB interface or Uart oral instructions, and notice GYK deals with.Described processing comprises that GYK announcement data are written into, the GYK master data is upgraded.
2-7.GYK after the data processing to the portable equipment submission, portable equipment reads the GYK version information by USB interface or Uart mouth, is used for the correctness that verification msg is handled operation, to verifying that the result makes prompting by the mode of voice and screen display.
2-8. portable equipment sends socket short message and the up-to-date version information of GYK equipment to remotely administered server, after remotely administered server is received short message, makes signing for and replys, described socket content of short message is for handling success.
3. other auxiliary management functions
Move back diligent registration 3-1. turn out for work: when railcar goes out car and after fulfiling assignment, portable equipment important information such as obtains between engine number, department's plane No., operation area by USB interface or Uart mouth from GYK, send this information by wireless network to remotely administered server, finishing turns out for work moves back diligent registration, auxiliary security management.
3-2.GPS during the school: portable equipment obtains the GPS information that the GPS module is sent, and extracts gps clock information, and the clock of finishing portable equipment and GPS is synchronous.Portable equipment finish clock synchronously after, operate when GYK sends the school by the Uart mouth.
3-3. portable equipment can also mail to remotely administered server by wireless network with the current effective geographical location information, the ruuning situation of railcar is in time understood by supply equipment administrative department.
The present invention compared to existing technology and method has following characteristics:
1. the present invention has taken full advantage of the advanced technology of existing electronic information field, gives fully integratedly, makes it effectively to apply to portable equipment.To extensively apply to the network transmission technology of computer realm simultaneously, apply to the embedded control system of industrial circle.
The present invention except adopt to support GSM GPRS the radio-frequency module of EDGE adaptive technique, also introduce the WLAN Wireless LAN module, realize multipath, comprehensive wireless network transmissions service.
3. the present invention has developed the ftp client of suitable embedded system, consider the integrity problem of wireless network links, increase the continuous energy of passing on Gong of breakpoint, developed the FTP order of reading the ftp server file feature information simultaneously, be used for realization to the multiple check technology of data validity.
4. develop the data compression program of suitable embedded system, and invented the multiple check technology.Data to transmission are compressed and are increased multiple check, have both improved the wireless data efficiency of transmission, have guaranteed the reliability that wireless data transmits again.
5. portable equipment of the present invention takes full advantage of above-mentioned technology, effectively remedy existing GYK service data and can't in time upload to remotely administered server, and the up-to-date GYK on the remotely administered server discloses data, GYK master data, can't in time be sent to the deficiency of GYK.Make that the railcar safety management is in time changed, mobilism, and form the in time reliable closed loop management flow process of a cover of " indication is assigned by management unit--the railcar terminal is carried out indication-execution result and uploaded management unit ", greatly improved the validity of safety management.
6. while portable equipment multifunction of the present invention except possessing wireless data transmission and management function, has also increased the GPS module, for GYK provides precision clock, and can in time upload the railcar positional information by wireless network, the auxiliary security management.
Description of drawings
Fig. 1 is processor part hardware structure diagram of the present invention;
Fig. 2 is the start flow chart;
Fig. 3 is data dump and sending module figure;
Fig. 4 receives and processing module figure for data;
Fig. 5 is for turning out for work, move back diligent Registration Module figure;
Fig. 6 is GPS message processing module figure;
Fig. 7 uses schematic diagram for portable equipment.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
As shown in Figure 1, the MT6235 platform chip of ARM9 processor adopting MediaTek company, the integrated main control unit of this chip and Power Management Unit possess characteristics such as the speed of service is fast, low in energy consumption; Its main control unit connected storage module, GSM GPRS EDG radio-frequency module, WLAN Wireless LAN module, GPS module and LCD module; Power Management Unit provides reliable source of power for above-mentioned module.
Memory module adopts the TY9000A000GMGF MCP of Toshiba company, integrated 512Mb RAM and 1Gb Flash.This module connects the data and address bus of ARM9 processor, is used for providing system and the needed memory headroom of application program and user storage space.
Radio-frequency module adopts the ADl(analog device) AD6548 of company radiofrequency signal processor, operating frequency 850/900/1800/1900 MHz, support GSM GPRS EDGE network, have applicability and reliability widely; This radio-frequency module connects the Base-Band Processing interface of ARM9 processor, and being used for provides the mobile network to serve.
The WLAN module adopts the MT5921 chip of MediaTek company, supports WAPI standard agreement and Wi-Fi standard; This WLAN module is connected with the WLAN interface of ARM9 processor, is used for providing WLAN service.
Characteristics such as the GPS module adopts the NEO-6M of UBlox, and it is fast to possess the star of searching, low in energy consumption.This GPS module is by Uart mouth and ARM9 processor communication, and realization GPS module is controlled the state of GPS module to transfer of data and the ARM9 processor of ARM9 processor.
The LCD module adopts 3.2 cun 320x240 high-resolution TFT LCD; This LCD module is connected with the LCD bus of ARM9 processor, is used for providing the demonstration output function.
Keystroke interface connects touches button, is used for providing user interface.
Audio interface connects loud speaker, is used for providing sound prompt function.
USB interface is the main interface that portable equipment is communicated by letter with GYK, and data-transformation facility is provided; USB interface also is used for to the built-in lithium cell charging of portable equipment simultaneously.
The ARM9 processor provides 2 standard Uart interfaces; Uart mouth 1 is used for realizing the two-way communication of portable equipment and GYK.Uart mouth 2 connects the GPS modules, is used for realizing communicating by letter of GPS module and ARM9 processor.
The SD interface can connect micro SD card, is used for the extending user memory space.
Debugging interface is used for the exploitation debugging, is portable equipment system program upgrade interface simultaneously.
Power interface is used for connecting the big capacity 3.7V of 1500mAH lithium battery.
As shown in Figure 2, after portable equipment powers on, at first load bottom start-up routine (uBoot), finishing hardware initialization and driver loads, then guide the nucleus embedded OS, load graphical user interface (GUI), realize the startup of portable equipment system.Described bottom start-up routine, embedded OS, graphical user interface all belong to systems soft ware, do not belong to software invention category of the present invention.
After the portable equipment system starts, start any wireless network services; Described wireless network comprises mobile network and WLAN (wireless local area network).The mobile network serves and need to start radio-frequency module, and this radio-frequency module is searched mobile network signals, finishes that channel is selected, signal reaches user's registration synchronously; WLAN service need start the WLAN module, searches and connection WLAN access point; Mobile network and WLAN (wireless local area network) are selected to use by the user according to actual conditions.
Any wireless network services is moved application program module of the present invention after starting, and starts working.
As shown in Figure 3, the concrete steps of data dump and transmission are as follows:
1.GYK to portable equipment, portable equipment reads GYK service data file to the service data file by the dump of portable equipment USB port, and judges by filename and file size identification whether file is effective; To inactive file, be transferred to temp directory, to effective document, carry out next step.
2. the data file is increased file header sign symbol and end-of-file identifier, start the CRC32 checking algorithm, to data file actual content calculation check sign indicating number from first to last, and this check code appended to file header sign symbol and end-of-file identifier, for the correctness of verification msg file.
3. start the ZIP condensing routine, the data file that increases file header sign symbol and end-of-file identifier is compressed, generate the compressed file of agreement filename.This ZIP algorithm also includes the CRC32 check, is used for the correctness of checking compressed file.For the ZIP compressed file that generates, use step 2 to increase file header sign symbol, end-of-file identifier and information of check code with quadrat method.
4. start ftp client software, this ftp client software has also increased the breakpoint transmission function of having no progeny in the transmission except possessing basic FTP transmission command.
5. the connection ftp server is uploaded user name, encrypted message that portable equipment disposes, finishes the FTP login authentication.
6. start the ftp file upload function, upload the assigned catalogue that the data file of having compressed arrives ftp server.Described assigned catalogue is listed in the portable equipment CONFIG.SYS.
7. after file transmits and finishes, read the characteristic information of the data file that is sent to ftp server, and carry out accuracy and integrality check; The FTP order of the characteristic information of the described data file that reads ftp server, belong to the order that the present invention develops, ftp server also increases this process of commands function, and decompress(ion) automatically, the function that recomputates check code and rewrite file header sign symbol and end-of-file identifier are received behind the compressed file that portable equipment uploads in ftp server increase simultaneously.Described characteristic information comprises filename, file size, file header sign symbol and end-of-file identifier; The described data file that has been sent to ftp server refers to the data file of ftp server to the automatic decompress(ion) of the compressed file of uploading, after recomputating check code and rewriting file header sign symbol and end-of-file identifier; Being defined as invalid file through above-mentioned verification uploads again.
8. portable equipment is set up socket with TCP/IP mode and remotely administered server and is connected, and to remotely administered server transmit operation daily record, described Operation Log refers to socket short message and fileinfo; After remotely administered server is received short message, make signing for and reply; Described socket content of short message is upload file, and described fileinfo comprises filename, file size and file date attribute, described sign for to reply refer to that remotely administered server sends paid-in identification information to portable equipment;
As shown in Figure 4, the concrete steps of data reception and processing are as follows:
1. receive that data receive instruction, log-on data receives application program; Described data receive instruction and comprise that equipment control department assigns data with phone and other communication modes to the portable equipment user and receive instruction, and remotely administered server receives instruction by wireless network to the data that portable equipment sends, after portable equipment receives that these data receive instruction, send the operation indicating that starts the reception data-application to the portable equipment user with voice and display mode, also can be by the CONFIG.SYS of change portable equipment, log-on data receives application program automatically.
2. start ftp client software.
3. the connection ftp server is finished login authentication.
4. start the ftp file download function, download corresponding data file from the ftp server assigned catalogue.
5. after portable equipment receives data file, read the characteristic information of long-range ftp server respective file, carry out accuracy and integrality and check, through the invalid file of verification, restart download.Whether described integrality check refers to by file size comparison specified data file complete, described accuracy check refer to the legitimacy judgement by file header sign symbol and end-of-file identifier and compare check information that this sign comprises and portable equipment recomputate these data after the check information consistent accuracy of judging the data that receive whether, described check information refers to the CRC32 check code.
6. for the data file of compression, start the ZIP algorithm to the data decompress(ion), and adopt the reliability of multistage method of calibration verification msg.Described multistage verification, comprise the checking algorithm that the ZIP algorithm is built-in, whether this verification is used for checking compressed file itself correct, and the legitimacy of the file header of file behind decompress(ion) sign symbol, end-of-file identifier judged and the check information that this identifier comprises is judged to the consistency of the check information after the decompressed data file recomputates with portable equipment whether this method of calibration is used for the preceding original document of checking compression effective.For the invalid data file through verification, portable equipment sends wrong caution with voice and display mode, and it is moved to temporary folder.As verify and effectively then carry out next step.
As the data file of receiving is incompressible data file, directly carries out next step operation.
7. portable equipment is set up socket with TCP/IP mode and remotely administered server and is connected, and to remotely administered server transmit operation daily record, described Operation Log refers to socket short message and fileinfo; After remotely administered server is received short message, make signing for and reply; Described socket content of short message is for downloading file.
8. portable equipment is resolved the authentic data of the empirical tests that receives, sends operation indicating at the different pieces of information classification by the mode of voice and screen display.Described authentic data is divided into set form data and on-fixed formatted data, described data category is divided into GYK and discloses data, GYK master data and other data, described parsing refers to the fixed word joint number content by the read data files head, carries out the judgement of data category and version identifier.For the data of set form, can check data content by the preview mode.Described operation indicating content comprises please connect GYK, please check.
9. submit the data file of GYK to for needs, portable equipment establishes a communications link by USB interface or Uart mouth and GYK.The described data file that needs to submit to GYK refers to that GYK discloses data, GYK master data.
10. after portable equipment connected GYK, portable equipment sent the information that has connected in the mode of voice and screen display, and according to different classes of, prompting GYK equipment is handled it.Described processing comprises that GYK announcement data are written into, the GYK master data is upgraded.
11.GYK after the data processing to the portable equipment submission, portable equipment reads the GYK version information by USB interface or Uart mouth, is used for the correctness that verification msg is handled operation, to verifying that the result makes prompting by the mode of voice and screen display.
12. portable equipment connects remotely administered server, to remotely administered server transmit operation daily record, described Operation Log refers to socket short message and the up-to-date version information of GYK equipment; After remotely administered server is received short message, make signing for and reply, described socket content of short message is for handling success.
The concrete steps of turning out for work as shown in Figure 5,, moving back diligent registration are as follows:
1. portable equipment establishes a communications link by USB mouth or Uart mouth and GYK.
2. portable equipment reads from GYK and turns out for work, moves back diligent information, describedly turns out for work, moves back diligent information and comprise locomotive information, driver information and traffic coverage.
3. portable equipment establishes a communications link by wireless network and remotely administered server.
4. portable equipment sends to remotely administered server and turns out for work, moves back diligent information.
5. remotely administered server is received to turn out for work, move back to make signing for behind the diligent register information and is replied.
As shown in Figure 6, GPS information processing concrete steps are as follows:
1. portable equipment starts the GPS module, opens the Uart mouth, the sleep pattern of cancellation Uart mouth.
2. portable equipment starts gps data reception program, receives the gps data that the GPS module is sent.
3.GPS data processor extracts the gps data that needs and judges whether effectively from the gps data that receives.
4. invalid as data, return gps data reception program and continue to receive gps data.
5. as receiving valid data, gps data handling procedure extraction time and geography information are also finished portable equipment and the time synchronized of GPS.
6. after above-mentioned steps was finished, the gps data handling procedure judged whether to continue to receive gps data; In this way, return (2) and continue to receive, as not, carry out next step.Described judgement is to decide according to the required difference in functionality of finishing of GPS module, continues to extract geography information as need, then continues to receive, and is synchronous as only needing the deadline, then do not need to continue.
7. do not continue as not needing, the gps data handling procedure stops to receive gps data, and portable equipment is closed the GPS module, closed the Uart mouth, opens the sleep pattern of Uart mouth.
Fig. 7 has shown concrete application scenarios of the present invention.
Portable equipment can be sent to remotely administered server by wireless network for the effective geography information of GPS.Gps data effectively after, application module when portable equipment can start the GYK school is when finishing the accurate school of GYK.
The data file of transmitting among the present invention adopts following form:
File header label character learning+CRC32 check code hangs down the 16+file actual content+high 16+end-of-file of CRC32 check code identifier word
Low 16 the configuration file head identifiers of file header label character learning and CRC32 check code
CRC32 check code high 16 and end-of-file identifier word configuration file tail identifier
The file actual content refers to the ZIP compressed file of unpressed original document or standard.
Multiple check technology involved in the present invention is specific as follows:
A) first re-graduation is tested
To all data files, all adopt following method of calibration to carry out verification successively, this verification is mainly used in the reliability of validate data transmissions:
1. the length of comparison document, it is complete to judge whether file transmits
2. check file header label character learning and end-of-file identifier word, judge whether file is legal
3. use the CRC32 check code of CRC32 checking algorithm calculation document actual content, with this check code and file header sign accord with, 32 contained bit check sign indicating numbers compare in the end-of-file identifier, whether the interpretable file content wrong.
B) second re-graduation is tested
For the data file of compression, after above-mentioned verification is finished, remove file header sign symbol and end-of-file identifier, extract the ZIP compressed file of standard and carry out decompress(ion), compression algorithm includes the CRC32 verification.This verification is mainly used in verifying whether compressed file itself is wrong.
C) triple verifications
File behind the decompress(ion) should meet file format.
Use first re-graduation to test same method of calibration to the data file behind the decompress(ion) and carry out verification, this verification is mainly used in judging whether the data file behind the decompress(ion) is effective.File behind this decompress(ion) is consistent with the original document before the compression, thereby can judge the validity of the raw data file before the compression.

Claims (1)

1. a portable equipment implementation method that is used for the GYK data management is characterized in that this method comprises that data dump and data wireless send, data wireless receives and data are handled two parts;
Described data dump and data wireless send and specifically may further comprise the steps:
To handheld device, portable equipment starts the ZIP algorithm GYK service data is compressed step (1) GYK service data, increases check code by the dump of portable equipment USB port, specifically:
1-1.GYK to portable equipment, portable equipment reads GYK service data file to the service data file by the dump of portable equipment USB port, and judges by filename and file size identification whether file is effective; To inactive file, be transferred to temp directory, to effective document, carry out next step;
1-2. the data file is increased file header sign symbol and end-of-file identifier, start the CRC32 checking algorithm, to data file actual content calculation check sign indicating number from first to last, and this check code appended to file header sign symbol and end-of-file identifier, for the correctness of verification msg file;
1-3. start the ZIP compression algorithm, the data file that increases file header sign symbol and end-of-file identifier is compressed, generate the compressed file of agreement filename, described ZIP algorithm includes the CRC32 check, is used for the correctness of checking compressed file; For the ZIP compressed file that generates, use step 1-2 to increase file header sign symbol, end-of-file identifier and check code with quadrat method;
Step (2) handheld device starts the ftp client program, and the GYK service data file after the compression is transmitted to long-range ftp server by wireless network, and described wireless network comprises mobile network or WLAN (wireless local area network);
Step (3) GYK service data file reads the characteristic information of the data file that is sent to ftp server after transmitting and finishing, and carries out accuracy and integrality check; Described characteristic information comprises filename, file size, file header sign symbol and end-of-file identifier;
Step (4) portable equipment is set up socket with TCP/IP mode and remotely administered server and is connected;
Step (5) portable equipment sends socket short message and fileinfo to remotely administered server, after remotely administered server is received short message, makes respective acknowledgement; Described socket content of short message is upload file, and described fileinfo comprises filename, file size and file date attribute;
Described data wireless receives and the data processing specifically may further comprise the steps:
Steps A. portable equipment starts the ftp client program after receiving that administrative center's data receive instruction, downloads the up-to-date GYK of reception from ftp server and discloses data and GYK master data;
Step B. portable equipment reads the characteristic information of ftp server end respective file after receiving up-to-date GYK announcement data and GYK master data, and carries out accuracy and integrality check;
If the data file that step C. receives then starts the ZIP algorithm to the data decompress(ion), and adopts the reliability of multistage method of calibration verification msg for the data file after compressing, if the data file of receiving is incompressible data file, then carry out next step;
Step D. portable equipment sends socket short message and fileinfo to remotely administered server, after remotely administered server is received short message, makes respective acknowledgement, and described socket content of short message is for downloading file;
Step e. portable equipment is resolved the authentic data of the empirical tests that receives, and sends operation indicating by the mode of voice and screen display; Described authentic data is divided into the data of set form and the data of on-fixed form, for the data of set form, can check data content by the preview mode;
Step F. for the data file of needs submission GYK, portable equipment is delivered to GYK by USB interface or Uart oral instructions, and notice GYK makes corresponding processing;
After the data that the portable equipment of step G.GYK is submitted to were handled, portable equipment read the version information of GYK by USB interface or Uart mouth, is used for the correctness that verification msg is handled operation, and the result makes prompting by the mode of voice and screen display to checking;
Step H. portable equipment sends socket short message and the up-to-date version information of GYK equipment to remotely administered server, after remotely administered server is received short message, makes respective acknowledgement, and described socket content of short message is for handling success.
CN 201110203242 2011-07-20 2011-07-20 Handheld device implementation method for data management of GYK (Railcar Running Control Device) Active CN102340538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110203242 CN102340538B (en) 2011-07-20 2011-07-20 Handheld device implementation method for data management of GYK (Railcar Running Control Device)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110203242 CN102340538B (en) 2011-07-20 2011-07-20 Handheld device implementation method for data management of GYK (Railcar Running Control Device)

Publications (2)

Publication Number Publication Date
CN102340538A CN102340538A (en) 2012-02-01
CN102340538B true CN102340538B (en) 2013-09-04

Family

ID=45516036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110203242 Active CN102340538B (en) 2011-07-20 2011-07-20 Handheld device implementation method for data management of GYK (Railcar Running Control Device)

Country Status (1)

Country Link
CN (1) CN102340538B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882964B (en) * 2012-09-25 2015-02-25 杭州创联电子技术有限公司 Vehicle-mounted equipment implementation method for managing GYK running state data
CN103227828A (en) * 2013-04-27 2013-07-31 陕西西北铁道电子有限公司 Remote wireless data transmission system of rail vehicle
CN105677376A (en) * 2014-11-19 2016-06-15 中兴通讯股份有限公司 Bootstrap program transmission method, embedded system and bootstrap program transmission system
CN104780197A (en) * 2014-11-21 2015-07-15 陕西西北铁道电子有限公司 Manual intervention system for checking remote data reloading and checking method
JP2018502385A (en) 2014-12-08 2018-01-25 アンブラ テクノロジーズ リミテッドUmbra Technologies Ltd. System and method for content retrieval from a remote network region
EP3243314A4 (en) 2015-01-06 2018-09-05 Umbra Technologies Ltd. System and method for neutral application programming interface
WO2016123293A1 (en) 2015-01-28 2016-08-04 Umbra Technologies Ltd. System and method for a global virtual network
CN107852604B (en) 2015-04-07 2021-12-03 安博科技有限公司 System for providing Global Virtual Network (GVN)
WO2016198961A2 (en) 2015-06-11 2016-12-15 Umbra Technologies Ltd. System and method for network tapestry multiprotocol integration
ES2931177T3 (en) 2015-12-11 2022-12-27 Umbra Tech Ltd System and method for launching information through a network tapestry and granularity of a brand
US10922286B2 (en) 2016-04-26 2021-02-16 UMBRA Technologies Limited Network Slinghop via tapestry slingshot
CN106125587B (en) * 2016-06-08 2018-12-11 高新兴创联科技有限公司 The automatic check system of GYK operating revelation and control method
CN106844476A (en) * 2016-12-23 2017-06-13 上海上讯信息技术股份有限公司 A kind of method and apparatus for recognizing file format and correspondence integrality
CN109614369A (en) * 2018-11-15 2019-04-12 中电科仪器仪表有限公司 A kind of document transmission method of test equipment
CN111478751B (en) * 2020-03-30 2023-03-24 百富计算机技术(深圳)有限公司 Data breakpoint continuous transmission method and device and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101516088A (en) * 2009-04-03 2009-08-26 酷派软件技术(深圳)有限公司 Data transmission method and system, server and mobile communication terminal
CN101734265A (en) * 2009-12-23 2010-06-16 卡斯柯信号有限公司 Method and device for monitoring state of embedded vehicle-mounted signal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101532369B1 (en) * 2006-12-11 2015-06-29 삼성전자주식회사 Apparatus and method for remote control in portable terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101516088A (en) * 2009-04-03 2009-08-26 酷派软件技术(深圳)有限公司 Data transmission method and system, server and mobile communication terminal
CN101734265A (en) * 2009-12-23 2010-06-16 卡斯柯信号有限公司 Method and device for monitoring state of embedded vehicle-mounted signal device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
GYK运行数据的传输及分析系统软件研究与设计;赵义军 等;《铁道通信信号》;20101031;第46卷(第10期);第17~21页第3.1-3.2节 *
基于网络传输的轨道车控制信息时延特性研究;王博;《中国优秀硕士学位论文全文数据库 信息科技辑》;20100815(第8期);第38-40页第2.2-2.4节 *
王博.基于网络传输的轨道车控制信息时延特性研究.《中国优秀硕士学位论文全文数据库 信息科技辑》.2010,(第8期),第17~21页.
赵义军 等.GYK运行数据的传输及分析系统软件研究与设计.《铁道通信信号》.2010,第46卷(第10期),第38-40页.

Also Published As

Publication number Publication date
CN102340538A (en) 2012-02-01

Similar Documents

Publication Publication Date Title
CN102340538B (en) Handheld device implementation method for data management of GYK (Railcar Running Control Device)
EP2840830B1 (en) Optimized bit error rate testing
CN107454169A (en) The automobile off-line detection system and method for a kind of remote control and intelligent network connection
CN102882964B (en) Vehicle-mounted equipment implementation method for managing GYK running state data
CN101867916A (en) Method for realizing air update of vehicle terminal
CN105303626A (en) On BoardUnit self-service issuing method and system, and radio networking device for On BoardUnit self-service issuing
CN105933888A (en) Burning method and device of eSIM (Subscriber Identity Module) card based on NFC
CN110650192B (en) New energy monitoring system based on Beidou short message communication
CN1953376A (en) A system and method for updating remote software of wireless terminal equipment
CN102291424A (en) Vehicle-mounted GPRS (general packet radio service) communication system with FTP (file transfer protocol) remote wireless upgrading function and method thereof
CN114302332B (en) Positioning system and method based on Beidou No. three and space-time satellite narrowband data broadcasting
WO2004056138A3 (en) Methods and apparatus for providing consistency in sms message timestamp formatting for mobile communication devices
CN104503422A (en) Remote monitoring maintenance method for GYK equipment
CN102448098A (en) Physical layer test system and method based on ARM (advanced RISC (reduced instruction set computer) machine) and DSP (digital signal processing) multi-core structure
CN103024023B (en) Digital Reading Room network audit method
CN101275882A (en) Module, system and method for autonomous detecting and registering vehicle tail gas
CN112612860A (en) Automatic electronic map pushing method based on train position
CN102591693A (en) Method and device for updating file based on CMMB (China mobile multimedia broadcasting)
CN115601948A (en) Wireless control method and system for lithium ion battery pack and vehicle
CN103227829A (en) System for managing rail vehicle operation control information
CN204989452U (en) Hand -held type electric energy meter trouble inquiry terminal equipment
CN109649445A (en) A kind of mounted remote Centralized Maintenance System
CN202584236U (en) Portable attendance terminal
CN202094943U (en) GPRS vehicle-mounted communication system having FTP remote wireless upgrade function
CN101551769B (en) Agglomeration method and device of configurable firmware

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 310013 5 floor, 10 building, 30 Wan Tang Road, Xihu District, Hangzhou, Zhejiang.

Patentee after: Gaoxing Chuanglian Technology Co.,Ltd.

Address before: 310013 5 floor, 10 building, 30 Wan Tang Road, Xihu District, Hangzhou, Zhejiang.

Patentee before: HANGZHOU CHUANGLIAN ELECTRONIC TECHNOLOGY Co.,Ltd.