CN110941191B - Equipment control method and device based on Internet of things operating system and storage medium - Google Patents
Equipment control method and device based on Internet of things operating system and storage medium Download PDFInfo
- Publication number
- CN110941191B CN110941191B CN201911007637.2A CN201911007637A CN110941191B CN 110941191 B CN110941191 B CN 110941191B CN 201911007637 A CN201911007637 A CN 201911007637A CN 110941191 B CN110941191 B CN 110941191B
- Authority
- CN
- China
- Prior art keywords
- target
- state
- intelligent
- target object
- toilet
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000007958 sleep Effects 0.000 claims abstract description 59
- 238000002360 preparation method Methods 0.000 claims abstract description 24
- 238000004590 computer program Methods 0.000 claims description 18
- 238000010586 diagram Methods 0.000 claims description 11
- 238000010438 heat treatment Methods 0.000 claims description 5
- 230000006855 networking Effects 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000006698 induction Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 230000005059 dormancy Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 230000006872 improvement Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000036578 sleeping time Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The application provides a device control method, a device and a storage medium based on an operation system of the Internet of things, wherein the method comprises the following steps: when the target object is detected to enter a getting-up state from a sleep state, controlling a target intelligent closestool corresponding to the target object to be switched from the sleep state to a preparation state; and turning on a target lighting device corresponding to a travel route, wherein the travel route is a path from a first position of a target object to a second position of the target intelligent closestool. The application solves the problem of overlong waiting time caused by unreasonable equipment scheduling mode in the related technology, thereby achieving the technical effects of improving the scheduling efficiency of the equipment and reducing the waiting time of the user.
Description
Technical Field
The present application relates to the field of communications, and in particular, to a device control method, apparatus, and storage medium based on an operating system of the internet of things.
Background
At present, the intelligent degree of the apartment service terminal is not high, and the user experience of entering the apartment guest room is reduced. In particular, in many staff apartments, due to space saving requirements, a bathroom is not provided in each room, but a plurality of shared bathrooms are provided on the same floor. However, when the user arrives at a public toilet, the public toilet is easy to use by other users, and the user is easy to wake gradually in the waiting process, so that the user is influenced to fall asleep again.
Therefore, there is a problem in the related art that the waiting time is too long due to an unreasonable scheduling manner of the device.
Disclosure of Invention
The embodiment of the application provides a device control method, a device control device and a storage medium based on an operation system of the Internet of things, which at least solve the problem of excessively long waiting time caused by unreasonable device scheduling mode in the related technology.
According to one embodiment of the present application, there is provided a device control method based on an operation system of the internet of things, including: when the target object is detected to enter a getting-up state from a sleep state, controlling a target intelligent closestool corresponding to the target object to be switched from the sleep state to a preparation state; and turning on a target lighting device corresponding to a travel route, wherein the travel route is a path from a first position of a target object to a second position of the target intelligent closestool.
According to another embodiment of the present application, there is provided an apparatus control device based on an operation system of the internet of things, including: the first control module is used for controlling the target intelligent closestool corresponding to the target object to be switched from the sleep state to the preparation state under the condition that the target object is detected to enter the getting-up state from the sleep state; and the starting module is used for starting the target lighting device corresponding to the traveling route, wherein the traveling route is a path from the first position of the target object to the second position of the target intelligent closestool.
According to a further embodiment of the application, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the application, there is also provided an electronic device comprising a memory in which a computer program is stored and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the application, the intelligent closestool is awakened and the lighting device is started according to the object state, and when the object is detected to enter the getting-up state from the sleep state, the target intelligent closestool corresponding to the object is controlled to be switched from the sleep state to the preparation state; the target lighting device corresponding to the traveling route is started, wherein the traveling route is a path from the first position of the target object to the second position of the target intelligent closestool, and the intelligent closestool is awakened according to the state of the user, and the corresponding lighting device is started, so that the probability of the user selecting the closestool in use is reduced, unnecessary waiting time is avoided, the situation that the user wakes too fast due to too dark environment is avoided, the technical effects of improving the scheduling efficiency of equipment and reducing the waiting time of the user are achieved, and the problem that the waiting time is too long due to unreasonable scheduling mode of the equipment in the related art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a hardware structure block diagram of an intelligent gateway of a device control method based on an operating system of the internet of things according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an alternative Internet of things operating system according to an embodiment of the application;
FIG. 3 is a flow chart of an alternative device control method based on an operating system of the Internet of things according to an embodiment of the application;
FIG. 4 is a flow chart of another alternative device control method based on an operating system of the Internet of things according to an embodiment of the application;
fig. 5 is a block diagram of an alternative device control apparatus based on an operating system of the internet of things according to an embodiment of the present application.
Detailed Description
The application will be described in detail hereinafter with reference to the drawings in conjunction with embodiments. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiment provided by the application can be executed in an intelligent gateway, a terminal device, a server or similar computing devices. Taking an example of running on an intelligent gateway, fig. 1 is a hardware structure block diagram of the intelligent gateway of a device control method based on an operating system of the internet of things according to an embodiment of the present application. As shown in fig. 1, the intelligent gateway 10 may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the architecture shown in fig. 1 is merely illustrative and is not intended to limit the architecture of the intelligent gateway described above. For example, intelligent gateway 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, such as software programs and modules of application software, such as a computer program corresponding to a device control method based on an operating system of the internet of things in an embodiment of the present application, and the processor 102 executes the computer programs stored in the memory 104 to perform various functional applications and data processing, that is, implement the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory located remotely from processor 102, which may be connected to intelligent gateway 10 through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. The specific examples of the network described above may include a wireless network provided by a communication provider of the intelligent gateway 10. In one example, the transmission device 106 includes a NIC (Network Interface Controller, network adapter) that can communicate with other network devices via a base station to communicate with the internet. In one example, the transmission device 106 may be an RF (Radio Frequency) module, which is configured to communicate with the internet wirelessly.
The intelligent gateway 10 may be an intelligent gateway in an internet of things operating system as shown in fig. 2. The internet of things operating system may include: an intelligent household device. The intelligent home equipment is terminal equipment in the Internet of things, and the operating systems of the terminal equipment are all provided with communication modules, so that the cooperative operation among a plurality of equipment in the Internet of things can be realized. The internet of things operating system can be further provided with a server, the server can provide data processing and other services for all intelligent home devices, data intercommunication among the intelligent home devices is achieved, the server and the terminal can be in communication connection with the intelligent home devices through an intelligent gateway (for example, a wireless router), and communication connection can be established among the intelligent home devices through the intelligent gateway.
Alternatively, in this embodiment, as an optional implementation manner, the method may be performed by an intelligent gateway (wireless router). Fig. 3 is a schematic flow chart of an alternative device control method based on an operating system of the internet of things according to an embodiment of the application, as shown in fig. 3, the flow chart includes the following steps:
step S302, when the target object is detected to enter a getting-up state from a sleep state, controlling a target intelligent closestool corresponding to the target object to be switched from the sleep state to a preparation state;
step S304, turning on a target lighting device corresponding to a travel route, wherein the travel route is a path from a first position of a target object to a second position of a target intelligent toilet.
Through the steps, when the target object is detected to enter the getting-up state from the sleep state, the target intelligent closestool corresponding to the target object is controlled to be switched from the sleep state to the preparation state; and starting a target lighting device corresponding to the travel route, wherein the travel route is a path from the first position of the target object to the second position of the target intelligent closestool, so that the problem of overlong waiting time caused by unreasonable equipment scheduling mode in the related art is solved, the scheduling efficiency of equipment is improved, and the waiting time of a user is reduced.
The device control method based on the operating system of the internet of things is described below with reference to fig. 3.
In step S302, when it is detected that the target subject enters the getting-up state from the sleep state, the target smart toilet corresponding to the target subject is controlled to be switched from the sleep state to the ready state.
At present, along with the continuous improvement of living standard, a user can control household appliances, lighting equipment and the like through an operation system of the internet of things, so that the purpose of various living management is achieved. The device control method based on the internet of things operating system provided in the embodiment is an intelligent apartment device management method based on the internet of things operating system, and can be applied to an intelligent apartment management system, wherein the intelligent apartment management system can provide lighting and other assistance for night users.
The target object may be detected to enter the getting-up state from the sleep state before controlling the target intelligent toilet corresponding to the target object to switch from the sleep state to the ready state.
There are various ways of detecting the target object entering the getting-up state from the sleep state, for example, in the case of detecting a specific operation (e.g., touch operation) performed on a sensing setting (e.g., touch button) in a target room in which the target object is located, it is determined that the target object enters the getting-up state from the sleep state.
In an alternative scheme, before the target intelligent closestool corresponding to the target object is controlled to be switched from the sleep state to the preparation state, the getting-up information sent by the intelligent sensing lamp is received, wherein the getting-up information is used for indicating that the target object enters the getting-up state from the sleep state.
User a (target object) may be in a target room. In a sleeping time period at night (which can be configured by default or can be preset), after the intelligent sensing lamp a in the target room senses that the user A gets up (enters a getting up state from a sleeping state), generating getting-up information of the user A and sending the getting-up information of the user A to the intelligent gateway, wherein the getting-up information comprises the state of the user and further comprises the following steps: user names, such as getting up information, are: user a, status: get up.
Through this embodiment, through the state of getting up of intelligent response lamp response user, can be fast the perception to the state of getting up of user, need not user operation, improved detection efficiency, promoted user experience.
The target smart toilet corresponding to the target object may be first determined before controlling the target smart toilet to be switched from the sleep state to the ready state.
As an alternative, the manner of determining the target smart toilet may be: respectively sending a state acquisition instruction to a plurality of intelligent closets corresponding to a target room (for example, a plurality of intelligent closets located at the same floor as the target room and/or a plurality of intelligent closets located at different floors from the target room), wherein the target room is a room in which a target object is located, and the state acquisition instruction is used for acquiring the current state of each intelligent closets in the plurality of intelligent closets; receiving the current state of each intelligent closestool returned by each intelligent closestool; and under the condition that one or more candidate intelligent closestools with the current state being the dormant state exist in the plurality of intelligent closestools, selecting a target intelligent closetool from the one or more candidate intelligent closetools, wherein the target intelligent closetool is the intelligent closetool closest to the target object in the one or more candidate intelligent closetools.
After receiving the getting-up information of the user a (target object) sent by the intelligent sensing lamp a of the room a (target room), the intelligent gateway sends instruction information (state acquisition instruction) to all intelligent toilets on the same floor as the room a in the intelligent apartment, where the instruction information is used to trigger the intelligent toilets to send the current state to the intelligent gateway, and the current state can be divided into: in use, dormant, and in failure, can be as shown in table 1.
TABLE 1
Toilet numbering | Position of | Current state of |
Toilet bowl 1 | Toilet 1 | In use |
Toilet bowl 2 | Toilet 2 | During dormancy |
Toilet bowl 3 | Toilet 3 | During dormancy |
After receiving the getting-up information of the user a sent by the intelligent induction lamp a, the intelligent gateway can determine the position (first position) of the user a according to the device position of the intelligent induction lamp a, for example, in an intelligent device list stored by the intelligent gateway, if the device position of the intelligent induction lamp a is room 1, the current position of the user a can be obtained: room 1.
The smart toilets (candidate smart toilets) in the smart toilet list currently in the sleep state may be as shown in table 2.
TABLE 2
Toilet numbering | Position of | Current state of |
Toilet bowl 2 | Toilet 2 | During dormancy |
Toilet bowl 3 | Toilet 3 | During dormancy |
The position of the room where the target object is located can be used as the first position of the target object, and the position of the bathroom where the candidate intelligent closestool is located can be used as the position of the candidate intelligent closestool.
The intelligent gateway can determine the distance between the current position (room 1) of the user A and the position (toilet 2) of the toilet bowl 2 and the position (toilet 3) of the toilet bowl 3 according to the stored intelligent apartment house type diagram, and select the intelligent toilet bowl with the small distance as the target intelligent toilet bowl. For example, the target smart toilet may be determined as: toilet 3-toilet 3.
According to the method and the device for determining the current state of the intelligent closestool, the current state of the intelligent closestool is determined in a mode of sending instruction messages to a plurality of intelligent closestool, the intelligent closestool which is nearest to the target object and is in the dormant state is determined to be the target intelligent closestool, the current state of the intelligent closestool can be conveniently obtained, the moving distance of the target object is reduced, and the user experience is improved.
As an alternative scheme, after receiving the current state of each intelligent closestool returned by each intelligent closestool, if the intelligent closestool with the current state of sleep state does not exist in the plurality of intelligent toilets, the target indicator lamp in the target room is controlled to be switched to a target display state, wherein the target display state is used for indicating that the intelligent closestool in the sleep state is not currently available.
When all the intelligent toilets without faults are in the in-use state, the intelligent gateway judges that no idle toilet is available at present, and then controls the intelligent sensing lamp a (a target indicating lamp, the target indicating lamp can be other indicating lamps except the intelligent sensing lamp) to be converted into a preset color, if a user can preset to get up at night, the parameters of the intelligent sensing lamp are as follows: color-orange, luminance-30% of normal luminance, can also preset "no closestool uses" intelligent induction lamp color-purple, then intelligent induction lamp a changes purple this moment, and the user can know that can't normally be in the lavatory now, can wait in the room, and the state that sends when certain intelligent closestool is received to intelligent gateway becomes: and if the intelligent induction lamp a is dormant, the intelligent induction lamp a can be controlled to be recovered to be orange, and a user can start.
Through this embodiment, when no closestool can be used, the display state of the target indicator lamp is changed, so that the user can conveniently know the usable condition of the closestool, and the convenience of the use condition of the closestool is improved.
The sleep state may be a standby state of the intelligent toilet, and only a part of functions may be used, for example, only a function of transmitting and receiving information may be used. The preparation state may be a preset state of the intelligent toilet, which is an intermediate state from the sleep state to the use state.
As an alternative, controlling the target intelligent toilet corresponding to the target object to switch from the sleep state to the ready state includes: transmitting a state switching instruction to the target intelligent toilet, wherein the state switching instruction is used for indicating the target intelligent toilet to switch from a dormant state to a preparation state, and the target intelligent toilet performs at least one of the following operations in the preparation state: opening the toilet cover, heating the toilet seat and opening the night lamp of the toilet.
The intelligent gateway may send instruction information (state switching instruction) to the target intelligent toilet, which initiates a preparation mode (enters a preparation state) according to the instruction information.
The preparation mode of the intelligent toilet may include, but is not limited to, at least one of: the toilet cover is opened, the toilet seat is heated, the night lamp of the toilet is opened, and the like. Can be preset by a user according to the needs, such as low temperature of the toilet seat, etc. For example, when the toilet 3 of the toilet 3 receives an instruction sent from the intelligent gateway, each function is started according to a preset preparation mode.
Through this embodiment, carry out in advance under the ready state and open at least one of toilet lid, heating toilet seat, open the closestool night-light, can adjust intelligent closestool in advance to the state that is fit for using, the user of being convenient for uses, promotes user experience.
In step S304, a target lighting device corresponding to a travel route is turned on, wherein the travel route is a path from a first position of a target object to a second position of a target smart toilet.
The intelligent gateway starts a lighting device (target lighting device) from the current position (first position) of the user to the position (second position) of the target intelligent closestool according to a preset night mode.
Before turning on the target lighting device corresponding to the travel route, the travel route may be first determined, and then the target lighting device corresponding to the travel route may be determined.
As an alternative, before turning on the target lighting device corresponding to the travel route, determining a first position of the target object and a second position of the target smart toilet; determining a travel route that moves from a first location to a second location; a target lighting device located within a travel route location range is determined based on the location information of the plurality of lighting devices.
The first location and the second location may be determined by determining a location of a target room in which the target object is located, and determining a location of a toilet in which the target smart toilet is located.
The intelligent gateway can determine the travel route from the current position of the user A to the toilet where the target intelligent closestool is located according to the stored intelligent apartment house type diagram. The intelligent gateway may then determine lighting devices within a travel route location range based on the device location information of the intelligent apartment, e.g., the travel route determined by the intelligent gateway includes: corridor 1, corner 1, corridor 2. The lighting devices arranged in corridor 1, corner 1, corridor 2 can be determined.
Optionally, the lighting device is turned on according to a night-up mode preset by a user, such as color-orange, brightness-30% of normal brightness.
According to the embodiment, the accuracy of determining the target lighting device can be improved by determining the travel route from the target object to the target intelligent closestool and determining the target lighting device in the position range of the travel route, so that the user experience is improved.
As an alternative, after turning on the target lighting device corresponding to the travel route, in case that it is detected that the target object enters the sleep state from the getting-up state, the target intelligent toilet is controlled to be switched to the sleep state, and the target lighting device is turned off
The intelligent sensing lamp detects that the user falls asleep again, the user sleep information can be sent to the intelligent gateway, and the intelligent gateway turns off the target lighting device and sends a sleep instruction to the target intelligent closestool.
For example, when the user a returns to the room 1 after getting up to the toilet, the intelligent sensing night light a may generate the sleep information of the user to send the intelligent gateway after determining that the user reenters the sleep state according to the built-in sensor. After receiving the sleep information sent by the intelligent sensing lamp a, the intelligent gateway turns off the lighting device, wherein the sleep information comprises the state of a user and a user name, and if the sleep information is: user a, status: sleep. The intelligent gateway sends a dormancy instruction to the closestool 3, and the closestool 3 performs corresponding operation: the toilet cover is closed, the toilet seat stops heating, the toilet night lamp is closed, and the like.
According to the embodiment, when the user is detected to fall asleep again, the lighting device is turned off, and the intelligent closestool is controlled to fall asleep again, so that energy consumption can be reduced, and energy is saved.
The above-described device control method based on the operating system of the internet of things is explained below with reference to an alternative example. The device control method based on the internet of things operating system in the present example is an intelligent apartment device management method based on the internet of things operating system, after detecting that a user is at night, selecting a target intelligent toilet according to preset conditions, starting a preparation mode, and starting a lighting device within a route range according to a route to guide the user.
As shown in fig. 4, the device control method based on the operating system of the internet of things in this example includes the steps of:
s402, the intelligent induction lamp detects that a user gets up, and sends the user getting up information to the intelligent gateway;
s404, the intelligent gateway acquires a current state list of the intelligent closestool;
s406, the intelligent gateway determines an intelligent closestool closest to the current position of the user in the intelligent closestool list in the dormant state;
s408, the intelligent gateway sends instruction information to the target intelligent closestool, and the target intelligent closestool starts a preparation mode according to the instruction information;
s410, the intelligent gateway starts a lighting device from the current position of a user to the position of a target intelligent closestool according to a preset night mode;
s412, the intelligent sensing lamp detects that the user falls asleep again, the sleep information of the user is sent to the intelligent gateway, and the intelligent gateway turns off the lighting device and sends a sleep instruction to the target intelligent closestool.
This example avoids the problem of the user falling asleep again after night, as the toilet is being occupied. According to the intelligent apartment system in the example, after the user is detected to get up, the target intelligent closestool is selected according to the preset condition, the preparation mode is started, the selection of the target intelligent closestool is increased, the closestool which is not currently used is selected for the user, the lighting device within the route range is started according to the route, the user is guided to directly reach the target intelligent closestool by using light, the condition that the user arrives at a toilet but needs to wait is avoided, and the user can fall asleep again after getting up.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the various embodiments of the present application.
In this embodiment, a device control device based on an operating system of the internet of things is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, which have been described and will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 5 is a block diagram of an alternative device control apparatus based on an operating system of the internet of things, according to an embodiment of the present application, as shown in fig. 5, the apparatus includes:
(1) A first control module 52, configured to control a target intelligent toilet corresponding to a target object to switch from a sleep state to a ready state when it is detected that the target object enters a wake state from a sleep state;
(2) The starting module 54 is connected to the first control module 52, and is configured to start the target lighting device corresponding to a travel route, where the travel route is a path from the first position of the target object to the second position of the target intelligent toilet.
Alternatively, the device control apparatus based on the operating system of the internet of things may be an intelligent gateway, for example, a home gateway, or the like, but is not limited thereto.
Alternatively, the first control module 52 may be configured to perform step S302 described above, and the start-up module 54 may be configured to perform step S304 described above.
Through the module, when the target object is detected to enter the getting-up state from the sleep state, the target intelligent closestool corresponding to the target object is controlled to be switched from the sleep state to the preparation state; and starting a target lighting device corresponding to the travel route, wherein the travel route is a path from the first position of the target object to the second position of the target intelligent closestool, so that the problem of overlong waiting time caused by unreasonable equipment scheduling mode in the related art is solved, the scheduling efficiency of equipment is improved, and the waiting time of a user is reduced.
As an alternative, the apparatus further includes:
(1) The first receiving module is used for receiving the getting-up information sent by the intelligent sensing lamp before controlling the target intelligent closestool corresponding to the target object to switch from the sleep state to the preparation state, wherein the getting-up information is used for indicating the target object to enter the getting-up state from the sleep state.
As an alternative, the apparatus further includes:
(1) The system comprises a sending module, a state acquisition module and a control module, wherein the sending module is used for respectively sending state acquisition instructions to a plurality of intelligent toilets corresponding to a target room before controlling the target intelligent toilets corresponding to the target object to be switched from a dormant state to a preparation state, wherein the target room is the room in which the target object is located, and the state acquisition instructions are used for acquiring the current state of each intelligent toilet in the plurality of intelligent toilets;
(2) The second receiving module is used for respectively receiving the current state of each intelligent closestool returned by each intelligent closestool;
(3) And the selecting module is used for selecting a target intelligent closestool from the one or more candidate intelligent toilets under the condition that the one or more candidate intelligent toilets with the current state being the dormant state exist in the plurality of intelligent toilets, wherein the target intelligent closestool is the intelligent closestool closest to the target object in the one or more candidate intelligent toilets.
As an alternative, the apparatus further includes:
(1) And the second control module is used for controlling the target indicator lamp in the target room to be switched to a target display state after receiving the current state of each intelligent closestool returned by each intelligent closestool respectively and under the condition that the intelligent closestool with the current state of sleep state does not exist in the plurality of intelligent toilets, wherein the target display state is used for indicating that the intelligent closestool in the sleep state is not currently.
As an alternative, the first control module 52 includes:
(1) A transmitting unit configured to transmit a state switching instruction to the target smart toilet, where the state switching instruction is configured to instruct the target smart toilet to switch from a sleep state to a ready state, and in the ready state, the target smart toilet performs at least one of the following operations: opening the toilet cover, heating the toilet seat and opening the night lamp of the toilet.
As an alternative, the apparatus further includes:
(1) A first determining module for determining a first position of a target object and a second position of a target intelligent toilet before turning on a target lighting device corresponding to a travel route;
(2) A second determination module for determining a travel route moving from the first location to the second location;
(3) And a third determining module for determining a target lighting device located within the travel route position range according to the position information of the plurality of lighting devices.
As an alternative, the apparatus further includes:
(1) And the third control module is used for controlling the target intelligent closestool to be switched to the dormant state and turning off the target lighting device after the target lighting device corresponding to the travelling route is turned on and in the case that the target object is detected to enter the dormant state from the getting-up state.
An embodiment of the application also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, when a target object is detected to enter a getting-up state from a sleep state, controlling a target intelligent closestool corresponding to the target object to be switched from the sleep state to a preparation state;
s2, turning on a target lighting device corresponding to a travel route, wherein the travel route is a path from a first position of a target object to a second position of the target intelligent closestool.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (RandomAccess Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, when a target object is detected to enter a getting-up state from a sleep state, controlling a target intelligent closestool corresponding to the target object to be switched from the sleep state to a preparation state;
s2, turning on a target lighting device corresponding to a travel route, wherein the travel route is a path from a first position of a target object to a second position of the target intelligent closestool.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.
Claims (9)
1. The device control method based on the Internet of things operating system is characterized by comprising the following steps:
when detecting that a target object enters a getting-up state from a sleep state, controlling a target intelligent closestool corresponding to the target object to switch from the sleep state to a preparation state;
turning on a target lighting device corresponding to a travel route, wherein the travel route is a path from a first position of the target object to a second position of the target intelligent toilet;
wherein before the target lighting device corresponding to the travel route is turned on, the method further comprises: acquiring a house type diagram of a space where a target object is located, determining a travel route from the current position of the target object to a toilet where a target intelligent closestool is located according to the house type diagram, and determining a lighting device in a position range corresponding to the travel route;
wherein detecting that the target subject enters the getting-up state from the sleep state comprises: and determining that the target object enters the getting-up state from the sleep state under the condition that the specific operation performed on the sensing setting in the target room where the target object is located is detected.
2. The method of claim 1, wherein prior to controlling the target smart toilet corresponding to the target object to switch from the sleep state to the ready state, the method further comprises:
respectively sending a state acquisition instruction to a plurality of intelligent toilets corresponding to a target room, wherein the target room is the room in which the target object is located, and the state acquisition instruction is used for acquiring the current state of each intelligent toilet in the plurality of intelligent toilets;
receiving the current state of each intelligent closestool returned by each intelligent closestool;
and selecting the target intelligent closestool from the one or more candidate intelligent toilets when one or more candidate intelligent toilets with the current state being the dormant state exist in the plurality of intelligent toilets, wherein the target intelligent closestool is the intelligent closestool closest to the target object in the one or more candidate intelligent toilets.
3. The method of claim 2, wherein after receiving the current status of the respective intelligent toilets returned by the respective intelligent toilets, the method further comprises:
and under the condition that the intelligent closestool in the dormant state in the current state does not exist in the plurality of intelligent toilets, controlling a target indicator lamp in the target room to be switched to a target display state, wherein the target display state is used for indicating that the intelligent closestool in the dormant state is not currently available.
4. The method of claim 1, wherein controlling the target smart toilet corresponding to the target object to switch from the sleep state to the ready state comprises:
transmitting a state switching instruction to the target intelligent toilet, wherein the state switching instruction is used for indicating the target intelligent toilet to switch from the dormant state to the ready state, and in the ready state, the target intelligent toilet performs at least one of the following operations: opening the toilet cover, heating the toilet seat and opening the night lamp of the toilet.
5. The method of claim 1, wherein prior to turning on the target lighting device corresponding to the travel route, the method further comprises:
determining the first location of the target object and a second location of the target smart toilet;
determining the travel route moving from the first location to the second location;
the target lighting device located within the travel route location range is determined based on location information of a plurality of lighting devices.
6. The method of any one of claims 1 to 5, wherein after turning on the target lighting device corresponding to the travel route, the method further comprises:
and controlling the target intelligent closestool to switch to the dormant state and turning off the target lighting device under the condition that the target object is detected to enter the dormant state from the getting-up state.
7. An equipment control device based on thing networking operating system, characterized by comprising:
the first control module is used for controlling the target intelligent closestool corresponding to the target object to be switched from the dormant state to the preparation state under the condition that the target object is detected to enter the getting-up state from the dormant state;
the starting module is used for starting a target lighting device corresponding to a traveling route, wherein the traveling route is a path from a first position of the target object to a second position of the target intelligent closestool;
the apparatus further comprises: the system comprises a determining module, a determining module and a lighting device, wherein the determining module is used for acquiring a house type diagram of a space where a target object is located, determining a travel route from the current position of the target object to a toilet where a target intelligent closestool is located according to the house type diagram, and determining the lighting device in a position range corresponding to the travel route;
the first control module is further used for determining that the target object enters the getting-up state from the sleep state under the condition that a specific operation performed on the sensing setting in the target room where the target object is located is detected.
8. A computer-readable storage medium, characterized in that the storage medium has stored therein a computer program, wherein the computer program is arranged to execute the method of any of the claims 1 to 6 when run.
9. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1-6 by means of the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911007637.2A CN110941191B (en) | 2019-10-22 | 2019-10-22 | Equipment control method and device based on Internet of things operating system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911007637.2A CN110941191B (en) | 2019-10-22 | 2019-10-22 | Equipment control method and device based on Internet of things operating system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110941191A CN110941191A (en) | 2020-03-31 |
CN110941191B true CN110941191B (en) | 2023-08-18 |
Family
ID=69906330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911007637.2A Active CN110941191B (en) | 2019-10-22 | 2019-10-22 | Equipment control method and device based on Internet of things operating system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110941191B (en) |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090058314A (en) * | 2007-12-04 | 2009-06-09 | 주식회사 하츠 | Toilet linked type ventilation system for an apartment house |
WO2014071227A1 (en) * | 2012-11-02 | 2014-05-08 | Kohler Co. | Touchless flushing system |
CN105212821A (en) * | 2015-09-22 | 2016-01-06 | 小米科技有限责任公司 | Toilet seat method for heating and controlling and device |
KR20160092889A (en) * | 2015-01-28 | 2016-08-05 | 삼성전자주식회사 | Apparatus and Method for assisting sound sleep |
CN105929704A (en) * | 2016-06-22 | 2016-09-07 | 成都科曦科技有限公司 | Room night getting up guiding system |
CN106375164A (en) * | 2016-08-29 | 2017-02-01 | 北京小米移动软件有限公司 | Method and device for transmitting control command |
CN106801982A (en) * | 2017-02-17 | 2017-06-06 | 广东美的环境电器制造有限公司 | environment electric appliance component, control method and control system |
CN206833177U (en) * | 2016-12-30 | 2018-01-02 | 青岛有屋科技有限公司 | A kind of diversification cloakroom intelligence control system |
CN107682390A (en) * | 2017-08-01 | 2018-02-09 | 深圳市盛路物联通讯技术有限公司 | A kind of facility information processing method and processing device based on Internet of Things |
CN107913042A (en) * | 2017-11-20 | 2018-04-17 | 北京小米移动软件有限公司 | Cleaning equipment and its control method |
CN109164711A (en) * | 2018-08-31 | 2019-01-08 | 北京小米移动软件有限公司 | Control the method and device of smart home device |
CN109462923A (en) * | 2018-09-28 | 2019-03-12 | 安徽省极索智能科技有限公司 | A kind of night safe control method based on Intelligent lamp |
EP3492946A1 (en) * | 2017-12-01 | 2019-06-05 | Origin Wireless, Inc. | Method, apparatus, and system for object tracking and navigation |
CN109892903A (en) * | 2019-03-21 | 2019-06-18 | 广东比铉智能科技有限公司 | Intelligent pressure induction type mattress system and its application method |
CN109917666A (en) * | 2019-03-28 | 2019-06-21 | 深圳慧安康科技有限公司 | The implementation method and intelligent apparatus of wisdom family |
CN110187646A (en) * | 2019-07-04 | 2019-08-30 | 青岛海尔科技有限公司 | Equipment control authority method of adjustment and device in smart home operating system |
CN110188454A (en) * | 2019-05-27 | 2019-08-30 | 北京建筑大学 | Architectural Equipment and Building Information Model matching process and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106991787B (en) * | 2017-06-07 | 2019-11-05 | 京东方科技集团股份有限公司 | Intelligent closestool and safety monitoring system based on intelligent closestool |
-
2019
- 2019-10-22 CN CN201911007637.2A patent/CN110941191B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090058314A (en) * | 2007-12-04 | 2009-06-09 | 주식회사 하츠 | Toilet linked type ventilation system for an apartment house |
WO2014071227A1 (en) * | 2012-11-02 | 2014-05-08 | Kohler Co. | Touchless flushing system |
KR20160092889A (en) * | 2015-01-28 | 2016-08-05 | 삼성전자주식회사 | Apparatus and Method for assisting sound sleep |
CN105212821A (en) * | 2015-09-22 | 2016-01-06 | 小米科技有限责任公司 | Toilet seat method for heating and controlling and device |
CN105929704A (en) * | 2016-06-22 | 2016-09-07 | 成都科曦科技有限公司 | Room night getting up guiding system |
CN106375164A (en) * | 2016-08-29 | 2017-02-01 | 北京小米移动软件有限公司 | Method and device for transmitting control command |
CN206833177U (en) * | 2016-12-30 | 2018-01-02 | 青岛有屋科技有限公司 | A kind of diversification cloakroom intelligence control system |
CN106801982A (en) * | 2017-02-17 | 2017-06-06 | 广东美的环境电器制造有限公司 | environment electric appliance component, control method and control system |
CN107682390A (en) * | 2017-08-01 | 2018-02-09 | 深圳市盛路物联通讯技术有限公司 | A kind of facility information processing method and processing device based on Internet of Things |
CN107913042A (en) * | 2017-11-20 | 2018-04-17 | 北京小米移动软件有限公司 | Cleaning equipment and its control method |
EP3492946A1 (en) * | 2017-12-01 | 2019-06-05 | Origin Wireless, Inc. | Method, apparatus, and system for object tracking and navigation |
CN109164711A (en) * | 2018-08-31 | 2019-01-08 | 北京小米移动软件有限公司 | Control the method and device of smart home device |
CN109462923A (en) * | 2018-09-28 | 2019-03-12 | 安徽省极索智能科技有限公司 | A kind of night safe control method based on Intelligent lamp |
CN109892903A (en) * | 2019-03-21 | 2019-06-18 | 广东比铉智能科技有限公司 | Intelligent pressure induction type mattress system and its application method |
CN109917666A (en) * | 2019-03-28 | 2019-06-21 | 深圳慧安康科技有限公司 | The implementation method and intelligent apparatus of wisdom family |
CN110188454A (en) * | 2019-05-27 | 2019-08-30 | 北京建筑大学 | Architectural Equipment and Building Information Model matching process and device |
CN110187646A (en) * | 2019-07-04 | 2019-08-30 | 青岛海尔科技有限公司 | Equipment control authority method of adjustment and device in smart home operating system |
Also Published As
Publication number | Publication date |
---|---|
CN110941191A (en) | 2020-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10732651B2 (en) | Smart-home proxy devices with long-polling | |
CN108012312B (en) | Paged device, paging device and method | |
US20210243692A1 (en) | System for communication with devices on a network to minimize power consumption | |
EP3582446A1 (en) | Methods and systems for data interchange between a network-connected thermostat and cloud-based management server | |
WO2016106730A1 (en) | Sleeping and awakening method and apparatus for master-slave network, and power-saving system for master-slave network | |
EP3110074B1 (en) | Method for controlling electronic device, control terminal, and system | |
JPWO2012165359A1 (en) | Energy saving device and energy saving system | |
US20180316376A1 (en) | Communication method and apparatus for wearable device in wireless communication system | |
WO2017119158A1 (en) | Control device, control method and program | |
CN105992317B (en) | Wireless communication module management method and wireless communication module managing device | |
CN109164711B (en) | Method and device for controlling intelligent household equipment | |
US11297592B2 (en) | Electronic beacon for a localization system | |
US9897989B2 (en) | Method and system for utilizing a device's user location to monitor and control the device power usage | |
CN110113232A (en) | Apparatus control method, device, system, electronic equipment and storage medium | |
CN105527848B (en) | Communication apparatus and method of controlling the same | |
EP2706733A1 (en) | Method for suspending traffic in control system of mesh network | |
US20200162281A1 (en) | Information output method, information output device, and non-transitory computer-readable recording medium recording information output program | |
CN110941191B (en) | Equipment control method and device based on Internet of things operating system and storage medium | |
JP2010278763A (en) | Base station device | |
CN105338008A (en) | Equipment scheduling method, device and system for internet of things | |
EP3632164B1 (en) | Determining a duty schedule for a group of lighting devices providing a similar lighting service | |
CN108259550A (en) | A kind of target object use state management method and device | |
JP2013017264A (en) | Electric power supply apparatus, electric power management system, electric power management method, and electric power management program | |
CN114222330A (en) | Wireless sensor network communication system | |
JP2010015355A (en) | Power-saving system |
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 |