CN112015100B - Intelligent switch authority adjusting method and device, intelligent switch and storage medium - Google Patents

Intelligent switch authority adjusting method and device, intelligent switch and storage medium Download PDF

Info

Publication number
CN112015100B
CN112015100B CN202010820166.3A CN202010820166A CN112015100B CN 112015100 B CN112015100 B CN 112015100B CN 202010820166 A CN202010820166 A CN 202010820166A CN 112015100 B CN112015100 B CN 112015100B
Authority
CN
China
Prior art keywords
electric appliance
time period
authority
target
effective time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010820166.3A
Other languages
Chinese (zh)
Other versions
CN112015100A (en
Inventor
贺龙胜
黄洪波
谭荣港
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202010820166.3A priority Critical patent/CN112015100B/en
Publication of CN112015100A publication Critical patent/CN112015100A/en
Application granted granted Critical
Publication of CN112015100B publication Critical patent/CN112015100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total 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], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The embodiment of the application discloses an intelligent switch permission adjusting method, an intelligent switch permission adjusting device, an intelligent switch and a storage medium, and relates to the field of intelligent home, wherein the method comprises the following steps: acquiring the current time and an effective time period corresponding to the electric appliance; and adjusting the management authority of the electric appliance based on the current time and the effective time period. The method and the device can effectively avoid misoperation of the user on the electric appliance in the time period, and further avoid electric energy waste caused by starting the electric appliance due to misoperation.

Description

