CN202856759U - Communication management unit based on integrated implementation of extensible markup language and dynamic library - Google Patents

Communication management unit based on integrated implementation of extensible markup language and dynamic library Download PDF

Info

Publication number
CN202856759U
CN202856759U CN 201220216663 CN201220216663U CN202856759U CN 202856759 U CN202856759 U CN 202856759U CN 201220216663 CN201220216663 CN 201220216663 CN 201220216663 U CN201220216663 U CN 201220216663U CN 202856759 U CN202856759 U CN 202856759U
Authority
CN
China
Prior art keywords
unit
serial
communication
stipulations
ethernet
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.)
Expired - Fee Related
Application number
CN 201220216663
Other languages
Chinese (zh)
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.)
CEIEC ELECTRIC TECHNOLOGY Inc
Original Assignee
CEIEC ELECTRIC TECHNOLOGY Inc
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 CEIEC ELECTRIC TECHNOLOGY Inc filed Critical CEIEC ELECTRIC TECHNOLOGY Inc
Priority to CN 201220216663 priority Critical patent/CN202856759U/en
Application granted granted Critical
Publication of CN202856759U publication Critical patent/CN202856759U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

Disclosed is a communication management unit based on integrated implementation of extensible markup language (XML) and dynamic library. Hardware comprises a CPU unit, a RAM memory cell, a Flash memory cell, a serial cell, an Ethernet unit, a GPS unit and a power module. The above units are interconnected through internal bus. The RAM memory cell and the Flash memory cell are bulk-storage memory devices. The serial cell comprises 16 serial communication interfaces. RS232/RS485 operating mode of the serial interfaces is changed through a maintenance and parameter configuration module. The same serial communication interface accesses devices with the same communication protocol to collect data. The Ethernet unit has two Ethernet controllers and is also provided with a work indicating lamp unit for displaying working conditions of the Ethernet unit and the serial cell. The Ethernet unit directly communicates with a master station for data transmission. By the adoption of the communication management unit, communication protocol upgrade is supported or new types of communication protocol and a third-party private communication protocol are increased, debugging efficiency is obviously raised, and administration costs are significantly saved.

Description

