CN110417908A - Internet of Things cloud on-off control method and system - Google Patents
Internet of Things cloud on-off control method and system Download PDFInfo
- Publication number
- CN110417908A CN110417908A CN201910720149.XA CN201910720149A CN110417908A CN 110417908 A CN110417908 A CN 110417908A CN 201910720149 A CN201910720149 A CN 201910720149A CN 110417908 A CN110417908 A CN 110417908A
- Authority
- CN
- China
- Prior art keywords
- key value
- information
- value information
- internet
- switching
- 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.)
- Granted
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/22—Indexing; Data structures therefor; Storage structures
-
- 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
- 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)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Power Sources (AREA)
Abstract
The present invention provides a kind of Internet of Things cloud on-off control method and systems, are related to the technical field of electronics, comprising: the switching rules information that first reading client is sent;Then switching rules information is converted into key value information storage into Redis cache database;It is based on key value information countdown again, key value information is deleted after countdown and triggers overtime monitor;Deleted key value information finally is received using overtime monitor, and switch coupling control command is sent to management equipment according to deleted key value information.The present invention can save thread resources, realize making full use of for thread resources, and switching rules information is individual task, the practical character set for only consuming 30 bytes or so of individual task only needs the datarams memory space of 28M task reaches million ranks.Therefore, the present invention can achieve saving memory source, and maintenance is simple, and task is punctual, improves the effect of bearing capacity.
Description
Technical field
The present invention relates to electronic technology fields, more particularly, to a kind of Internet of Things cloud on-off control method and system.
Background technique
The age that household electrical appliances are not networked is to be embedded in an application by the built-in chip in household electrical appliances to realize time switch
Function, the drawbacks of this mode is the higher cost of application upgrade and maintenance.Later with the raising of networking popularity rate, family
Electricity makes timed startup/shutdown function have a new solution by accessing internet, i.e. server cloud will by network
Time switch machine information is sent to the function of reaching timing controlled appliance switch machine in household electrical appliances.
The sales volume of major part household electrical appliances is all at ten thousand grades-million grades at present.It continues to use traditional scheme Quartz and realizes timing
When task, tracks and execute since a thread is activated individually in each task, can waste server resource, and server thread
Resource is limited, precious.Therefore, the memory source consumption of per thread 2M quickly, thousands of a tasks will by memory and
Number of threads is crowded with, and task up to ten thousand needs higher memory to support to support with CPU core calculation.Therefore, traditional scheme can be made
At the wasting of resources and it is unfavorable for safeguarding.
Summary of the invention
The purpose of the present invention is to provide a kind of Internet of Things cloud on-off control method and systems, can save memory money
Source, maintenance is simple, and task is punctual, and can improve bearing capacity.
A kind of Internet of Things cloud on-off control method provided by the invention is applied to Internet of Things cloud on-and-off control system,
Wherein, comprising: the switching rules information that reading client is sent;The switching rules information is converted to key value information storage to arrive
In Redis cache database;In the Redis cache database, it is based on the key value information countdown, is terminated in countdown
After delete the key value information and trigger overtime monitor;Deleted key value information is received using the overtime monitor, and
Switch coupling control command is sent to management equipment according to the deleted key value information.
Further, method further include: judge whether the deleted key value information repeats;If so, by institute
Deleted key value information is stated to be saved again to the Redis cache database.
Further, method includes: the switching rules information for receiving client and sending.
A kind of Internet of Things cloud on-and-off control system provided by the invention, wherein include: project manager, rule storage
Distributor, Redis cache database and overtime monitor;The project manager, the switch rule sent for reading client
Then information, and the switching rules information is sent to the regular storage distribution device;The rule storage distribution device and Redis
Cache database establishes connection, caches number to the Redis for the switching rules information to be converted to key value information storage
According in library;The Redis cache database, for being based on the key value information countdown, after countdown described in deletion
Key value information simultaneously triggers the overtime monitor;The time-out monitor, for receiving deleted key value information, and according to institute
It states deleted key value information and sends switch coupling control command to management equipment.
Further, the overtime monitor, is also used to judge whether the deleted key value information repeats;If
It is then to save the deleted key value information to the Redis cache database again.
Further, the project manager is also used to receive the switching rules information of client transmission.
Further, the information of the project manager includes project manager title, project manager ID, project management
One of device type, firmware version, hardware version, physics MAC and extension information of device or much information.
Further, the switching rules information includes the corresponding attribute information of one or more rules properties, wherein institute
Stating rules properties includes management equipment ID, available machine time, booting rule, booting taking effect rules state, unused time, shutdown rule
Then, one of shutdown taking effect rules state or a variety of.
Further, system further includes the Mysql database connecting with the regular storage distribution device, the Mysql number
According to library include switching on and shutting down rule list, the switching on and shutting down rule list for store the rules properties and with the rules properties pair
The attribute information answered.
Further, the key value information includes at least: the corresponding regular line number of Fixed CP, switching on and shutting down rule list, pipe
Whether reason device id, switching rules repeat, switch sign and one of corresponding number of days or a variety of in week.
A kind of Internet of Things cloud on-off control method provided by the invention and system, comprising: what first reading client was sent
Switching rules information;Then switching rules information is converted into key value information storage into Redis cache database;Exist again
It is based on key value information countdown in Redis cache database, key value information is deleted after countdown and triggers overtime monitoring
Device;Deleted key value information finally is received using overtime monitor, and is sent out according to deleted key value information to management equipment
Send switch coupling control command.The present invention deletes key value information using Redis cache database, and delete operation can save thread
Resource reaches making full use of for thread resources, and switching rules information corresponding with key value information is individual task, and individual task is real
Border only consumes the character set of 30 bytes or so and is not related to the occupancy of any other resource.Even if task reaches million ranks
Also the datarams memory space of 28M is only needed.Therefore, the present invention can achieve saving memory source, and maintenance is simple, and task is quasi-
When, improve the effect of bearing capacity.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of Internet of Things cloud on-off control method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another Internet of Things cloud provided in an embodiment of the present invention on-off control method;
Fig. 3 is a kind of structure chart of Internet of Things cloud on-and-off control system provided in an embodiment of the present invention;
Fig. 4 is the structure chart of another Internet of Things cloud provided in an embodiment of the present invention on-and-off control system.
Icon:
11- project manager;12- rule storage distribution device;13-Redis cache database;14- time-out monitor;15-
Mysql database.
Specific embodiment
Technical solution of the present invention is clearly and completely described below in conjunction with embodiment, it is clear that described reality
Applying example is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, the common skill in this field
Art personnel every other embodiment obtained without making creative work belongs to the model that the present invention protects
It encloses.
Quickly, memory and number of threads will be crowded with by thousands of a tasks for the memory source consumption of per thread 2M at present,
And task up to ten thousand needs higher memory to support to support with CPU core calculation.Therefore, traditional scheme will cause the wasting of resources and not
Conducive to maintenance.Based on this, the embodiment of the present invention provides a kind of Internet of Things cloud on-off control method and system, slow using Redis
Key value information is deleted in deposit data library, and delete operation can save thread resources, reach making full use of for thread resources, is believed with key assignments
Ceasing corresponding switching rules information is individual task, and individual task practical consumes the character set of 30 bytes or so and do not relate to
And the occupancy of any other resource.The datarams memory space of 28M is only needed task reaches million ranks.Therefore,
The embodiment of the present invention can achieve saving memory source, and maintenance is simple, and task is punctual, improves the effect of bearing capacity.
For convenient for understanding the present embodiment, first to a kind of Internet of Things cloud switching on and shutting down disclosed in the embodiment of the present invention
Control method describes in detail.
Embodiment one:
Referring to Fig.1, it the embodiment of the invention provides a kind of Internet of Things cloud on-off control method, is opened applied to Internet of Things cloud
Power-off control system, wherein may comprise steps of:
Step S101, the switching rules information that reading client is sent.
In embodiments of the present invention, switching rules information includes the corresponding attribute information of one or more rules properties,
In, when rules properties include but is not limited to management equipment ID, available machine time, booting rule, booting taking effect rules state, shutdown
Between, shutdown rule, shutdown one of taking effect rules state or a variety of.
Specifically, management equipment ID is also referred to as Device ID, it can refer to the unique identification logic id number of management equipment,
Wherein, management equipment can refer to household appliance;Available machine time is the time of management equipment booting, is made of hour and the number of minutes,
And hour was made using 24 hours;Booting rule is that the period of boot action is repeated to management equipment, by Arabic numerals 0-6
Saturday on the Sunday-composition closed set respectively indicated is closed, if collection is combined into sky, then it represents that is executed once, if set is not sky, weekly all
Available machine time on the day of Arabic numerals expression triggers boot action;The taking effect rules state that is switched on is for indicating booting rule
Whether come into force, for example, Arabic numerals 0 indicate that booting rule does not come into force, 1 indicates booting taking effect rules;Unused time is management
It the time of equipment shutdown, is made of hour and the number of minutes, and hour was made using 24 hours;Shutdown rule is to management equipment repetition
The period of shutdown movement is executed, the Saturday on Sunday-respectively indicated by Arabic numerals 0-6 forms closed set conjunction, if collection is combined into sky,
Indicate that execution is primary, if set is not sky, the unused time triggering shutdown weekly all on the day of Arabic numerals expression is dynamic
Make;Shutdown taking effect rules state is for indicating whether shutdown rule comes into force, for example, Arabic numerals 0 indicate that shutdown rule is not given birth to
Effect, 1 indicates shutdown taking effect rules.
Switching rules information is converted to key value information storage into Redis cache database by step S102.
Step S103 is based on key value information countdown, delete key after countdown in Redis cache database
Value information simultaneously triggers overtime monitor.
In embodiments of the present invention, the corresponding task of a switching rules information of a management equipment, wherein task
Task when can specify deletes key value information using Redis cache database when executing timed task, can save thread money
Source makes thread resources be fully used.
Step S104 receives deleted key value information using overtime monitor, and according to deleted key value information to
Management equipment sends switch coupling control command.
A kind of Internet of Things cloud on-off control method provided in an embodiment of the present invention, the switch rule that first reading client is sent
Then information;Then switching rules information is converted into key value information storage into Redis cache database;It is cached again in Redis
It is based on key value information countdown in database, key value information is deleted after countdown and triggers overtime monitor;Last benefit
Deleted key value information is received with overtime monitor, and switch coupling is sent to management equipment according to deleted key value information
Control command.The embodiment of the present invention deletes key value information using Redis cache database, and delete operation can save thread money
Source reaches making full use of for thread resources, and switching rules information corresponding with key value information is individual task, and individual task is practical
It only consumes the character set of 30 bytes or so and is not related to the occupancy of any other resource.Even if timed task reaches million grades
The datarams memory space of 28M is not only needed yet.Therefore, the embodiment of the present invention can achieve saving memory source, maintenance letter
Single, task is punctual, improves the effect of bearing capacity.
Further, referring to Fig. 2, method further include:
Step S105, judges whether deleted key value information repeats.
Step S106, if so, being saved deleted key value information again to Redis cache database.
In embodiments of the present invention, it if the expression of deleted key value information repeats switching on and shutting down control, will specifically open
The deleted key value information of shutdown control operation is saved again to Redis cache database, it is ensured that subsequent to repeat
The switching on and shutting down of the key value information control;If deleted key value information expression does not repeat switching on and shutting down control, supervised in time-out
End switch machine controls after listening device to send switch coupling control command to management equipment.
Further, referring to Fig. 2, method includes: before step S101
Step S100 receives the switching rules information that client is sent.
In embodiments of the present invention, switching rules information may include the clocking discipline of switching on and shutting down, and a large amount of management equipments connect
Enter cloud, and switching rules information is set, switching rules orderly information accurately executes, and can reduce resources occupation rate, reduces
Maintenance cost.
The embodiment of the present invention is opened using the single thread mode in the key assignments expiration policies of Redis cache database, the mode
A thread is opened, thread timing carries out training in rotation to the corresponding expired time dictionary of all key assignments at regular intervals, then looks for
Delete operation is carried out to expired key, the execution time of delete operation is Millisecond, and the precision of our clocking discipline is only
It is required that can execute timed task on time to minute, that is, within the current minute of timing, delete operation can also be touched
Overtime monitor is sent out, overtime monitor takes the mode of thread pool to carry out batch processing, such as: at a time behaviour is deleted in timing
It triggers 1000 timed tasks to execute, above-mentioned 1000 timed tasks are divided into 100 threads and go to handle by overtime monitor
Switching on and shutting down control operation, i.e. per thread handle 10 timed tasks, the execution sequence of 100 threads be it is random, execute behaviour
Overtime monitor recycling discharges above-mentioned 100 thread resources after the completion of making.If a large amount of management equipment is all same in same hour
It is very big concurrency that minute, which is configured, such as: the timed task of 1000 management equipments all carries out control operation at 12 points.
When all management equipments are all disposed within the same moment by all users carries out switching on and shutting down operation, then distributed treatment is utilized,
Such as: 10 servers will be first distributed to the 100000 of expired processing tasks, 10,000 tasks of every server process, every
Server opens 1000 thread mass simultaneous and handles 10 tasks, can save thread resources, thread resources is realized abundant
It utilizes.
Embodiment two:
Referring to Fig. 3, the embodiment of the present invention provides a kind of Internet of Things cloud on-and-off control system, wherein comprises the following modules:
Project manager 11, regular storage distribution device 12, Redis cache database 13 and overtime monitor 14.
Project manager 11 for the switching rules information that reading client is sent, and switching rules information is sent to
Regular storage distribution device 12.
In embodiments of the present invention, client includes but is not limited to: computer, mobile phone and other electronic equipments.User can be with
The REST agreement request based on HTTP is sent first with the interface App of client, and switching rules information is sent to project manager
11, recycle the project manager 11 write using Java programming language as transfer, in conjunction in the library Java EE
The GetParameter method of HttpRequest object reference is by specifying corresponding parameter name to obtain management equipment ID, opening
The machine time, booting rule, booting taking effect rules state, the unused time, shut down regular, shutdown taking effect rules state attribute letter
Breath, then by the switching rules message transport read to regular storage distribution device 12.
Regular storage distribution device 12 establishes connection with Redis cache database 13, for being converted to switching rules information
Key value information is stored into Redis cache database 13.
In embodiments of the present invention, key value information can include but is not limited to: Fixed CP, switching on and shutting down rule list are corresponding
Whether regular line number, management equipment ID, switching rules repeat, switch sign and in week one of corresponding number of days or
It is a variety of.Switching rules information is converted to key value information and be converted to according to preset rules by regular storage distribution device 12 meets Redis
The key value information and corresponding countdown number of seconds that cache database 13 accesses, key value information and corresponding countdown number of seconds save
Into Redis cache database 13, Redis cache database 13 responds storage result to regular storage distribution device 12, key assignments letter
Breath may include following combined information: Fixed CP, switching on and shutting down rule list rule of correspondence line number, Device ID, booting rule are
It is no repeat, switch sign, the time repeated in a week, such as: Task:101:1012:1:off:0 represents
101 row switching rules information, executing management equipment ID is 1012, and repeats shutdown movement on every Sundays.
Redis cache database 13 deletes key value information simultaneously after countdown for being based on key value information countdown
Trigger overtime monitor 14.
In embodiments of the present invention, the high performance cache database that Redis cache database 13 is increased income as one, it is simultaneous
The function of key value information is deleted in tool storage and countdown, and key value information is deleted after countdown, while triggering overtime monitoring
Device.Redis cache database 13 carries out countdown using number of seconds, and the number of seconds of countdown is that available machine time and current time differ
The number of seconds of number of seconds or unused time and current time difference.
Overtime monitor 14 is set for receiving deleted key value information, and according to deleted key value information to management
Preparation send switch coupling control command.
In embodiments of the present invention, overtime monitor 14 receives deleted key value information, then reads in key value information
Device ID, switch sign, by MQTT agreement by switch coupling control command be sent to management equipment end so that management set
Standby completion timing switching on and shutting down operate.
Further, overtime monitor 14, is also used to judge whether deleted key value information repeats;If so,
Deleted key value information is saved again to Redis cache database.
In embodiments of the present invention, after the completion of sending switch coupling control command, overtime monitor 14 is also used to read
Deleted key value information, judges whether the switching rules information in key value information repeats, if repeating, uses me
Uncle's number 1 indicates.For example, 7 points of execution power-on operations of the Monday of humidifier weekly, continuously perform falling between power-on operation twice
Timing number of seconds are as follows: 3600*24*7=604800 seconds, countdown number of seconds 604800 is saved again to Redis cache database etc.
To the end of countdown next time, and overtime monitor 14 is triggered again.
A kind of Internet of Things cloud on-and-off control system provided in an embodiment of the present invention is utilized with lower module: project manager
11, regular storage distribution device 12, Redis cache database 13 and overtime monitor 14, the switch rule that first reading client is sent
Then information;Then switching rules information is converted into key value information storage into Redis cache database;It is cached again in Redis
It is based on key value information countdown in database, key value information is deleted after countdown and triggers overtime monitor;Last benefit
Deleted key value information is received with overtime monitor, and switch coupling is sent to management equipment according to deleted key value information
Control command.The embodiment of the present invention deletes key value information using Redis cache database, and delete operation can save thread money
Source reaches making full use of for thread resources, and switching rules information corresponding with key value information is individual task, and individual task is practical
It only consumes the character set of 30 bytes or so and is not related to the occupancy of any other resource.Reach million ranks even if task
Only need the datarams memory space of 28M.Therefore, the embodiment of the present invention can achieve saving memory source, and maintenance is simple, appoint
Business is punctual, improves the effect of bearing capacity.
Further, project manager 11 are also used to receive the switching rules information of client transmission.
Further, the information of project manager 11 includes project manager title, project manager ID, project manager
Device type, firmware version, hardware version, physics MAC and extension one of information or much information.
Further, referring to Fig. 4, system further includes the Mysql database 15 connecting with regular storage distribution device 12,
Mysql database 15 includes switching on and shutting down rule list, and switching on and shutting down rule list is for storage rule attribute and corresponding with rules properties
Attribute information.
In embodiments of the present invention, regular storage distribution device 12 establishes jdbc by JDBC driving and Mysql database 15
Agreement connection, is sent to Mysql database for switching rules information and stores.Specifically, regular storage distribution device 12 will rule
Then attribute and attribute information correspond storage into the switching on and shutting down rule list of Mysql database 15, and switching on and shutting down rule list can be with
Refer to that the tables of data comprising switching rules information, i.e. switching rules information are stored in server machine linux system
In Mysql database 15, assisted by regular storage distribution device 12 by the jdbc that JDBC driving and the service of Mysql database 15 are established
View connection stores switching on and shutting down rule list, updates and check operation.
It should be noted that if user needs to check the switching rules information set, it is only necessary in client
The REST agreement request based on HTTP is sent on the interface App to project manager 11, project manager 11 receives inquiry request, and
It is connected by JDBC driving with the jdbc agreement that Mysql database service is established by regular storage distribution device 12 and believes switching rules
Breath is checked out from switching on and shutting down rule list, and switching rules information is then fed back to project using the Response of http protocol
Switching rules information is fed back to client by the Response of http protocol by manager 11, final race manager 11, by
The interface App of client is shown movement.
In embodiments of the present invention, due to only needing to safeguard opening for the switching rules information including all management equipments
Shut down rule list, and is made of simplest key assignments, i.e., the practical only consumption of single timed task is in 30 bytes or so
Character set and be not related to any other resource occupation, therefore, only need 28M's management equipment reaches million ranks
Datarams memory space, then it is aided with service logic to accomplish to save memory source, maintenance is simple, and task is punctual, can be improved
Bearing capacity.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (10)
1. a kind of Internet of Things cloud on-off control method is applied to Internet of Things cloud on-and-off control system, which is characterized in that packet
It includes:
The switching rules information that reading client is sent;
The switching rules information is converted into key value information storage into Redis cache database;
In the Redis cache database, it is based on the key value information countdown, the key assignments is deleted after countdown
Information simultaneously triggers overtime monitor;
Deleted key value information is received using the overtime monitor, and is set according to the deleted key value information to management
Preparation send switch coupling control command.
2. Internet of Things cloud according to claim 1 on-off control method, which is characterized in that further include:
Judge whether the deleted key value information repeats;
If so, being saved the deleted key value information again to the Redis cache database.
3. Internet of Things cloud according to claim 1 on-off control method characterized by comprising receive client hair
The switching rules information sent.
4. a kind of Internet of Things cloud on-and-off control system characterized by comprising project manager, regular storage distribution device,
Redis cache database and overtime monitor;
The project manager is sent for the switching rules information that reading client is sent, and by the switching rules information
To the regular storage distribution device;
The rule storage distribution device and Redis cache database establish connection, for being converted to the switching rules information
Key value information is stored into the Redis cache database;
The Redis cache database deletes the key assignments for being based on the key value information countdown after countdown
Information simultaneously triggers the overtime monitor;
The time-out monitor, for receiving deleted key value information, and according to the deleted key value information to management
Equipment sends switch coupling control command.
5. Internet of Things cloud according to claim 4 on-and-off control system, which is characterized in that the time-out monitor, also
For judging whether the deleted key value information repeats;
If so, being saved the deleted key value information again to the Redis cache database.
6. Internet of Things cloud according to claim 4 on-and-off control system, which is characterized in that the project manager, also
For receiving the switching rules information of client transmission.
7. Internet of Things cloud according to claim 6 on-and-off control system, which is characterized in that the letter of the project manager
Breath includes project manager title, project manager ID, the device type of project manager, firmware version, hardware version, physics
One of MAC and extension information or much information.
8. Internet of Things cloud according to claim 4 on-and-off control system, which is characterized in that the switching rules packet
Include the corresponding attribute information of one or more rules properties, wherein the rules properties include management equipment ID, the available machine time,
One of booting rule, booting taking effect rules state, unused time, shutdown rule, shutdown taking effect rules state are a variety of.
9. Internet of Things cloud according to claim 8 on-and-off control system, which is characterized in that further include being deposited with the rule
The Mysql database of distributor connection is stored up, the Mysql database includes switching on and shutting down rule list, and the switching on and shutting down rule list is used
In the storage rules properties and attribute information corresponding with the rules properties.
10. Internet of Things cloud according to claim 4 on-and-off control system, which is characterized in that the key value information is at least
It include: whether the corresponding regular line number of Fixed CP, switching on and shutting down rule list, management equipment ID, switching rules repeat, switch
One of corresponding number of days or a variety of in mark and week.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910720149.XA CN110417908B (en) | 2019-08-05 | 2019-08-05 | Internet of things cloud startup and shutdown control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910720149.XA CN110417908B (en) | 2019-08-05 | 2019-08-05 | Internet of things cloud startup and shutdown control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110417908A true CN110417908A (en) | 2019-11-05 |
CN110417908B CN110417908B (en) | 2021-09-28 |
Family
ID=68366054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910720149.XA Active CN110417908B (en) | 2019-08-05 | 2019-08-05 | Internet of things cloud startup and shutdown control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110417908B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177196A (en) * | 2019-12-25 | 2020-05-19 | 海尔优家智能科技(北京)有限公司 | Time window aggregation calculation method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104807130A (en) * | 2014-01-23 | 2015-07-29 | 广东美的制冷设备有限公司 | Virtual key method and system for self-defined parameters of air conditioner |
WO2016026284A1 (en) * | 2014-08-22 | 2016-02-25 | 深圳创维数字技术有限公司 | Remote control method for multi-terminal device, and related apparatus and system |
EP3223173A1 (en) * | 2015-11-06 | 2017-09-27 | Wangsu Science&technology Co., Ltd. | Method and system for managing redis key-value |
CN107894919A (en) * | 2017-11-30 | 2018-04-10 | 中国平安财产保险股份有限公司 | Timed task triggering method, device, equipment and readable storage medium storing program for executing |
CN110019263A (en) * | 2017-10-18 | 2019-07-16 | 北京京东尚科信息技术有限公司 | Information storage means and device |
-
2019
- 2019-08-05 CN CN201910720149.XA patent/CN110417908B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104807130A (en) * | 2014-01-23 | 2015-07-29 | 广东美的制冷设备有限公司 | Virtual key method and system for self-defined parameters of air conditioner |
WO2016026284A1 (en) * | 2014-08-22 | 2016-02-25 | 深圳创维数字技术有限公司 | Remote control method for multi-terminal device, and related apparatus and system |
EP3223173A1 (en) * | 2015-11-06 | 2017-09-27 | Wangsu Science&technology Co., Ltd. | Method and system for managing redis key-value |
CN110019263A (en) * | 2017-10-18 | 2019-07-16 | 北京京东尚科信息技术有限公司 | Information storage means and device |
CN107894919A (en) * | 2017-11-30 | 2018-04-10 | 中国平安财产保险股份有限公司 | Timed task triggering method, device, equipment and readable storage medium storing program for executing |
Non-Patent Citations (2)
Title |
---|
曹丹丹等: "Redis数据库在视频推荐服务***中的应用", 《计算机与现代化》 * |
葛宝龙等: "SpringBoot集成Redis缓存在电信运营***中的应用研究", 《中国新通信》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177196A (en) * | 2019-12-25 | 2020-05-19 | 海尔优家智能科技(北京)有限公司 | Time window aggregation calculation method and device |
CN111177196B (en) * | 2019-12-25 | 2023-12-19 | 海尔优家智能科技(北京)有限公司 | Time window aggregation calculation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110417908B (en) | 2021-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103270466B (en) | Via timer related tasks being coordinated and selectively operated power management | |
CN105677431B (en) | Background work and foreground is decoupling | |
CN102763102B (en) | For data environment from service configuration | |
CN105190555B (en) | Centralized task schedule | |
CN111263938A (en) | Rule-based autonomous database cloud service framework | |
WO2016041468A1 (en) | Wakeup method, device and terminal | |
CN110414771A (en) | Update method, device, server and the client of enterprise organization structure data | |
CN109951538A (en) | Data processing method, device, system, electronic equipment and storage medium | |
US20230267133A1 (en) | Systems and methods for providing predictions to applications executing on a computing device | |
EP2603867B1 (en) | Sharing data on mobile devices | |
CN111327692A (en) | Model training method and device and cluster system | |
CN109413164A (en) | A kind of access service recovery method, device, equipment and readable storage medium storing program for executing | |
CN103595566A (en) | Method and device for detecting idle IP addresses | |
CN110096258A (en) | A method of the OpenStack infrastructure architecture management based on Terraform | |
CN109167711A (en) | Household appliance control method and device, storage medium and server | |
CN109634659A (en) | Method, apparatus, equipment and the storage medium that a kind of couple of BMC is controlled | |
CN110417908A (en) | Internet of Things cloud on-off control method and system | |
CN111625322B (en) | Data processing method, system and equipment | |
CN108845872B (en) | Method for implementing software timer for embedded system | |
CN113204425B (en) | Method, device, electronic equipment and storage medium for process management internal thread | |
WO2024037132A1 (en) | Workflow processing method and apparatus, and device, storage medium and program product | |
CN107317788A (en) | Real time data method for pushing and device | |
US8204853B2 (en) | Maintaining client data integrity in a distributed environment using asynchronous data submission | |
US20230101776A1 (en) | Desired state configuration for virtual machines | |
CN117827854A (en) | Data processing method, device, electronic equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220125 Address after: Room 1003, building 61, Tianji Zhigu, Yizhuang Economic and Technological Development Zone, Daxing District, Beijing 100023 Patentee after: Beijing AIERSHI Technology Co.,Ltd. Address before: Room 501, 5 / F, building 3, No.10 yard, Wangjing street, Chaoyang District, Beijing Patentee before: AIR HOUSEKEEPER (BEIJING) TECHNOLOGY CO.,LTD. |
|
TR01 | Transfer of patent right |