CN107517231A - A kind of method for monitoring power supply and device - Google Patents
A kind of method for monitoring power supply and device Download PDFInfo
- Publication number
- CN107517231A CN107517231A CN201610428341.8A CN201610428341A CN107517231A CN 107517231 A CN107517231 A CN 107517231A CN 201610428341 A CN201610428341 A CN 201610428341A CN 107517231 A CN107517231 A CN 107517231A
- Authority
- CN
- China
- Prior art keywords
- mode
- power
- supply system
- control terminal
- communicator
- 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
Classifications
-
- 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/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of method for monitoring power supply and device, the method for monitoring power supply includes:S1, communicator is obtained with controlling terminal to carry out the mode of operation of radio communication, and according to the set-up mode acquisition communicator of data processing equipment and the connection mode of power-supply system;S2, the communication connection established according to mode of operation between communicator and control terminal, and the communication connection established according to connection mode between communicator and power-supply system;S3, the monitoring instruction monitoring power-supply system sent according to control terminal data, and the data responded are back to control terminal.The invention has the beneficial effect that:Without needing individually to draw the communications cable between background monitoring equipment and power-supply system, system wiring cost and engineering wiring difficulty are reduced;Improve user or attendant accesses or the efficiency of maintenance system, while reduce signal interference by environment or to each other, improve communication reliability;COM1 need not be taken, saves communications bandwidth resources.
Description
Technical field
The present invention relates to power-supply device monitoring field, more particularly to a kind of method for monitoring power supply and device.
Background technology
In the prior art, typical intelligent power system (such as power supply system for communications) is all generally by wired
Communication mode is communicated with backstage upper location supervisory or control terminal, however as power-supply system increasingly
Complexity, the smart machine accessed is more and more, and its wired communication mode will necessarily have the drawbacks of following:
Need individually to draw the communications cable between background monitoring equipment and power-supply system, improve system wiring into
This and engineering connect up difficulty;
The excessive communications cable is accessed to user or attendant or maintenance system brings very big inconvenience, holds simultaneously
Signal interference easily by environment or to each other, causes communication reliability to reduce;
Need individually to account for COM1, the communication resource is wasted to power-supply system, the side of playing a game will also result in communication
Bandwidth resources waste.
The content of the invention
The technical problem to be solved in the present invention is, for above-mentioned prior art using wired communication mode with
The problem of monitoring system or control terminal communication band are come, there is provided a kind of method for monitoring power supply and device.
The technical solution adopted for the present invention to solve the technical problems is:
On the one hand, a kind of method for monitoring power supply is constructed, there is provided the communicator for wireless connection control terminal
And the data processing equipment for response monitoring instruction, comprise the following steps:
S1, the mode of operation for obtaining the communicator and the control terminal progress radio communication, and according to
The communicator and the connection mode of power-supply system are obtained according to the set-up mode of the data processing equipment;
S2, the communication link established according to the mode of operation between the communicator and the control terminal
Connect, and the communication connection established according to the connection mode between the communicator and the power-supply system;
S3, the monitoring instruction monitoring power-supply system sent according to the control terminal data, and will ring
The data answered are back to the control terminal.
In method for monitoring power supply of the present invention, the step S1 includes following sub-step:
S11, communicator is obtained with controlling terminal to carry out the mode of operation of radio communication;
S12, the set-up mode according to the data processing equipment obtain the communicator and power-supply system
Connection mode.
In method for monitoring power supply of the present invention, the step S11 includes following sub-step:
S101, start the power-supply system;
S102, the mode of operation of the acquisition radio communication are ap mode, are connected to radio communication described
Control terminal.
In method for monitoring power supply of the present invention, the step S11 includes following sub-step:
S201, start the power-supply system and judge whether the mode of operation of the radio communication is energy-conservation mould
Formula, if it is not, step S202 is gone to, if so, going to step S203;
S202, the radio communication worked in into non-energy saver mode, go to step S205;
S203, detect whether to receive the external wake signal of the control terminal, if so, going to step
S202, if it is not, going to step S204;
S204, the radio communication worked in into the energy saver mode, go to step S203;
S205, detect whether in being communicated in preset time with the control terminal, if so, go to step S204,
If it is not, go to step S202.
In method for monitoring power supply of the present invention, the step S12 includes following sub-step:
If S121, the data processing equipment are arranged in the power-supply system, step S122 is gone to;If
The data processing equipment is arranged in the communicator, goes to step S123;
S122, the connection mode is set to data penetration transmission pattern, goes to step S2;
S123, the connection mode is set to protocol analysis pattern, goes to step S2.
In method for monitoring power supply of the present invention, if the connection mode is data penetration transmission pattern, walk
Rapid S3 includes following sub-step:
S301, the monitoring instruction monitoring power-supply system sent according to the control terminal data, by described in
The data of data processing equipment response are packaged into network packet by ICP/IP protocol stack;
S302, by the network packet by for connecting the power-supply system and the communicator
Communication interface is sent to the communicator;
S303, the network packet is forwarded to the control terminal.
In method for monitoring power supply of the present invention, if the connection mode is protocol analysis pattern, walk
Rapid S3 includes following sub-step:
S401, the monitoring instruction monitoring power-supply system sent according to the control terminal data, will be supervised
The data of control are sent to described by the communication interface for connecting the power-supply system and the communicator
Data processing equipment;
S402, the data that the data processing equipment responds are packaged into network number by ICP/IP protocol stack
According to bag;
S403, the network packet is forwarded to the control terminal.
On the other hand, a kind of apparatus for monitoring power supply, there is provided for wireless connection control terminal communicator with
And the data processing equipment for response monitoring instruction, including:
Pattern acquiring module, for obtaining the communicator and the work of the control terminal progress radio communication
Operation mode, and obtain the communicator and power-supply system according to the set-up mode of the data processing equipment
Connection mode;
Link block, for being established according to the mode of operation between the communicator and the control terminal
Communication connection, and establish according to the connection mode logical between the communicator and the power-supply system
Letter connection;
Data interaction module, for the number of the monitoring instruction monitoring power-supply system sent according to the control terminal
According to, and the data responded are back to the control terminal.
In apparatus for monitoring power supply of the present invention, the pattern acquiring module includes:
Mode of operation acquisition submodule, for obtaining communicator with controlling terminal to carry out the work of radio communication
Pattern;
Connection mode acquisition submodule, it is described logical for being obtained according to the set-up mode of the data processing equipment
The connection mode of T unit and power-supply system.
In apparatus for monitoring power supply of the present invention, the mode of operation acquisition submodule includes:
Power-supply system starts submodule, for starting the power-supply system;
Fixed mode acquisition submodule, the mode of operation for obtaining the radio communication are ap mode, with
Radio communication is connected to the control terminal.
In apparatus for monitoring power supply of the present invention, the mode of operation acquisition submodule includes:
Mode of operation judging submodule, for starting the power-supply system and judging the work of the radio communication
Whether pattern is energy saver mode;
Non- energy saver mode determination sub-module, for the radio communication to be worked in into non-energy saver mode;
Bluetooth submodule, for detecting whether receiving the external wake signal of the control terminal;
Energy saver mode determination sub-module, for the radio communication to be worked in into the energy saver mode;
Communication check submodule, for detecting whether in preset time with it is described control terminal communicate.
In apparatus for monitoring power supply of the present invention, the connection mode acquisition submodule includes:
Data penetration transmission sets submodule, if being arranged at for the data processing equipment in the power-supply system,
The connection mode is set to data penetration transmission pattern;
Protocol analysis sets submodule, if being arranged at for the data processing equipment in the communicator,
The connection mode is set to protocol analysis pattern.
In apparatus for monitoring power supply of the present invention, the data interaction module includes:
Packing submodule, the monitoring instruction for being sent according to the control terminal monitor the data of power-supply system,
The data that the data processing equipment responds are packaged into network packet by ICP/IP protocol stack;
Packet sending submodule, for by the network packet by for connect the power-supply system with
The communication interface of the communicator is sent to the communicator;
Packet forwards submodule, for the network packet to be forwarded into the control terminal.
In apparatus for monitoring power supply of the present invention, the data interaction module includes:
Data sending submodule, the monitoring instruction for being sent according to the control terminal monitor power-supply system
Data, by the data monitored by the communication interface for connecting the power-supply system and the communicator
Send to the data processing equipment;
Packing submodule, for the data that the data processing equipment responds to be beaten by ICP/IP protocol stack
It is bundled into network packet;
Packet forwards submodule, for the network packet to be forwarded into the control terminal.
A kind of method for monitoring power supply and device disclosed above has the advantages that:Without in background monitoring
Need individually to draw the communications cable between equipment and power-supply system, reduce system wiring cost and engineering wiring is difficult
Degree;Improve user or attendant accesses or the efficiency of maintenance system, while reduce by environment or to each other
Signal interference, improve communication reliability;COM1 need not be taken, saves communications bandwidth resources.
Brief description of the drawings
Fig. 1 is a kind of connection diagram of monitoring system provided by the invention;
Fig. 2 is a kind of structured flowchart for monitoring system that one embodiment of the invention provides;
Fig. 3 is a kind of structured flowchart for monitoring system that another embodiment of the present invention provides;
Fig. 4 is a kind of flow chart of method for monitoring power supply provided by the invention;
Fig. 5 is the bluetooth module and the flow chart of monitor terminal communication connection that one embodiment of the invention provides;
Fig. 6 is a kind of block diagram of apparatus for monitoring power supply provided by the invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with accompanying drawing and reality
Example is applied, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
To explain the present invention, it is not intended to limit the present invention.
The invention provides a kind of method for monitoring power supply and device, it is intended that the power-supply system can reduce
Power-supply system power consumption, energy saver mode can be entered when no user accesses connection in system detectio to certain time,
Only have bluetooth module to be operated in low-power consumption reception pattern, other data processings and interface unit all enter dormancy
It is blue when pattern, only bluetooth module detect the wake-up signal of outside Bluetooth signal or power-supply system side
Tooth device just enters normal mode of operation.
Referring to Fig. 1, Fig. 1 is a kind of connection diagram of monitoring system 100 provided by the invention.The monitoring
System 100 includes:Power-supply system 1 and communicator 2.Control terminal 3 is used to receive and send the prison
Data are controlled to be monitored to the power-supply system 1, its radio communication is connected to the power-supply system 1.Should
Embodiment is that power-supply system 1 works in ap mode (being preferably bluetooth connection), neighbouring control terminal 3
The power-supply system 1 can be linked into by communication.By controlling the monitoring software in terminal 3 real
Control now is monitored to power-supply system 1.
Referring to Fig. 2, Fig. 2 is a kind of structured flowchart for monitoring system 100 that one embodiment of the invention provides,
Wherein, the communicator 2 includes communication interface 21, wireless module 22 and data processing equipment 23.
Communication interface 21 is used to be connected with the power-supply system 1.
The wireless module 22 is used to communicate to connect with control terminal 3, so that the control terminal 3 connects
Receive and send the monitoring data to be monitored to the power-supply system 1, it is electrically connected to the communication and connect
Mouth 21;
Data processing equipment 23 is arranged at the monitoring module inside power-supply system 1, for responding and parsing
The control instruction that control terminal 3 is sent.I.e. data processing equipment 23 passes through monitoring mould in the power supply system
Block realizes corresponding software function or the functional unit with independent processor.
In a word, data processing equipment 23 mainly completes data parsing and protocol conversion function, such as parses net
Network packet (TCP/IP packets), while the data of parsing can be passed through communication interface (such as serial ports) transparent transmission
Send either by upper strata YDN23 protocol conversions into MODBUS agreements or other proprietary protocols etc. again
Sent by communication interface.Simple logical process function, such as the voltage by parsing can also be carried out
The data such as electric current carry out the processing such as power calculation or electricity statistics and alarm, and logical process function simply aids in
Function.
In Fig. 2, the power-supply system 1 can be (universal asynchronous by communication interface 21, such as UART
Receiving-transmitting transmitter, Universal Asynchronous Receiver/Transmitter) or USB (general serials
Bus, Universal Serial Bus) or SPI (Serial Peripheral Interface (SPI), Serial Peripheral Interface)
Or I2C (Inter-Integrated Circuit) or SDIO (Secure Digital Input/Output) and not
These communication interfaces 21 are confined to be connected with the communicator 2.
Referring to Fig. 3, Fig. 3 is a kind of structured flowchart for monitoring system 100 that another embodiment of the present invention provides,
The embodiment is different from being in place of embodiment illustrated in fig. 2:Data processing equipment 23 is arranged on communicator
Inside 2, i.e., data processing equipment 23 can realize corresponding software by the processor in communicator 2
Function or the functional unit with independent processor.Data processing equipment 23 is used for from the communication
Interface 21 obtains the monitoring data and it is handled, so that the power-supply system 1 is controlled by institute
Control terminal 3 is stated, it is electrically connected to the communication interface 21.When sending monitoring data, power-supply system 1
Data are emitted to wireless module 22 by communication interface 21, wireless module 22 will by communication interface 21
Data are handed to and are sent to control terminal 3 by wireless module 22 after data processing equipment 23 is handled, similarly
By wireless module 22 data of terminal 3 will be controlled to give after data processing equipment 23 is handled when receiving data to lead to
Cross communication interface 21 and issue power-supply system 1 and be further processed, wherein, the data of data processing equipment 23
Processing procedure can be carried out at the end of power-supply system 1,22 responsible wirelessly transmitting datas of wireless module, electric in addition
Source module 23 can also need to be deleted according to practical application, i.e., power module 23 can be placed on wireless mould
Also the side of power-supply system 1 can be also placed in block 22.
The power-supply system work when, mobile phone can be used as control terminal 3 (i.e. control terminal 3 can be mobile phone or
Other smart machines with Bluetooth function) by opening Bluetooth function the power-supply system is connected, and according to reality
Needing to set bluetooth access pin, subsequent user sends data by the app of mobile phone or ordered to power-supply system,
Power-supply system by wireless module 22 receive mobile phone terminal send data or order after by data processing equipment
23 handled after power-supply system 1 is sent to by communication interface 21, power-supply system 1 is according to the number received
According to or order respond thereto and response message be sent to by mobile phone or terminal by wireless module 22, use
Family can check result by app.
Referring to Fig. 4, Fig. 4 is a kind of flow chart of the monitoring method of power-supply system 1 provided by the invention, should
Method by such as Fig. 2 or Fig. 3 for the communicator 2 of wireless connection control terminal 3 and for ringing
The data processing equipment 23 that instruction should be monitored realizes that this method comprises the following steps S1-S3:
S1, the mode of operation that the communicator 2 carries out radio communication with the control terminal 3 is obtained,
And obtain the communicator 2 and power-supply system 1 according to the set-up mode of the data processing equipment 23
Connection mode;The step S1 includes following sub-step S11-S12:
S11, communicator 2 is obtained with controlling terminal 3 to carry out the mode of operation of radio communication;In the present invention
One embodiment in, the step S11 includes following sub-step S101-S102:
S101, start the power-supply system 1;
S102, the mode of operation of the acquisition radio communication are ap mode, are connected to radio communication described
Control terminal 3.In the embodiment, communicator 2 works in controlling the radio communication of terminal 3 to fix
Ap mode.
Referring to Fig. 5, Fig. 5 is the bluetooth module and monitor terminal communication connection that one embodiment of the invention provides
Flow chart, in the present embodiment, the radio communication of communicator 2 and control terminal 3 is according to being actually needed work
In energy saver mode or non-energy saver mode.The step S11 includes following sub-step S201-S205:
S201, start the power-supply system 1 and judge whether the mode of operation of the radio communication is energy-conservation
Pattern, if it is not, step S202 is gone to, if so, going to step S203;
S202, the radio communication worked in into non-energy saver mode, go to step S205;
S203, detect whether to receive the external wake signal of the control terminal 3, if so, going to step
Rapid S202, if it is not, going to step S204;
S204, the radio communication worked in into the energy saver mode, go to step S203;
S205, detect whether in being communicated in preset time with the control terminal 3, if so, going to step
S204, if it is not, going to step S202.
The purpose of the embodiment is, to reduce system power dissipation, when no user in system detectio to certain time
It can enter energy saver mode when accessing connection.
Energy saver mode:Wireless module 22 is operated in low-power consumption reception pattern, other data processings and interface list
Member all enters park mode.
Non- energy saver mode:When wireless module 22 detects the control outside Bluetooth signal of terminal 3 or power supply
During the wake-up signal of the side of system 1, wireless module 22 enters normal mode of operation.
Wherein, external wake can be the linking bluetooth signal sent by mobile phone or terminal, believe if waking up
Number then blue-tooth device is established the link and communicated with monitoring terminal equipment into normal mode of operation, has been communicated
It can enter again under energy saver mode into the rear blue-tooth device if long-time does not have user's access, if never
Wake-up signal is then constantly in energy saver mode.
S12, the set-up mode according to the data processing equipment 23 obtain the communicator 2 and power supply
The connection mode of system 1.The step S12 includes following sub-step S121-S123:
If S121, the data processing equipment 23 are arranged in the power-supply system 1, step S122 is gone to;
If the data processing equipment 23 is arranged in the communicator 2, step S123 is gone to;
S122, the connection mode is set to data penetration transmission pattern, goes to step S2;
S123, the connection mode is set to protocol analysis pattern, goes to step S2.
S2, leading between the communicator 2 and the control terminal 3 is established according to the mode of operation
Letter connection, and establish leading between the communicator 2 and the power-supply system 1 according to the connection mode
Letter connection;
S3, the monitoring instruction monitoring power-supply system 1 sent according to the control terminal 3 data, and will
The data responded are back to the control terminal 3.For step S122 data penetration transmission pattern, referring to
Fig. 2, in the case of this kind, data processing equipment 23 is arranged at the monitoring module inside power-supply system 1,
Step S3 includes following sub-step S301-S303:
S301, the monitoring instruction monitoring power-supply system 1 sent according to the control terminal 3 data, will
The data that the data processing equipment 23 responds are packaged into network packet by ICP/IP protocol stack;I.e.
ICP/IP protocol stack is run in monitoring module, it is necessary to which the data of power-supply system 1 are passed through into ICP/IP protocol
Stack is packaged into the network packet of standard, and communicator 2 is sent to by communication interface 21.
S302, by the network packet by for connecting the power-supply system 1 and the communicator 2
Communication interface 21 send to the communicator 2.
S303, by the network packet be forwarded to it is described control terminal 3.Communicator 2 now only has
Standby forwarding capability, i.e., control terminal 3 is directly sent to directly by wireless protocols, network packet is not done
Any operation.
For step S123 protocol analysis pattern, referring to Fig. 3, in the case of this kind, data processing equipment
23 are arranged inside communicator 2, and step S3 includes following sub-step S401-S403:
S401, the monitoring instruction monitoring power-supply system 1 sent according to the control terminal 3 data, will
The data monitored are by the communication interface 21 for connecting the power-supply system 1 and the communicator 2
Send to the data processing equipment 23;I.e. ICP/IP protocol stack is operated in communicator 2, now electric
Power data only need to be sent to communicator 2 by the monitoring module of source system 1 by communication interface 21.
S402, by the data that the data processing equipment 23 responds pass through ICP/IP protocol stack pack networking
Network packet;Power data is packaged into the network of standard at communicator 2 by ICP/IP protocol stack
Packet is just sent to control terminal 3 by radio communication.
S403, by the network packet be forwarded to it is described control terminal 3.
Referring to Fig. 6, Fig. 6 is a kind of block diagram of apparatus for monitoring power supply 10 provided by the invention.By upper
State communicator 2 and data processing equipment 23 disposes corresponding software to realize the apparatus for monitoring power supply 10
Function, the apparatus for monitoring power supply 10 includes pattern acquiring module 101, link block 102 and data are handed over
Mutual module 103.
Pattern acquiring module 101 is used to obtain the communicator 2 and the control terminal 3 progress channel radio
The mode of operation of letter, and obtain the communicator 2 according to the set-up mode of the data processing equipment 23
With the connection mode of power-supply system 1;
Link block 102 is used to establish the communicator 2 and the control terminal according to the mode of operation
Communication connection between 3, and establish the communicator 2 and the power-supply system according to the connection mode
Communication connection between 1;
Data interaction module 103 is used for the monitoring instruction monitoring power-supply system sent according to the control terminal 3
1 data, and the data responded are back to the control terminal 3.
Preferably, the pattern acquiring module 101 includes:
Mode of operation acquisition submodule, for obtaining communicator 2 with controlling terminal 3 to carry out radio communication
Mode of operation;
Connection mode acquisition submodule, institute is obtained for the set-up mode according to the data processing equipment 23
State the connection mode of communicator 2 and power-supply system 1.
Preferably, in one embodiment of the present invention, the mode of operation acquisition submodule includes:
Power-supply system 1 starts submodule, for starting the power-supply system 1;
Fixed mode acquisition submodule, the mode of operation for obtaining the radio communication are ap mode, with
Radio communication is connected to the control terminal 3.
Preferably, in another embodiment of the present invention, the mode of operation acquisition submodule includes:
Mode of operation judging submodule, for starting the power-supply system 1 and judging the work of the radio communication
Whether operation mode is energy saver mode;
Non- energy saver mode determination sub-module, for the radio communication to be worked in into non-energy saver mode;
Bluetooth submodule, for detecting whether receiving the external wake signal of the control terminal 3;
Energy saver mode determination sub-module, for the radio communication to be worked in into the energy saver mode;
Communication check submodule, for detecting whether in preset time with it is described control terminal 3 communicate.
Preferably, the connection mode acquisition submodule includes:
Data penetration transmission sets submodule, if being arranged at the power-supply system for the data processing equipment 23
In 1, the connection mode is set to data penetration transmission pattern;
Protocol analysis sets submodule, if being arranged at the communicator for the data processing equipment 23
In 2, the connection mode is set to protocol analysis pattern.
Preferably, in one embodiment of the invention, it is arranged at power supply system for data processing equipment 23
Situation in system 1, the data interaction module 103 include:
Packing submodule, for the monitoring instruction monitoring power-supply system 1 sent according to the control terminal 3
Data, the data that the data processing equipment 23 responds are packaged into network number by ICP/IP protocol stack
According to bag;
Packet sending submodule, for by the network packet by for connecting the power-supply system 1
Sent with the communication interface 21 of the communicator 2 to the communicator 2;
Packet forwards submodule, for the network packet to be forwarded into the control terminal 3.
Preferably, in one embodiment of the invention, it is arranged at communication dress for data processing equipment 23
The situation in 2 is put, the data interaction module 103 includes:
Data sending submodule, for the monitoring instruction monitoring power-supply system sent according to the control terminal 3
1 data, by the data monitored by for connecting the power-supply system 1 and the communicator 2
Communication interface 21 is sent to the data processing equipment 23;
Packing submodule, the data for the data processing equipment 23 to be responded pass through ICP/IP protocol stack
It is packaged into network packet;
Packet forwards submodule, for the network packet to be forwarded into the control terminal 3.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, this
The those of ordinary skill in field is not departing from present inventive concept and claim is protected under the enlightenment of the present invention
Under the ambit of shield, many forms can be also made, these are belonged within the protection of the present invention.
Claims (14)
- A kind of 1. method for monitoring power supply, there is provided for wireless connection control terminal communicator and be used for The data processing equipment of response monitoring instruction, it is characterised in that comprise the following steps:S1, the mode of operation for obtaining the communicator and the control terminal progress radio communication, and according to The communicator and the connection mode of power-supply system are obtained according to the set-up mode of the data processing equipment;S2, the communication link established according to the mode of operation between the communicator and the control terminal Connect, and the communication connection established according to the connection mode between the communicator and the power-supply system;S3, the monitoring instruction monitoring power-supply system sent according to the control terminal data, and will ring The data answered are back to the control terminal.
- 2. method for monitoring power supply according to claim 1, it is characterised in that the step S1 bags Include following sub-step:S11, communicator is obtained with controlling terminal to carry out the mode of operation of radio communication;S12, the set-up mode according to the data processing equipment obtain the communicator and power-supply system Connection mode.
- 3. method for monitoring power supply according to claim 2, it is characterised in that the step S11 bags Include following sub-step:S101, start the power-supply system;S102, the mode of operation of the acquisition radio communication are ap mode, are connected to radio communication described Control terminal.
- 4. method for monitoring power supply according to claim 2, it is characterised in that the step S11 bags Include following sub-step:S201, start the power-supply system and judge whether the mode of operation of the radio communication is energy-conservation mould Formula, if it is not, step S202 is gone to, if so, going to step S203;S202, the radio communication worked in into non-energy saver mode, go to step S205;S203, detect whether to receive the external wake signal of the control terminal, if so, going to step S202, if it is not, going to step S204;S204, the radio communication worked in into the energy saver mode, go to step S203;S205, detect whether in being communicated in preset time with the control terminal, if so, go to step S204, If it is not, go to step S202.
- 5. method for monitoring power supply according to claim 2, it is characterised in that the step S12 bags Include following sub-step:If S121, the data processing equipment are arranged in the power-supply system, step S122 is gone to;If The data processing equipment is arranged in the communicator, goes to step S123;S122, the connection mode is set to data penetration transmission pattern, goes to step S2;S123, the connection mode is set to protocol analysis pattern, goes to step S2.
- 6. method for monitoring power supply according to claim 5, it is characterised in that if the connection mode For data penetration transmission pattern, then step S3 includes following sub-step:S301, the monitoring instruction monitoring power-supply system sent according to the control terminal data, by described in The data of data processing equipment response are packaged into network packet by ICP/IP protocol stack;S302, by the network packet by for connecting the power-supply system and the communicator Communication interface is sent to the communicator;S303, the network packet is forwarded to the control terminal.
- 7. method for monitoring power supply according to claim 5, it is characterised in that if the connection mode For protocol analysis pattern, then step S3 includes following sub-step:S401, the monitoring instruction monitoring power-supply system sent according to the control terminal data, will be supervised The data of control are sent to described by the communication interface for connecting the power-supply system and the communicator Data processing equipment;S402, the data that the data processing equipment responds are packaged into network number by ICP/IP protocol stack According to bag;S403, the network packet is forwarded to the control terminal.
- A kind of 8. apparatus for monitoring power supply, there is provided for wireless connection control terminal communicator and be used for The data processing equipment of response monitoring instruction, it is characterised in that including:Pattern acquiring module, for obtaining the communicator and the work of the control terminal progress radio communication Operation mode, and obtain the communicator and power-supply system according to the set-up mode of the data processing equipment Connection mode;Link block, for being established according to the mode of operation between the communicator and the control terminal Communication connection, and establish according to the connection mode logical between the communicator and the power-supply system Letter connection;Data interaction module, for the number of the monitoring instruction monitoring power-supply system sent according to the control terminal According to, and the data responded are back to the control terminal.
- 9. apparatus for monitoring power supply according to claim 8, it is characterised in that the pattern acquiring mould Block includes:Mode of operation acquisition submodule, for obtaining communicator with controlling terminal to carry out the work of radio communication Pattern;Connection mode acquisition submodule, it is described logical for being obtained according to the set-up mode of the data processing equipment The connection mode of T unit and power-supply system.
- 10. apparatus for monitoring power supply according to claim 9, it is characterised in that the mode of operation obtains Submodule is taken to include:Power-supply system starts submodule, for starting the power-supply system;Fixed mode acquisition submodule, the mode of operation for obtaining the radio communication are ap mode, with Radio communication is connected to the control terminal.
- 11. apparatus for monitoring power supply according to claim 9, it is characterised in that the mode of operation obtains Submodule is taken to include:Mode of operation judging submodule, for starting the power-supply system and judging the work of the radio communication Whether pattern is energy saver mode;Non- energy saver mode determination sub-module, for the radio communication to be worked in into non-energy saver mode;Bluetooth submodule, for detecting whether receiving the external wake signal of the control terminal;Energy saver mode determination sub-module, for the radio communication to be worked in into the energy saver mode;Communication check submodule, for detecting whether in preset time with it is described control terminal communicate.
- 12. apparatus for monitoring power supply according to claim 9, it is characterised in that the connection mode obtains Submodule is taken to include:Data penetration transmission sets submodule, if being arranged at for the data processing equipment in the power-supply system, The connection mode is set to data penetration transmission pattern;Protocol analysis sets submodule, if being arranged at for the data processing equipment in the communicator, The connection mode is set to protocol analysis pattern.
- 13. apparatus for monitoring power supply according to claim 12, it is characterised in that the data interaction Module includes:Packing submodule, the monitoring instruction for being sent according to the control terminal monitor the data of power-supply system, The data that the data processing equipment responds are packaged into network packet by ICP/IP protocol stack;Packet sending submodule, for by the network packet by for connect the power-supply system with The communication interface of the communicator is sent to the communicator;Packet forwards submodule, for the network packet to be forwarded into the control terminal.
- 14. apparatus for monitoring power supply according to claim 12, it is characterised in that the data interaction Module includes:Data sending submodule, the monitoring instruction for being sent according to the control terminal monitor power-supply system Data, by the data monitored by the communication interface for connecting the power-supply system and the communicator Send to the data processing equipment;Packing submodule, for the data that the data processing equipment responds to be beaten by ICP/IP protocol stack It is bundled into network packet;Packet forwards submodule, for the network packet to be forwarded into the control terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610428341.8A CN107517231A (en) | 2016-06-16 | 2016-06-16 | A kind of method for monitoring power supply and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610428341.8A CN107517231A (en) | 2016-06-16 | 2016-06-16 | A kind of method for monitoring power supply and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107517231A true CN107517231A (en) | 2017-12-26 |
Family
ID=60720092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610428341.8A Pending CN107517231A (en) | 2016-06-16 | 2016-06-16 | A kind of method for monitoring power supply and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107517231A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080143188A1 (en) * | 2006-12-06 | 2008-06-19 | Meir Adest | Distributed power harvesting systems using dc power sources |
CN101471703A (en) * | 2007-12-28 | 2009-07-01 | 希姆通信息技术(上海)有限公司 | Mobile phone tracker |
CN102271157A (en) * | 2011-07-21 | 2011-12-07 | 深圳市中兴新通讯设备有限公司 | Power monitoring system, method, wireless fidelity (WIFI) transceiver and intelligent power equipment |
CN102833831A (en) * | 2012-08-21 | 2012-12-19 | 中兴通讯股份有限公司 | Network card device, routing device, system and method for realizing dynamic dormancy and wakeup |
CN103490509A (en) * | 2013-09-04 | 2014-01-01 | 广州供电局有限公司 | Electric energy monitoring method and system for household appliances |
CN104469915A (en) * | 2014-12-24 | 2015-03-25 | 北京极科极客科技有限公司 | Intelligent sleep method and device for wireless router |
-
2016
- 2016-06-16 CN CN201610428341.8A patent/CN107517231A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080143188A1 (en) * | 2006-12-06 | 2008-06-19 | Meir Adest | Distributed power harvesting systems using dc power sources |
CN101471703A (en) * | 2007-12-28 | 2009-07-01 | 希姆通信息技术(上海)有限公司 | Mobile phone tracker |
CN102271157A (en) * | 2011-07-21 | 2011-12-07 | 深圳市中兴新通讯设备有限公司 | Power monitoring system, method, wireless fidelity (WIFI) transceiver and intelligent power equipment |
CN102833831A (en) * | 2012-08-21 | 2012-12-19 | 中兴通讯股份有限公司 | Network card device, routing device, system and method for realizing dynamic dormancy and wakeup |
CN103490509A (en) * | 2013-09-04 | 2014-01-01 | 广州供电局有限公司 | Electric energy monitoring method and system for household appliances |
CN104469915A (en) * | 2014-12-24 | 2015-03-25 | 北京极科极客科技有限公司 | Intelligent sleep method and device for wireless router |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110518707B (en) | Transmitting terminal device, receiving terminal device and wireless charging method | |
CN104821925B (en) | A kind of data interactive method, system and equipment | |
WO2020156432A1 (en) | Indication signal transmission method, terminal, and network device | |
CN106453906A (en) | External device, data transmission method, device and system | |
CN110224709A (en) | Method for transmitting signals, device and terminal | |
CN106603354A (en) | Home gateway capable of automatically switching network access mode and network access mode switching method | |
CN112511388A (en) | Method for home Internet of things and Internet of things terminal | |
CN205068378U (en) | Multi -functional wireless serial ports device | |
WO2020224659A1 (en) | Information reporting method, information receiving method, and terminal and network control entity | |
CN213279693U (en) | Internet of things terminal | |
CN102073344A (en) | Blade server management module with wireless module and blade server system | |
CN102752409B (en) | Control system and control method of wireless cluster | |
CN107517231A (en) | A kind of method for monitoring power supply and device | |
CN209746730U (en) | Doorbell and system | |
CN105099836A (en) | BLE intelligent node control method and system | |
WO2023088198A1 (en) | Network connection method and apparatus, and electronic device | |
CN210780850U (en) | Internet of things radio frequency control intelligent gateway | |
CN108811037A (en) | A kind of data transmission method and communication equipment | |
CN211959240U (en) | High-reliability gateway device based on MODBUS-Mqtt protocol | |
CN111416449B (en) | Wireless charging equipment | |
CN110445642B (en) | Communication method for maintaining flight parameter system across buses | |
CN103678227B (en) | USB functions and network function share the circuit and method of USB interface | |
KR20130058962A (en) | Apparatus and method for communicating wireless multimedia based on zigbee network standard | |
CN208796227U (en) | A kind of new function Bluetooth wireless communication modification floor indicator | |
CN110535493A (en) | A kind of blue-teeth communication equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518055 No. 1001 Nanshan Chi Park building B2 Applicant after: Vitamin Technology Co., Ltd. Address before: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518055 No. 1001 Nanshan Chi Park building B2 Applicant before: Aimosheng Network Energy Source Co., Ltd. |
|
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: 20171226 |