A kind of based on extend markup language and the comprehensive communication processor of realizing of dynamic base
Technical field
The utility model relates to power communication, particularly relates 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, because understanding and the implementation of different manufacturers are inconsistent, even the privately owned communication protocol of introducing producer, different manufacturers equipment and system main website in the communication system is difficult to realize information sharing and data interaction, causes the difficulty of the system integration and cost to improve.Existing solution is to install the communication processor of the various devices accesses of layer as front end processor, realized the access of various complex communication stipulations by communication processor, the device of different communication stipulations to the access powerline network carries out data acquisition, data are gathered rear data interaction and order with certain communication protocol realization commonly used, that meet standard criterion and main website of system issue, 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 of this producer of access mostly, and software adopts the communication protocol of this producer or standard, and configuration file is binary format, 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, generation can and include for the developer's accordingly register access mode and default value, register access code and install the embedded equipment driver stake code of 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 to be write in advance, can not add flexibly library file according to using needs, and limited by platform and system performance, and its function expansibility is not enough.
Summary of the invention
Technical problem to be solved in the utility model 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 utility model is solved by the following technical programs.
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 module, above-mentioned unit is interconnected by internal bus.
This characteristics based on extend markup language and the comprehensive communication processor of realizing of dynamic base are:
Described ram memory cell, Flash memory cell are mass storage device, and RAM is the 256M byte, and Flash is the 16M byte;
Described serial unit comprises 16 serial communication interfaces, and the RS232/RS485 mode of operation of serial line interface is by safeguarding and the parameter configuration module change device image data of access same communication stipulations under the same serial communication interface;
Described Ethernet unit has two ethernet controllers, and one of them is the 10M ethernet controller, and another is 10M/100M self adaptation ethernet controller, adopts the input and output mode of standard, directly with the master station communication forwarding data;
Also be provided with the relay indicating light unit that shows Ethernet unit and serial unit operating state, described relay indicating light unit is by internal bus and described CPU element, ram memory cell, Flash memory cell, serial unit, Ethernet unit, GPS unit, and power module is interconnected.
Technical problem of the present utility model is solved by following further technical scheme.
Also comprise internal memory real-time data base functional module, gather the stipulations functional module, transmit stipulations functional module and maintenance management functional module, application programming interface (Application Programming Interface in operating system and the dynamic link libraries file existing and certainly expansion thereof, initialism is API), and the bottom layer driving module.
Described internal memory real-time data base functional module is directly accessed with described collection stipulations functional module and forwarding stipulations functional module respectively mutually by the API that is included in the operating system dynamic link libraries file existing and that certainly expand, described internal memory real-time data base functional module, the stipulations function code of described collection stipulations functional module and described forwarding stipulations functional module, library file form with .so suffix form is deposited, dynamic load is in internal memory during operation, add new stipulations dynamic library file by described maintenance management functional module, therefore, increase new stipulations support, needn't recompilate software.
Described maintenance management functional module and described collection stipulations functional module, forwarding stipulations functional module are mutually accessed and are called by configuration parameter and described API.
Described collection stipulations functional module is mutually accessed and is called with the protection that gathers side or measuring and controlling equipment (hereinafter to be referred as access device) by described API.
Described forwarding stipulations functional module is mutually accessed and is called by described API and the scheduling station system (hereinafter to be referred as main station system) that transmits side.
Described 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, quantity according to described access device, the data structure of various real time datas, the real time data heap(ed) capacity of described access device determines required storage size, the suitable memory headroom of dynamic assignment from shared drive, memory space as the internal memory real-time data base, for different real time data types, the internal memory real-time data base is carried out initialization, and provide the accessing operation interface function of external reference real time data, realize the inquiry of real time data, access facility is used for coordinating the collection of the timely ordered pair of non-order etc. and transmits stipulations.In internal memory the access real time data and with specific rule according to pointer addressing, therefore, the real time data access efficiency is higher.
Described collection stipulations functional module is used for all being packaged into independently the realization data acquisition of communicating by letter with the access device of diversified described collection side of the collection stipulations of dynamic library file by multiple, and deposits the real time data that collects in described internal memory real-time data base; The order of also sending for the scheduling station system that transmits described forwarding side realizes the straighforward operation to the access device of described collection side.Described real time data comprises telemetry, remote signalling data and distant arteries and veins data.
Described telemetry comprises phase voltage, phase current, line voltage, active power and reactive power.
Described remote signalling data comprises alarm status, the position of the switch and input state amount, and described input state amount comprises valve location.
Described 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, the realization data acquisition of communicating by letter with corresponding access device, and deposit the real time data that collects in described internal memory real-time data base.
Described forwarding stipulations functional module is used for inquiring real time data to be transmitted from described internal memory real-time data base, and all be packaged into the forwarding stipulations regulation message format of dynamic library file independently and the scheduling station system of described forwarding side communicates the data retransmission that the scheduling station system command of realizing data upload and receiving described forwarding side is carried out corresponding operating according to multiple, the scheduling station system command of described forwarding side is given the collection stipulations by specific interface with command routing.
After operating system successfully starts, the forwarding 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 forwarding stipulations code of appointment, obtain the scheduling station system that real time data is transmitted to described forwarding side from the internal memory real-time data base, when there is guidance command in the scheduling station system of described forwarding side, pass to the collection stipulations by specific interface.
Forwarding stipulations commonly used comprise IEC60870-5-101, IEC60870-5-104.
Described maintenance management functional module is used for configuration, backup communication interface parameter, treats forwarding data and supports 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 corresponding communication protocol according to the communication protocol type of binding and drives code.
It is IP address, gateway and mask that network interface arranges 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 correspondence.
Text with the XML form behind described 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 utilize the various parameters of special maintenance management software off-line arrangement that provide at described PC, the text of described PC being gone up the XML form that generates imports this communication processor.
Described stipulations dynamic base is used for realizing 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.
Described configuration parameter comprises messaging parameter, communication protocol drives parameter, the stipulations measuring point table of access device, transmit forwarding measuring point table corresponding to storehouse, 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, described driving code is corresponding with the communication protocol type of binding, to realize respectively data acquisition function and data retransmission function, and only need to carry out simple online or off-line arrangement, by safeguarding measuring point that need to select forwarding with parameter configuration module, be ready to the communication protocol measuring point table description document of the device of access communications supervisor, do not need too complicated operation, can effectively solve the complicated problem of the field configuration, increase and decrease flexibly dynamic library file according to using needs, realize the transplanting of communication protocol function, reduce and expansion, 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, develop privately owned communication protocol, by safeguard upload dynamic library file with parameter configuration module after, increase the support to the privately owned communication protocol of third party.Obviously improve debugging efficiency, significantly save management cost.
Described 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 described vxWorks operating system is safeguarded Multitask Environment, for the collaborative work between multitask provides a large amount of infrastructure, it is the basis of system high efficiency, stable operation.
Described API comprises the existing API of vxWorks operating system and the API that certainly expands.
Described existing API comprises multiple task management, Clock management, semaphore management, ICP/IP protocol and udp protocol.
Described API from expansion comprises serial communication, network interface communication, internal memory real time database management and common function function.
Described bottom layer driving module is the peripheral hardware facility for CPU, described peripheral hardware comprises that FLASH storage, external RAM storage, serial communication communicate by letter with network interface, with assembler language or C language compilation, have higher operational efficiency, be the necessary complement to operating system.
Technical problem of the present utility model is solved by following further technical scheme.
Described stipulations dynamic base comprises forwarded upstream stipulations and descending collection stipulations.
Described forwarded upstream stipulations comprise based on the communication protocol of serial port with based on the communication protocol of Ethernet, the forwarding data measuring point information for the treatment of that needs the text of configuration XML-based to describe, and provide to the scheduling station system of described forwarding side and to transmit the measuring point table.
The described forwarding data measuring point information for the treatment of, comprise each measuring point sequence number, title, description, coefficient and displacement amplitude, after transmitting the stipulations startup, at first from forwarding data measuring point information corresponding to XML file load, the data of transmitting 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 described forwarding side after the internal memory real-time data base obtains real time data.
Described forwarding stipulations based on serial port comprise the IEC60870-5-101 communication protocol, need to be tied to serial communication interface according to the communication interface configuration parameter, begin communication process with the scheduling station system of described forwarding side.
Described forwarding stipulations based on Ethernet comprise the IEC60870-5-104 communication protocol, only need to create server at this communication processor, port in regulation is intercepted, and when the scheduling station system of described forwarding side has client to connect arrival, namely begins communication process.
Described descending collection stipulations are relevant with described access device, some needs independent development specification Driver Library file, measuring point table template file information according to the text of the employing XML-based of described access device, in when operation collection stipulations Driver Library corresponding in described access device and this communication processor is bound, described collection stipulations comprise the privately owned communication protocol of manufacturer, described measuring point table template file is convenient to revise, test, and the communication protocol edition upgrading.
Described 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 described 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 into after related with measuring point table configuration information again.
Described CPU element is the core of whole communication processor, is used for the operation of other unit of control and the processing of communication protocol.
Described CPU element is 32 PowerPC series processors of Motorola, has very strong disposal ability.
Described ram memory cell, Flash memory cell are mass storage device, and RAM is the 256M byte, can realize large capacity memory database, also provide necessary support for the more devices of access simultaneously; FLASH is the 16M byte, except depositing application program, also is used for depositing configuration file, and these provide reliable guarantee for the operation of CPU fast and stable.
Described serial unit comprises 16 serial communication interfaces, and the RS232/RS485 mode of operation of serial line interface can be by safeguarding and the parameter configuration module change by the software setting.16 serial line interfaces all can be used for data acquisition and data retransmission, determined by the concrete communication protocol type that configures on the described serial line interface, when as data acquisition function, the device of access same communication stipulations under the same serial communication interface, when as the data retransmission function, directly with master station communication.
Described Ethernet unit has two ethernet controllers, and one of them is the 10M ethernet controller, and another is 10M/100M self adaptation ethernet controller, adopts the input and output mode of standard.Two ethernet controllers are mainly used to forwarding datas such as backstage or scheduling.
Described 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, time correction error is less than 0.5s.The input mode of pulse is defaulted as idle contact, can support differential mode or Transistor-Transistor Logic level input by jumper.
Described 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 for showing the operating state of Ethernet unit and serial unit.
The utility model beneficial effect compared with prior art is:
Stipulations function code of the present utility model is deposited with the library file form of .so suffix form, and dynamic load is added new stipulations dynamic library file by the maintenance management functional module during operation in internal memory.The XML formatted file is combined with dynamic library file, configuration parameter is described as data medium with the XML formatted file, realize the logic function of different communication stipulations, and increase and decrease flexibly dynamic library file according to using needs, 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 utility model embodiment;
Fig. 2 is the software block diagram of the utility model embodiment.
Embodiment
Below in conjunction with embodiment and contrast accompanying drawing the utility model is described.
A kind of communication processor based on extend markup language and the comprehensive realization of dynamic base as shown in Figure 1, 2, all considered the requirement of reliability on master-plan and each modular design, 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 module, and the relay indicating light unit that is used for showing Ethernet unit and serial unit operating state, above-mentioned unit is interconnected by 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 for the operation of other unit of control and the processing of communication protocol.
Ram memory cell, Flash memory cell are mass storage device, and RAM is the 256M byte, can realize large capacity memory database, also provide necessary support for the more devices of access simultaneously; FLASH is the 16M byte, except depositing application program, also is used for depositing 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 is by safeguarding and the parameter configuration module change.16 serial line interfaces all can be used for data acquisition and data retransmission, determined by the concrete communication protocol type that configures on the described serial line interface, when as data acquisition function, the device of access same communication stipulations under the same serial communication interface, when as the data retransmission 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 10M/100M self adaptation ethernet controller, adopts the input and output mode of standard.Two ethernet controllers are mainly used to forwarding datas such as backstage or scheduling.
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, time correction error is less than 0.5s.The input mode of pulse is defaulted as idle contact, can support differential mode or Transistor-Transistor Logic level input by jumper.
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 certainly expansion thereof, and bottom layer driving module.
Internal memory real-time data base functional module is directly accessed with collection stipulations functional module and forwarding stipulations functional module respectively mutually by the API that is included in the operating system dynamic link libraries file existing and certainly expansion, 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 in internal memory during operation, add new stipulations dynamic library file by the maintenance management functional module, therefore, 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, quantity according to access device, the data structure of various real time datas, the real time data heap(ed) capacity of access device determines required storage size, the suitable memory headroom of dynamic assignment from shared drive, memory space as the internal memory real-time data base, for different real time data types, the internal memory real-time data base is carried out initialization, and provide the accessing operation interface function of external reference real time data, realize the inquiry of real time data, access facility is used for coordinating the collection of the timely ordered pair of non-order etc. and transmits stipulations.In internal memory the access real time data and with specific rule according to pointer addressing, therefore, the real time data access efficiency is higher.
Gathering the stipulations functional module mutually accesses and calls by API and access device.Gather the stipulations functional module and be used for all being packaged into independently the realization data acquisition of communicating by letter with diversified access device of the collection stipulations of dynamic library file by multiple, and deposit the real time data that collects in the internal memory real-time data base; Also be used for transmitting 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.
Remote signalling data comprises alarm status, the position of the switch and input state amount, and described 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, the realization data acquisition of communicating by letter with corresponding access device, and deposit the real time data that collects in the internal memory real-time data base.
Transmitting the stipulations functional module mutually accesses and calls by 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 communicating the data retransmission of realizing data upload and receiving main station system command execution corresponding operating according to multiple forwarding stipulations regulation message format and the main station system that all is packaged into dynamic library file independently, the main station system order is given the collection stipulations by specific interface with command routing.
After operating system successfully starts, the forwarding 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 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 by specific interface.
Forwarding stipulations commonly used comprise IEC60870-5-101, IEC60870-5-104.
The maintenance management functional module is mutually accessed and is called by configuration parameter and API with collection stipulations functional module, forwarding stipulations functional module.The maintenance management functional module is used for configuration, backup communication interface parameter, treats forwarding data and supports 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 corresponding communication protocol according to the communication protocol type of binding and drives code.
It is IP address, gateway and mask that network interface arranges 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 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 utilize the various parameters of special maintenance management software off-line arrangement that provide at described PC, the text of described 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, it is the basis of system high efficiency, stable operation.
API comprises the existing API of vxWorks operating system and the API that certainly expands.
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 for 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 compilation, has higher operational 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, the forwarding data measuring point information for the treatment of that needs the text of configuration XML-based to describe, and provide to main station system and to transmit the measuring point table.Treat forwarding data measuring point information, comprise each measuring point sequence number, title, description, coefficient and displacement amplitude, after transmitting the stipulations startup, at first from forwarding data measuring point information corresponding to XML file load, the data of transmitting 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 to be tied to serial communication interface according to the communication interface configuration parameter, begin communication process with the scheduling station system of described forwarding side.
Forwarding stipulations based on Ethernet comprise the IEC60870-5-104 communication protocol, only need to create server at this communication processor, intercept at the port of regulation, when main station system has client to connect arrival, namely begin communication process.
Descending collection stipulations are relevant with access device, some needs independent development specification Driver Library file, measuring point table template file information according to the text of the employing XML-based of access device, in when operation collection stipulations Driver Library corresponding in access device and this communication processor is bound, gather the privately owned communication protocol that stipulations comprise 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 into after related with measuring point table configuration information again.
The stipulations dynamic base is used for realizing 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 forwarding measuring point table corresponding to 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, drive code corresponding with the communication protocol type of binding, to realize respectively data acquisition function and data retransmission function.
The course of work of this embodiment comprises entering gathering the stipulations handling process and transmitting the stipulations handling process, and following steps are arranged successively:
Step 1)
After communication processor starts, obtain successively each serial communication port configuration parameter, the communication protocol dynamic base of the described serial communication port of dynamic load institute bindtype is to internal memory, and derivation communication protocol power function interface, then starts the power function that new task is carried out described communication protocol;
Step 2)
If the communication protocol type of described serial communication port binding belongs to the forwarding stipulations, then read communication processor from the corresponding XML configuration file of transmitting the storehouse of described serial communication port and treat forwarding data measuring point table, obtain and treat forwarding data measuring point information, enter and transmit the stipulations handling process;
If the communication protocol type of described serial communication port binding belongs to the collection stipulations, then enter step 3);
Step 3)
According to the device communication id information of all access communications supervisors that configure under the described serial communication port, obtain the type of device corresponding to all devices of access communications supervisor under the described 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 described device from template file, and measuring point information, and at described device registration;
Step 5)
Repeating step 4), after all devices that access under the described serial communication port are finished communication protocol driving registration, just enter the data acquisition flow that gathers stipulations.
The ethernet communication mouth of communication processor only is used for data retransmission.In transmitting storehouse XML configuration file, configure forwarding protocol type, the port numbers of transmitting the storehouse binding, and the IP of distant place main website.
Transmit stipulations and begin to intercept at the port of configuration, when having a distant place to connect to arrive, the IP that connects according to a distant place and listening port number obtain the corresponding library information of transmitting, and load and treat forwarding data measuring point table, obtain and treat forwarding data measuring point information, enter the forward process flow process.
Above content is in conjunction with concrete preferred implementation further detailed description of the utility model, can not assert that implementation of the present utility model is confined to these explanations.For the utility model person of an ordinary skill in the technical field; make without departing from the concept of the premise utility some alternative or obvious modification that are equal to; and performance or purposes are identical, all should be considered as belonging to the scope of patent protection that the utility model is determined by claims of submitting to.

