CN108134832A - 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
CN108134832A
CN108134832A CN201711397161.9A CN201711397161A CN108134832A CN 108134832 A CN108134832 A CN 108134832A CN 201711397161 A CN201711397161 A CN 201711397161A CN 108134832 A CN108134832 A CN 108134832A
Authority
CN
China
Prior art keywords
instrument
port
remote computer
data
computer
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
Application number
CN201711397161.9A
Other languages
Chinese (zh)
Other versions
CN108134832B (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 is finished is handed over on industrial personal computer and is run.By the transparent mapped method, instrument automation test software still can need not change the direct operation of any configuration in remote computer in industrial personal computer.Its advantage can be achieved on the data of the multiple measuring instrumentss ports of the direct read/write on the computer of remote debugging.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, are related to the interconnection of the network characterized by data terminal, and espespecially one kind is based on The transparent mapped method of the multichannel instrument port of network.
Background technology
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 formed, the port of all measuring instrumentss ports and other equipment all with the industrial personal computer phase built in instrument Even, the control and measurement to each instrument are realized by the automatic test software on industrial personal computer.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 calculating with development environment at other is then needed to the debugging development of each instrumentation It is carried out on machine.
Invention content
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:A kind of network-based multichannel instrument port is provided Transparent mapped method, it is characterised in that include the following steps:
101st, port mapping configuration file is established in industry control generator terminal, port mapping configuration is all written into all instrument ports File;
102nd, 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 for;
103rd, the client-side program of remote computer is connected to the server program of industrial personal computer, then under server program The port mapping configuration file for describing all instrument ports being connect with industrial personal computer is carried, on the remote computer by instrument port It is associated with the mapped port of local computer;
104th, after the automatic test software of remote computer opens instrument port, networking client program obtains what is opened Instrument port configuration information is simultaneously synchronized to mapped port, and then network that instrument port configuration information is sent to industry control generator terminal takes Business device, is configured in industry control generator terminal synchronized update instrument port;
105th, the automatic test software of remote computer is after the order data of instrument port write-in operation instrument table, 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;
106th, 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 performs measurement operation after receiving order, to instrument Port sends measurement result;
107th, 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;
108th, the networking client of remote computer unpacks the data received, extracts measurement result data and instrument Then the measurement result data are written to the corresponding mapped port in instrument port by port information;Remote computer it is automatic Change test software and receive measurement result from instrument port corresponding with mapped port;
109th, 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 invention are as follows:It can realize the multiple measuring instrumentss ends of direct read/write on the computer of remote debugging 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.
Description of the drawings
The invention will be further described below in conjunction with the accompanying drawings.
Fig. 1 is the industry control generator terminal server flows journey figure of the present invention.
Fig. 2 is the networking client flow chart of the remote computer of the present invention.
Specific embodiment
Because the multiple instrument and industrial personal computer of CIR comprehensive diagnos test equipments are all encapsulated in an independent cabinet, own The port of instrument is all connected on industrial personal computer, and the development environment that the performance of industrial personal computer is difficult to reach automatic test software will It asks, so needing to establish development environment on the remote computer, instrument is operated by way of remote debugging and carries out CIR equipment Automatic test.
Since remote computer does not have the so much port access point of industrial personal computer, so needing a kind of network-based multichannel Instrument port transparent mapped method realizes the port mapping of remote computer and industrial personal computer, realizing the behaviour to various instrument Make.
After the instrument automation test software debugging on remote computer, then the automatic test finished will be debugged 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 the direct operation of any configuration can need not be changed in industrial personal computer.
The transparent mapped method is made of two parts:1) the server journey on the industrial personal computer in independent cabinet is operated in 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:
First, first from directory server program load port Map Profile after startup of server, which matches It puts file and describes all port list information for being connected to industrial personal computer;
2nd, server opens TCP network monitoring services, waits for 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;
It 3rd, will be all on the computer of client after client receives the port mapping configuration file of server transmission 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 instrument automation test software is in industrial personal computer or long-range Computer can only all read and write instrument port);
4th, 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, and then by port configuration information, it is sent to the network clothes of industry control generator terminal Business device program, in industry control generator terminal also synchronized update instrument port configuration information;
5th, 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, and the data and instrument port information are transmitted server program in mapped port;Industrial personal computer On server program receive the data and unpack, then the order data for operating instrument is sent to the instrument port specified;
6th, be connected on industrial personal computer instrument port instrument receive operational order after, perform instrument measurement operation, then will Measurement result write-in instrument port;Server program will include the instrument port with measuring knot after receiving the data of certain instrument port The data of fruit transmit the client of remote computer;
7th, 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;
8th, after the mapped port of remote computer is written into data, automatic test software is from corresponding instrument port Receive measurement result;
9th, five to eight steps are repeated, until the order that the instrument measurement software of remote computer is completed to all instrument is sent 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 of product can be improved by this method, the production of product is detached with exploitation debugging, it is 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 1. transparent mapped method of network-based multichannel instrument port, it is characterised in that include the following steps:
    101st, port mapping configuration file is established in industry control generator terminal, port mapping configuration text is all written into all instrument ports Part;
    102nd, network server program is established in industrial personal computer, using the server program load port Map Profile, then Wait for the networking client connection of remote computer;
    103rd, the client-side program of remote computer is connected to the server program of industrial personal computer, is then retouched from server program download The port mapping configuration file of all instrument ports being connect with industrial personal computer is stated, on the remote computer by instrument port and this The mapped port of ground computer is associated;
    104th, 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 instrument port configuration information is sent to the network service of industry control generator terminal Device is configured in industry control generator terminal synchronized update instrument port;
    105th, the automatic test software of remote computer is after the order data of instrument port write-in operation instrument table, 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;
    106th, 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 performs measurement operation after receiving order, to instrument port Send measurement result;
    107th, after the server of industry control generator terminal receives the measurement result of instrument return, the instrument port and measurement result are beaten Packet is sent to the networking client of remote computer;
    108th, the networking client of remote computer unpacks the data received, extracts measurement result data and instrument port Then the measurement result data are 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 port corresponding with mapped port;
    109th, 105 to 108 steps are repeated, until the order that the instrument measurement software of remote computer is completed to all instrument is sent 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 true CN108134832A (en) 2018-06-08
