CN103546469B - A kind of electric power general data exchange method - Google Patents
A kind of electric power general data exchange method Download PDFInfo
- Publication number
- CN103546469B CN103546469B CN201310505718.1A CN201310505718A CN103546469B CN 103546469 B CN103546469 B CN 103546469B CN 201310505718 A CN201310505718 A CN 201310505718A CN 103546469 B CN103546469 B CN 103546469B
- Authority
- CN
- China
- Prior art keywords
- data
- file
- conversion
- data source
- source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of electric power general data exchange method, including: switching plane server obtains the conversion stipulations of user setup;The transfer link between data source and data purpose is set up according to described conversion stipulations;The metadata in data source is extracted according to described conversion stipulations;File is generated according to described conversion stipulations and metadata;Judge whether described data source and data purpose are positioned at same system;When being judged as NO, according to the transfer link between described data source and data purpose, described file is passed through isolating device by File Transfer Protocol and carries out horizontal data conversion, so that described file is changed to data purpose by data source;When being judged as YES, according to the transfer link between described data source and data purpose, described file is passed through internet by File Transfer Protocol and carries out longitudinal data conversion, so that described file is changed to data purpose by data source.Use the present invention, changed by transverse direction and longitudinal direction data, it is achieved sharing and management of data, improve data user rate.
Description
Technical field
The present invention relates to Data Interchange Technology field, particularly relate to a kind of electric power general data exchange method.
Background technology
Enterprise pursues always and makes great efforts to surmount, pursue being outstanding, and along with constantly expansion, increasing of professional department and the developing rapidly of computer technology of scope of the enterprise, the dedicated application system set up in enterprise gets more and more, and data accumulation also reaches surprising stage.
Meanwhile, integrated with in engineering practice at current project, it is frequently encountered by the data switching requirement of heterogeneous system.Particularly in power industry, between each system, the demand of the data exchange of different models, different storage mode is more.
In the face of so many data, how by these data collection and uniform disposal, and be eventually converted into effective information unified externally issue and share become the problem that current numerous enterprises primarily solves.Therefore, it is badly in need of the platform of one general data exchange of exploitation, for each system, to reduce the overlapping development in class likelihood data switching requirement of other project, realize data exchange and the circulation of each dedicated application system, each inter-system data utilization rate can be greatly improved, contribute to the efficiency in each specialty, all departments' raising production, management and decision process.
Summary of the invention
The technical problem to be solved is, it is provided that a kind of electric power general data exchange method, can realize the synchronization of data, share.
In order to solve above-mentioned technical problem, the invention provides a kind of electric power general data exchange method, including: switching plane server obtains the conversion stipulations of user setup, and described conversion stipulations include data source information, data purpose information, convert task;The transfer link between data source and data purpose is set up according to described conversion stipulations;The metadata in data source is extracted according to described conversion stipulations;File is generated according to described conversion stipulations and metadata;Judge whether described data source and data purpose are positioned at same system;If data source and data purpose are positioned at different system, according to the transfer link between described data source and data purpose, described file are passed through isolating device by File Transfer Protocol and carries out horizontal data conversion, so that described file is changed to data purpose by data source;If data source and data purpose are positioned at same system, according to the transfer link between described data source and data purpose, described file are passed through internet by File Transfer Protocol and carries out longitudinal data conversion, so that described file is changed to data purpose by data source.
As the improvement of such scheme, described data source information includes Source Type, source position, source attribute;Described data purpose information includes purpose type, destination locations, purpose attribute.
Improvement as such scheme, described file is passed through internet by File Transfer Protocol carry out the method for longitudinal data conversion and include: if isolation passes through software and switching plane server distribution at same node, described file is transmitted to assigned catalogue by described switching plane server, and described isolation is passed through software and the file in described assigned catalogue is transformed into by File Transfer Protocol the another side of isolating device;If isolation passes through software and switching plane server not at same node, described file is transferred to described isolation and passes through the ftp server corresponding to software by described switching plane server, and described isolation is passed through software and the file in described ftp server is transformed into by File Transfer Protocol the another side of isolating device.
As the improvement of such scheme, described switching plane server translate the file into isolation pass through the ftp server corresponding to software before, also include: described switching plane pre-sets described isolation and passes through the IP address of the ftp server corresponding to software.
As the improvement of such scheme, described file includes header file and data file, and described header file is conversion stipulations, and described data file is metadata.
Implement the present invention, have the advantages that
Switching plane server obtains the conversion stipulations of user setup, and processes according to conversion stipulations.Therefore, available conversion stipulations arrange data source information, data purpose information and convert task, it is achieved in the flexible configuration of data translation tasks and stable operation, beneficially enterprise, demand data is met and the raising of production management level by each specialty.
Changed by the horizontal data between system, the transmission of non-publicly-owned data between each system can be realized, thus finally realize the overall sharing between each application system of enterprises and management, while improving data user rate, this advantage is converted into enterprise competitive advantage, the corporate strategy target pursued being outstanding with realization.
Changed by the longitudinal data of internal system, the synchronization of feasible system internal data, file, figure etc..
File Transfer Protocol is utilized to pass through the isolating device in internet or power industry, realize the database data conversion to file, file to database, database to database, file to file, can process without further by any kind of file of flexible operating, simple and convenient.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of electric power general data exchange method of the present invention;
Fig. 2 is horizontal in a kind of electric power general data exchange method of the present invention, the schematic diagram of longitudinal data conversion.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 is the first embodiment flow chart of a kind of electric power general data exchange method of the present invention, including:
S101, switching plane server obtains the conversion stipulations of user setup.
It should be noted that user can arrange conversion stipulations according to actual conditions, it is achieved data switching task flexible configuration and stable operation.
Described conversion stipulations include data source information, data purpose information, convert task.Described data source information is for limiting the area of origin of exchange metadata;Described data purpose information is for limiting the destination of exchange metadata;Metadata is processed to data purpose by data source conversion by described convert task for limiting, and such as, adds metadata, subtracts, multiplication and division, adds, updates, after deletion etc. operates, then metadata proceeds to data purpose.
More preferably, described data source information includes that Source Type, source position, source attribute, described data purpose information include purpose type, destination locations, purpose attribute.
Wherein, described Source Type and purpose type can be database, the local file of deposit, file server, therefore, after conversion, can realize the database data exchange to file, file to database, database to database, file to file.
Described source attribute and purpose attribute can include machine name (or IP address), port, user name, password, authority.It should be noted that different data sources can have different extraction metadata institute necessary or optional source attributes;Correspondingly, different data purposes also has different purpose attributes.Different data sources can have different extraction metadata institute necessary or optional source attributes.Such as, Source Type is the data source of database, and source attribute should include the machine name (or IP address) at database place, port, user name, password, the database-name etc. of use.
S102, sets up the transfer link between data source and data purpose according to described conversion stipulations.
It should be noted that switching plane server sets up the transfer link between data source and data purpose according to the data source information in conversion stipulations, data purpose information.
S103, extracts the metadata in data source according to described conversion stipulations.
It should be noted that switching plane server extracts the metadata in data source according to the data source information in conversion stipulations.
S104, generates file according to described conversion stipulations and metadata.
More preferably, described file includes header file and data file, and described header file is conversion stipulations, and described data file is metadata.
It should be noted that data file is added on after header file.When Source Type and when being database of purpose type, i.e. carry out database to database data change in the case of, switching plane server can directly resolve without file is carried out extra configuration, and the metadata in data file writes the database of data purpose.
S105, it is judged that whether described data source and data purpose are positioned at same system.
S106, if data source and data purpose are positioned at different system, according to the transfer link between described data source and data purpose, pass through isolating device by described file by File Transfer Protocol and carries out horizontal data conversion, to be changed to data purpose by data source by described file.
By the conversion to the data source between different system Yu data purpose, the overall sharing between each application system of enterprises and management can be realized, improve data user rate.
S107, if data source and data purpose are positioned at same system, according to the transfer link between described data source and data purpose, pass through internet by described file by File Transfer Protocol and carries out longitudinal data conversion, to be changed to data purpose by data source by described file.
By the conversion to intrasystem data source Yu data purpose, the synchronization of data, file, figure etc. in each system can be realized.
If as in figure 2 it is shown, data source is positioned at A sound zone system, when data purpose is positioned at B sound zone system, i.e. data source and data purpose is positioned at different system.Now, according to the transfer link between the data source pre-build and data purpose, described file is passed through isolating device by File Transfer Protocol and carries out horizontal data conversion, it is achieved file is changed to data purpose by data source.
If data source and data purpose are respectively positioned on A sound zone system, and, data source is in net and adjusts, and data purpose is in province and adjusts.Now, according to the transfer link between the data source pre-build and data purpose, described file is passed through internet by File Transfer Protocol and carries out longitudinal data conversion, it is achieved file is changed to data purpose by data source.
More preferably, file is passed through internet by File Transfer Protocol and carries out the method for longitudinal data conversion and include by described switching plane server:
If switching plane server and isolation pass through software distribution at same node, described file is transmitted to assigned catalogue by described switching plane server, described isolation is passed through software and the file in described assigned catalogue is transformed into by File Transfer Protocol the another side of isolating device, it is achieved file is changed to data purpose by data source.
If switching plane server and isolation pass through software not when same node, need to pass through in described isolation on the node of software, to arrange ftp server.Described file is transferred to described isolation and passes through the ftp server corresponding to software by described switching plane server, described isolation is passed through software and the file in described ftp server is transformed into by File Transfer Protocol the another side of isolating device, it is achieved file is changed to data purpose by data source.
It should be noted that, before the another side that the file in described ftp server is transformed into isolating device by software by File Transfer Protocol is passed through in described isolation, switching plane server need to pre-set isolation and pass through software and need to utilize which isolating device to translate the file into another side.
More preferably, described switching plane server translate the file into isolation pass through the ftp server corresponding to software before, also include: described switching plane pre-sets described isolation and passes through the IP address of the ftp server corresponding to software, it is achieved the one_to_one corresponding of software and ftp server is passed through in isolation.
As from the foregoing, switching plane server obtains the conversion stipulations of user setup, and set up the transfer link between data source and data purpose, the metadata extracted in data source according to described conversion stipulations, generate file, therefore, user can utilize conversion stipulations to arrange data source information, data purpose information and convert task, realizing flexible configuration and the stable operation of data translation tasks, beneficially in enterprise, demand data is met and the raising of production management level by each specialty.
Simultaneously, switching plane server needs to judge whether described data source and data purpose are positioned at same system, file is respectively processed, i.e. pass through isolating device by File Transfer Protocol and carry out horizontal data conversion, pass through internet by File Transfer Protocol and carry out longitudinal data conversion, realize database to file, file is to database, database is to database, file is changed to the data of file, and realize the transmission of non-publicly-owned data between each system, thus finally realize the overall sharing between each application system of enterprises and management, while improving data user rate, this advantage is converted into enterprise competitive advantage, the corporate strategy target pursued being outstanding with realization.
The above is the preferred embodiment of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.
Claims (4)
1. an electric power general data exchange method, it is characterised in that described electric power general data exchange method includes:
Switching plane server obtains the conversion stipulations of user setup, and described conversion stipulations include data source information, data purpose information, convert task;
The transfer link between data source and data purpose is set up according to described conversion stipulations;
The metadata in data source is extracted according to described conversion stipulations;
File is generated according to described conversion stipulations and metadata;
Judge whether described data source and data purpose are positioned at same system;
If data source and data purpose are positioned at different system, according to the transfer link between described data source and data purpose, described file are passed through isolating device by File Transfer Protocol and carries out horizontal data conversion, so that described file is changed to data purpose by data source;
If data source and data purpose are positioned at same system, according to the transfer link between described data source and data purpose, described file are passed through internet by File Transfer Protocol and carries out longitudinal data conversion, so that described file is changed to data purpose by data source;
Described file is passed through internet by File Transfer Protocol carry out the method for longitudinal data conversion and include: if isolation passes through software and switching plane server distribution at same node, described file is transmitted to assigned catalogue by described switching plane server, and described isolation is passed through software and the file in described assigned catalogue is transformed into by File Transfer Protocol the another side of isolating device;If isolation passes through software and switching plane server not at same node, described file is transferred to described isolation and passes through the ftp server corresponding to software by described switching plane server, and described isolation is passed through software and the file in described ftp server is transformed into by File Transfer Protocol the another side of isolating device.
2. electric power general data exchange method as claimed in claim 1, it is characterised in that
Described data source information includes Source Type, source position, source attribute;
Described data purpose information includes purpose type, destination locations, purpose attribute.
3. electric power general data exchange method as claimed in claim 1, it is characterised in that described switching plane server translates the file into before isolation passes through the ftp server corresponding to software, also includes:
Described switching plane pre-sets described isolation and passes through the IP address of the ftp server corresponding to software.
4. electric power general data exchange method as claimed in claim 1, it is characterised in that described file includes header file and data file, described header file is conversion stipulations, and described data file is metadata.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310505718.1A CN103546469B (en) | 2013-10-24 | 2013-10-24 | A kind of electric power general data exchange method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310505718.1A CN103546469B (en) | 2013-10-24 | 2013-10-24 | A kind of electric power general data exchange method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103546469A CN103546469A (en) | 2014-01-29 |
CN103546469B true CN103546469B (en) | 2016-08-31 |
Family
ID=49969517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310505718.1A Active CN103546469B (en) | 2013-10-24 | 2013-10-24 | A kind of electric power general data exchange method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103546469B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528880B (en) * | 2016-12-14 | 2019-12-10 | 云南电网有限责任公司电力科学研究院 | Method and system for regulating data structure format of multi-source power business data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751435A (en) * | 2008-12-17 | 2010-06-23 | 北京市电力公司 | Data exchanging system and method for electric power system |
CN101753530A (en) * | 2008-12-18 | 2010-06-23 | 宝山钢铁股份有限公司 | Data transmission method and device for traversing physical unidirectional isolation device of power network |
CN103259703A (en) * | 2013-03-15 | 2013-08-21 | 山西省电力公司大同供电分公司 | Real-time bus across safety zone communication method suitable for power industries |
-
2013
- 2013-10-24 CN CN201310505718.1A patent/CN103546469B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751435A (en) * | 2008-12-17 | 2010-06-23 | 北京市电力公司 | Data exchanging system and method for electric power system |
CN101753530A (en) * | 2008-12-18 | 2010-06-23 | 宝山钢铁股份有限公司 | Data transmission method and device for traversing physical unidirectional isolation device of power network |
CN103259703A (en) * | 2013-03-15 | 2013-08-21 | 山西省电力公司大同供电分公司 | Real-time bus across safety zone communication method suitable for power industries |
Non-Patent Citations (2)
Title |
---|
基于SOA的电力应用自动化***一体化数据交换平台;喻太峰;《中国优秀硕士学位论文全文数据库工程科技II辑》;20110415;正文第19页第1段至第60页最后一段,图3-13、图5-9 * |
异构数据交换***的设计与实现;李楠;《中国优秀硕士学位论文全文数据库信息科技辑》;20120515;正文第12页倒数第1行至第47页倒数第1段 * |
Also Published As
Publication number | Publication date |
---|---|
CN103546469A (en) | 2014-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112270550B (en) | New energy power tracing method and system based on blockchain | |
CN102780641B (en) | Flow table aging method and device of quick forwarding engine, and switch | |
CN104184664B (en) | Route forwarding table items generation method and device | |
CN105471744A (en) | Virtual machine migration method and device | |
CN106657174A (en) | Data synchronizing and updating methods and data synchronizing and updating devices | |
ATE541384T1 (en) | INTERACTIVE MPLS TRAFFIC PROCESSING | |
CN102404387B (en) | A kind of for carrying out the method for synchronizing information, device and equipment with other nodes | |
CN103780467B (en) | communication connection method, communication device and communication system | |
CN103731349A (en) | Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device | |
CN106610927B (en) | Translation template-based Internet article construction method and system | |
CN110764918A (en) | Method for managing main nodes in container cluster | |
CN108259224A (en) | The method and device of homogeneity configuration under SDN and traditional network coexistance model | |
CN103546469B (en) | A kind of electric power general data exchange method | |
CN104301229A (en) | Data packet forwarding method and device and routing table generating method and device. | |
CN105765922B (en) | Flow entry treating method and apparatus | |
CN102148702B (en) | Method for managing network by utilizing network configuration protocol | |
CN105763444A (en) | Route synchronization method and route synchronization device | |
CN107820610B (en) | A kind of implementation method and its device of Multi-stage electronic map | |
CN104038421A (en) | Method and device for forwarding messages in VPN (virtual private network) | |
CN103631998A (en) | Power distribution network modeling method for local topology changes | |
CN101335610B (en) | ARP synchronization method in high-side Ethernet network switch | |
CN105302276A (en) | Design method for limiting power consumption of SmartRack whole cabinet | |
CN103532758B (en) | Be applicable to the configuration processing method of transmission of future generation, data equipment fusion | |
CN103117883B (en) | A kind of packet equipment running status synchronous method | |
CN115630122A (en) | Data synchronization method and device, storage medium and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |