CN108986437A - A kind of electric power acquisition terminal monitoring adjustment method based on WIFI - Google Patents

A kind of electric power acquisition terminal monitoring adjustment method based on WIFI Download PDF

Info

Publication number
CN108986437A
CN108986437A CN201810815076.8A CN201810815076A CN108986437A CN 108986437 A CN108986437 A CN 108986437A CN 201810815076 A CN201810815076 A CN 201810815076A CN 108986437 A CN108986437 A CN 108986437A
Authority
CN
China
Prior art keywords
electric power
power acquisition
acquisition terminal
wifi
wifi module
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
Application number
CN201810815076.8A
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.)
Ningbo Sanxing Electric Co Ltd
Ningbo Sanxing Medical and Electric Co Ltd
Original Assignee
Ningbo Sanxing Medical and Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Sanxing Medical and Electric Co Ltd filed Critical Ningbo Sanxing Medical and Electric Co Ltd
Priority to CN201810815076.8A priority Critical patent/CN108986437A/en
Publication of CN108986437A publication Critical patent/CN108986437A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Abstract

The electric power acquisition terminal monitoring adjustment method based on WIFI that the present invention relates to a kind of, which comprises S1 installs WIFI module in electric power acquisition terminal;S2 creates Telnet server on local operation end, and WIFI module of the Telnet server with the host computer being located on operating side and in electric power acquisition terminal, which is established, to be communicated to connect;Operational order is sent to WIFI module by Telnet by S3, host computer, and WIFI module is transmitted further to electric power acquisition terminal after receiving;S4, electric power acquisition terminal carries out debugging operations after receiving described instruction, and Debugging message is fed back to WIFI module, and WIFI module feeds back to Telnet server again, shows on host computer.Operating side is monitored debugging to electric power acquisition terminal by WIFI module, and it is very convenient to operate, and cost savings.

Description