CN108134832B 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
CN108134832B (en) 2019-11-19

Similar Documents

Publication Publication Date Title
CN106374439B (en) Software definition implementation method based on intelligent substation Protection control system
Wang et al. Data communication mechanism for greenhouse environment monitoring and control: An agent-based IoT system
CN102695187B (en) Distributed Web-based device and method for testing 6LoWPAN protocol consistency
CN105794152B (en) The system and method and device of the interaction based on web are carried out with building automatic
CN106790222B (en) MODBUS/full-interconnection manufacturing network information service adapter and implementation method thereof
CN109196565A (en) Data concentrator and its operating method
CN104506573B (en) Point-to-point device and point-to-point online method
CN101431447B (en) Method and apparatus for testing capacity and performance of virtual special network server
CN109587208A (en) Remote operating system and measurement system
CN107395601A (en) A kind of mobile office system and method based on the safe Intranets of VPN
CN102448098B (en) Based on physical layer test macro and the method for ARM and DSP coenocytism
CN107197429A (en) The method of remote analog bluetooth equipment service based on Cloud Server
CN106131028A (en) A kind of data transmission method of Free-port communication gateway
CN105978738A (en) Distributed energy consumption monitoring unit based on smart Internet of things and monitoring method
Seitz et al. The conjunction of fog computing and the industrial internet of things-an applied approach
CN108449236A (en) A kind of router feature test system
CN107448779A (en) Pipe leakage signal monitoring system and method based on wireless sensor network
CN107645428A (en) A kind of automatic test approach and device
CN104486151A (en) Method and device for carrying out production testing on access terminal product
CN104601944B (en) Method for connecting to media stream providing device and media stream system
CN108134832B (en) The transparent mapped method of network-based multichannel instrument port
CN106060120A (en) Plc data remote transmission system and processing method thereof
Bellagente et al. M 3 IoT—message-oriented middleware for M-health Internet of Things: Design and validation
CN104348920B (en) DCS MANET monitoring systems based on OPC standards
CN104267609B (en) A kind of method of simulation hardware control amount access transport

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