Claims (1)

1. one kind based on the comprehensive communication processor of realizing of extend markup language and dynamic base, hardware comprises CPU element, ram memory cell, Flash memory cell, serial unit, Ethernet unit, GPS unit, and power module, above-mentioned unit is interconnected by internal bus, it is characterized in that:
Described ram memory cell, Flash memory cell are mass storage device, and RAM is the 256M byte, and Flash is the 16M byte;
Described serial unit comprises 16 serial communication interfaces, and the RS232/RS485 mode of operation of serial line interface is by safeguarding and the parameter configuration module change device image data of access same communication stipulations under the same serial communication interface;
Described Ethernet unit has two ethernet controllers, and one of them is the 10M ethernet controller, and another is 10M/100M self adaptation ethernet controller, adopts the input and output mode of standard, directly with the master station communication forwarding data;
Also be provided with the relay indicating light unit that shows Ethernet unit and serial unit operating state, described relay indicating light unit is by internal bus and described CPU element, ram memory cell, Flash memory cell, serial unit, Ethernet unit, GPS unit, and power module is interconnected.
CN 201220216663 2012-05-15 2012-05-15 Communication management unit based on integrated implementation of extensible markup language and dynamic library Expired - Fee Related CN202856759U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220216663 CN202856759U (en) 2012-05-15 2012-05-15 Communication management unit based on integrated implementation of extensible markup language and dynamic library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220216663 CN202856759U (en) 2012-05-15 2012-05-15 Communication management unit based on integrated implementation of extensible markup language and dynamic library

Publications (1)

Publication Number Publication Date
CN202856759U true CN202856759U (en) 2013-04-03

Family

ID=47987903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220216663 Expired - Fee Related CN202856759U (en) 2012-05-15 2012-05-15 Communication management unit based on integrated implementation of extensible markup language and dynamic library

Country Status (1)

Country Link
CN (1) CN202856759U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843762A (en) * 2015-12-22 2016-08-10 武汉理工通宇新源动力有限公司 USB intelligent serial communication system and USB serial communication monitoring method
CN108462684A (en) * 2017-12-20 2018-08-28 山东鲁能智能技术有限公司 A kind of IEC61850 stipulations conversion module and conversion method
CN112583473A (en) * 2020-12-14 2021-03-30 国电南瑞科技股份有限公司 High-protection optical fiber ring network area control unit and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843762A (en) * 2015-12-22 2016-08-10 武汉理工通宇新源动力有限公司 USB intelligent serial communication system and USB serial communication monitoring method
CN105843762B (en) * 2015-12-22 2018-12-11 武汉理工通宇新源动力有限公司 A kind of USB serial ports intelligent communication system and USB serial communication monitor method
CN108462684A (en) * 2017-12-20 2018-08-28 山东鲁能智能技术有限公司 A kind of IEC61850 stipulations conversion module and conversion method
CN112583473A (en) * 2020-12-14 2021-03-30 国电南瑞科技股份有限公司 High-protection optical fiber ring network area control unit and method

