CN110557431A - Fan data uploading system and method based on JAVA language - Google Patents
Fan data uploading system and method based on JAVA language Download PDFInfo
- Publication number
- CN110557431A CN110557431A CN201910679667.1A CN201910679667A CN110557431A CN 110557431 A CN110557431 A CN 110557431A CN 201910679667 A CN201910679667 A CN 201910679667A CN 110557431 A CN110557431 A CN 110557431A
- Authority
- CN
- China
- Prior art keywords
- data
- interface machine
- receiving
- fan
- time
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000002955 isolation Methods 0.000 claims abstract description 15
- 238000012544 monitoring process Methods 0.000 claims abstract description 12
- 239000000284 extract Substances 0.000 claims abstract description 4
- 238000011161 development Methods 0.000 claims description 7
- 238000013480 data collection Methods 0.000 claims 1
- 238000011156 evaluation Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Abstract
The invention provides a system and a method for uploading fan data based on JAVA language, wherein the method comprises the following steps: firewall configuration, setting access authority; the acquisition interface machine is configured, and the acquisition interface machine reads the fan data of the fan monitoring system and sends the fan data to the receiving interface machine; a positive isolation network gate is configured between the acquisition interface machine and the receiving interface machine, and a strategy is added; the receiving interface machine is provided with a monitoring program, monitors a 5445 port, records the time at the moment as initial time, extracts the data of the fans from the acquisition interface machine after receiving UDP packet data sent by the acquisition interface machine, accumulates the data and accumulates the receiving times, when the difference between the time of receiving the UDP packet and the initial time exceeds set time, divides the accumulated value of the fan data by the receiving times, calculates the average data of each fan within the set time, sends the average data to a benchmarking website, clears the accumulated value and the accumulated times of the fan data after sending is finished, takes the time of receiving the UDP packet as the initial time, and repeats the previous work.
Description
Technical Field
The invention belongs to the technical field of data transmission, and particularly relates to a system and a method for uploading fan data based on a JAVA language.
Background
As the China Power equipment management Association issues the ' notice about developing the standard evaluation activities of the China wind power plant equipment management ', the file aims to show the development achievement of the China wind power industry, summarize and popularize advanced wind power equipment management standards and management experiences, establish industry standard poles, create a good atmosphere of ' creating the best before you ' for the sake of priority ', better play the main channel role of the China Power equipment management Association in the wind power equipment management, jointly promote and improve the development level of the wind power industry, under the condition of mature conditions of all aspects, the China wind power plant standard evaluation platform is started and built in the next half year of 2018, the standard evaluation activities of the wind power plant equipment management are developed, the association requires each unit to participate and give great support, the uploading work of standard data is actively completed, new software needs to be developed to complete the work, but at present, in the wind power plant, the number of people who have software development technology is very few, the work is almost impossible to be completed by self-strength, a special software company needs to be found for doing the work on site, and a small software development expense and a later maintenance expense are caused, so that the enterprise cost is not increased.
Disclosure of Invention
In order to solve the problems in the background art, the invention provides a system and a method for uploading fan data based on a JAVA language.
The technical scheme of the invention is as follows: a wind turbine data uploading method based on a JAVA language comprises the following steps:
1) Firewall configuration, namely selecting Java language and Eclipse tool development, operating modbus protocol by using jamod tool class, setting access authority and only allowing a program to access a specific IP address and a specific port;
2) The acquisition interface machine is configured, penetrates through a firewall, reads fan data of a fan monitoring system by accessing a specific IP and a specific port, sends the fan data to a receiving interface machine in a UDP (user datagram protocol) packet mode, waits for 5 seconds, and repeats the previous work;
3) Configuring a forward isolation network gate between the acquisition interface machine and the receiving interface machine, adding a strategy, and transmitting the UDP data packets to the receiving interface machine in a one-way mode through the forward isolation network gate only if source addresses, destination addresses and destination ports meet requirements;
4) The receiving interface machine is provided with a monitoring program, monitors a 5445 port, records the time at the moment as initial time, extracts the data of the fans from the acquisition interface machine after receiving UDP packet data sent by the acquisition interface machine, accumulates the data, accumulates the receiving times, divides the accumulated value of the fan data by the receiving times when the difference between the time of receiving the UDP packet at a certain time and the initial time exceeds set time, calculates the average data of each fan within the set time, and then sends the average data to a benchmarking website. And after the transmission is finished, resetting the accumulated value and the accumulated times of the fan data, taking the time of receiving the UDP packet as initial time, and repeating the previous work.
further, the access authority configured by the firewall is that only the program on the acquisition interface machine with the IP address of 10.75.4.21 is allowed to access the 7588 port of the modbus slave server with the IP address of 10.75.4.22, and no setting needs to be added, because the program which originally produces the real-time data acquisition system on the acquisition interface machine accesses the 7588 port of the modbus slave server.
further, the configuration of the collection interface machine comprises the steps of accessing 7588 port of a monitoring system modbus slave server of the fan, reading data of the fan, sending the data to 5445 port of a receiving interface machine with an IP address of 172.16.100.55, waiting for 5 seconds, and restarting the previous work.
Further, the policy of the configuration of the forward isolation gatekeeper includes allowing UDP packets with source address 172.16.100.54, destination address 172.16.100.55 and destination port 5445 to pass through.
furthermore, a network port of the receiving interface machine is accessed to a local area network, so that the receiving interface machine can access the Internet.
further, the fan data includes fan speed and power.
further, the set time is 10 min.
A JAVA language-based blower data uploading system comprises a blower monitoring system, a firewall, a collection interface machine, a forward isolation network gate and a receiving interface machine, wherein the receiving interface machine comprises a destination port and a local area network port, the collection interface machine penetrates through the firewall to extract target data in the blower monitoring system and transmits the target data to the destination port of the receiving interface machine through the forward isolation network gate in a UDP packet mode, the receiving interface machine is provided with a monitoring program to monitor 5445 ports and record the time as initial time, when the receiving interface machine receives UDP packet data, the data of a blower is extracted from the UDP packet data and accumulated, the receiving times are accumulated, when the difference between the time of receiving the UDP packet and the initial time exceeds the set time, the set time is 10 minutes, the accumulated value of the blower data is divided by the receiving times, and the average data of each blower in 10 minutes is calculated, and then sending the data to a benchmarking website, clearing the accumulated value and the accumulated times of the fan data after the sending is finished, taking the time of receiving the UDP packet as initial time, and repeating the previous work to realize the automatic continuous uploading of the benchmarking data.
The invention has the advantages that: the invention utilizes Eclipse tool development, adopts java language to compile, Eclipse is a free tool, java language is cross-platform, developed software portability is strong, the current server environment is win7, if system transformation is involved in future, the operating system is changed into Linux, the operating system can be operated, not only can the automatic continuous uploading of standard data be perfectly realized, but also guarantee is provided for smooth development of standard work of a fan, and huge software development and later maintenance cost is saved for a company.
Drawings
Fig. 1 is a network topology diagram of the present invention.
Detailed Description
The present invention will now be described more fully hereinafter with reference to the accompanying drawings, in which a person skilled in the art can, without any creative effort, fully implement the present invention.
The specific implementation manner of the present invention is as follows, and as shown in fig. 1, a method for uploading blower data based on JAVA language includes:
1) the firewall configuration, namely selecting Java language and Eclipse tools for development, operating modbus protocol by using a jamod tool class, setting access authority and only allowing a program to access a specific IP address and port, wherein the access authority configured by the firewall is that only the program on the acquisition interface machine with the IP address of 10.75.4.21 is allowed to access 7588 port of the modbus slave server with the IP address of 10.75.4.22, and no setting is required to be added, because the program originally producing the real-time data acquisition system on the acquisition interface machine accesses 7588 port of the modbus slave server;
2) The method comprises the steps that configuration of an acquisition interface machine is achieved, the acquisition interface machine accesses a 7588 port of a Modbus slave server of a reading fan monitoring system through a firewall, reads data of a fan, sends the data to a 5445 port of a receiving interface machine with an IP address of 172.16.100.55, waits for 5 seconds, and resumes previous work;
3) configuring a forward isolation gateway between an acquisition interface machine and a receiving interface machine, adding a strategy, enabling data of a source address, a destination address and a destination port which meet requirements to pass through in a UDP packet mode and transmit the data to the destination port of the receiving interface machine, wherein a program monitoring port of the receiving interface machine is 5445, and the strategy configured by the forward isolation gateway comprises allowing UDP data packets with the source address of 172.16.100.54, the destination address of 172.16.100.55 and the destination port of 5445 to pass through;
4) the receiving interface machine is provided with a monitoring program, monitors a 5445 port, records the time at the moment as initial time, extracts the data of the fans from the collecting interface machine after receiving UDP packet data sent by the collecting interface machine, accumulates the data and accumulates the receiving times, when the difference between the time of receiving the UDP packet and the initial time exceeds set time, divides the accumulated value of the fan data by the receiving times, calculates the average data of each fan within the set time, then sends the average data to a benchmarking website, after the sending is finished, clears the accumulated value and the accumulated times of the fan data, uses the time of receiving the UDP packet as the initial time, and repeats the previous work.
Furthermore, a network port of the receiving interface machine is accessed to a local area network, so that the receiving interface machine can access the internet.
Further, the fan data includes fan speed and power.
Further, the set time is 10 min.
A JAVA language-based blower data uploading system comprises a blower monitoring system, a firewall, a collection interface machine, a forward isolation network gate and a receiving interface machine, wherein the receiving interface machine comprises a destination port and a local area network port, the collection interface machine penetrates through the firewall to extract target data in the blower monitoring system and transmits the target data to the destination port of the receiving interface machine through the forward isolation network gate in a UDP packet mode, the receiving interface machine is provided with a monitoring program to monitor 5445 ports and record the time as initial time, when the receiving interface machine receives UDP packet data, the data of a blower is extracted from the UDP packet data and accumulated, the receiving times are accumulated, when the difference between the time of receiving the UDP packet and the initial time exceeds the set time, the set time is 10 minutes, the accumulated value of the blower data is divided by the receiving times, and the average data of each blower in 10 minutes is calculated, and then sending the data to a benchmarking website, clearing the accumulated value and the accumulated times of the fan data after the sending is finished, taking the time of receiving the UDP packet as initial time, and repeating the previous work to realize the automatic continuous uploading of the benchmarking data.
While the preferred embodiments of the invention have been described, it is to be understood that the invention is not limited to the precise embodiments described, and that equipment and structures not described in detail are understood to be practiced as commonly known in the art; any simple modification, equivalent change and modification of the above embodiments according to the technical essence of the present invention by those skilled in the art can be made without departing from the technical scope of the present invention, and still fall within the protection scope of the technical solution of the present invention.
Claims (8)
1. a fan data uploading method based on a JAVA language is characterized by comprising the following steps:
1) Firewall configuration, namely selecting Java language and Eclipse tool development, operating modbus protocol by using jamod tool class, setting access authority and only allowing a program to access a specific IP address and a specific port;
2) The acquisition interface machine is configured, penetrates through a firewall, reads fan data of a fan monitoring system by accessing a specific IP and a specific port, sends the fan data to a receiving interface machine in a UDP (user datagram protocol) packet mode, waits for 5 seconds, and repeats the previous work;
3) Configuring a forward isolation network gate between the acquisition interface machine and the receiving interface machine, adding a strategy, and transmitting the UDP data packets to the receiving interface machine in a one-way mode through the forward isolation network gate only if source addresses, destination addresses and destination ports meet requirements;
4) the receiving interface machine is provided with a monitoring program, monitors a 5445 port, records the time at the moment as initial time, extracts the data of the fans from the acquisition interface machine after receiving UDP packet data sent by the acquisition interface machine, accumulates the data and accumulates the receiving times, when the difference between the time of receiving the UDP packet and the initial time exceeds set time, divides the accumulated value of the fan data by the receiving times, calculates the average data of each fan within the set time, sends the average data to a benchmarking website, clears the accumulated value and the accumulated times of the fan data after sending is finished, takes the time of receiving the UDP packet as the initial time, and repeats the previous work.
2. A JAVA language-based fan data uploading method as claimed in claim 1, wherein the firewall is configured to allow only a program on the collection interface machine with an IP address of 10.75.4.21 to access the 7588 port of the modbus slave server with an IP address of 10.75.4.22 without any additional setting, because the program on the collection interface machine originally producing the real-time data collection system accesses the 7588 port of the modbus slave server.
3. A JAVA language-based blower data uploading method according to claim 1, wherein the collection of the interface machine configuration includes accessing 7588 port of a blower monitoring system modbus slave server, reading data of the blower, sending to 5445 port of a receiving interface machine with IP address 172.16.100.55, waiting for 5 seconds, and resuming previous work.
4. The method of claim 1, wherein the policy for configuring the forward isolation gatekeeper comprises allowing UDP packets with a source address of 172.16.100.54, a destination address of 172.16.100.55 and a destination port of 5445 to pass through.
5. The blower data uploading method based on the JAVA language according to claim 1, wherein a portal of the receiving interface machine is connected to a local area network, so as to ensure that the receiving interface machine can access the internet.
6. the JAVA language-based wind turbine data uploading method of claim 1, wherein the wind turbine data comprises wind turbine speed and power.
7. The blower fan data uploading method based on the JAVA language of claim 1, wherein the set time is 10 min.
8. a JAVA language-based fan data uploading system is characterized by comprising a fan monitoring system, a firewall, a collection interface machine, a forward isolation network gate and a receiving interface machine, wherein the receiving interface machine comprises a target port and a local network port, the collection interface machine penetrates through the firewall to extract target data in the fan monitoring system and transmits the target data to the target port of the receiving interface machine through the forward isolation network gate in a UDP (user Datagram protocol) packet mode, the receiving interface machine is provided with a monitoring program to monitor a 5445 port and record the time as initial time, when the receiving interface machine receives UDP (user Datagram protocol) packet data, the data of a fan is extracted from the UDP packet data and accumulated, the receiving times are accumulated, when the difference between the time of receiving the UDP packet and the initial time exceeds the set time, the accumulated value of the fan data is divided by the receiving times to calculate the average data of each fan in the set time, and then sending the data to a benchmarking website, clearing the accumulated value and the accumulated times of the fan data after the sending is finished, taking the time of receiving the UDP packet as initial time, and repeating the previous work to realize the automatic continuous uploading of the benchmarking data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910679667.1A CN110557431A (en) | 2019-07-23 | 2019-07-23 | Fan data uploading system and method based on JAVA language |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910679667.1A CN110557431A (en) | 2019-07-23 | 2019-07-23 | Fan data uploading system and method based on JAVA language |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110557431A true CN110557431A (en) | 2019-12-10 |
Family
ID=68735924
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910679667.1A Pending CN110557431A (en) | 2019-07-23 | 2019-07-23 | Fan data uploading system and method based on JAVA language |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110557431A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102097859A (en) * | 2010-09-02 | 2011-06-15 | 广东省电力调度中心 | Power grid dispatching intelligentized and instruction informationized working platform |
US20120185913A1 (en) * | 2008-06-19 | 2012-07-19 | Servicemesh, Inc. | System and method for a cloud computing abstraction layer with security zone facilities |
CN203387536U (en) * | 2013-07-24 | 2014-01-08 | 河南华润电力古城有限公司 | Interface device |
CN103580283A (en) * | 2013-10-31 | 2014-02-12 | 广东电网公司东莞供电局 | Power grid protecting device constant value checking system and method based on information protecting system |
CN103944257A (en) * | 2013-10-29 | 2014-07-23 | 北京科东电力控制系统有限责任公司 | Intelligent transformer station information integrated platform structure |
CN106878466A (en) * | 2017-04-07 | 2017-06-20 | 贵州黔源电力股份有限公司 | A kind of Hydropower Unit data management and equipment control unified platform |
CN206640614U (en) * | 2017-04-07 | 2017-11-14 | 贵州黔源电力股份有限公司 | A kind of Hydropower Unit data management and apparatus control system |
CN108063751A (en) * | 2017-10-20 | 2018-05-22 | 国网宁夏电力有限公司 | A kind of public network safety access method for new energy power plant |
CN109523180A (en) * | 2018-11-27 | 2019-03-26 | 国投北部湾发电有限公司 | A kind of thermal power plant's coal consumption and heat supply online monitoring system |
CN109934402A (en) * | 2019-03-11 | 2019-06-25 | 北京天润新能投资有限公司西北分公司 | A kind of wind power plant centralized control center concentrate wind power prediction system and its design method |
-
2019
- 2019-07-23 CN CN201910679667.1A patent/CN110557431A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120185913A1 (en) * | 2008-06-19 | 2012-07-19 | Servicemesh, Inc. | System and method for a cloud computing abstraction layer with security zone facilities |
CN102097859A (en) * | 2010-09-02 | 2011-06-15 | 广东省电力调度中心 | Power grid dispatching intelligentized and instruction informationized working platform |
CN203387536U (en) * | 2013-07-24 | 2014-01-08 | 河南华润电力古城有限公司 | Interface device |
CN103944257A (en) * | 2013-10-29 | 2014-07-23 | 北京科东电力控制系统有限责任公司 | Intelligent transformer station information integrated platform structure |
CN103580283A (en) * | 2013-10-31 | 2014-02-12 | 广东电网公司东莞供电局 | Power grid protecting device constant value checking system and method based on information protecting system |
CN106878466A (en) * | 2017-04-07 | 2017-06-20 | 贵州黔源电力股份有限公司 | A kind of Hydropower Unit data management and equipment control unified platform |
CN206640614U (en) * | 2017-04-07 | 2017-11-14 | 贵州黔源电力股份有限公司 | A kind of Hydropower Unit data management and apparatus control system |
CN108063751A (en) * | 2017-10-20 | 2018-05-22 | 国网宁夏电力有限公司 | A kind of public network safety access method for new energy power plant |
CN109523180A (en) * | 2018-11-27 | 2019-03-26 | 国投北部湾发电有限公司 | A kind of thermal power plant's coal consumption and heat supply online monitoring system |
CN109934402A (en) * | 2019-03-11 | 2019-06-25 | 北京天润新能投资有限公司西北分公司 | A kind of wind power plant centralized control center concentrate wind power prediction system and its design method |
Non-Patent Citations (2)
Title |
---|
刘杨: ""防火墙安全策略管理系统设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》, pages 19 * |
李建普: ""基于云桌面的风电场远程集中监控系统开发"", 《中国设备工程》, pages 2 - 3 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105207853B (en) | A kind of LAN method for managing and monitoring | |
CN103248512B (en) | The generation method and system of application layer topological structure in communication network | |
WO2014079262A1 (en) | Real-time remote log acquisition method and system | |
CN104125243A (en) | Method of penetrating internal network to remotely connect large-scale virtual machines | |
CN104378264A (en) | sFlow based virtual machine process traffic monitoring method | |
CN108833565B (en) | Method and device for monitoring server, server and storage medium | |
WO2015143982A1 (en) | Packet forwarding method and system | |
CN102811219A (en) | Method for remotely accessing desktop of computer in intranet across network segments in cluster system | |
CN100493065C (en) | Method for using immediate information software by data detection network address switching equipment | |
CN111917741B (en) | Micro-grid security defense system and method based on Dos and virtual data injection attack | |
CN202094935U (en) | Dynamic IP network based remote switch signal control system | |
CN110290029A (en) | A kind of router integrated service cross bars machine measures test system and method | |
CN102882733B (en) | A kind of cross-over NAT equipment realizes WEB network management method | |
CN100492985C (en) | Managing method of network apparatus based on access controlling layer of Ethernet medium | |
CN110557431A (en) | Fan data uploading system and method based on JAVA language | |
CN103117880A (en) | Web technology based network topological generation method | |
WO2020132949A1 (en) | Industrial control system monitoring method, device and system, and computer-readable medium | |
CN101822416B (en) | Wireless remote monitoring system for tobacco leaf roasting | |
CN102752135A (en) | Method for realizing configuration of network devices | |
CN105490879A (en) | Automatic distributed performance test system of large-scale integrated network | |
CN115632953A (en) | Multi-network integration interference processing method, processing device and storage medium | |
CN104460629A (en) | Remote diagnosis platform system for boiler | |
CN107911313A (en) | A kind of method that virtual machine port flow moves outside in private clound | |
CN204462802U (en) | A kind of boiler remote diagnosis plateform system | |
CN108174399A (en) | Data processing method and system, the equipment of a kind of terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |