CN108134832B - The transparent mapped method of network-based multichannel instrument port - Google Patents

The transparent mapped method of network-based multichannel instrument port Download PDF

Info

Publication number
CN108134832B
CN108134832B CN201711397161.9A CN201711397161A CN108134832B CN 108134832 B CN108134832 B CN 108134832B CN 201711397161 A CN201711397161 A CN 201711397161A CN 108134832 B CN108134832 B CN 108134832B
Authority
CN
China
Prior art keywords
port
instrument
remote computer
computer
industrial personal
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
CN201711397161.9A
Other languages
Chinese (zh)
Other versions
CN108134832A (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.)
Shenzhen Changlong Railway Electronic Engineering Co Ltd
Original Assignee
Shenzhen Changlong Railway Electronic Engineering 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 Shenzhen Changlong Railway Electronic Engineering Co Ltd filed Critical Shenzhen Changlong Railway Electronic Engineering Co Ltd
Priority to CN201711397161.9A priority Critical patent/CN108134832B/en
Publication of CN108134832A publication Critical patent/CN108134832A/en
Application granted granted Critical
Publication of CN108134832B publication Critical patent/CN108134832B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

A kind of transparent mapped method of network-based multichannel instrument port after the instrument automation test software debugging on remote computer, then the automatic test software that debugging finishes is handed over on industrial personal computer and is run.By the transparent mapped method, instrument automation test software no matter remote computer or industrial personal computer can be without changing the direct operation of any configuration.Its advantage is that the data of the multiple measuring instrumentss ports of the direct read/write on the computer of remote debugging may be implemented.The automatic test software run on the computer of remote debugging or on built-in industrial personal computer is without changing port configuration directly operation.

Description

