CN108105954B - Device control method and apparatus, storage medium, and processor - Google Patents

Device control method and apparatus, storage medium, and processor Download PDF

Info

Publication number
CN108105954B
CN108105954B CN201711088127.3A CN201711088127A CN108105954B CN 108105954 B CN108105954 B CN 108105954B CN 201711088127 A CN201711088127 A CN 201711088127A CN 108105954 B CN108105954 B CN 108105954B
Authority
CN
China
Prior art keywords
authority
level
operator
control
control instruction
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
CN201711088127.3A
Other languages
Chinese (zh)
Other versions
CN108105954A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201711088127.3A priority Critical patent/CN108105954B/en
Publication of CN108105954A publication Critical patent/CN108105954A/en
Application granted granted Critical
Publication of CN108105954B publication Critical patent/CN108105954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Abstract

the invention discloses a device control method and device, a storage medium and a processor. The method comprises the following steps: acquiring control instructions sent by operators with different authority levels, wherein the authority levels comprise a high level and a low level; judging whether control instructions sent by operators with different authority levels meet preset authority adjustment conditions or not; and under the condition of meeting the preset authority adjustment condition, controlling the equipment to operate according to the control instruction of the operator of the lower level, or canceling the operation authority of the operator of the higher level. By the method and the device, the effect of improving the intelligent degree of the control authority of the equipment is achieved.

Description

