A kind of based on extend markup language and the comprehensive communication processor of realizing of dynamic base
Technical field
The present invention relates to power communication, particularly relate to a kind of based on extend markup language and the comprehensive communication processor of realizing of dynamic base.
Background technology
Device in the existing powerline network is of a great variety; Although electric power communication protocol commonly used has been carried out standard; But,, even introduce the privately owned communication protocol of producer because the understanding and the implementation of different manufacturers are inconsistent; Different manufacturers device and main website of system in the communication system are difficult to realize information sharing and data interaction, cause the difficulty of the system integration and cost to improve.Existing solution is that the various devices that install layer are inserted the communication processor as front end processor; Realize the access of various complex communication stipulations by communication processor; Device to the different communication stipulations that insert powerline network carries out data acquisition; Data are gathered the back realize issuing with the data interaction and the order of main website of system with certain communication protocol commonly used, the conformance with standard standard, the main website of system then is absorbed in the processing of service logic.Its weak point is that communication processor only is the device that inserts this producer mostly, and the communication protocol of this producer of The software adopted or standard, configuration file are binary formats, and communication protocol measuring point table more complicated, poor compatibility, autgmentability are not strong, allocative efficiency is low.Chinese patent CN101894039A disclosed " a kind of embedded equipment driver auxiliary generating method and system " is with embedded equipment UDI descriptive language tracing device access interface, hardware platform characteristic and hardware unit logic function; Preserve into the file of extend markup language (EXtensible Markup Language, initialism are XML) form; Resolve and describe document and in internal memory, generate internal data structure; Utilize the library file of writing in advance; In conjunction with platform and system performance, generate and to supply that the developer uses accordingly and include the embedded equipment driver stake code of register access mode and default value, register access code and device basic function function content.Can improve embedded equipment Driver Development efficient, reduce the mistake in the development process, reduce development difficulty, and improve the portability of embedded equipment driver.But its library file need be write in advance, can not add library file flexibly according to application need, and limited by platform and system performance, and its function expansibility is not enough.
Summary of the invention
Technical problem to be solved by this invention is the defective that remedies above-mentioned prior art, provides a kind of based on extend markup language and the comprehensive communication processor of realizing of dynamic base.
Technical problem of the present invention solves through following technical scheme.
This based on extend markup language and the comprehensive communication processor of realizing of dynamic base; Hardware comprises CPU element, ram memory cell, Flash memory cell, serial unit, Ethernet unit, GPS unit; And power supply, above-mentioned each unit is interconnected through internal bus.
This characteristics based on extend markup language and the comprehensive communication processor of realizing of dynamic base are:
Also comprise internal memory real-time data base functional module, gather the stipulations functional module, transmit stipulations functional module and maintenance management functional module; API (Application Programming Interface in operating system and the dynamic link libraries file existing and expansion certainly thereof; Initialism is API), and the bottom layer driving module.
Said internal memory real-time data base functional module is directly visited with said collection stipulations functional module and forwarding stipulations functional module respectively through the API that is included in the operating system dynamic link libraries file existing and that expand certainly each other; The stipulations function code of said internal memory real-time data base functional module, said collection stipulations functional module and said forwarding stipulations functional module; Library file form with .so suffix form is deposited; Dynamic load is added new stipulations dynamic library file through said maintenance management functional module, therefore during operation in internal memory; Increase new stipulations support, needn't recompilate software.
Said maintenance management functional module and said collection stipulations functional module, forwarding stipulations functional module are visited each other and are called through configuration parameter and said API.
Said collection stipulations functional module is visited each other and is called with protection of gathering side or measuring and controlling equipment (hereinafter to be referred as access device) through said API.
Said forwarding stipulations functional module is visited each other and is called through said API and the scheduling station system (hereinafter to be referred as main station system) that transmits side.
Said internal memory real-time data base functional module is a slice buffer area that is called the shared drive of "/shm " by the name of operating system registration; Be used for the real time data that interim access collects; After operating system successfully starts, according to the required storage size of real time data heap(ed) capacity decision of the data structure of the quantity of said access device, various real time datas, said access device, the suitable memory headroom of dynamic assignment from shared drive; Memory space as the internal memory real-time data base; To different real time data types, the internal memory real-time data base is carried out initialization, and the accessing operation interface function of external reference real time data is provided; Realize inquiry, the access facility of real time data, be used to coordinate the collection of the timely ordered pair of non-order etc. and transmit stipulations.In internal memory the access real time data and with rules specific according to pointer addressing, therefore, the real time data access efficiency is than higher.
Said collection stipulations functional module is used for the access device Communication Realization data acquisition that all is packaged into the collection stipulations and the diversified said collection side of independent dynamic library file through multiple, and deposits the real time data that collects in said internal memory real-time data base; Also be used to transmit the order that the scheduling station system of said forwarding side sends, realize straighforward operation the access device of said collection side.Said real time data comprises telemetry, remote signalling data and distant arteries and veins data.
Telemetry comprises phase voltage, phase current, line voltage, active power and reactive power.
The remote signalling data comprise alarm status, the position of the switch and input state amount, and said input state amount comprises valve location.
Distant arteries and veins data comprise Pulse Electric tolerance.
After operating system successfully starts; The collection stipulations of dynamic library file are loaded into internal memory; Protocol type parameter according to serial ports or network interface configuration; Create new task and carry out the collection stipulations code of appointment,, and deposit the real time data that collects in said internal memory real-time data base with the data acquisition of corresponding access device Communication Realization.
Said forwarding stipulations functional module is used for inquiring real time data to be transmitted from said internal memory real-time data base; And communicate according to the scheduling station system of multiple forwarding stipulations regulation message format that all is packaged into the independent dynamic library file and said forwarding side and to realize that data upload and the scheduling station system command that receives said forwarding side carry out the data forwarding of corresponding operating; The scheduling station system command of said forwarding side passes to the collection stipulations through specific interface with order.
After operating system successfully starts; The forwarding stipulations of dynamic library file are loaded into internal memory; According to the protocol type parameter of serial ports or network interface configuration, create new task and carry out the forwarding stipulations code of appointment, obtain the scheduling station system that real time data is transmitted to said forwarding side from the internal memory real-time data base; When there is guidance command in the scheduling station system of said forwarding side, pass to the collection stipulations through specific interface.
Forwarding stipulations commonly used comprise IEC60870-5-101, IEC60870-5-104.
Said maintenance management functional module is used to dispose, the backup communication interface parameter, wait to transmit data and support uploading and unloading of stipulations dynamic base.
The serial ports configuration comprises baud rate; Check digit; Data bit, position of rest, verification mode, RS485 communication mode or RS232 communication mode, and communication protocol type; Each serial communication interface starts an independent communication task, carries out the corresponding communication stipulations according to the communication protocol type of binding and drives code.
It is IP address, gateway and mask that network interface is provided with content.
Gather the stipulations configuration and comprise device mailing address, device corresponding device type and corresponding measuring point table information.
The configuration of forwarding stipulations comprises which uses transmit communication protocol, and transmits the forwarding measuring point table which real time data is a correspondence.
Text with the XML form behind said maintenance and the parameter configuration module configuration parameter is preserved; Between the PC that this communication processor and engineering staff carry, exchange, shift and backup; Therefore; Not only can on this communication processor, manage by on-line maintenance, also can on said PC, utilize the various parameters of special maintenance management software off-line arrangement that provide, the text of said PC being gone up the XML form that generates imports this communication processor.
Said stipulations dynamic base is used to realize the logical framework of communication protocol, and the XML formatted file is combined with dynamic library file,, as data medium configuration parameter is described with the XML formatted file, to realize the logic function of different communication stipulations.
Said configuration parameter comprises stipulations measuring point table, the corresponding forwarding measuring point table in forwarding storehouse of messaging parameter, communication protocol driving parameters, access device; In this communication processor electrifying startup when operation, read required whole configuration parameters and dynamic load generates in the internal data structure from the XML formatted file to internal memory, and the driving code of used whole stipulations dynamic base also is loaded in the internal memory, and said driving code is corresponding with the communication protocol type of binding; To realize data acquisition function and data forwarding function respectively; And only need carry out simple online or off-line arrangement,, be ready to the communication protocol measuring point table description document of the device of access communications supervisor through safeguarding the measuring point that needs forwarding with the parameter configuration module selection; Do not need too complicated operations; Can effectively solve The field configuration complicated problems, increase and decrease dynamic library file flexibly, realize transplanting, reduction and the expansion of communication protocol function according to application need; Support the communication protocol of communication protocol upgrading or increase newtype; Avoid modification and recompility to communication processor software, the communication protocol handbook that can also provide according to the third party is developed privately owned communication protocol; Through safeguard upload dynamic library file with parameter configuration module after, increase support to the privately owned communication protocol of third party.Obviously improve debugging efficiency, significantly save management cost.
Said operating system is vxWorks operating system; Run on the PowerPC of the Motorola series CPU; The particularity of its overriding processor make upper strata standard C programming become possibility, and said vxWorks operating system is safeguarded Multitask Environment; For the collaborative work between multitask provides a large amount of infrastructure, be the basis of system high efficiency, stable operation.
Said API comprises existing API of vxWorks operating system and the API that expands certainly.
Said existing API comprises multiple task management, Clock management, semaphore management, ICP/IP protocol and udp protocol.
Said API from expansion comprises serial communication, network interface communication, internal memory real time database management and common function function.
Said bottom layer driving module is the peripheral hardware facility to CPU; Said peripheral hardware comprises that FLASH storage, external RAM storage, serial communication communicate by letter with network interface; With assembler language or C language, have higher running efficiency, be necessary complement to operating system.
Technical problem of the present invention solves through following further technical scheme.
Said stipulations dynamic base comprises forwarded upstream stipulations and descending collection stipulations.
Said forwarded upstream stipulations comprise based on the communication protocol of serial port with based on the communication protocol of Ethernet, need configuration to wait to transmit data measuring point information based on what the text of XML was described, and provide to the scheduling station system of said forwarding side and to transmit the measuring point table.
Saidly wait to transmit data measuring point information; Comprise each measuring point sequence number, title, description, coefficient and displacement amplitude; After transmitting the stipulations startup; At first from the corresponding forwarding data measuring point information of XML file load, the data of forwarding with message sequence number or register address with transmit the measuring point table in data corresponding one by one, the forwarding stipulations according to forwarding measuring point table configuration information from being transmitted to the scheduling station system of said forwarding side after the internal memory real-time data base obtains real time data.
Said forwarding stipulations based on serial port comprise the IEC60870-5-101 communication protocol, need be tied to serial communication interface according to the communication interface configuration parameter, begin communication process with the scheduling station system of said forwarding side.
Said forwarding stipulations based on Ethernet comprise the IEC60870-5-104 communication protocol; Only need on this communication processor, create server; On the port of regulation, intercept, when the scheduling station system of said forwarding side has client to connect arrival, promptly begin communication process.
Said descending collection stipulations are relevant with said access device; Some needs independent development specification Driver Library file; According to the employing of said access device measuring point table template file information based on the text of XML, when operation, corresponding collection stipulations Driver Library in said access device and this communication processor to be bound, said collection stipulations comprise the privately owned communication protocol of manufacturer; Said measuring point table template file is convenient to revise, test, and the communication protocol edition upgrading.
Said measuring point table template file records corresponding collection stipulations Driver Library file name, measuring point table information and the communication protocol operation desired parameters with said access device; When gathering certain access device data, according to its corresponding stipulations Driver Library file name, load and also carry out the library file code, the data that collect can carry out storing the internal memory real-time data base again into after related with measuring point table configuration information.
Said CPU element is the core of whole communication processor, is used to control the operation of other unit and the processing of communication protocol.
Said CPU element is 32 PowerPC series processors of Motorola, has very strong disposal ability.
Said ram memory cell, Flash memory cell are mass storage device, and RAM is the 256M byte, can realize big capacity memory database, also for inserting more devices necessary support are provided simultaneously; FLASH is the 16M byte, except that depositing application program, also is used to deposit configuration file, and these provide reliable guarantee for the operation of CPU fast and stable.
Said serial unit comprises 16 serial communication interfaces, and the RS232/RS485 mode of operation of serial line interface can be through safeguarding and the parameter configuration module change by software setting.16 serial line interfaces all can be used for data acquisition and data forwarding; Confirm by the concrete communication protocol type that disposes on the said serial line interface; When as data acquisition function; Same serial communication interface inserts the device of same communication stipulations down, when as the data forwarding function, directly with master station communication.
Said Ethernet unit has two ethernet controllers, and one of them is the 10M ethernet controller, and another is a 10M/100M self adaptation ethernet controller, adopts the input and output mode of standard.Two ethernet controllers mainly are used for transmitting data to backstage or scheduling etc.
Said GPS unit receives the pulse per second (PPS) from the output of GPS receiver, when being used for communication processor system school.Whenever receive a pulse per second (PPS), system time is calibrated, the school time error is less than 0.5s.The input mode of pulse is defaulted as idle contact, can the wire jumper mode support differential mode or Transistor-Transistor Logic level input.
Said power supply is well behaved wide region input switch power supply, and input voltage range is 85~265V, and frequency is 47Hz~60Hz, and output voltage is direct current 5V, is whole telecommunication management machine power supply.Floating ground of the ground wire employing mode of the output of power insert does not link to each other with casing, and separate, has improved the functional reliability of output.
This based on extend markup language and the comprehensive communication processor of realizing of dynamic base, hardware also comprises the relay indicating light unit, is used to show the operating state of Ethernet unit and serial unit.
The present invention's beneficial effect compared with prior art is:
Stipulations function code of the present invention is deposited with the library file form of .so suffix form, and dynamic load is added new stipulations dynamic library file through the maintenance management functional module during operation in internal memory.The XML formatted file is combined with dynamic library file, as data medium configuration parameter is described, realize the logic function of different communication stipulations with the XML formatted file; And increase and decrease dynamic library file flexibly according to application need; Realize transplanting, reduction and the expansion of communication protocol function, support the communication protocol of communication protocol upgrading or increase newtype, also support the privately owned communication protocol of third party; Obviously improve debugging efficiency, significantly save management cost.
Description of drawings
Fig. 1 is the hardware block diagram of the specific embodiment of the invention;
Fig. 2 is the software block diagram of the specific embodiment of the invention.
Embodiment
Below in conjunction with embodiment and contrast accompanying drawing the present invention will be described.
A kind of like Fig. 1, the communication processor shown in 2 based on extend markup language and the comprehensive realization of dynamic base; On master-plan and each modular design, all considered the requirement of reliability, the aspects such as communication between program execution, each module have all given detailed consideration.
The hardware of this embodiment comprises CPU element, ram memory cell, Flash memory cell, serial unit, Ethernet unit, GPS unit, power supply; And the relay indicating light unit that is used to show Ethernet unit and serial unit operating state, above-mentioned each unit is interconnected through internal bus.
CPU element is 32 PowerPC series processors of Motorola, has very strong disposal ability, is the core of whole communication processor, is used to control the operation of other unit and the processing of communication protocol.
Ram memory cell, Flash memory cell are mass storage device, and RAM is the 256M byte, can realize big capacity memory database, also for inserting more devices necessary support are provided simultaneously; FLASH is the 16M byte, except that depositing application program, also is used to deposit configuration file, and these provide reliable guarantee for the operation of CPU fast and stable.
Serial unit comprises 16 serial communication interfaces, and the RS232/RS485 mode of operation of serial line interface can be through safeguarding and the parameter configuration module change by software setting.16 serial line interfaces all can be used for data acquisition and data forwarding; Confirm by the concrete communication protocol type that disposes on the said serial line interface; When as data acquisition function; Same serial communication interface inserts the device of same communication stipulations down, when as the data forwarding function, directly with master station communication.
The Ethernet unit has two ethernet controllers, and one of them is the 10M ethernet controller, and another is a 10M/100M self adaptation ethernet controller, adopts the input and output mode of standard.Two ethernet controllers mainly are used for transmitting data to backstage or scheduling etc.
The GPS unit receives the pulse per second (PPS) from the output of GPS receiver, when being used for communication processor system school.Whenever receive a pulse per second (PPS), system time is calibrated, the school time error is less than 0.5s.The input mode of pulse is defaulted as idle contact, can the wire jumper mode support differential mode or Transistor-Transistor Logic level input.
Power supply is well behaved wide region input switch power supply, and input voltage range is 85~265V, and frequency is 47Hz~60Hz, and output voltage is direct current 5V, is whole telecommunication management machine power supply.Floating ground of the ground wire employing mode of the output of power insert does not link to each other with casing, and separate, has improved the functional reliability of output.
This embodiment also comprises internal memory real-time data base functional module, gathers the stipulations functional module, transmits stipulations functional module and maintenance management functional module; API in operating system and the dynamic link libraries file existing and expansion certainly thereof, and bottom layer driving module.
Internal memory real-time data base functional module is directly visited with collection stipulations functional module and forwarding stipulations functional module respectively through the API that is included in the operating system dynamic link libraries file existing and expansion certainly each other; The stipulations function code of internal memory real-time data base functional module, collection stipulations functional module and forwarding stipulations functional module; Library file form with .so suffix form is deposited; Dynamic load is added new stipulations dynamic library file through the maintenance management functional module, therefore during operation in internal memory; Increase new stipulations support, needn't recompilate software.
Internal memory real-time data base functional module is a slice buffer area that is called the shared drive of "/shm " by the name of operating system registration; Be used for the real time data that interim access collects; After operating system successfully starts, according to the data structure of the quantity of access device, various real time datas, the required storage size of real time data heap(ed) capacity decision of access device, the suitable memory headroom of dynamic assignment from shared drive; Memory space as the internal memory real-time data base; To different real time data types, the internal memory real-time data base is carried out initialization, and the accessing operation interface function of external reference real time data is provided; Realize inquiry, the access facility of real time data, be used to coordinate the collection of the timely ordered pair of non-order etc. and transmit stipulations.In internal memory the access real time data and with rules specific according to pointer addressing, therefore, the real time data access efficiency is than higher.
Gathering the stipulations functional module visits each other and calls through API and access device.Gather the stipulations functional module and be used for the collection stipulations and the data acquisition of diversified access device Communication Realization that all are packaged into the independent dynamic library file through multiple, and deposit the real time data that collects in the internal memory real-time data base; Also be used to transmit the order that main station system is sent, achieve a butt joint into the straighforward operation of equipment.Real time data comprises telemetry, remote signalling data and distant arteries and veins data.
Telemetry comprises phase voltage, phase current, line voltage, active power and reactive power.
The remote signalling data comprise alarm status, the position of the switch and input state amount, and said input state amount comprises valve location.
Distant arteries and veins data comprise Pulse Electric tolerance.
After operating system successfully starts; The collection stipulations of dynamic library file are loaded into internal memory; Protocol type parameter according to serial ports or network interface configuration; Create new task and carry out the collection stipulations code of appointment,, and deposit the real time data that collects in the internal memory real-time data base with the data acquisition of corresponding access device Communication Realization.
Transmitting the stipulations functional module visits each other and calls through API and main station system.Transmitting the stipulations functional module is used for inquiring real time data to be transmitted from the internal memory real-time data base; And according to the multiple forwarding stipulations regulation message format of independent dynamic library file and the data forwarding that main station system communicates realization data upload and reception main station system command execution corresponding operating of all being packaged into, the main station system order passes to the collection stipulations through specific interface with order.
After operating system successfully starts; The forwarding stipulations of dynamic library file are loaded into internal memory; According to the protocol type parameter of serial ports or network interface configuration, create new task and carry out the forwarding stipulations code of appointment, obtain real time data from the internal memory real-time data base and be transmitted to main station system; When main station system has guidance command, pass to the collection stipulations through specific interface.
Forwarding stipulations commonly used comprise IEC60870-5-101, IEC60870-5-104.
The maintenance management functional module is visited each other and is called through configuration parameter and API with collection stipulations functional module, forwarding stipulations functional module.The maintenance management functional module is used to dispose, the backup communication interface parameter, wait to transmit data and support uploading and unloading of stipulations dynamic base.
The serial ports configuration comprises baud rate; Check digit; Data bit, position of rest, verification mode, RS485 communication mode or RS232 communication mode, and communication protocol type; Each serial communication interface starts an independent communication task, carries out the corresponding communication stipulations according to the communication protocol type of binding and drives code.
It is IP address, gateway and mask that network interface is provided with content
Gather the stipulations configuration and comprise device mailing address, device corresponding device type and corresponding measuring point table information.
The configuration of forwarding stipulations comprises which uses transmit communication protocol, and transmits the forwarding measuring point table which real time data is a correspondence.
Text with the XML form behind maintenance and the parameter configuration module configuration parameter is preserved; Between the PC that this communication processor and engineering staff carry, exchange, shift and backup; Therefore; Not only can on this communication processor, manage by on-line maintenance, also can on said PC, utilize the various parameters of special maintenance management software off-line arrangement that provide, the text of said PC being gone up the XML form that generates imports this communication processor.
Operating system is vxWorks operating system; Run on the PowerPC of the Motorola series CPU; The particularity of its overriding processor make upper strata standard C programming become possibility, and vxWorks operating system is safeguarded Multitask Environment; For the collaborative work between multitask provides a large amount of infrastructure, be the basis of system high efficiency, stable operation.
API comprises existing API of vxWorks operating system and the API that expands certainly.
Existing API comprises multiple task management, Clock management, semaphore management, ICP/IP protocol and udp protocol.
API from expansion comprises serial communication, network interface communication, internal memory real time database management and common function function.
The bottom layer driving module is the peripheral hardware facility to CPU, and peripheral hardware comprises that FLASH storage, external RAM storage, serial communication communicate by letter with network interface, with assembler language or C language, has higher running efficiency, is the necessary complement to operating system.
The stipulations dynamic base of this embodiment comprises forwarded upstream stipulations and descending collection stipulations.
The forwarded upstream stipulations comprise based on the communication protocol of serial port with based on the communication protocol of Ethernet, need configuration to wait to transmit data measuring point information based on what the text of XML was described, and provide to main station system and to transmit the measuring point table.Wait to transmit data measuring point information; Comprise each measuring point sequence number, title, description, coefficient and displacement amplitude; After transmitting the stipulations startup; At first from the corresponding forwarding data measuring point information of XML file load, the data of forwarding with message sequence number or register address with transmit the measuring point table in data corresponding one by one, the forwarding stipulations are transmitted to main station system according to forwarding measuring point table configuration information after the internal memory real-time data base obtains real time data.
Forwarding stipulations based on serial port comprise the IEC60870-5-101 communication protocol, need be tied to serial communication interface according to the communication interface configuration parameter, begin communication process with the scheduling station system of said forwarding side.
Forwarding stipulations based on Ethernet comprise the IEC60870-5-104 communication protocol, only need on this communication processor, create server, on the port of regulation, intercept, and when main station system has client to connect arrival, promptly begin communication process.
Descending collection stipulations are relevant with access device; Some needs independent development specification Driver Library file; According to the employing of access device measuring point table template file information based on the text of XML, when operation, corresponding collection stipulations Driver Library in access device and this communication processor to be bound, the collection stipulations comprise the privately owned communication protocol of manufacturer; Measuring point table template file is convenient to revise, test, and the communication protocol edition upgrading.
Measuring point table template file records corresponding collection stipulations Driver Library file name, measuring point table information and the communication protocol operation desired parameters with access device; When gathering certain access device data, according to its corresponding stipulations Driver Library file name, load and also carry out the library file code, the data that collect can carry out storing the internal memory real-time data base again into after related with measuring point table configuration information.
The stipulations dynamic base is used to realize the logical framework of communication protocol, uses the XML formatted file as data medium, and the standard measuring point table that comprises messaging parameter, access device, the configuration parameter of transmitting the corresponding forwarding measuring point table in storehouse are described.In this communication processor electrifying startup when operation, read required whole configuration parameters and be loaded into the internal storage data structure from the XML formatted file; And the driving code of used whole stipulations dynamic base also is loaded in the internal memory; It is corresponding with the communication protocol type of binding to drive code, to realize data acquisition function and data forwarding function respectively.
The course of work of this embodiment comprises getting into and gathers the stipulations handling process and transmit the stipulations handling process that following steps are arranged successively:
Step 1)
After communication processor starts; Obtain each serial communication port configuration parameter successively; The communication protocol dynamic base of the said serial communication port of dynamic load institute bindtype is to internal memory, and derivation communication protocol power function interface, starts the power function that new task is carried out said communication protocol then;
Step 2)
If the communication protocol type that said serial communication port is bound belongs to the forwarding stipulations; Then read communication processor and wait to transmit data measuring point table from the corresponding XML configuration file of transmitting the storehouse of said serial communication port; Obtain and wait to transmit data measuring point information, get into and transmit the stipulations handling process;
If the communication protocol type that said serial communication port is bound belongs to the collection stipulations, then get into step 3);
Step 3)
According to the device communication id information of all access communications supervisors of configuration under the said serial communication port, obtain the corresponding type of device of all devices of access communications supervisor under the said serial communication port;
Step 4)
Device corresponding intrument type according to the access communications supervisor obtains its device measuring point table template file; Obtain corresponding stipulations dynamic library file title, the communication protocol measuring point table parameter of gathering of said device from template file; And measuring point information, and at said device registration;
Step 5)
Repeating step 4), after all devices that said serial communication port inserts are down accomplished communication protocol driving registration, just get into the data acquisition flow of gathering stipulations.
The ethernet communication mouth of communication processor only is used for data forwarding.In transmitting storehouse XML configuration file, configure and transmit forwarding protocol type, the port numbers that bind in the storehouse, and the IP of distant place main website.
Transmit stipulations and on the port of configuration, begin to intercept, connect when arriving as a distant place, IP that connects according to a distant place and listening port number obtain the corresponding library information of transmitting, and load and wait to transmit data measuring point table, obtain and wait to transmit data measuring point information, get into and transmit handling process.
Above content is to combine concrete preferred implementation to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.Those of ordinary skill for technical field under the present invention; Under the prerequisite that does not break away from the present invention's design, make some alternative or obvious modification that are equal to; And performance or purposes are identical, all should be regarded as belonging to the scope of patent protection that the present invention is confirmed by claims of being submitted to.