Similar Documents

Publication Publication Date Title
CN102685134B (en) Communication managing machine capable of being comprehensively realized based on extensible markup language and dynamic library
CN104135533B (en) A kind of system and method for industrial data transmission
CN104932364A (en) OPC UA conversion apparatus of Modbus communication protocol, and method
CN102833141B (en) CAN (control area network) open slave station system based on DSP (digital signal processor) 28335
CN103455463B (en) A kind of main control unit communication accesses and produces method
MXPA06012390A (en) System and method for efficient configuration in a fixed network automated meter reading system.
CN109525474A (en) A kind of multiplex roles protocol-intelligent converter and conversion method based on Linux platform
CN101963798B (en) Embedded-type rail transit station equipment information collection method
CN102231718B (en) Gateway of communication between Ethernet for control and automation technology (EtherCAT) and CAN, and communication method thereof
CN102025545B (en) Control system for CANopen network
CN102664953B (en) High flux distributed type simulation support platform, system and simulation method based on high level architecture (HLA)
CN105242605A (en) Vehicle internet terminal and configuration method for the same
CN101741770A (en) Ethernet/IP communication gateway and implementation method thereof
CN202856759U (en) Communication management unit based on integrated implementation of extensible markup language and dynamic library
CN102147612A (en) Wireless sensor network data acquisition system based on 32-bit micro-processor
CN113028603A (en) Equipment monitoring system applied to central air-conditioning system
CN209402537U (en) Internet of Things Multifunctional gateway
CN102809957A (en) Systems and methods for identifying foundation fieldbus linking devices
CN108345558B (en) RS485 centralized configuration unit supporting multiple protocols
CN105245424B (en) The method that PROFIBUS DP and PROFINET communication network are interconnected by shared memory
CN105791240A (en) Multichannel and multiprotocol channel management method and system
CN102854862B (en) Functional block with FF (foundation fieldbus) interface
CN209105202U (en) A kind of multiplex roles protocol-intelligent converter based on Linux platform
CN102014127B (en) IEC61850 object-oriented online communication system and legacy system migration method
CN103916427B (en) First mobile communication terminal and communication means, Internet of things system

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130403

Termination date: 20150515

EXPY Termination of patent right or utility model