Device control method and apparatus, storage medium, and processor
Technical Field
The invention relates to the field of electric appliances, in particular to a device control method and device, a storage medium and a processor.
Background
In the prior art, the working mode of the air conditioner is usually changed by pressing a key. The general authority setting mode is to set high and low authorities for control, and in the aspect of air conditioner control, the authorities of most users are equal authorities, so that control confusion can be caused when a plurality of people send out instructions for air conditioner control, and the requirements of the plurality of people cannot be met.
Aiming at the problem that the control authority of the equipment in the related technology is not intelligent enough, an effective solution is not provided at present.
disclosure of Invention
The invention mainly aims to provide a device control method and device, a storage medium and a processor, so as to solve the problem that the control authority of the device in the related art is not intelligent enough.
in order to achieve the above object, according to an aspect of the present invention, there is provided an authority control method including: acquiring control instructions sent by operators with different authority levels, wherein the authority levels comprise a high level and a low level; judging whether control instructions sent by operators with different authority levels meet preset authority adjustment conditions or not; and under the condition of meeting the preset authority adjustment condition, controlling the equipment to operate according to the control instruction of the operator of the lower level, or canceling the operation authority of the operator of the higher level.
further, in the case that the preset authority adjustment condition is satisfied, controlling the device to operate according to a control instruction of a lower-level operator, or canceling the operation authority of the higher-level operator includes: under the condition that the number of the same control instructions of operators with authority levels of lower levels exceeds a preset number, controlling equipment to operate according to the control instructions of the operators with the lower levels, or canceling the operation authority of the operators with the higher levels within a preset length time period, or acquiring the weight of each control instruction; calculating the weight sum of the same control instruction; and under the condition that the weight value of the same control instruction of the operator with the authority level of lower level exceeds the weight value of the control instruction of the operator with higher level, controlling the equipment to operate according to the control instruction of the operator with lower level, or eliminating the operation authority of the operator with higher level in the time period of preset length.
further, after canceling the operation authority of the operator of the high level for the predetermined length of time period, the method further includes: and after the time period of the preset length, restoring the original operation authority of the operators of the lower level and the operators of the higher level.
Further, the control instruction includes a control instruction for the air conditioner, the authority level is an authority level for controlling the air conditioner, the control instruction includes a gesture control instruction, and before the control instruction sent by an operator with different authority levels is obtained, the method further includes: collecting a face image in a current indoor environment; and determining the authority level of each operator corresponding to the face image through face recognition.
Further, before determining the authority level of each operator corresponding to the face image through face recognition, the method further includes: dividing time and environment temperature to obtain a plurality of time periods and a plurality of environment temperature intervals; face images corresponding to different authority levels are set for the time periods and the environment temperature intervals respectively.
Further, after acquiring control instructions issued by operators with different authority levels, the method further comprises the following steps: judging whether an authority transfer instruction sent to a target operator from an operator with the highest authority level is received, wherein the authority level of the target operator is lower than that of the operator with the highest authority level; and after receiving the permission transfer instruction, changing the permission level of the target operator into the highest level, and controlling the operation of equipment according to the control instruction of the target operator.
In order to achieve the above object, according to another aspect of the present invention, there is also provided an authority control apparatus including: the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring control instructions sent by operators with different authority levels, and the authority levels comprise a high level and a low level; the judging unit is used for judging whether control instructions sent by operators with different authority levels meet preset authority adjusting conditions or not; and the processing unit is used for controlling the equipment to operate according to the control instruction of the operator of the lower grade or canceling the operation authority of the operator of the higher grade under the condition that the preset authority adjustment condition is met.
Further, the processing unit includes: the device comprises a first control module, an acquisition module and a control module, wherein the first control module is used for controlling equipment to operate according to the control instructions of the operators with lower levels of authority levels under the condition that the number of the same control instructions of the operators with lower levels of authority levels exceeds a preset number, or eliminating the operation authority of the operators with higher levels within a preset length time period, or the acquisition module is used for acquiring the weight of each control instruction; the calculation module is used for calculating the weight sum of the same control command; and the second control module is used for controlling the equipment to operate according to the control instruction of the operator with the lower level or eliminating the operation authority of the operator with the higher level in the time period with the preset length under the condition that the weight of the same control instruction of the operator with the lower level of authority level exceeds the weight of the control instruction of the operator with the higher level.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a storage medium including a stored program, wherein when the program runs, a device in which the storage medium is located is controlled to execute the method for controlling authority according to the present invention.
in order to achieve the above object, according to another aspect of the present invention, there is also provided a processor for executing a program, wherein the program executes the method for controlling authority according to the present invention.
The method comprises the steps of obtaining control instructions sent by operators with different authority levels, wherein the authority levels comprise a high level and a low level; judging whether control instructions sent by operators with different authority levels meet preset authority adjustment conditions or not; under the condition of meeting the preset authority adjustment condition, the equipment is controlled to operate according to the control instruction of the operator of the lower level, or the operation authority of the operator of the higher level is cancelled, so that the problem that the control authority of the equipment in the related art is not intelligent enough is solved, and the effect of improving the intelligent degree of the control authority of the equipment is further achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
Fig. 1 is a flowchart of an air conditioner control method according to an embodiment of the present invention; and
Fig. 2 is a schematic diagram of an air conditioning control apparatus according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
the embodiment of the invention provides an authority control method.
fig. 1 is a flowchart of a rights control method according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
Step S102: control instructions sent by operators from different authority levels are acquired, wherein the authority levels comprise a high level and a low level.
step S104: and judging whether the control instructions sent by operators with different authority levels meet preset authority adjustment conditions or not.
Step S106: and under the condition of meeting the preset authority adjustment condition, controlling the equipment to operate according to the control instruction of the operator of the lower level, or canceling the operation authority of the operator of the higher level.
The embodiment acquires control instructions sent by operators with different authority levels, wherein the authority levels comprise a high level and a low level; judging whether control instructions sent by operators with different authority levels meet preset authority adjustment conditions or not; under the condition of meeting the preset authority adjustment condition, the equipment is controlled to operate according to the control instruction of the operator of the lower level, or the operation authority of the operator of the higher level is cancelled, so that the problem that the control authority of the equipment in the related art is not intelligent enough is solved, and the effect of improving the intelligent degree of the control authority of the equipment is further achieved.
In the embodiment of the invention, each operator has respective level for the operation authority of the equipment, for example, the highest level, the second highest level, the lowest level and the like, the high level and the low level are relative levels, if the operators all send instructions to control the equipment to operate, the equipment takes the instruction sent by the operator with the highest level as the standard to control the equipment to operate, the technical scheme of the embodiment of the invention can increase the intelligence degree of the equipment control, in some cases, the equipment can be controlled to operate by the operation instruction of the operator with the non-highest level, for example, the control instruction sent by the operators with different authority levels is obtained, the high level and the low level can not be the highest level, the high level and the low level can also respectively comprise a plurality of different level authorities, and after the control instruction sent by the operator with each level is obtained, whether the control instruction sent by the operator with different authority levels meets the preset authority adjustment strip or not is judged The preset authority adjusting condition can be various types of conditions, such as a quantity condition, a time condition or a condition for calculating scores according to a preset rule, and in the case that the condition is met, the control authority can be adjusted to adjust the authority of the operator at the original lower level to be higher than the original higher level. Or the operation authority of the original high-level operator can be cancelled, so that the operation authority of the original low-level operator is higher than that of the original high-level operator, and the operation of the equipment can be controlled based on the control instruction sent by the original low-level operator. By the technical scheme of the embodiment of the invention, the authority control of the equipment is more flexible and intelligent, and more flexible operation authority is provided for other operators with multiple grades.
Alternatively, in the case that the preset authority adjustment condition is met, controlling the device to operate according to the control instruction of the operator of the lower level, or canceling the operation authority of the operator of the higher level may be performed by: under the condition that the number of the same control instructions of operators with lower authority levels exceeds a preset number, controlling equipment to operate according to the control instructions of the operators with lower authority levels, or canceling the operation authority of the operators with higher authority levels within a preset length time period, or acquiring the weight of each control instruction; calculating the weight sum of the same control instruction; and under the condition that the weight of the same control instruction of an operator with the authority level of a lower level exceeds the weight of the control instruction of a higher level operator, controlling the equipment to operate according to the control instruction of the lower level operator, or eliminating the operation authority of the higher level operator within a time period of a preset length.
Alternatively, after the operation authority of the operator of the high rank is canceled for a predetermined length of time period, the original operation authority of the operator of the low rank and the operator of the high rank may be restored after the predetermined length of time period.
the control instruction can be a gesture control instruction, and the gesture control instruction of the user is collected through a camera on the air conditioner, so that the instruction acquisition process is quicker and more convenient.
in a specific application scenario, taking the device as an air conditioner as an example, the operators determining different authority levels may be determined by facial recognition, for example, all facial images in the indoor environment are collected, the collection of the facial image in the current indoor environment may be by a camera installed on the air conditioner, or may be by a camera installed at a corner of an indoor roof, then data is sent to the air conditioner, after one or more facial images in the indoor environment are collected, the authority level of the operator corresponding to each facial image in the current facial image may be identified by an image recognition algorithm, and then the operator with the highest authority level is determined, in general, the authority level of the user a is high authority, the authority levels of the user B and the user C are both medium authority, and then the user a may be determined as the operator with the highest authority level, after determining that the authority level of the user A is the highest, controlling the operation of the air conditioner by taking the control gesture sent by the user A as the reference. However, in some cases, if the user a does not send a control gesture to adjust the operation of the air conditioner, both B and C want to reduce the wind speed of the air conditioner, but since a is in the current indoor environment and has the highest authority level, even if B and C send the control gesture at this time, the air conditioner cannot be controlled. The low level may be a level next to the high level, or a lower level from multiple levels of the high level, and specifically, the preset condition may be multiple types of conditions, such as a quantity condition, a time condition, and the like. Weight of control command: the same control commands do not mean all the same, and the same control commands at least have different weights.
In some cases, if the control authority of a plurality of users is equal in level, for example, 5 users are all equal in level currently, wherein 3 people send out operation gestures to control the temperature of the air conditioner to increase by 1 degree, and 2 people send out operation gestures to control the temperature of the air conditioner to decrease by 1 degree, the air conditioner can be controlled to increase by 1 degree according to the requirements of most people.
as an optional permission adjustment condition, each level permission has a certain weight, and when the sum of a plurality of lower level weights is greater than the current upper level weight, the device is controlled according to the lower level weight instruction, or the control permission is handed over to a lower level operator, for example, the control permission is handed over to a next level operator. And calculating the weight sum of all operators in each level, and under the condition that the weight sum of the operators in the lower level is greater than the weight sum of the operators in the higher level, considering that the permission adjustment condition is met, and at the moment, adjusting the permission of the operators in the lower level to be higher than the operation permission of the operators in the higher level within a certain time length. The time period with the preset length can be set according to a specific application scene, so that the authority operation is more intelligent and meets the requirements of the specific scene.
Optionally, the lower level authority level is only lower than the higher level authority level, and after the authority of the lower level operator is adjusted to be higher than the higher level within the time period of the predetermined length, the original operation authorities of the original higher level operator and the original lower level operator are restored after the time period of the predetermined length. The high level and the low level need to be two adjacent levels, for example, the highest level and the second highest level, the operation authority of each level can only capture the operation authority of the operator at the higher level, but not capture the operation authority across the levels, so that more standard authority adjustment can be ensured, and operation confusion is prevented.
optionally, the control instruction includes a control instruction for the air conditioner, the authority level is an authority level for controlling the air conditioner, the control instruction includes a gesture control instruction, and the facial image in the current indoor environment is acquired before the control instruction sent by the operator with different authority levels is acquired; the authority level of each operator corresponding to the face image is determined by face recognition. The operation level of each operator can be determined by collecting the facial image, and the method is applied to air conditioner adjustment, so that the air conditioner adjustment is more convenient and flexible, and the improvement on the air conditioner is more convenient.
optionally, before determining the authority level of each operator corresponding to the face image through face recognition, dividing time and ambient temperature to obtain a plurality of time periods and a plurality of ambient temperature intervals; face images corresponding to different authority levels are set for a plurality of time periods and a plurality of environment temperature sections respectively. In order to further increase the intelligence degree of the air conditioner authority control, different authority levels of operators can be set for different time intervals and different environment temperature intervals respectively. Before determining the operator with the highest authority level in the face image, setting face images corresponding to different authority levels; and storing the corresponding relation between the different authority levels and the facial image in a preset database. The facial images corresponding to different authority levels are preset so as to distinguish the authority of the user when the air conditioner is controlled, and the authority of the facial images can be determined when the air conditioner is controlled each time by storing the facial images of the user and the corresponding authority levels in the database.
optionally, the setting of the face images corresponding to different authority levels may be dividing time and ambient temperature to obtain a plurality of time periods and a plurality of ambient temperature intervals; face images corresponding to different authority levels are set in a plurality of time periods and a plurality of environment temperature sections respectively.
to further increase the intelligence of the air conditioning control, each time interval and each temperature interval may be divided, and the operator may be a duty or a staff in each conference room, for example, a user is the highest authority, B user is the middle authority, and B user is the highest authority, and a user is the middle authority, from 8 am to 12 pm, a user is the middle authority, and a user is the middle authority. Or, when the temperature is below 20 degrees, the user a is the highest authority, the user B is the medium authority, when the temperature is above 20 degrees, the user B is the highest authority, and the user a is the medium authority, so that the authority interval of each user can be set, and the duty scheduling of each user or the responsibility range of each user can be matched, so as to improve the flexibility of the device control method.
Optionally, after acquiring a control instruction sent by an operator with different permission levels, determining whether an permission transfer instruction sent from an operator with the highest permission level to a target operator is received, where the permission level of the target operator is lower than that of the operator with the highest permission level; and after receiving the permission transfer instruction, changing the permission level of the target operator into the highest level, and controlling the operation of the equipment according to the control instruction of the target operator.
The target operator can be a low-level operator or other lower-level operators, the air conditioner is controlled according to the authority level of the user, the user with the highest authority level can transfer the control authority to the target operator through a preset authority transfer gesture, for example, the user A with the highest authority can handshake with the user C, the authority can be transferred to the user C, the user C can serve as the operator with the highest authority level to control the air conditioner, through the authority transfer, the authority can be timely transferred to other users when the user is inconvenient to operate, the use of the user is facilitated, and the flexibility of the control method is improved.
The technical scheme of the embodiment of the invention solves the problems that the authority control of the air conditioner is simplified, people with high authority can control the air conditioner at will, or a better control method is not available under a plurality of equal authorities, the intelligent control is realized, and the user experience is improved. The transfer of the authority is realized, and the real-time requirements of users are met.
The embodiment of the present invention also provides a preferred implementation manner, which can be taken as a preferred implementation manner of the first embodiment, and the technical solution of the present invention is described below with reference to the preferred embodiment.
The technical scheme of the embodiment of the invention can be used as a meeting room air conditioner permission transfer method, a plurality of persons can capture the control permission of a certain person by identifying the number of persons and permission types, and the permission is transferred back to a high-permission controller when the number of persons is insufficient.
The method mainly comprises the following steps:
1. identifying the number of people and the authority and collecting information;
2. and determining the currently executed operation according to the corresponding relation between the acquired information and the action to be executed.
Specifically, the method comprises the following steps:
(1) The air conditioner identifies a current authority control frame;
The air conditioner identifies the current authority category, identifies whether the highest authority account, the second highest authority account and the medium authority account exist in the current area through a camera face on the air conditioner, and constructs a current authority level frame (such as 1 high authority, 10 medium authority and 20 low authority)
(2) A permission transfer method;
the method can be transferred to a person with low authority through the gesture of the person with high authority, for example, the person with high authority and the person with low authority are subjected to handshake and other interaction, the camera identifies the faces of the two persons, and belongs to the registered account (if the two persons both belong to the users with authority, the high authority of one user can be transferred to the other user, and if one person originally has no authority, the high authority cannot be transferred to the user), and the authority transfer is allowed;
If the camera identifies that the current highest authority is not in the area and a plurality of people exist at the current secondary authority level, detecting the current face and gestures, and if the people belonging to the secondary level try to control the air conditioner, giving temporary authority to the air conditioner; or the camera identifies the faces of a plurality of people, if the same gesture of the plurality of people is detected to be different from the gesture of one person, the highest authority of the people with different gestures is given at present, and the previous highest authority is reduced (namely the highest authority is obtained by voting through the gestures of the plurality of people); or the current authority is circulated according to time and environment temperature, namely the current temperature is in different temperature ranges, and the control authority belongs to different people.
(3) And (6) returning the authority.
after the conference is finished, the control authority is restored or returned to the preset state or is saved. The end of the conference can be determined by a preset time, or by inputting an instruction for the end of the conference.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
the embodiment of the invention provides an authority control device, which can be used for executing the authority control method of the embodiment of the invention.
Fig. 2 is a schematic diagram of a rights control apparatus according to an embodiment of the present invention, as shown in fig. 2, the apparatus including:
An acquiring unit 10, configured to acquire control instructions from operators with different authority levels, where the authority levels include a high level and a low level;
A judging unit 20, configured to judge whether control instructions sent by operators with different permission levels satisfy preset permission adjustment conditions;
And the processing unit 30 is used for controlling the equipment to operate according to the control instruction of the operator with a lower grade or canceling the operation authority of the operator with a higher grade under the condition that the preset authority adjustment condition is met.
The embodiment adopts an acquisition unit 10 for acquiring control instructions from operators with different authority levels, wherein the authority levels comprise a high level and a low level; a judging unit 20, configured to judge whether control instructions sent by operators with different permission levels satisfy preset permission adjustment conditions; and the processing unit 30 is used for controlling the equipment to operate according to the control instruction of the operator with a lower grade or canceling the operation authority of the operator with a higher grade under the condition that the preset authority adjustment condition is met.
Optionally, the processing unit 30 comprises: the first control module is used for controlling equipment to operate according to the control instructions of the operators with lower levels of authority levels under the condition that the number of the same control instructions of the operators with lower levels of authority levels exceeds a preset number, or eliminating the operation authority of the operators with higher levels within a preset length time period, or the acquisition module is used for acquiring the weight of each control instruction; the calculation module is used for calculating the weight sum of the same control command; and the second control module is used for controlling the equipment to operate according to the control instruction of the operator with the lower level or eliminating the operation authority of the operator with the higher level in a time period with a preset length under the condition that the weight of the same control instruction of the operator with the lower level of authority level exceeds the weight of the control instruction of the operator with the higher level.
The device control device comprises a processor and a memory, wherein the acquisition unit, the judgment unit, the adjustment unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
the processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the intelligent degree of the control authority of the equipment is improved by adjusting the kernel parameters.
the memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
an embodiment of the present invention provides a storage medium on which a program is stored, the program implementing the rights control method when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the authority control method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps:
Acquiring control instructions sent by operators with different authority levels, wherein the authority levels comprise a high level and a low level; judging whether control instructions sent by operators with different authority levels meet preset authority adjustment conditions or not; and under the condition of meeting the preset authority adjustment condition, controlling the equipment to operate according to the control instruction of the operator of the lower level, or canceling the operation authority of the operator of the higher level.
the device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring control instructions sent by operators with different authority levels, wherein the authority levels comprise a high level and a low level; judging whether control instructions sent by operators with different authority levels meet preset authority adjustment conditions or not; and under the condition of meeting the preset authority adjustment condition, controlling the equipment to operate according to the control instruction of the operator of the lower level, or canceling the operation authority of the operator of the higher level.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
the above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (8)

