CN105956111A - Cloud service intelligent control system for air purifier - Google Patents
Cloud service intelligent control system for air purifier Download PDFInfo
- Publication number
- CN105956111A CN105956111A CN201610291889.2A CN201610291889A CN105956111A CN 105956111 A CN105956111 A CN 105956111A CN 201610291889 A CN201610291889 A CN 201610291889A CN 105956111 A CN105956111 A CN 105956111A
- Authority
- CN
- China
- Prior art keywords
- server
- query
- result
- instruction
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2477—Temporal data queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Probability & Statistics with Applications (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The invention provides a cloud service intelligent control system for an air purifier. The system comprises the following steps: initiating a query instruction to a server for a client, and checking the time of the last query by the server after receiving the instruction; if the interval of time of the last query and the current time does not reach a threshold, directly returning the last query result; if the interval of time of the last query and the current time reaches the threshold, initiating query to a controlled device by the server, returning the result to the server by the controlled device, and caching the query result and returning the query result to the client by the server; and when query instruction is simultaneously initiated to the server by a plurality of clients, locking the server by a synchronous lock, executing the instruction in sequence and interacting with the controlled device by the server to acquire the query results in sequence. According to the invention, the server caches the query result, and the instructions are sequentially executed by the plurality of clients, so that the overload pressure of the server can be greatly relieved, and all query instruction can be completely executed.
Description
Technical field
The present invention relates to a kind of cloud service intelligence control system, the cloud service intelligence control system of a kind of air purifier.
Background technology
APP hardware controlled techniques has been widely used in household appliance technical field, such as air purifier, air-conditioning etc..In prior art, APP hardware controlled techniques can only simple point-to-point control or can only the most remotely forward control, controlled overflow can be caused when many people inquire about or control simultaneously thus response slowly or instruction conflict causes instruction to perform.
Summary of the invention
The purpose of the present invention aims to provide the cloud service intelligence control system of the air purifier that a kind of sequential instructions based on server buffer performs, to solve weak point of the prior art.
By the cloud service intelligence control system of a kind of air purifier that this purpose designs, it is characterised in that comprise the following steps:
Step one, to client initiate query statement to server, after server receives instruction, check last time inquiry time;
If the last query time of step 2 has not arrived threshold value with current time interval, the most directly return last Query Result;
If the step 3 last query time time arrives threshold value with current time interval, server initiates inquiry to controlled device, and controlled device returns the result to server, server buffer Query Result, and Query Result is returned to client.
Further comprising the steps of:
When step 4, the plurality of client initiate query statement to server simultaneously, server passes through synchrolock locking, and server performs to instruct and mutual with controlled device the most successively, obtains Query Result successively;
Step 5, having and after instruction action that only one of which is complete has been performed and obtained result, server unlocks and waits or performs next instruction.
The present invention, by above-mentioned technological improvement, has the advantages that
The present invention passes through server buffer Query Result, and the design performed by multi-client instruction sequences, it is possible to significantly slows down the overburden pressure of server, and ensures that all query statements all can completely be performed, greatly optimizes the use body-sensing of user.
Accompanying drawing explanation
Fig. 1 is the schematic diagram one of the cloud service intelligence control system of air purifier of the present invention.
Fig. 2 is the schematic diagram two of the cloud service intelligence control system of air purifier of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings and embodiment the invention will be further described.
See Fig. 1, the cloud service intelligence control system of this air purifier, it is characterised in that comprise the following steps:
Step one, to client initiate query statement to server, after server receives instruction, check last time inquiry time;
If the last query time of step 2 has not arrived threshold value with current time interval, the most directly return last Query Result;
If the step 3 last query time time arrives threshold value with current time interval, server initiates inquiry to controlled device, and controlled device returns the result to server, server buffer Query Result, and Query Result is returned to client.
Controlled device needs to keep long with server and is connected, and establishes the link with server when client is activated, then disconnects with server when client is placed in backstage or closes, thus ensure the handling capacity of server.
Seeing Fig. 2, it is further comprising the steps of:
When step 4, the plurality of client initiate query statement to server simultaneously, server passes through synchrolock locking, and server performs to instruct and mutual with controlled device the most successively, obtains Query Result successively;
Step 5, having and after instruction action that only one of which is complete has been performed and obtained result, server unlocks and waits or performs next instruction;Thus ensure arrive on controlled device in an orderly manner to all query statements, also ensure that all of query statement all can be performed.
The above disclosed the preferred embodiments of the present invention that are only, rather than the claims limiting the present invention with this, according to the equivalent variations made in scope, still belong to the scope that the present invention is protected.
Claims (2)
1. the cloud service intelligence control system of an air purifier, it is characterised in that comprise the following steps:
Step one, to client initiate query statement to server, after server receives instruction, check last time inquiry time;
If the last query time of step 2 has not arrived threshold value with current time interval, the most directly return last Query Result;
If the step 3 last query time time arrives threshold value with current time interval, server initiates inquiry to controlled device, and controlled device returns the result to server, server buffer Query Result, and Query Result is returned to client.
The cloud service intelligence control system of air purifier the most according to claim 2, it is characterised in that:
Further comprising the steps of:
When step 4, the plurality of client initiate query statement to server simultaneously, server passes through synchrolock locking, and server performs to instruct and mutual with controlled device the most successively, obtains Query Result successively;
Step 5, having and after instruction action that only one of which is complete has been performed and obtained result, server unlocks and waits or performs next instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610291889.2A CN105956111A (en) | 2016-05-03 | 2016-05-03 | Cloud service intelligent control system for air purifier |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610291889.2A CN105956111A (en) | 2016-05-03 | 2016-05-03 | Cloud service intelligent control system for air purifier |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105956111A true CN105956111A (en) | 2016-09-21 |
Family
ID=56913731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610291889.2A Pending CN105956111A (en) | 2016-05-03 | 2016-05-03 | Cloud service intelligent control system for air purifier |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105956111A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109343961A (en) * | 2018-10-12 | 2019-02-15 | Oppo广东移动通信有限公司 | Processing method, device, storage medium and the terminal of memory information |
CN109698971A (en) * | 2019-01-15 | 2019-04-30 | 青岛海信电器股份有限公司 | A kind of data processing method and device |
CN109962953A (en) * | 2017-12-25 | 2019-07-02 | 深圳市优必选科技有限公司 | Client communication method for building up and device |
CN112989073A (en) * | 2021-03-11 | 2021-06-18 | 读书郎教育科技有限公司 | Method for scanning textbook and inquiring and matching textbook |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080228904A1 (en) * | 2002-03-20 | 2008-09-18 | Daniel Crespo-Dubie | Home Gateway Architecture and State Based Distributed System and Method |
CN101937467A (en) * | 2010-09-17 | 2011-01-05 | 北京开心人信息技术有限公司 | High-efficiency caching method and system of server |
CN103810028A (en) * | 2014-01-28 | 2014-05-21 | 深圳市中兴移动通信有限公司 | Intelligent terminal, operation method thereof and mobile terminal |
CN104765291A (en) * | 2015-02-10 | 2015-07-08 | 北京海尔广科数字技术有限公司 | Method, device and gateway for controlling intelligent device |
CN104808623A (en) * | 2015-04-03 | 2015-07-29 | 九阳股份有限公司 | Safe control method of network household appliance |
-
2016
- 2016-05-03 CN CN201610291889.2A patent/CN105956111A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080228904A1 (en) * | 2002-03-20 | 2008-09-18 | Daniel Crespo-Dubie | Home Gateway Architecture and State Based Distributed System and Method |
CN101937467A (en) * | 2010-09-17 | 2011-01-05 | 北京开心人信息技术有限公司 | High-efficiency caching method and system of server |
CN103810028A (en) * | 2014-01-28 | 2014-05-21 | 深圳市中兴移动通信有限公司 | Intelligent terminal, operation method thereof and mobile terminal |
CN104765291A (en) * | 2015-02-10 | 2015-07-08 | 北京海尔广科数字技术有限公司 | Method, device and gateway for controlling intelligent device |
CN104808623A (en) * | 2015-04-03 | 2015-07-29 | 九阳股份有限公司 | Safe control method of network household appliance |
Non-Patent Citations (1)
Title |
---|
冉强军: "云文件同步系统关键技术研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109962953A (en) * | 2017-12-25 | 2019-07-02 | 深圳市优必选科技有限公司 | Client communication method for building up and device |
CN109343961A (en) * | 2018-10-12 | 2019-02-15 | Oppo广东移动通信有限公司 | Processing method, device, storage medium and the terminal of memory information |
CN109343961B (en) * | 2018-10-12 | 2021-07-09 | Oppo广东移动通信有限公司 | Memory information processing method and device, storage medium and terminal |
CN109698971A (en) * | 2019-01-15 | 2019-04-30 | 青岛海信电器股份有限公司 | A kind of data processing method and device |
CN109698971B (en) * | 2019-01-15 | 2021-07-06 | 海信视像科技股份有限公司 | Data processing method and device |
CN112989073A (en) * | 2021-03-11 | 2021-06-18 | 读书郎教育科技有限公司 | Method for scanning textbook and inquiring and matching textbook |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105956111A (en) | Cloud service intelligent control system for air purifier | |
EP3812905A3 (en) | Extending berkeley packet filter semantics for hardware offloads | |
WO2019126048A3 (en) | Methods and apparatus to wirelessly interlock doors | |
MX2015009984A (en) | Intelligent household appliance control method and device and terminal. | |
EP4177760A3 (en) | Pooled memory address translation | |
EP3037300A3 (en) | Temperature-raising device and temperature-raising method for in-car battery | |
MX354427B (en) | Network access method and device. | |
WO2015073266A3 (en) | Sharing a file via email | |
EP3073773A3 (en) | Methods for performing a remote management of a multi-subscription sim module, and corresponding sim module and computer program product | |
EP2963905A3 (en) | Communication apparatus, terminal apparatus, control methods thereof, and program | |
RU2015109159A (en) | REMOTE CLEANING OF THE VEHICLE NAVIGATION SYSTEM | |
EP2922366A3 (en) | Method of handling device-to-device operation | |
EP4220402A3 (en) | Augmenting capabilities of a host device | |
EP2442254A3 (en) | Near field communication device and method for near field communication | |
EP2278464A3 (en) | Relay device and relay method | |
EP3367012A3 (en) | Air conditioner control method and device | |
WO2014140420A3 (en) | Methods, apparatuses and computer program products for improved device and network searching | |
CO2020007175A2 (en) | Method to capture haptic content on multiple communication devices | |
EP4277157A3 (en) | Message decoding method, transmitting end device and receiving end device | |
EP3267665A3 (en) | Communication apparatus, control method, program and computer-readable storage medium | |
JP2017533560A5 (en) | ||
EP2978264A3 (en) | Method of performing cell reselection procedure in wireless communication system | |
JP2016522470A5 (en) | ||
JP2014236326A5 (en) | ||
CN106225468A (en) | A kind of can manually, automatically, the drying machine intelligence control system of remote control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20160921 |