Intelligent switch authority adjusting method and device, intelligent switch and storage medium
Technical Field
The application relates to the field of smart home, and more particularly, to a method and a device for adjusting authority of an intelligent switch, the intelligent switch and a storage medium.
Background
Along with the progress of science and technology, smart home is also popular in daily life of people, and more users can choose to use smart electric appliances to improve their quality of life.
However, as more and more intelligent electric appliances are used in the home, and the sensitivity of the smart home is higher and higher, it is difficult for the user to know which electric appliances are turned on at present, and unnecessary electric appliances are turned on due to misoperation, so that unnecessary electric energy waste is caused.
Disclosure of Invention
In view of the above problems, the present application proposes a method and apparatus for adjusting authority of an intelligent switch, the intelligent switch, and a storage medium, so as to solve at least one of the above problems.
In a first aspect, an embodiment of the present application provides a method for adjusting an intelligent switch authority, where the method includes: acquiring the current time and an effective time period corresponding to the electric appliance; and adjusting the management authority of the electric appliance based on the current moment and the effective time period.
Further, the number of the electric appliances is at least one, and the management authority of the electric appliances is adjusted, including: acquiring a user which does not comprise the current moment in the effective time period of at least one user as a first user; creating a user group based on the first electric appliance; the management authority of the electric appliances in the electric appliance group is suspended.
Further, after creating the electric appliance group based on the first electric appliance, it further includes: acquiring the electric appliances which are not in the electric appliance group from at least one electric appliance as second electric appliances; the management authority of the second electric appliance is opened or maintained.
Further, the number of the valid time periods is at least one, each valid time period in the at least one valid time period corresponds to one authority level, and after the management authority of the second electric appliance is opened or maintained, the method further comprises: acquiring an effective time period in which the current moment is located from at least one effective time period as a target effective time period; obtaining a target authority level corresponding to the target effective time period, wherein the target authority level corresponds to at least one function authority of the second electric appliance; and adjusting the authority level of the management authority of the second electric appliance to be a target authority level so as to close the functional authority of the second electric appliance corresponding to the target authority level.
Further, after suspending the management authority of the electric appliances in the electric appliance group, the method further comprises: and responding to the permission restoration instruction, and opening the management permission of each electric appliance in the electric appliance group.
Further, before the current time and the effective time period corresponding to the electric appliance are acquired, the method further comprises the following steps: acquiring the use times of each of at least one electric appliance in a historical time period; acquiring a user with historical use times exceeding the designated use times from at least one user as a target user; and determining the time period corresponding to the historical time period as the effective time period of the management authority of the target electric appliance.
Further, the target electrical appliance includes at least one usage function, and after determining a period corresponding to the historical period as a valid period of the management authority of the target electrical appliance, the method further includes: acquiring the number of times of function use corresponding to each of at least one use function; acquiring a use function of which the number of times of use of the function does not exceed a number threshold from at least one use function as a target function; acquiring the number of target functions; the permission level of the valid period is determined based on the number of target functions, wherein the number is positively correlated with the permission level.
In a second aspect, an embodiment of the present application provides an intelligent switch authority adjusting device, where the intelligent switch authority adjusting device includes: the information acquisition module and the management right adjustment module. Wherein: the information acquisition module is used for acquiring the current time and the effective time period corresponding to the electric appliance; the management authority adjusting module is used for adjusting the management authority of the electric appliance based on the current moment and the effective time period.
In a third aspect, an embodiment of the present application provides an electronic device, including one or more processors, a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to perform the method for adjusting the smart switch rights in the foregoing embodiment.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having program code stored therein, where the program code is capable of being invoked by a processor to perform the method for adjusting the authority of the smart switch of the above embodiments.
According to the intelligent switch permission adjusting method, the intelligent switch permission adjusting device, the intelligent switch and the storage medium, the current time and the effective time period corresponding to the electric appliance are obtained; and adjusting the management authority of the electric appliance based on the current moment and the effective time period. Therefore, the intelligent switch can adjust the control authority of the electric appliance according to time, and when the electric appliance is in a time period which is not used frequently, the control authority of the intelligent switch to the electric appliance is suspended, so that misoperation of a user to the electric appliance in the time period is avoided, and further electric energy waste caused by starting the electric appliance due to misoperation is also avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows an application environment schematic diagram of a method for adjusting intelligent switch rights according to an embodiment of the application.
Fig. 2 is a flow chart illustrating a method for adjusting the authority of the intelligent switch according to an embodiment of the present application.
Fig. 3 is a flow chart illustrating a method for adjusting the authority of the intelligent switch according to another embodiment of the present application.
Fig. 4 is a flow chart illustrating a method for adjusting the authority of the intelligent switch according to still another embodiment of the present application.
Fig. 5 shows a flowchart of a method for adjusting the authority of the intelligent switch according to still another embodiment of the present application.
Fig. 6 shows a functional block diagram of an intelligent switch authority adjusting device according to an embodiment of the present application.
Fig. 7 shows a block diagram of a smart switch provided according to an embodiment of the present application.
Fig. 8 illustrates a storage medium for storing or carrying program code for implementing a method for adjusting smart switch rights according to an embodiment of the present application, provided according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Among the many physical control modes of smart home, the smart panel is one of the most mainstream choices at present. The panel is convenient to deploy, wide in distribution and easy to operate. From the man-machine interaction level, the intelligent switch is a control mode which is very catering to the instinct of human beings. People have long been used to finding switch buttons on wall surfaces. Therefore, all the current electric appliances in the intelligent home can be controlled by the intelligent switch, so that a user can operate the electric appliances conveniently.
However, the inventor finds that with development of technology, more and more intelligent electric appliances enter families of people, the number of electric appliances to be managed by the intelligent switch is also increased, and a plurality of electric appliance identifiers are integrated on the intelligent switch, so that a user can not avoid the situation of false touch and the like, and thus the electric appliances which are not needed to be used are turned on, for example, in the daytime with sufficient light, the user turns on the lighting equipment due to false touch on the intelligent switch, and for example, in summer with higher temperature, the user turns on the floor heating equipment due to false touch.
Therefore, when the electric appliance is started due to false touch, unnecessary electric quantity waste can be caused, and the use experience of a user for using the electric appliance can be reduced.
Therefore, aiming at the problems, the inventor provides the intelligent switch permission adjusting method, the intelligent switch and the storage medium, the control permission of the intelligent switch to the electric appliance can be determined according to different electric appliances at different times, and if the current moment is not in the effective use time of the electric appliance, the control permission of the intelligent switch to the electric appliance is paused, so that the false touch of a user to the electric appliance at the current moment is avoided, and the user experience is effectively improved.
Referring to fig. 1, fig. 1 shows an application environment schematic diagram of a method for adjusting an intelligent switch right provided in an embodiment of the present application, where the method for adjusting an intelligent switch right provided in the embodiment of the present application may be applied to an intelligent home control system, as shown in fig. 1, an intelligent home control system 100 may include an intelligent switch 110 and an intelligent electrical apparatus 120, and the intelligent switch 110 may be communicatively connected with the intelligent electrical apparatus 120. Alternatively, the number of smart appliances 120 may be one or more, and the number of smart switches 110 may be one or more. Alternatively, the intelligent electrical appliance 120 may include a lighting device, an air conditioning device, a humidifying device, a floor heating device, a ventilation device, and the like, and the intelligent switch 110 may be respectively in communication connection with the humidifying device, the lighting device, the air conditioning device, and the ventilation device, and in addition, the intelligent electrical appliance 120 may also include electrical appliances such as an intelligent clothes hanger, an intelligent water heater, a television, a refrigerator, and the like. Optionally, the communication connection between the smart electric appliance 120 and the smart switch 110 may be a wired communication connection or a wireless communication connection, and the specific communication manner is not limited herein. The intelligent switch 110 may be used as a user operation portal, may communicate with and control peripheral electrical appliances, may access text, picture and audio/video information through wireless or wired communication, or may forward server information to a local or playing device for display, or may be specifically an intelligent gateway.
Referring to fig. 2, fig. 2 illustrates a method for adjusting authority of an intelligent switch provided in an embodiment of the present application, where the method may be applied to an intelligent switch in an intelligent home control system, the intelligent switch has management authority for electric appliances, and the number of the electric appliances may be at least one, and the method may include:
s110, acquiring the current time and the effective time period corresponding to the electric appliance.
In some embodiments, a valid period of management authority of each of the at least one consumer may be first acquired. Specifically, the intelligent switch may obtain the valid period corresponding to at least one electrical appliance from the valid period database. Wherein, in the effective time period database, each of the at least one electric consumer may correspond to one or more effective time periods. As an example, for example, each electric appliance in the effective time period database has an electric appliance identifier, a plurality of electric appliance identifiers may be pre-established with a plurality of effective time periods to obtain a mapping relationship table, and then the mapping relationship table is constructed to the effective time period database. As an example, as shown in table 1:
TABLE 1
It can be seen from table 1 that, based on the appliance identifier, the corresponding valid period can be found from the mapping table, for example, the valid period can be found from the mapping table as the period B according to the appliance B, specifically, if the appliance is a lighting device, the period B can be set to 19:00 in the evening to 7:00 in the morning of the next day, considering that the lighting device is usually used only at night. For another example, the corresponding valid time periods may be found from the map table as the time period C1 and the time period C2 according to the electric consumer C. And similarly, the effective time period corresponding to each of the plurality of electric appliances can be found according to the electric appliance identification.
Optionally, the valid time period database may be stored locally on the intelligent switch, or may be stored in a cloud server in communication with the intelligent switch, and when the intelligent switch needs to be used, a request may be sent to the cloud server to invoke the valid time period database.
The effective time period corresponding to the electric appliance can be set by user definition, and can also be automatically generated according to the recent use condition of the electric appliance. Alternatively, the effective period may be a period of time in a day, for example, a period of time in the morning, afternoon, or the like in a day may be the effective period of time, or may be a period of time in a year, for example, several months in a year may be the effective period of time.
In some embodiments, a timer may be configured in the intelligent switch to obtain the current time by the timer. Optionally, the intelligent switch may establish short-distance communication with other intelligent switches or electric appliances having timing functions, for example, establish communication through a bluetooth module, a ZigBee module, and a WiFi module, so as to conveniently obtain the current time from the other intelligent switches or electric appliances having timing functions, or verify the accuracy of the current time through a device in communication with the intelligent switch or electric appliance. Optionally, the intelligent switch may also be communicatively connected to a mobile terminal, a time server, etc. of the user, so as to facilitate obtaining the current time from the mobile terminal or the time server, and implementing time calibration.
And S120, adjusting the management authority of the electric appliance based on the current time and the effective time period.
In some embodiments, a utility group may be created based on the current time and the active time period, wherein the utility group includes at least one utility.
Specifically, the intelligent switch can detect whether the effective time period corresponding to each of the plurality of electric appliances includes the current time, then marks the effective time period including the current time to obtain the marked effective time period, and then selects and creates the electric appliance corresponding to the marked effective time period as the electric appliance group.
As an example, for example, the effective period of time corresponding to the electric appliance a is 12:00 to 17:00; the effective time period corresponding to the electric appliance B is 19:00 to 7:00; the corresponding active time periods for appliance C include 9:00 to 12:00 and 14:00 to 18:00. If the current time is 21:00, the effective time period corresponding to the electric appliance A and the effective time period corresponding to the electric appliance C do not comprise the current time, so that the electric appliances A and C in the three electric appliances can be selected and created as an electric appliance group.
And then suspending the management authority of the electric appliances in the electric appliance group.
As an example, the intelligent switch may suspend the management authority for the consumer a and the consumer C when it is determined that the consumer group includes the consumer a and the consumer C. Wherein, when the user makes an operation for controlling the electric appliance A or the electric appliance C on the intelligent switch after suspending the management authority of the electric appliance A and the electric appliance C, the intelligent switch will not respond.
It is understood that the default initial operating state of the plurality of electrical appliances may be a shutdown state.
It can be seen that, in this embodiment, the current time is obtained by obtaining the valid period of the management authority of each of the at least one electric consumer. And creating a power consumer group based on the current time and the effective time period, wherein the power consumer group comprises at least one power consumer. And finally suspending the management authority of each electric appliance in the electric appliance group. Therefore, the intelligent switch can adjust the control authority of the electric appliance according to time, when the electric appliance is in a time period which is not used frequently or is not needed to be used, the control authority of the intelligent switch on the electric appliance is suspended, for example, when the current time is detected to be in the daytime with good illumination, the intelligent switch can suspend the management authority of the intelligent switch on the lighting equipment so as to prevent a user from starting the lighting equipment due to misoperation in the daytime, for example, in summer, the intelligent switch can suspend the management authority of the floor heating equipment so as to prevent the user from starting the floor heating equipment due to misoperation, the misoperation of the user on the electric appliance in the time period is avoided, and further the electric energy waste caused by the misoperation to start the electric appliance is also avoided.
Referring to fig. 3, fig. 3 illustrates a method for adjusting authority of an intelligent switch according to another embodiment of the present application, where the method may be applied to an intelligent switch in an intelligent home control system, and the method may include:
s210, acquiring the current time and an effective time period corresponding to the electric appliance.
The specific embodiment of S210 may refer to S110, and thus will not be described herein.
S220, acquiring the electric appliances which do not include the current moment in the effective time period in at least one electric appliance as the first electric appliance.
As an example, for example, the number of the electric appliances is plural, the plural electric appliances include an electric appliance a, an electric appliance B, and an electric appliance C, and if the time period corresponding to the electric appliance a does not include the current time, the electric appliance a may be used as the first electric appliance.
S230, creating a user group based on the first electric appliance.
For example, when it is determined that the first electric appliance includes the electric appliance a, the electric appliance a may be directly created as one electric appliance group.
S240, acquiring the electric appliances which are not in the electric appliance group from at least one electric appliance as second electric appliances.
As an example, for example, the electric appliances B and C among the plurality of electric appliances are not in the electric appliance group, and thus the electric appliances B and C may be regarded as the second electric appliances.
S250, the management authority of the second electric appliance is opened or maintained.
The intelligent switch can detect whether the management authority of the intelligent switch to the second electrical appliance is open, and can keep the management authority unchanged when detecting that the management authority of the intelligent switch to the second electrical appliance is open. When detecting that the management authority of the intelligent switch to the second electric appliance is suspended, the intelligent switch can adjust the management authority to be open. When the management authority of the intelligent switch to the electric appliance is open, if the user performs control operation on the intelligent switch to the electric appliance, the intelligent switch will make a corresponding response, for example, the intelligent switch responds to an instruction input by the user for adjusting the temperature of the air conditioning equipment, and the air conditioning equipment is controlled to adjust the air conditioning equipment to a corresponding working state.
In some embodiments, the number of the valid time periods is a plurality, and each valid time period in the plurality of valid time periods may correspond to one authority level in advance, so that a authority level relation table can be generated, for example, the valid time period corresponding to the electric appliance C includes a time period C1 and a time period C2, for example, in the authority level relation table, the authority level corresponding to the time period C1 may be 2 levels, and the authority level corresponding to the time period C2 may be 1 level. The creation manner of the permission level relation table may refer to the creation manner of table 1, so that details are not described herein. In this embodiment, after S260, the method may further include the steps of:
First, an effective period in which the current time is located is acquired from a plurality of effective periods as a target effective period.
As an example, taking the electric appliance C in table 1 as an example, the valid period corresponding to the electric appliance C includes a period C1 and a period C2, and if the current time is in the period C2, the period C2 may be determined as the target valid period.
And secondly, acquiring a target authority level corresponding to the target effective time period, wherein the target authority level corresponds to at least one function authority of the second electric appliance.
Wherein, a plurality of authority levels can be preset for one electric appliance, and different authority levels can correspond to different functional authorities. As an example, for example, the intelligent switch may have a plurality of functional rights to the air conditioning apparatus, such as a cooling regulation right, a heating regulation right, a ventilation regulation right, etc., and the corresponding functional rights when the rights level of the air conditioning apparatus is 1 level include: refrigeration regulation authority; the corresponding function authority when the authority level of the air conditioning equipment is 2 levels comprises: cooling regulation authority and heating regulation authority.
As an example, when the time period c2 is determined as the target valid time period, it may be determined that the target authority level is level 1, and if the second electric appliance is an air conditioner, it may be determined that the authority function corresponding thereto includes the cooling adjustment authority.
And finally, adjusting the authority level of the intelligent switch to the management authority of the second electric appliance to be a target authority level so as to close the function authority of the second electric appliance corresponding to the target authority level.
As an example, the smart switch may adjust the authority level of the management authority to the air conditioning apparatus to level 1 to turn off the function authority of the smart switch to the cooling adjustment function of the air conditioning apparatus.
Considering that all functions of the electrical appliance may not be used in some time periods, for example, for an air conditioning apparatus, a refrigeration adjusting function is often not needed in winter, in this embodiment, by acquiring an effective time period where a current moment is located from a plurality of effective time periods as a target effective time period, after acquiring a target authority level corresponding to the target effective time period, finally, adjusting the authority level of the intelligent switch on the management authority of the second electrical appliance to the target authority level, so as to close the function authority of the second electrical appliance corresponding to the target authority level. Therefore, the unnecessary function authority of the intelligent switch to the second electrical appliance can be accurately closed according to time, misoperation of a user to the function of the second electrical appliance is avoided, for example, a heating adjusting function of an air conditioner is started in summer, a humidifying function is started in a rainy season and the like, unnecessary electric quantity is avoided more accurately, and the use experience of the user to the electrical appliance is improved.
S260, suspending the management authority of the electric appliances in the electric appliance group.
The specific embodiment of S260 may refer to S120, and thus will not be described herein.
In this embodiment, the electric appliance group is created by acquiring, as the first electric appliance, an electric appliance whose effective period of time does not include the current time among the plurality of electric appliances, and based on the first electric appliance. Therefore, the first electric appliance which is not needed to be used at the current moment can be accurately screened out to create the electric appliance group. And acquiring the electric appliances which are not in the electric appliance group from the plurality of electric appliances to serve as the second electric appliances, and opening or maintaining the management authority of the second electric appliances, so that the second electric appliances which are possibly used at the current moment can be ensured to be normally used.
Referring to fig. 4, fig. 4 illustrates a method for adjusting authority of an intelligent switch according to still another embodiment of the present application, where the method may be applied to an intelligent switch in an intelligent home control system, and the method may include:
s310, acquiring the current time and the effective time period corresponding to the electric appliance.
S320, acquiring the electric appliances which do not include the current moment in the effective time period in at least one electric appliance as the first electric appliance.
S330, creating a user group based on the first electric appliance.
The specific embodiments of S310 to S330 can refer to S210 to S230, and are not described herein.
S340, suspending the management authority of the electric appliances in the electric appliance group.
In some embodiments, after the management authority of each electric appliance in the electric appliance group is suspended, the intelligent switch can also delete the operation icon corresponding to each electric appliance in the electric appliance group from the operation page of the intelligent switch, so that the display space of the operation page of the intelligent switch can be saved, and the intelligent switch is convenient to display the operation icons corresponding to other available electric appliances. Optionally, if the time changes to change the electric appliances in the electric appliance group, the operation icon displayed on the operation page of the intelligent switch also changes correspondingly, for example, during a daytime period, the operation page of the intelligent switch may not need to display the operation icon corresponding to the lighting device, and when the time period arrives at night, the operation page of the intelligent switch may redisplay the operation icon corresponding to the lighting device. Therefore, the user can control the electric appliance conveniently while avoiding the user from touching by mistake.
In other embodiments, after suspending the management authority for each of the electric appliances in the electric appliance group, the intelligent switch may preferentially display operation charts corresponding to the electric appliances except for the electric appliance group in the plurality of electric appliances on a front page of an operation page of the intelligent switch, so that a user can use the operation charts conveniently. Optionally, if the time changes to change the electric appliances in the electric appliance group, the operation icon displayed on the operation page of the intelligent switch may also change correspondingly, for example, in a daytime period, the first page of the operation page of the intelligent switch may not display the operation icon corresponding to the lighting device, but display the operation icon corresponding to the lighting device in the next several pages of the operation page, and when the night period arrives, the first page of the operation page of the intelligent switch may redisplay the operation icon corresponding to the lighting device.
S350, responding to the permission restoration instruction, and opening the management permission of each electric appliance in the electric appliance group.
In some embodiments, the user may input the permission restoration instruction through the touch screen of the intelligent switch, and after the intelligent switch receives the permission restoration instruction, the user may open the management permission for each electric appliance in the electric appliance group, and the user may operate each electric appliance in the electric appliance group without any limitation, so as to facilitate the use of the electric appliances by the user.
In some embodiments, the intelligent switch may be configured with an audio receiving device, and the user may input a right restoration instruction through a voice input manner, for example, the user speaks a voice message of "restoration right", and after receiving the voice message, the intelligent switch correspondingly generates a right restoration instruction, and opens the management right of each electric appliance in the electric appliance group in response to the right restoration instruction. Optionally, the user may also customize the management authority of the electrical appliance to be restored, for example, the user speaks the voice information of "turn on the lighting device authority", and the intelligent switch correspondingly generates the authority restoration instruction after receiving the voice information and responds to the authority restoration instruction to accurately restore the management authority of the lighting device.
In other embodiments, the user may send a rights restoration instruction to the smart switch through a mobile terminal communicatively coupled to the smart switch to open the management rights of each of the electrical consumers in the electrical consumer group. Therefore, the management authority of the electric appliance can be recovered remotely by a user.
In the embodiment, the management authority of each electric appliance in the electric appliance group is opened by responding to the authority restoration instruction, so that the management authority of the intelligent switch on the electric appliance can be restored conveniently for the user at any time.
Referring to fig. 5, fig. 5 illustrates a method for adjusting authority of an intelligent switch according to still another embodiment of the present application, where the method may be applied to an intelligent switch in an intelligent home control system, and the method may include:
s410, the using times of each electric appliance in the at least one electric appliance in the historical time period are obtained.
As an example, a usage record of each of the plurality of electrical appliances during the historical period may be queried from the intelligent switch, thereby obtaining a number of times each electrical appliance is used during the historical period. For example, the number of uses of the appliance in the history period in the previous day may be acquired. Alternatively, the number of times the appliance was used in the afternoon time period, and the number of times the appliance was used in the evening time period on the previous day may be acquired.
S420, acquiring the electric appliance with the historical use times exceeding the specified use times from at least one electric appliance as a target electric appliance.
As an example, the plurality of electric consumers include electric consumer a, electric consumer B, and electric consumer C, for example. The number of times that the electric appliance A is used in the morning period of the previous day is 5, and the number of times that the electric appliance A is used in the afternoon is 0; the number of times that the electric appliance B is used in the morning period of the previous day is 0, and the number of times that the electric appliance B is used in the afternoon period is 1; the number of times the appliance B was used in the morning period of the previous day is 0, and the number of times the afternoon period was used is 8. If the designated number is 3, the electric appliance a and the electric appliance C can be determined as target electric appliances.
And S430, determining the time period corresponding to the historical time period as the effective time period of the management authority of the target electric appliance.
As one example, the afternoon time period of each day may be determined as the active time period of the utility a, and the afternoon time period of each day may be determined as the active time period of the utility B.
In some embodiments, the target electrical appliance includes at least one usage function, and may further include the following steps after S430:
first, the number of times of use of the function corresponding to each of at least one use function is acquired.
In some embodiments, the intelligent switch may obtain the number of uses of different usage functions by querying a usage record of the target appliance.
Next, a usage function whose number of usage times does not exceed a number threshold is acquired as a target function from the at least one usage function.
As an example, for example, the target electrical appliance is an air conditioning apparatus including a heating adjustment function, a cooling adjustment function, and a ventilation function, wherein in the effective period, the number of times of use corresponding to the heating adjustment function is 0 times, the number of times of use corresponding to the cooling adjustment function is 5 times, the number of times of use corresponding to the ventilation adjustment function is 2 times, and if the number of times threshold is 3, both the heating adjustment function and the ventilation adjustment function of the air conditioning apparatus can be determined as the target functions.
Again, the number of target functions is obtained.
As an example, with the above, if both the heating adjustment function and the ventilation adjustment function of the air conditioning apparatus are determined as the target functions, the number of target functions may be determined to be 2.
Finally, determining the authority level of the effective time period based on the number of the target functions, wherein the number and the authority level are positively correlated.
Alternatively, the number of target functions may be equal to the authority level of the valid period, for example, when the number of target functions is 2, the authority level corresponding to the target electrical appliance in the valid period is 2. For example, when the number of target functions is 3, the authority level corresponding to the target electric appliance in the valid period is 3.
In consideration of the fact that one electric appliance may have a plurality of functions, for example, the use condition of each function may be different in a certain period of time, in the present embodiment, by acquiring the number of times of use of the function corresponding to each of at least one of the use functions, the use function whose number of times of use of the function does not exceed the number threshold is acquired as the target function from the at least one use function. The method comprises the steps of obtaining the number of target functions, and determining the authority level of an effective time period based on the number of the target functions, so that the authority level of the use function of the electric appliance can be effectively set according to the function use condition of the electric appliance, and the management authority of the electric appliance can be set more accurately according to the authority level.
S440, obtaining the effective time period of the management authority of each of the at least one electric appliance.
S450, acquiring the current time and the effective time period corresponding to the electric appliance.
And S460, adjusting the management authority of the electric appliance based on the current time and the effective time period.
The specific embodiments of S450 to S460 may refer to S110 to S120, and are not described herein.
In this embodiment, by acquiring the number of times each of the at least one electric appliance is used in the history period, the electric appliance whose history number of times exceeds the specified number of times is acquired from the plurality of electric appliances as the target electric appliance, and then the period corresponding to the history period is determined as the valid period of the management authority of the target electric appliance. Therefore, the effective time period can be more accurately set according to the actual use condition of the user on the electric appliance, the effective time period is more close to the use habit of the user, and the use experience of the user is improved.
Referring to fig. 6, fig. 6 shows an apparatus for adjusting authority of an intelligent switch according to an embodiment of the present application, where the intelligent switch is used for being connected to at least one electrical apparatus, and the apparatus 500 for adjusting authority of the intelligent switch includes: an information acquisition module 510 and a management authority adjustment module 520.
Wherein:
the information obtaining module 510 is configured to obtain the current time and an effective time period corresponding to the electric appliance.
And the management authority adjusting module 520 is configured to adjust the management authority of the electrical appliance based on the current time and the valid period.
Optionally, the management authority adjustment module 520 includes:
the first electric appliance acquisition unit is used for acquiring the electric appliances, of which the effective time period does not comprise the current moment, in the at least one electric appliance as the first electric appliance.
And the electric appliance group creation unit is used for creating an electric appliance group based on the first electric appliance.
And the right closing unit is used for suspending the management right of the electric appliances in the electric appliance group.
Optionally, the intelligent switch authority adjusting device 500 further includes:
and the second electric appliance acquisition module is used for acquiring electric appliances which are not in the electric appliance group from at least one electric appliance as second electric appliances.
And the management authority control module opens or maintains the management authority of the second electric appliance.
Optionally, the number of the valid time periods is a plurality, each valid time period in the plurality of valid time periods corresponds to one authority level, and the intelligent switch authority adjusting device 500 further includes:
the target effective time period acquisition module is used for acquiring the effective time period where the current moment is located from the plurality of effective time periods as the target effective time period.
The target permission level obtaining module is used for obtaining a target permission level corresponding to the target effective time period, wherein the target permission level corresponds to at least one function permission of the second electric appliance.
And the function permission closing module is used for adjusting the permission level of the intelligent switch on the management permission of the second electric appliance to be a target permission level so as to pause the function permission of the second electric appliance corresponding to the target permission level.
Optionally, the intelligent switch authority adjusting device 500 further includes:
and the restoration module is used for responding to the permission restoration instruction and opening the management permission of each electric appliance in the electric appliance group.
Optionally, the intelligent switch authority adjusting device 500 further includes:
the using frequency acquisition module is used for acquiring the using frequency of each electric appliance in the historical time period;
The target electric appliance acquisition module is used for acquiring electric appliances with historical use times exceeding the designated use times from the plurality of electric appliances as target electric appliances;
and the effective time period determining module is used for determining the time period corresponding to the historical time period as the effective time period of the management authority of the target electric appliance.
Optionally, the target electrical appliance includes at least one usage function, and the intelligent switch authority adjusting device 500 further includes:
the function use times acquisition module is used for acquiring the function use times corresponding to each of the at least one use function.
And the target function acquisition module is used for acquiring the use function with the use frequency not exceeding the frequency threshold value from at least one use function as the target function.
And the quantity acquisition module is used for acquiring the quantity of the target functions.
And the permission level determining module is used for determining the permission level of the effective time period based on the number of the target functions, wherein the number is positively correlated with the permission level.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above description module may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In the several embodiments provided herein, the illustrated or discussed coupling or direct coupling or communication connection of the modules to each other may be through some interfaces, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other forms.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules. The processing module can be a central control device of the intelligent clothes hanger.
Referring to fig. 7, a block diagram of an intelligent switch according to an embodiment of the invention is shown. The smart switch 600 may be the smart switch 600 capable of running a program in the foregoing embodiment. The intelligent switch 600 of the present invention may include one or more of the following components: a processor 610, a memory 620, and one or more programs, wherein the one or more programs may be stored in the memory 620 and configured to be executed by the one or more processors 610, the one or more programs configured to perform the methods as described in the foregoing method embodiments.
Processor 610 may include one or more processing cores. The processor 610 connects various portions of the overall intelligent switch using various interfaces and lines to perform various functions of the intelligent switch and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 620, and invoking data stored in the memory 620. Alternatively, the processor 610 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 610 may integrate one or a combination of several of a central processor 610 (Central Processing Unit, CPU), an image processor 610 (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 610 and may be implemented solely by a single communication chip.
The Memory 620 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Memory 620 may be used to store instructions, programs, code sets, or instruction sets. The memory 620 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playing function, an image playing function, etc., a photographing function), instructions for implementing various method embodiments described below, etc. The storage data area may also store data created by the terminal in use (such as phonebook, audio-video data, map data, travel record data), and the like.
Referring to fig. 8, a block diagram of a computer readable storage medium according to an embodiment of the present invention is shown. The computer readable medium 700 has stored therein a program code 710, the program code 710 being executable by a processor to perform the method described in the above method embodiments.
The computer readable storage medium 700 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium comprises a non-transitory computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium has storage space for program code to perform any of the method steps described above. The program code can be read from or written to one or more computer program products. The program code may be compressed, for example, in a suitable form.
In summary, the method and device for adjusting the authority of the intelligent switch, the intelligent switch and the storage medium provided by the embodiment acquire the current time and the effective time period corresponding to the electric appliance; and adjusting the management authority of the electric appliance based on the current moment and the effective time period. Therefore, the intelligent switch can adjust the control authority of the electric appliance according to time, and when the electric appliance is in a time period which is not used frequently, the control authority of the intelligent switch to the electric appliance is suspended, so that misoperation of a user to the electric appliance in the time period is avoided, and further electric energy waste caused by starting the electric appliance due to misoperation is also avoided.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, one of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (6)

1. A rights adjustment method of an intelligent switch, characterized in that the number of electric appliances is at least one, the method comprising:
After determining the effective time period of the management authority of the target electric appliance, acquiring the function use times corresponding to each of at least one use function included in the target electric appliance; acquiring a use function of which the number of times of use of the function does not exceed a number threshold from the at least one use function as a target function; acquiring the number of the target functions; determining a permission level of the effective time period based on the number of target functions, wherein the target electric appliance is an electric appliance with historical use times exceeding specified use times in at least one electric appliance, and the number is positively correlated with the permission level;
acquiring the current time and the effective time periods corresponding to the electric appliances, wherein the number of the effective time periods is at least one, and each effective time period in the at least one effective time period corresponds to one authority level;
adjusting the management authority of the electric appliance based on the current moment and the effective time period;
wherein, the adjusting the management authority of the electric appliance comprises the following steps:
acquiring an electric appliance which does not comprise the current moment in the effective time period in at least one electric appliance as a first electric appliance;
Creating a consumer group based on the first electrical appliance;
suspending the management authority of the electric appliances in the electric appliance group;
deleting the operation icon corresponding to each electric appliance in the electric appliance group from the operation page of the intelligent switch;
the adjusting the management authority of the electric appliance further comprises:
acquiring the electric appliances which are not in the electric appliance group from the at least one electric appliance as second electric appliances;
opening or maintaining the management authority of the second electric appliance;
acquiring an effective time period where the current moment is located from the at least one effective time period as a target effective time period;
obtaining a target authority level corresponding to the target effective time period, wherein the target authority level corresponds to at least one function authority of the second electric appliance;
and adjusting the authority level of the management authority of the second electric appliance to the target authority level so as to close the functional authority of the second electric appliance corresponding to the target authority level.
2. The method of claim 1, further comprising, after the suspending of the management rights of the electrical consumers in the electrical consumer group:
And responding to the permission restoration instruction, and opening the management permission of each electric appliance in the electric appliance group.
3. The method according to claim 1 or 2, further comprising, prior to said obtaining the current time and the corresponding active time period of the consumer:
acquiring the use times of each of at least one electric appliance in a historical time period;
acquiring a user with historical use times exceeding the designated use times from the at least one user as a target user;
and determining the time period corresponding to the historical time period as the effective time period of the management authority of the target electric appliance.
4. An intelligent switch authority adjusting device, which is characterized in that the intelligent switch authority adjusting device comprises:
the function use times acquisition module is used for acquiring the function use times corresponding to each of at least one use function included in the target electric appliance after determining the effective time period of the management authority of the target electric appliance; the target electrical consumer is at least one electrical consumer whose historical usage count exceeds a specified usage count,
a target function acquiring module, configured to acquire, as a target function, a usage function whose number of usage times does not exceed a number threshold from the at least one usage function;
A number acquisition module for acquiring the number of the target functions;
the permission level determining module is used for determining the permission level of the effective time period based on the number of the target functions, wherein the number and the permission level are positively correlated;
the information acquisition module is used for acquiring the current time and the effective time periods corresponding to the electric appliances, wherein the number of the effective time periods is at least one, and each effective time period in the at least one effective time period corresponds to one authority level;
the management authority adjusting module is used for adjusting the management authority of the electric appliance based on the current moment and the effective time period;
the management authority adjusting module is used for acquiring an electric appliance, of which the effective time period does not include the current moment, in at least one electric appliance as a first electric appliance; creating a consumer group based on the first electrical appliance; suspending the management authority of the electric appliances in the electric appliance group; deleting the operation icon corresponding to each electric appliance in the electric appliance group from the operation page of the intelligent switch;
the management authority adjusting module is further used for acquiring the electric appliances which are not in the electric appliance group from the at least one electric appliance, and taking the electric appliances as second electric appliances; opening or maintaining the management authority of the second electric appliance; acquiring an effective time period where the current moment is located from the at least one effective time period as a target effective time period; obtaining a target authority level corresponding to the target effective time period, wherein the target authority level corresponds to at least one function authority of the second electric appliance; and adjusting the authority level of the management authority of the second electric appliance to the target authority level so as to close the functional authority of the second electric appliance corresponding to the target authority level.
5. An intelligent switch, characterized by comprising:
one or more processors;
a memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-3.
6. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, which is callable by a processor for executing the method according to any one of claims 1 to 3.
CN202010820166.3A 2020-08-14 2020-08-14 Intelligent switch authority adjusting method and device, intelligent switch and storage medium Active CN112015100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010820166.3A CN112015100B (en) 2020-08-14 2020-08-14 Intelligent switch authority adjusting method and device, intelligent switch and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010820166.3A CN112015100B (en) 2020-08-14 2020-08-14 Intelligent switch authority adjusting method and device, intelligent switch and storage medium

Publications (2)

Publication Number Publication Date
CN112015100A CN112015100A (en) 2020-12-01
CN112015100B true CN112015100B (en) 2024-03-12

Family

ID=73504623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010820166.3A Active CN112015100B (en) 2020-08-14 2020-08-14 Intelligent switch authority adjusting method and device, intelligent switch and storage medium

Country Status (1)

Country Link
CN (1) CN112015100B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866185A (en) * 2015-04-30 2015-08-26 广东美的制冷设备有限公司 Control interface display method and device
CN106789488A (en) * 2017-03-29 2017-05-31 海信集团有限公司 Intelligent home device management method and device
CN106774226A (en) * 2017-02-28 2017-05-31 成都联盛商贸有限公司 A kind of household electrical appliance detecting system
CN107942836A (en) * 2017-12-28 2018-04-20 深圳春沐源控股有限公司 The control method and control device of hotel guest room, computer installation and storage medium
CN108317674A (en) * 2017-12-21 2018-07-24 珠海格力电器股份有限公司 Air conditioning control method and device, system, storage medium and processor
CN109917667A (en) * 2019-03-31 2019-06-21 广东美的制冷设备有限公司 Household appliance and its control authority sharing method, controlling terminal and storage medium
CN110489177A (en) * 2019-09-03 2019-11-22 惠州Tcl移动通信有限公司 Application control method, apparatus, storage medium and terminal device
CN110824941A (en) * 2019-11-07 2020-02-21 深圳市欧瑞博科技有限公司 Relay control method of intelligent household control panel, client, control panel and computer readable storage medium
CN111123718A (en) * 2019-12-05 2020-05-08 星络智能科技有限公司 Storage medium, intelligent panel and power-saving management method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105467848B (en) * 2015-12-11 2019-01-04 小米科技有限责任公司 Smart machine control method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866185A (en) * 2015-04-30 2015-08-26 广东美的制冷设备有限公司 Control interface display method and device
CN106774226A (en) * 2017-02-28 2017-05-31 成都联盛商贸有限公司 A kind of household electrical appliance detecting system
CN106789488A (en) * 2017-03-29 2017-05-31 海信集团有限公司 Intelligent home device management method and device
CN108317674A (en) * 2017-12-21 2018-07-24 珠海格力电器股份有限公司 Air conditioning control method and device, system, storage medium and processor
CN107942836A (en) * 2017-12-28 2018-04-20 深圳春沐源控股有限公司 The control method and control device of hotel guest room, computer installation and storage medium
CN109917667A (en) * 2019-03-31 2019-06-21 广东美的制冷设备有限公司 Household appliance and its control authority sharing method, controlling terminal and storage medium
CN110489177A (en) * 2019-09-03 2019-11-22 惠州Tcl移动通信有限公司 Application control method, apparatus, storage medium and terminal device
CN110824941A (en) * 2019-11-07 2020-02-21 深圳市欧瑞博科技有限公司 Relay control method of intelligent household control panel, client, control panel and computer readable storage medium
CN111123718A (en) * 2019-12-05 2020-05-08 星络智能科技有限公司 Storage medium, intelligent panel and power-saving management method thereof

Also Published As

Publication number Publication date
CN112015100A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
US10584892B2 (en) Air-conditioning control method, air-conditioning control apparatus, and storage medium
CN109240111B (en) Intelligent home control method, device and system and intelligent gateway
CN113412457B (en) Scene pushing method, device and system, electronic equipment and storage medium
CN111965991B (en) Authority adjusting method and device of intelligent control switch, intelligent control switch and storage medium
CN105490897B (en) Control method and control device of household appliance and mobile terminal
WO2022022121A1 (en) Interactive method for establishing device linkage scene, and storage medium and electronic device
CN108062031A (en) Intelligent home furnishing control method, device, system and electronic equipment
CN111913394A (en) Intelligent household control panel and display method thereof, electronic equipment and storage medium
CN110989391A (en) Method and device for controlling equipment, control equipment and storage medium
WO2020228041A1 (en) Scenario operating method and apparatus, electronic device, and computer readable medium
CN111965989B (en) System updating method and device, intelligent home control panel and storage medium
WO2022267671A1 (en) Air conditioner operation mode pushing method and apparatus, and air conditioner
CN112015099B (en) Authority adjusting method and device of intelligent switch, intelligent switch and storage medium
CN109829360A (en) Electrical equipment control method, device, electrical equipment and storage medium
WO2016180199A1 (en) Home appliance control method and apparatus, wireless router apparatus, and home appliance
CN112015100B (en) Intelligent switch authority adjusting method and device, intelligent switch and storage medium
CN113395193A (en) Equipment control method and device, computer equipment and storage medium
CN111142996B (en) Page display method, page display system, mobile terminal and storage medium
CN110324217B (en) Equipment triggering control method and device, electronic equipment and storage medium
CN112596426B (en) Control and networking method and device of single-live-wire Bluetooth intelligent switch and electronic equipment
CN108107740B (en) Household appliance control method and device
CN112543413B (en) Networking method and device of single-live-wire Bluetooth intelligent switch, electronic equipment and medium
CN111365829A (en) Intelligent control method, system and platform of air conditioner
CN112015103A (en) Upgrading method and device of intelligent control switch, intelligent control switch and storage medium
CN112015102A (en) Upgrading method and device of intelligent control switch, intelligent control switch 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