1. An authority control method, comprising:
Acquiring control instructions sent by operators with different authority levels, wherein the authority levels comprise a high level and a low level;
Judging whether control instructions sent by operators with different authority levels meet preset authority adjustment conditions or not;
Under the condition of meeting the preset authority adjustment condition, controlling the equipment to operate according to the control instruction of the operator at the lower level, or canceling the operation authority of the operator at the higher level,
Under the condition that a preset authority adjustment condition is met, controlling equipment to operate according to a control instruction of a low-level operator, or canceling the operation authority of the high-level operator comprises the following steps:
Controlling the equipment to operate according to the control instruction of the lower-level operator, or canceling the operation authority of the higher-level operator within a predetermined length of time period, or
Acquiring the weight of each control instruction;
calculating the weight sum of the same control instruction;
And under the condition that the weight value of the same control instruction of the operator with the authority level of lower level exceeds the weight value of the control instruction of the operator with higher level, controlling the equipment to operate according to the control instruction of the operator with lower level, or eliminating the operation authority of the operator with higher level in the time period of preset length.
2. the method of claim 1, wherein after canceling the operation authority of the operator of the high level for the predetermined length of time period, the method further comprises:
and after the time period of the preset length, restoring the original operation authority of the operators of the lower level and the operators of the higher level.
3. the method according to claim 1 or 2, wherein the control instruction comprises a control instruction for an air conditioner, the authority level is an authority level for controlling the air conditioner, the control instruction comprises a gesture control instruction, and before acquiring control instructions from operators with different authority levels, the method further comprises:
collecting a face image in a current indoor environment;
And determining the authority level of each operator corresponding to the face image through face recognition.
4. the method of claim 3, wherein prior to determining the authority level of each operator to which the facial image corresponds by facial recognition, the method further comprises:
Dividing time and environment temperature to obtain a plurality of time periods and a plurality of environment temperature intervals;
Face images corresponding to different authority levels are set for the time periods and the environment temperature intervals respectively.
5. method according to claim 1 or 2, characterized in that after acquiring control instructions issued by operators from different levels of authority, the method further comprises:
Judging whether an authority transfer instruction sent to a target operator from an operator with the highest authority level is received, wherein the authority level of the target operator is lower than that of the operator with the highest authority level;
Changing the authority level of the target operator to the highest level after receiving the authority transfer instruction,
And controlling the operation of the equipment according to the control instruction of the target operator.
6. An authorization control device, comprising:
The device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring control instructions sent by operators with different authority levels, and the authority levels comprise a high level and a low level;
the judging unit is used for judging whether control instructions sent by operators with different authority levels meet preset authority adjusting conditions or not;
A processing unit for controlling the equipment to operate according to the control instruction of the operator of lower grade or canceling the operation authority of the operator of higher grade under the condition that the preset authority adjustment condition is satisfied,
The processing unit includes:
a first control module, configured to, when the number of the same control instructions of an operator with a lower authority level exceeds a preset number, control the device to operate according to the control instructions of the operator with the lower authority level, or cancel the operation authority of the operator with a higher authority level within a predetermined length of time, or
The acquisition module is used for acquiring the weight of each control instruction;
The calculation module is used for calculating the weight sum of the same control command;
And the second control module is used for controlling the equipment to operate according to the control instruction of the operator with the lower level or eliminating the operation authority of the operator with the higher level in the time period with the preset length under the condition that the weight of the same control instruction of the operator with the lower level of authority level exceeds the weight of the control instruction of the operator with the higher level.
7. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device where the storage medium is located is controlled to execute the authority control method according to any one of claims 1 to 5.
8. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the entitlement control method of any one of claims 1 to 5 when running.
CN201711088127.3A 2017-11-07 2017-11-07 Device control method and apparatus, storage medium, and processor Active CN108105954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711088127.3A CN108105954B (en) 2017-11-07 2017-11-07 Device control method and apparatus, storage medium, and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711088127.3A CN108105954B (en) 2017-11-07 2017-11-07 Device control method and apparatus, storage medium, and processor

Publications (2)

Publication Number Publication Date
CN108105954A CN108105954A (en) 2018-06-01
CN108105954B true CN108105954B (en) 2019-12-17

Family

ID=62206258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711088127.3A Active CN108105954B (en) 2017-11-07 2017-11-07 Device control method and apparatus, storage medium, and processor

Country Status (1)

Country Link
CN (1) CN108105954B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109102803A (en) * 2018-08-09 2018-12-28 珠海格力电器股份有限公司 Control method, device, storage medium and the electronic device of household appliance
CN109542219B (en) * 2018-10-22 2021-07-30 广东精标科技股份有限公司 Gesture interaction system and method applied to intelligent classroom
CN109656161A (en) * 2018-11-12 2019-04-19 厦门快商通信息技术有限公司 A kind of smart meeting room control system and its control method
CN110173860A (en) * 2019-05-29 2019-08-27 广东美的制冷设备有限公司 Control method, air conditioner and the computer readable storage medium of air conditioner

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510181A (en) * 2009-03-19 2009-08-19 北京中星微电子有限公司 Bus arbitration method and bus arbitration apparatus
CN103310137A (en) * 2012-03-16 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Method for safely accessing terminal and terminal
CN105278337A (en) * 2015-09-18 2016-01-27 宇龙计算机通信科技(深圳)有限公司 Access control method and apparatus of intelligent household system
CN105760000A (en) * 2016-01-29 2016-07-13 杭州昆海信息技术有限公司 Interaction method and device
CN105871577A (en) * 2015-01-22 2016-08-17 阿里巴巴集团控股有限公司 Method and device for managing resource privilege
CN106842976A (en) * 2017-03-29 2017-06-13 宁夏宁信信息科技有限公司 Status information and control authority dynamic adjusting method and system in smart home
CN107120811A (en) * 2017-06-14 2017-09-01 珠海格力电器股份有限公司 Authority control method, device and air-conditioning for air-conditioning

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4329264B2 (en) * 2000-12-27 2009-09-09 セイコーエプソン株式会社 Access authority level control apparatus and method
US9129135B2 (en) * 2011-08-16 2015-09-08 Jeffrey D. Jacobs Play time dispenser for electronic applications

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510181A (en) * 2009-03-19 2009-08-19 北京中星微电子有限公司 Bus arbitration method and bus arbitration apparatus
CN103310137A (en) * 2012-03-16 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Method for safely accessing terminal and terminal
CN105871577A (en) * 2015-01-22 2016-08-17 阿里巴巴集团控股有限公司 Method and device for managing resource privilege
CN105278337A (en) * 2015-09-18 2016-01-27 宇龙计算机通信科技(深圳)有限公司 Access control method and apparatus of intelligent household system
CN105760000A (en) * 2016-01-29 2016-07-13 杭州昆海信息技术有限公司 Interaction method and device
CN106842976A (en) * 2017-03-29 2017-06-13 宁夏宁信信息科技有限公司 Status information and control authority dynamic adjusting method and system in smart home
CN107120811A (en) * 2017-06-14 2017-09-01 珠海格力电器股份有限公司 Authority control method, device and air-conditioning for air-conditioning