A kind of electric power acquisition terminal monitoring adjustment method based on WIFI
Technical field
The present invention relates to electric power acquisition field of terminal more particularly to a kind of electric power acquisition terminal monitoring debugging based on WIFI Method.
Background technique
Electric power acquisition terminal commonly monitors there are two types of debud modes at present, and one is connect exterior PC end by Serial Port Line With the RS-232 serial ports reserved in electric power acquisition terminal or RS-485 mouthfuls, the end PC receives the data that electric power acquisition terminal is passed back Afterwards, then by debugging operations instruction it is sent to electric power acquisition terminal;Another kind is inserted by reserving USB in electric power acquisition terminal Mouthful, USB flash disk is inserted into USB jack, after be accordingly arranged, the monitoring information of electric power acquisition terminal can be automatically saved in USB flash disk, The monitoring information for removing the available electric power acquisition terminal of USB flash disk at regular intervals determines debugging operations according to the information of acquisition Instruction.
Above-mentioned first way needs to lay long Serial Port Line between electric power acquisition terminal and the end PC, needs to increase in this way Add material and construction cost, and in use process, also needs to carry out carrying out continuous maintenance and repair to route, also will form manpower Material resources cost;Although the second way is than first way, the cost in material, construction, later maintenance is more saved, not The data of electric power acquisition terminal can be monitored in real time to carry out debugging operations in time, and electric power acquisition terminal is commonly installed In high electric pole or closed basement, frequent plug USB flash disk is very inconvenient to obtain monitoring data.
Summary of the invention
In view of the above problems, it the purpose of the present invention is to provide a kind of easy to implement, cost savings and can be carried out in real time The electric power acquisition terminal monitoring adjustment method based on WIFI of communication.
To achieve the above object, a kind of the technical solution adopted by the present invention are as follows: electric power acquisition terminal monitoring based on WIFI Adjustment method, which is characterized in that the described method includes:
S1 installs WIFI module in electric power acquisition terminal;
S2 creates Telnet server, Telnet server and the host computer being located on operating side on local operation end Communication connection is established with the WIFI module being located in electric power acquisition terminal;
Operational order is sent to the electric power acquisition terminal WIFI module of selection by Telnet server by S3, host computer, WIFI module is transmitted further to electric power acquisition terminal after receiving;
S4, electric power acquisition terminal carries out debugging operations after receiving described instruction, and Debugging message is fed back to WIFI module, WIFI module feeds back to Telnet server again, shows on host computer.
Further, the WIFI module in the S1 passes through the USB interface being arranged in electric power acquisition terminal and adopts with electric power Collect terminal connection.Electric power acquisition terminal establishes communication connection by USB interface and WIFI module and powers to WIFI module, this Mode implements very convenient, and cost savings.
Further, the operating mode of the WIFI module in the S1 is set as ap mode.
Further, after the WIFI module operational module is set as ap mode, electric power acquisition terminal builds UDP server And monitor WIFI module data port.
Further, in the S2, Telnet server and host computer establish TCP connection, in electric power acquisition terminal WIFI module establishes UDP connection.
Further, in the S2, after Telnet server establishes TCP connection with host computer, UDP client, UDP are created Client sends UDP message packet to the broadcast address of subnet where local operation end to obtain all electric power acquisitions under same network segment The IP or serial number of terminal, and shown on host computer.
Further, described to pass through on operating side to subnet broadcast address transmission UDP message packet where local operation end WIFI module is realized.
Further, after process is finished in the S4, the UDP client of operating side is periodically to electric power acquisition end End sends heartbeat signal, and the heartbeat for receiving electric power acquisition terminal is replied.
Further, if the electric power acquisition terminal certain time does not receive the heartbeat signal of operating side, disconnecting link Connection, UDP server continue to monitor whether WIFI module port has connection request.
Further, the operating side is local PC machine or mobile phone.
Compared with the prior art, the advantages of the present invention are as follows: the WIFI module that can be plugged is set in electric power acquisition terminal, It is established and is communicated to connect by WIFI module and operating side, operating side can monitor electric power acquisition terminal in real time to carry out in time Debugging operations, while implementation of the invention does not need to carry out existing electric power acquisition terminal big change, cost savings, in addition WIFI module is connect by USB interface with electric power acquisition terminal, with slotting with working service is all very convenient.
Detailed description of the invention
Fig. 1 is the flow chart of a preferred embodiment of the present invention electric power acquisition terminal;
Fig. 2 is the flow chart of a preferred embodiment of the present invention operating side;
Fig. 3 is communication connection schematic diagram of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
Such as the flow chart that Fig. 1 to 2 is a preferred embodiment of the present invention, this method mainly includes the following steps: S1, WIFI module is installed in electric power acquisition terminal;S2 creates Telnet server, Telnet server and position on local operation end Communication connection is established in the host computer on operating side and the WIFI module in electric power acquisition terminal;S3, host computer by Operational order is sent to WIFI module by Telnet, and WIFI module is transmitted further to electric power acquisition terminal after receiving;S4, electric power acquisition Terminal carries out debugging operations after receiving described instruction, and Debugging message is fed back to WIFI module, and WIFI module is fed back to again Telnet server, shows on host computer.Each step is described in detail below.
Debugging is monitored to electric power acquisition terminal and brings drawback in order to eliminate the prior art using Serial Port Line or USB flash disk, It is illustrated in figure 3 communication connection schematic diagram of the invention, WIFI module is arranged in the electric power acquisition terminal of collection terminal in the present invention, Wireless communication connection is established by WIFI module and electric power acquisition terminal in operating side, and electric power acquisition terminal and operating side may be implemented Real time communication, and cost savings safeguard very convenient.Preferably, WIFI module has the function of USB, is arranged by insertion USB interface and electric power acquisition terminal in electric power acquisition terminal, which are established, to be communicated to connect, while electric power acquisition terminal also passes through USB Interface is WIFI module power supply.This connection type may be implemented with inserting with very easy to use.
After electric power acquisition terminal is inserted into WIFI module, ap mode is set by its operating mode, then in electric power acquisition UDP server is built in terminal, UDP server carries out WIFI data port to continue monitoring, judges whether port has from behaviour Make the data transmission at end.
In the present embodiment, operating side is PC machine, naturally it is also possible to be mobile phone, can also be it is other can be to electric power acquisition terminal The equipment for carrying out debugging control, so that very convenient to the debugging control of electric power acquisition terminal.It is needing to electric power acquisition terminal Carry out debugging control when, it is necessary first on operating side create Telnet server, Telnet server be located at operating side on Host computer establish TCP connection, establish UDP with the WIFI module being located in electric power acquisition terminal and connect, host computer judges whether There is the access from PC machine, if fruit has, establishes a connection.
After Telnet server and host computer establish TCP connection, UDP client is created, UDP client is to local PC machine institute UDP message packet is sent with the IP or serial number of all electric power acquisition terminals under obtaining same network segment, here in the broadcast address of subnet It is realized preferably through the WIFI module in local PC machine, the IP or sequence number of acquisition are shown on host computer.If host computer selects After the remote I P for having selected the electric power acquisition terminal that need to be accessed, then UDP client sends UDP message to corresponding electric power acquisition terminal Packet.
When UDP server, which listens to WIFI data port, has data packet to be passed to, UDP server then passes through proprietary protocol stack Data packet is parsed, application layer is then sent to by TTY serial ports and is executed.Application layer executes dependent instruction and operates and will reply data It is packaged and gives bottom trawl performance, data packet, IP and port are transmitted and give Telnet server by trawl performance.Telnet service After data are replied in the response that device receives electric power acquisition terminal, response message is transmitted to host computer.
Operating side periodically sends heartbeat signal, this implementation to electric power acquisition terminal after the above-mentioned process that is finished Sending cycle is 30s in example, and electric power acquisition terminal replys heartbeat signal after receiving heartbeat signal, if electric power acquisition terminal is more than Heartbeat signal was not received within certain time such as two minutes, then disconnecting link connects, and UDP server, which returns, monitors WIFI module port Whether data are had.When host computer actively disconnect, then terminate the monitoring to electric power acquisition terminal debugging.
Other than above-mentioned improvement, other similar improvement are also contained in improvement threshold of the invention, are not just existed herein It repeats.Although an embodiment of the present invention has been shown and described, it will be appreciated by those skilled in the art that: do not departing from the present invention Principle and objective in the case where can to these embodiments carry out it is a variety of variation, modification, replacement and deformation, the scope of the present invention It is defined by the claims and their equivalents.

