CN106789419A - Smart machine real time electrical quantity detection method - Google Patents
Smart machine real time electrical quantity detection method Download PDFInfo
- Publication number
- CN106789419A CN106789419A CN201611168468.7A CN201611168468A CN106789419A CN 106789419 A CN106789419 A CN 106789419A CN 201611168468 A CN201611168468 A CN 201611168468A CN 106789419 A CN106789419 A CN 106789419A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- data
- equipment
- equipment end
- smart machine
- 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
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W80/00—Wireless network protocols or protocol adaptations to wireless operation
- H04W80/06—Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to smart home technology, a kind of smart machine real time electrical quantity detection method is disclosed, facilitate user to check the power consumption condition of equipment at any time.The present invention sum up for:Be set to for WIFI module to monitor+virtual ap mode by smart machine, and sequence number is set into No. SSID, for mobile terminal connection;Ssid list is checked in mobile terminal, finds No. SSID of equipment and is attached;Mobile terminal sends IP address and port numbers that broadcast message goes acquisition equipment to equipment;Its IP address and port are broadcast to mobile terminal by equipment end in mode;Mobile terminal parses equipment end IP and port numbers, and with the connection of equipment end;Request data is encoded and is sent to equipment end by mobile terminal;Equipment end analysis request data, read electric quantity data from chip, and coding issues mobile terminal;Mobile terminal parses the data of needs, is shown to user.The present invention is applied to the built-in intelligent appliance of current detecting chip.
Description
Technical field
The present invention relates to smart home technology, more particularly to smart machine real time electrical quantity detection method.
Background technology
Household electrical appliances play important role in our daily life, and almost our life is at every moment all sent out therewith
Raw contact simultaneously depends on this contact.Household electrical appliances while great convenience is brought to us, also for we bring some problems,
Wherein everybody common concern is subject to for household electrical appliances power consumption than more serious this problem.Asked according in the recent period about media
Volume investigation finds that 80.72% buyer can pay close attention to the energy consumption problem of electric equipment when electrical equipment is bought, in addition,
We are used during equipment, it is also desirable to can be had a kind of easily mode to know the power consumption condition of our equipment, be looked at
Whether it can really realize " energy-conservation ".
Traditional electricity inspection method, one is by inquiring about electricity service condition from the point of view of ammeter but in this case past
Toward the power consumption condition that can not exactly reflect individual equipment, and inquiry ammeter is also limited in space, and inquiry ammeter is simultaneously
It is inconvenient.Another is detected by instrument, and instrument detection ensure that the accuracy of data, but general family will not be in order to
Query facility power consumption goes specially to buy an instrument, and instrument is merely able to measure the electricity service condition at a certain moment, and
The electricity consumption situation of detection certain time period can not be gone.So, although user has this demand, but does not have a kind of having for row but
The mode of effect accomplishes in real time, accurately, the quick electricity consumption situation of inquiry electric equipment, so that the use feelings for being oneself to equipment
Condition makes reasonable arrangement, accomplishes autonomous energy-conservation.
With the development of this concept of smart home, increasing intelligent appliance comes into our sight line, or even we
Life, as intelligent television, intelligent refrigerator, intelligent air condition etc., compared to traditional home appliance, greatly facilitates our life,
Enable us to real time inspection and control device.WIFI module is incorporated into smart machine, is also us on smart machine
More New functions are developed there is provided possibility.Traditional home appliance can also be changed one's identity suddenly as intelligent family by introducing WIFI module
Occupy.
The current detecting chip newly released in recent years, can be with turn-on current, and when electric current flows through chip, chip can be obtained
The data such as electric current, voltage, power, equipment can go reading data by serial ports when needing.
Since user has this demand to energy-conservation when household electrical appliances are selected, we will not only allow energy-conservation to be realized, also
User can be allowed visible.Sometimes, some household electrical appliances are turned on the plate of energy-conservation and allow user to buy, and user is bought back home after use,
Can just be cried over her loss when paying tariff, if user is capable of the power consumption feelings of real time inspection equipment during using electrical equipment
Condition, so as to make corresponding energy-conservation counter-measure, can provide the user preferably experience, likability of the lifting user to product.
The content of the invention
The technical problem to be solved in the present invention is:A kind of smart machine real time electrical quantity detection method is provided, facilitate user with
When check the power consumption condition of equipment.
To solve the above problems, the technical solution adopted by the present invention is:Smart machine real time electrical quantity detection method, including with
Lower step:
A. the WIFI module of smart machine is opened, and its pattern is set to monitor+virtual ap mode, monitor mobile terminal hair
The broadcast data for coming, and the sequence number of oneself is set to No. SSID, for mobile terminal connection;
B. by checking ssid list, find equipment No. SSID is attached by way of inputing password for mobile terminal;
C. after successful connection, APP is opened in mobile terminal, and click connection button begins setting up the connection communication passage with equipment;
D. the network segment where the WIFI information acquisition apparatus that mobile terminal passes through query facility end, then sends to the network segment and broadcasts
Information goes the IP address and No. Port (i.e. port numbers) of acquisition equipment;
E. equipment end is after the broadcast that mobile terminal is sent is listened to, by the IP address of oneself and No. Port in the way of data
Broadcast to mobile terminal;
F. mobile terminal parses equipment end IP and No. Port after equipment end data is received, and is set up by procotol
It is connected with the communication of equipment end;
G. mobile terminal is encoded request data, sends the requests to equipment end;
H. equipment end is parsed after receiving request, and data are read from current detecting chip, is then then encoded, will
Data send back to mobile terminal;
I. mobile terminal parses the data of needs after equipment end data is received, and is shown to user.
Further, after mobile terminal is connected with equipment end foundation communication, mobile terminal timing sends heartbeat to equipment end
Detection, if mobile terminal is detected less than equipment end heartbeat within the time of regulation, then it is assumed that equipment end is offline, points out to connect again
Connect equipment.
Further, mobile terminal be connected with equipment end it is uninterrupted in the case of, if equipment end has detected data more
Newly, then updated the data to mobile terminal passback, in the case where no data update, at interval of a period of time, equipment end will be inquired about
To all data report mobile terminal in order, mobile terminal after the data that equipment end is transmitted are received, more new user interface
Data display.
Specifically, the mobile terminal is smart mobile phone or panel computer.
Specifically, in step F, the procotol is ICP/IP protocol
Specifically, the request data checks that request and/or power check request including electricity.
The beneficial effects of the invention are as follows:The present invention compensate for the blank of smart machine electric power detection this part, from user's
For angle, facilitate the electricity consumption power consumption condition of user's real time inspection domestic electric appliance, accomplished to allow user realizing energy-conservation
While can also see, meet demand of the user to electricity quantity inquiring this part, can well improve body of the user to product
Test;From for the angle of product, electric power detection can also help developer's real-time watch device power consumption condition, in possible feelings
Under condition, more energy-efficient product is developed.
Brief description of the drawings
Fig. 1 is flow chart of the invention.
Specific embodiment
In the present invention, smart machine is the intelligent appliance with WIFI module, its settable WIFI hot spot and the focus
The function that can be detected and be connected by other equipment, meanwhile, equipment its it is internal current detecting chip is set, can with turn-on current, when
When electric current flows through chip, electric current flows through chip can obtain the data such as electric current, voltage, power, and equipment can needed by serial ports
Will when go read data, intelligent appliance can be the common intelligent appliance such as air-conditioning, refrigerator, TV.Mobile terminal is generally intelligence
Can mobile phone or panel computer.
In order that the object, technical solutions and advantages of the present invention are clearer, below according to Figure of description 1, with reference to reality
The usage scenario on border, the implementation method to the invention is described in more detail, and is described as follows:
After step one, smart machines (such as air-conditioning) start, the WIFI module of smart machine is opened, and its pattern is set
Monitoring+virtual ap mode is set to, the broadcast data that mobile terminal (such as mobile phone) is sent is monitored, and the sequence number of oneself is set to
No. SSID, wait the connection of standby communication terminal;
Step 2 user wants the current power consumption of inquiry, finds me by retrieving ssid list in mobile terminal first
The corresponding SSID of equipment, input password carry out AP connections;
Step 3 user directly opens electricity quantity inquiring work(in mobile terminal by certain function on APP or APP
Energy;
Equipment, and audiomonitor passback broadcast are searched in step 4 mobile terminals by way of sending broadcast, and equipment end is in prison
Hear after having the broadcast from mobile terminal, mobile terminal is broadcast in the way of data by oneself IP and No. Port;
Step 5 is mobile-terminated receive the broadcast that equipment end sends after, show that equipment finds and successful connection.It is mobile
The IP and port numbers that equipment is parsed from data are received are held, the length for setting up stabilization with equipment is connected.After connection long is set up,
Mobile terminal regularly can send heartbeat data to equipment is used for the connection status of testing equipment, if do not received at the appointed time
If the data that equipment is sent back, then it is assumed that equipment goes offline, user equipment can be pointed out to go offline reconnect.In mobile terminal and equipment
In the case of end connection is uninterrupted, if equipment end has detected data and updated, updated the data to mobile terminal passback, do not had
In the case that data update, at interval of a period of time, all data that equipment end will be inquired report mobile terminal in order.Move
Moved end updates user interface data and shows after the data that equipment end is transmitted are received.
Step 6 user clicks on button inquiry power consumption, and mobile terminal is encoded request data, and is assisted by TCP/IP
Discuss and send electricity quantity inquiring request data to equipment end, equipment end parses life first after the request that mobile terminal is sent is received
Parameter and command type are made, according to command type, by serial ports, data is read from current detecting chip, then by data solution
After analysis and coding, mobile terminal is sent to;
Step 7 mobile terminals are parsed, and present the data to user after the data for receiving equipment end.
General principle of the invention and main feature are the foregoing described, the description of specification is explanation original of the invention
Reason, without departing from the spirit and scope of the present invention, various changes and modifications of the present invention are possible, these changes and improvements
All fall within the protetion scope of the claimed invention.
Claims (6)
1. smart machine real time electrical quantity detection method, it is characterised in that comprise the following steps:
A. the WIFI module of smart machine is opened, and its pattern is set to monitor+virtual ap mode, monitor what mobile terminal was sent
Broadcast data, and the sequence number of oneself is set to No. SSID, for mobile terminal connection;
B. mobile terminal is connected after find equipment No. SSID by checking ssid list with mobile terminal;
C. after successful connection, APP is opened in mobile terminal, and click connection button begins setting up the connection communication passage with equipment;
D. the network segment where the WIFI information acquisition apparatus that mobile terminal passes through query facility end, then sends broadcast message to the network segment
Go acquisition equipment IP address and No. Port;
E. equipment end is broadcasted the IP address of oneself and No. Port after the broadcast that mobile terminal is sent is listened in the way of data
It is sent to mobile terminal;
F. mobile terminal parses equipment end IP and No. Port after equipment end data is received, and is set up and is set by procotol
The communication connection at standby end;
G. mobile terminal is encoded request data, sends the requests to equipment end;
H. equipment end is parsed after receiving request, and data are read from current detecting chip, is then then encoded, by data
Send back to mobile terminal;
I. mobile terminal parses the data of needs after equipment end data is received, and is shown to user.
2. smart machine real time electrical quantity detection method according to claim 1, it is characterised in that in mobile terminal and equipment end
Set up after communication connection, mobile terminal timing sends heartbeat detection to equipment end, if mobile terminal is visited within the time of regulation
Do not detect equipment end heartbeat, then it is assumed that equipment end is offline, point out reconnect equipment.
3. smart machine real time electrical quantity detection method according to claim 2, it is characterised in that in mobile terminal and equipment end
In the case of connection is uninterrupted, if equipment end has detected data and updated, updated the data to mobile terminal passback, without number
In the case of according to renewal, at interval of a period of time, all data that equipment end will be inquired report mobile terminal in order, mobile
End updates user interface data and shows after the data that equipment end is transmitted are received.
4. smart machine real time electrical quantity detection method according to claim 1, it is characterised in that the mobile terminal is intelligence
Mobile phone or panel computer.
5. smart machine real time electrical quantity detection method according to claim 1, it is characterised in that in step F, the network
Agreement is ICP/IP protocol.
6. smart machine real time electrical quantity detection method according to claim 1, it is characterised in that the request data includes
Electricity checks that request and/or power check request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611168468.7A CN106789419A (en) | 2016-12-16 | 2016-12-16 | Smart machine real time electrical quantity detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611168468.7A CN106789419A (en) | 2016-12-16 | 2016-12-16 | Smart machine real time electrical quantity detection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106789419A true CN106789419A (en) | 2017-05-31 |
Family
ID=58893239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611168468.7A Pending CN106789419A (en) | 2016-12-16 | 2016-12-16 | Smart machine real time electrical quantity detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789419A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080062956A1 (en) * | 2003-05-16 | 2008-03-13 | Gou Kuroda | Medium access control method and system |
US20130100855A1 (en) * | 2011-10-25 | 2013-04-25 | Samsung Electronics Co., Ltd. | Method and apparatus for wi-fi connection using wi-fi protected setup in portable terminal |
CN103384367A (en) * | 2012-05-03 | 2013-11-06 | 海尔集团公司 | Device searching method |
CN103401790A (en) * | 2013-08-05 | 2013-11-20 | 深圳市华讯方舟科技有限公司 | Method for accessing wireless router in AP (Access Point) mode or relay mode by intelligent equipment |
CN105703985A (en) * | 2016-02-03 | 2016-06-22 | 四川长虹电器股份有限公司 | Method for realizing quick network access of intelligent device and device interconnection |
CN105972757A (en) * | 2016-05-20 | 2016-09-28 | 四川长虹空调有限公司 | Intelligent air conditioning equipment and intelligent air conditioner control system based on electric quantity detection |
CN106059800A (en) * | 2016-05-23 | 2016-10-26 | Tcl集团股份有限公司 | Network access configuration method and system based on intelligent household electric appliances |
-
2016
- 2016-12-16 CN CN201611168468.7A patent/CN106789419A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080062956A1 (en) * | 2003-05-16 | 2008-03-13 | Gou Kuroda | Medium access control method and system |
US20130100855A1 (en) * | 2011-10-25 | 2013-04-25 | Samsung Electronics Co., Ltd. | Method and apparatus for wi-fi connection using wi-fi protected setup in portable terminal |
CN103384367A (en) * | 2012-05-03 | 2013-11-06 | 海尔集团公司 | Device searching method |
CN103401790A (en) * | 2013-08-05 | 2013-11-20 | 深圳市华讯方舟科技有限公司 | Method for accessing wireless router in AP (Access Point) mode or relay mode by intelligent equipment |
CN105703985A (en) * | 2016-02-03 | 2016-06-22 | 四川长虹电器股份有限公司 | Method for realizing quick network access of intelligent device and device interconnection |
CN105972757A (en) * | 2016-05-20 | 2016-09-28 | 四川长虹空调有限公司 | Intelligent air conditioning equipment and intelligent air conditioner control system based on electric quantity detection |
CN106059800A (en) * | 2016-05-23 | 2016-10-26 | Tcl集团股份有限公司 | Network access configuration method and system based on intelligent household electric appliances |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11025097B2 (en) | Wireless charging management system and wireless power transmitting terminal | |
KR101904765B1 (en) | Energy management system | |
US20170194789A1 (en) | Energy management system | |
CN105519164A (en) | Energy management system | |
US20140232549A1 (en) | Integrated terminal for advance metering infrastructue and method of controlling the same | |
CN103312852B (en) | A kind of mobile terminal electric current automatic test device and method of testing thereof | |
CN107148009B (en) | Multi-standard mobile communication network internet data flow measuring device and method thereof | |
CN209311603U (en) | A kind of integrated management repair reporting system based on internet voltage and current | |
CN105043441A (en) | Environmental monitoring system based on Beidou time service and positioning technology | |
CN104133428B (en) | A kind of intelligent control method of control electrical equipment | |
CN104506923A (en) | Multimedia processing device, server and method | |
CN202424727U (en) | Portable testing device of micropower wireless communication module | |
CN102438329B (en) | Dialing method of vehicle-mounted navigation device supporting multimode 3G (the 3rd generation) network | |
CN106789419A (en) | Smart machine real time electrical quantity detection method | |
CN103338382B (en) | A kind of method of remote monitoring digital TV terminal, device and digital television system | |
KR20190024226A (en) | Remote meter reading system and method based on low power, long range, wireless communication | |
CN104993841B (en) | A kind of wireless communication apparatus and its terminal device and host device | |
CN109188974A (en) | Empty nest elderly house weather monitors inquiry system and method | |
CN104821960A (en) | Intelligent cloud computing system | |
CN206223833U (en) | A kind of intelligent electric meter system | |
CN208723790U (en) | A kind of power supply adaptor | |
CN105163336A (en) | Method and system for optimizing stability of wireless network | |
CN104793083A (en) | Communication unit interchangeability testing system and interchanging method thereof | |
CN107765119A (en) | A kind of automatic detection machine starts abnormal method | |
CN203368655U (en) | Television one body machine with wireless WIFI signal transmitting function |
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: 20170531 |