Also Published As

Publication number Publication date
CN108105954A (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN108105954B (en) Device control method and apparatus, storage medium, and processor
CN108386979B (en) Control method and device of air conditioner
CN104864548A (en) Air conditioner operating control method and system
CN105373006B (en) Intelligent household management system based on Internet of Things and method
CN106464727B (en) Terminal device, cloud device, method of driving terminal device, method of co-processing data, and computer-readable recording medium
CN108266862B (en) Air conditioner control method and device, storage medium and processor
CN106557135B (en) processor temperature regulation and control method and device
US11012814B2 (en) Monitoring system control method and electronic device for supporting same
US20180003402A1 (en) Real-time control of highly variable thermal loads
CN108195031A (en) Air conditioning control method and device
CN110296506A (en) A kind of method and device of building air-conditioner control
CN110805989B (en) Control method and device of air conditioner
CN110836514B (en) Control method and device of air conditioning unit
CN108195036B (en) Air conditioner control method and device
CN110736224B (en) Control method and device of intelligent household equipment, storage medium and processor
CN109974236B (en) Method and device for regulating and controlling outdoor unit of air conditioner
Jurenoks et al. Practical validation of economic efficiency modelling method for multi-boiler heating system
US20200182499A1 (en) Indoor environmental weighted preference management
CN105630039A (en) Control method and electronic device
CN110671802A (en) Device, method and system for controlling air conditioner, storage medium and processor
US20150286213A1 (en) Assessing performance of an hvac system
KR101576918B1 (en) A Context-Aware Information Service using FCM Clustering Algorithm and Fuzzy Decision
CN108055455A (en) Method for secret protection, device and the computer readable storage medium of family's monitoring
CN112417397B (en) Internet of things three-dimensional model sharing method and device based on user permission
CN110636266B (en) Security monitoring method and device based on electric appliance 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