Claims (10)

1. a kind of electric power acquisition terminal monitoring adjustment method based on WIFI, which is characterized in that the described method includes:
S1 installs WIFI module in electric power acquisition terminal;
S2 creates Telnet server, Telnet server and the host computer and position that are located on operating side on local operation end Communication connection is established in the WIFI module in electric power acquisition terminal;
Operational order is sent to the electric power acquisition terminal WIFI module of selection, WIFI by Telnet server by S3, host computer Module is transmitted further to electric power acquisition terminal after receiving;
S4, electric power acquisition terminal carries out debugging operations after receiving described instruction, and Debugging message is fed back to WIFI module, WIFI Module feeds back to Telnet server again, shows on host computer.
2. the electric power acquisition terminal monitoring adjustment method based on WIFI according to claim 1, it is characterised in that:
WIFI module in the S1 passes through the USB interface being arranged in electric power acquisition terminal and connect with electric power acquisition terminal.
3. the electric power acquisition terminal monitoring adjustment method based on WIFI according to claim 2, it is characterised in that:
The operating mode of WIFI module in the S1 is set as ap mode.
4. the electric power acquisition terminal monitoring adjustment method based on WIFI according to claim 3, it is characterised in that:
After the WIFI module operational module is set as ap mode, electric power acquisition terminal builds UDP server and monitors WIFI mould Block data port.
5. the electric power acquisition terminal monitoring adjustment method based on WIFI according to claim 1, it is characterised in that:
In the S2, Telnet server and host computer establish TCP connection, establish with the WIFI module in electric power acquisition terminal UDP connection.
6. the electric power acquisition terminal monitoring adjustment method based on WIFI according to claim 5, it is characterised in that:
In the S2, after Telnet server and host computer establish TCP connection, UDP client is created, UDP client is to local The broadcast address of subnet where operating side sends UDP message packet to obtain the IP or sequence of all electric power acquisition terminals under same network segment Number, and shown on host computer.
7. the electric power acquisition terminal monitoring adjustment method based on WIFI according to claim 6, it is characterised in that:
It is described to pass through the WIFI module realization on operating side to subnet broadcast address transmission UDP message packet where local operation end.
8. the electric power acquisition terminal monitoring adjustment method based on WIFI according to claim 1, it is characterised in that:
After process is finished in the S4, the UDP client of operating side periodically sends heartbeat letter to electric power acquisition terminal Number, and the heartbeat for receiving electric power acquisition terminal is replied.
9. the electric power acquisition terminal monitoring adjustment method based on WIFI according to claim 8, it is characterised in that:
If the electric power acquisition terminal certain time does not receive the heartbeat signal of operating side, disconnecting link connection, UDP server Continue to monitor whether WIFI module port has connection request.
10. according to claim 1 to the electric power acquisition terminal monitoring adjustment method described in 9 any claims based on WIFI, It is characterized in that:
The operating side is to be with wifi function local PC machine or mobile phone.
CN201810815076.8A 2018-07-23 2018-07-23 A kind of electric power acquisition terminal monitoring adjustment method based on WIFI Pending CN108986437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810815076.8A CN108986437A (en) 2018-07-23 2018-07-23 A kind of electric power acquisition terminal monitoring adjustment method based on WIFI

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810815076.8A CN108986437A (en) 2018-07-23 2018-07-23 A kind of electric power acquisition terminal monitoring adjustment method based on WIFI

Publications (1)

Publication Number Publication Date
CN108986437A true CN108986437A (en) 2018-12-11

Family

ID=64550205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810815076.8A Pending CN108986437A (en) 2018-07-23 2018-07-23 A kind of electric power acquisition terminal monitoring adjustment method based on WIFI

Country Status (1)

Country Link
CN (1) CN108986437A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308937A (en) * 2019-04-28 2019-10-08 宁波三星医疗电气股份有限公司 A method of hyper terminal serial ports in electric power acquisition terminal is opened based on USB flash disk
CN110620817A (en) * 2019-09-17 2019-12-27 安徽华速达电子科技有限公司 Internet of things equipment quick connection method and system
CN111416921A (en) * 2019-01-08 2020-07-14 杭州海康威视数字技术股份有限公司 Camera debugging method, camera and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202003495U (en) * 2010-12-16 2011-10-05 福建省大宏电子开发有限公司 Electric energy meter concentrator based on WIFI (Wireless Fidelity)
CN104410656A (en) * 2014-09-30 2015-03-11 杭州电子科技大学 A smart home system controlled through web
CN204497848U (en) * 2015-04-09 2015-07-22 天津信源电气制造有限公司 A kind of based on man-machine interface LV Distribution Monitoring System
CN105554754A (en) * 2015-12-16 2016-05-04 Tcl集团股份有限公司 Method and system for accessing WIFI module of the internet of things to network
CN105636160A (en) * 2016-01-12 2016-06-01 杭州全维通信服务股份有限公司 Commercial wifi capable of seeking platform server automatically
CN105654694A (en) * 2016-03-14 2016-06-08 路亮 Intelligent lock system based on 433MHz wireless module and WiFi (wireless fidelity) technology
CN108111596A (en) * 2017-12-18 2018-06-01 宁波三星医疗电气股份有限公司 A kind of method based on Telnet debugging electric power acquisition terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202003495U (en) * 2010-12-16 2011-10-05 福建省大宏电子开发有限公司 Electric energy meter concentrator based on WIFI (Wireless Fidelity)
CN104410656A (en) * 2014-09-30 2015-03-11 杭州电子科技大学 A smart home system controlled through web
CN204497848U (en) * 2015-04-09 2015-07-22 天津信源电气制造有限公司 A kind of based on man-machine interface LV Distribution Monitoring System
CN105554754A (en) * 2015-12-16 2016-05-04 Tcl集团股份有限公司 Method and system for accessing WIFI module of the internet of things to network
CN105636160A (en) * 2016-01-12 2016-06-01 杭州全维通信服务股份有限公司 Commercial wifi capable of seeking platform server automatically
CN105654694A (en) * 2016-03-14 2016-06-08 路亮 Intelligent lock system based on 433MHz wireless module and WiFi (wireless fidelity) technology
CN108111596A (en) * 2017-12-18 2018-06-01 宁波三星医疗电气股份有限公司 A kind of method based on Telnet debugging electric power acquisition terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111416921A (en) * 2019-01-08 2020-07-14 杭州海康威视数字技术股份有限公司 Camera debugging method, camera and storage medium
CN110308937A (en) * 2019-04-28 2019-10-08 宁波三星医疗电气股份有限公司 A method of hyper terminal serial ports in electric power acquisition terminal is opened based on USB flash disk
CN110308937B (en) * 2019-04-28 2022-06-03 宁波三星医疗电气股份有限公司 Method for opening super terminal serial port in power acquisition terminal based on USB flash disk
CN110620817A (en) * 2019-09-17 2019-12-27 安徽华速达电子科技有限公司 Internet of things equipment quick connection method and system