The transparent mapped method of network-based multichannel instrument port
Technical field
The present invention relates to data switching networks, it is related to the interconnection of the network characterized by data terminal, espespecially one kind is based on The transparent mapped method of the multichannel instrument port of network.
Background technique
In the maintenance process of railway communication equipment, the inspection to CIR (cab integrated radio communication) is logical one kind The instrument of entitled CIR comprehensive diagnos test equipment carries out automatic test.The instrument is mainly by a series of measuring instrumentss and its The control panel of his equipment is constituted, the port of all measuring instrumentss ports and other equipment all with the industrial personal computer phase built in instrument Even, control and measurement by the automatic test software realization on industrial personal computer to each instrument.All measuring instrumentss, other Equipment control panel and industrial personal computer are all encapsulated in an independent cabinet.Because the performance of industrial personal computer is only suitable for running final debugging Automatic test software afterwards, and the debugging development of each instrumentation is then needed there is the calculating for developing environment at other It is carried out on machine.
Summary of the invention
In view of the shortcomings of the prior art, the purpose of the present invention is to provide a kind of the saturating of network-based multichannel instrument port Bright mapping method.To realize the data of the multiple measuring instrumentss ports of direct read/write on the computer of remote debugging.Remotely adjusting The automatic test software run on the computer of examination or on built-in industrial personal computer is without changing port configuration directly operation.
The technical solution adopted by the present invention to solve the technical problems is: providing a kind of network-based multichannel instrument port Transparent mapped method, it is characterised in that the following steps are included:
101, port mapping configuration file is established in industry control generator terminal, port mapping configuration is all written into all instrument ports File;
102, network server program is established in industrial personal computer, using the server program load port Map Profile, Then the networking client connection of remote computer is waited;
103, the client-side program of remote computer is connected to the server program of industrial personal computer, then under server program Load describes the port mapping configuration file of all instrument ports connecting with industrial personal computer, on the remote computer by instrument port It is associated with the mapped port of local computer;
104, after the automatic test software of remote computer opens instrument port, networking client program obtains opening Instrument port configuration information is simultaneously synchronized to mapped port, then takes the network that instrument port configuration information is sent to industry control generator terminal Business device is configured in industry control generator terminal synchronized update instrument port;
105, after the order data of operation instrument table is written to instrument port for the automatic test software of remote computer, network Client receives the data in associated mapped port, is then packaged the data and instrument port information and is sent to industrial personal computer The server at end;
106, the server of industry control generator terminal unpacks the data received, extracts order data and instrument port information, Then the order data is sent to the instrument port being connected with instrument, instrument executes measurement operation, Xiang Yibiao after receiving order Port sends measurement result;
107, after the server of industry control generator terminal receives the measurement result of instrument return, by the instrument port and measurement result into Row transmits the networking client of remote computer;
108, the networking client of remote computer unpacks the data received, extracts measurement result and instrument Then the measurement result is written to the corresponding mapped port in instrument port by port information;Remote computer it is automatic Change test software and receives measurement result from instrument corresponding with mapped port port;
109,105 to 108 steps are repeated, until the instrument measurement software of remote computer completes the order to all instrument Transmission and DRP data reception process.
The beneficial effects of the present invention are: the multiple measuring instrumentss ends of the direct read/write on the computer of remote debugging may be implemented The data of mouth.The automatic test software run on the computer of remote debugging or on built-in industrial personal computer is without changing port Configuration is directly run.
Detailed description of the invention
The invention will be further described with reference to the accompanying drawing.
Fig. 1 is industry control generator terminal server flows journey figure of the invention.
Fig. 2 is the networking client flow chart of remote computer of the invention.
Specific embodiment
Because the multiple instrument and industrial personal computer of CIR comprehensive diagnos test equipment are all encapsulated in an independent cabinet, own The port of instrument is all connected on industrial personal computer, and the exploitation environment that the performance of industrial personal computer is difficult to reach automatic test software is wanted It asks, so needing to establish exploitation environment on the remote computer, instrument is operated by way of remote debugging and carries out CIR equipment Automatic test.
Due to the port access point that remote computer does not have industrial personal computer so much, so needing a kind of network-based multichannel Instrument port transparent mapped method realizes the port mapping of remote computer and industrial personal computer, to realize the behaviour to various instrument Make.
After the instrument automation test software debugging on remote computer, then the automatic test that debugging is finished Software is handed over on industrial personal computer and is run.By the transparent mapped method, no matter instrument automation test software is in remote computer Or it can be not necessarily to change the direct operation of any configuration in industrial personal computer.
The transparent mapped method consists of two parts: 1) operating in the server journey on the industrial personal computer in independent cabinet Sequence.2) client-side program on remote debugging computer is operated in.It is situated between below by the workflow of server and client The implementation method for the system that continues.
Server and client side's program operational process difference is as depicted in figs. 1 and 2:
One, first from directory server program load port Map Profile after server starting, which matches It sets file and describes all port list information for being connected to industrial personal computer;
Two, server opens the service of TCP network monitoring, waits the access of client-side program;As the client of remote computer After end program is connected to server, server sends the port mapping configuration file to client;
Three, after client receives the port mapping configuration file that server is sent, will own on the computer of client Instrument port be associated that (data for being written to instrument port can be received in mapped port, mapped with mapped port The data of port write-in can then be received in instrument port, because no matter instrument automation test software is in industrial personal computer or long-range Computer can only all read and write instrument port);
Four, after the automatic test software on remote computer opens instrument port, client-side program obtains the instrument opened Table port configuration information is simultaneously synchronized to mapped port, then its network clothes for being sent to industry control generator terminal by port configuration information Business device program, in industry control generator terminal also synchronized update instrument port configuration information;
Five, after order data of the automatic test software of remote computer to instrument port write-in operation instrument table, visitor Family end receives the data in mapped port, and the data and instrument port information are transmitted server program;Industrial personal computer On server program receive the data and unpack, then send the order data for operating instrument to specified instrument port;
Six, be connected on industrial personal computer instrument port instrument receive operational order after, execute instrument measurement operation, then will Instrument port is written in measurement result;Server program will include that the instrument port and measurement are tied after receiving the data of certain instrument port The data of fruit transmit the client of remote computer;
Seven, it after the client of remote computer receives the meter measurements data of server transmission and unpacks, will measure Result data is sent to mapped port corresponding with the instrument port;
Eight, after the mapped port of remote computer is written into data, automatic test software is from corresponding instrument port Receive measurement result;
Nine, five to eight steps are repeated, the order to all instrument is completed until the instrument measurement software of remote computer and sends out It send and DRP data reception process.
Above procedure is exactly that remote computer is realized by port transparent mapped method to the transmission order of industry control generator terminal instrument And obtain the process of measurement result.
The development efficiency that product can be improved by this method separates the production of product with exploitation debugging, more square Just upgrading and debugging efforts of the instrument in Railway Site.
In addition to this, if in the system deployment WLAN, automatic test software can also be mounted with client It is run on the tablet computer at end, without being operated on the industrial personal computer built in instrument, is more convenient the use of Railway Site user.

Claims (1)