Similar Documents

Publication Publication Date Title
CN108986437A (en) A kind of electric power acquisition terminal monitoring adjustment method based on WIFI
CN104301905B (en) Smart home ad hoc network method based on supervision of election strategy and system
CN105450779B (en) The method of one household appliance connection multiserver
CN107086934B (en) The configuration method and gateway of networking equipment
CN104202334B (en) A kind of method and device for establishing network connection
CN105681484A (en) IPC automatic detection and connection method based on ARP protocol and ONVIF standard
CN107223323B (en) Network diagnosis method, cloud intelligent robot, network equipment and special network
CN104201776A (en) Wireless IPV6 (Internet Protocol Version 6) ad-hoc network communication system for intelligent ring main unit
CN105242653A (en) Substation operation environment monitoring system and method
CN107341954B (en) Monitoring method and system based on power line carrier
CN102387524B (en) Indoor distributed monitoring system for WLAN (Wireless Local Area Network)
CN105141657A (en) Novel network communication method suitable for intelligent household control system
CN105635258A (en) Charging pile data management method and system
CN111224846B (en) Flow monitoring method and device applied to power acquisition system
CN102857890A (en) Monitoring method for self-adaptation between electric power tunnel text messages and wireless network communication
CN202334559U (en) Network management responder based on field of broadcast television network
CN113437998B (en) Operation and maintenance debugging method and system, nonvolatile storage medium and processor
CN101331719A (en) Method for operating a radio network and subscriber device for said type of network
CN105357078A (en) Detection method and system of network state of intelligent equipment
CN104022515B (en) Reactive compensation cabinet and the control method of reactive compensation unit
CN113852192A (en) Data interaction system supporting multiple protocols and multiple master stations and method thereof
CN104917625A (en) Method for obtaining powered-off state of user end device and head end device
CN112055084A (en) Control method and system for security protection Internet of things
CN110233713A (en) A kind of multi link communications method and system based on LLDP message
CN108736570A (en) A kind of group network system of substation

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181211