1. a kind of transparent mapped method of network-based multichannel instrument port, it is characterised in that the following steps are included:
101, port mapping configuration file is established in industry control generator terminal, port mapping configuration text is all written into all instrument ports Part;
102, network server program is established in industrial personal computer, using the server program load port Map Profile, then Wait the networking client connection of remote computer;
103, the client-side program of remote computer is connected to the server program of industrial personal computer, then retouches from server program downloading The port mapping configuration file of all instrument ports connecting with industrial personal computer is stated, on the remote computer by instrument port and this The mapped port of ground computer is associated;
104, after the automatic test software of remote computer opens instrument port, networking client program obtains the instrument opened Port configuration information is simultaneously synchronized to mapped port, then sends instrument port configuration information to the network service of industry control generator terminal Device is configured in industry control generator terminal synchronized update instrument port;
105, after the order data of operation instrument table is written to instrument port for the automatic test software of remote computer, network client End receives the data in associated mapped port, is then packaged the data and instrument port information and is sent to industrial personal computer end Server;
106, the server of industry control generator terminal unpacks the data received, extracts order data and instrument port information, then Send the order data to the instrument port being connected with instrument, instrument executes measurement operation, the port Xiang Yibiao after receiving order Send measurement result;
107, after the server of industry control generator terminal receives the measurement result that instrument returns, the instrument port and measurement result are beaten Packet is sent to the networking client of remote computer;
108, the networking client of remote computer unpacks the data received, extracts measurement result and instrument port Then the measurement result is written to the corresponding mapped port in instrument port by information;The automation of remote computer is surveyed It tries software and receives measurement result from instrument corresponding with mapped port port;
109,105 to 108 steps are repeated, the order to all instrument is completed until the instrument measurement software of remote computer and sends With DRP data reception process.
CN201711397161.9A 2017-12-21 2017-12-21 The transparent mapped method of network-based multichannel instrument port Active CN108134832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711397161.9A CN108134832B (en) 2017-12-21 2017-12-21 The transparent mapped method of network-based multichannel instrument port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711397161.9A CN108134832B (en) 2017-12-21 2017-12-21 The transparent mapped method of network-based multichannel instrument port

Publications (2)

Publication Number Publication Date
CN108134832A CN108134832A (en) 2018-06-08
CN108134832B true CN108134832B (en) 2019-11-19

Family

ID=62391301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711397161.9A Active CN108134832B (en) 2017-12-21 2017-12-21 The transparent mapped method of network-based multichannel instrument port

Country Status (1)

Country Link
CN (1) CN108134832B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7739070B2 (en) * 2007-08-28 2010-06-15 Agilent Technologies, Inc. Standardized interfaces for proprietary instruments
CN101778016A (en) * 2010-01-01 2010-07-14 江苏华丽网络工程有限公司 Design method of virtual testing system of network device
CN102291274A (en) * 2011-07-11 2011-12-21 北京天融信科技有限公司 System and method for realizing automatic adaptation of network testing instrument
CN103605355A (en) * 2013-12-10 2014-02-26 贵州电力试验研究院 Method and system for rapidly and remotely monitoring vibration parameters of steam turbine generator unit in online
CN106789225A (en) * 2016-12-13 2017-05-31 广州唯品会信息科技有限公司 A kind of method and device of interface operation port mapping configuration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7739070B2 (en) * 2007-08-28 2010-06-15 Agilent Technologies, Inc. Standardized interfaces for proprietary instruments
CN101778016A (en) * 2010-01-01 2010-07-14 江苏华丽网络工程有限公司 Design method of virtual testing system of network device
CN102291274A (en) * 2011-07-11 2011-12-21 北京天融信科技有限公司 System and method for realizing automatic adaptation of network testing instrument
CN103605355A (en) * 2013-12-10 2014-02-26 贵州电力试验研究院 Method and system for rapidly and remotely monitoring vibration parameters of steam turbine generator unit in online
CN106789225A (en) * 2016-12-13 2017-05-31 广州唯品会信息科技有限公司 A kind of method and device of interface operation port mapping configuration

Also Published As

Publication number Publication date
CN108134832A (en) 2018-06-08

Similar Documents

Publication Publication Date Title
EP2153581B1 (en) Remote testing system and method
CN102695187B (en) Distributed Web-based device and method for testing 6LoWPAN protocol consistency
CN109587208A (en) Remote operating system and measurement system
WO2008002986A2 (en) Remote mobile testing probe
CN102448098B (en) Based on physical layer test macro and the method for ARM and DSP coenocytism
CN106714200A (en) Test system and test method of wireless network device
CN101431447A (en) Method and apparatus for testing capacity and performance of virtual special network server
CN109194535A (en) A kind of terminal test system and method
CN103813350B (en) Agricultural internet of things cloud communication system performance simulation platform
CN108134832B (en) The transparent mapped method of network-based multichannel instrument port
Wu et al. A survey on the progress of testing techniques and methods for wireless sensor networks
CN105592128B (en) Intelligent electric meter deployment management system
JP6552806B2 (en) Method of testing wireless transmission of smart devices and wireless transmission network analysis tool
CN108900261A (en) A kind of 1800M RF consistency reception intermodulation testing method and device
CN108833029A (en) A kind of 1800M RF consistency transmitting intermodulation testing method and device
CN110868341B (en) Method and device for testing intelligent management unit of in-situ protection
CN207706186U (en) A kind of modular satellite communication earth station simulated training system
CN206451035U (en) A kind of satellite control system ground checkout equipment automates combined adjuster
CN107656841A (en) Wireless product production test apparatus and system
Orta et al. A wireless instrumentation control system based on low-cost single board computer gateways
CN102694698B (en) A kind of method quickly setting up mininet test system
CN102377609A (en) Platform-independent automatic test case and virtual test instrument
CN106900001A (en) communication system testing method and system
CN110309056A (en) A kind of cross-platform simulation system for the test of software input/output function
CN104717028A (en) Wireless link verification system and method based on hardware in loop

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant