CN112600743A - Method, device and system for acquiring device control authority and storage medium - Google Patents

Method, device and system for acquiring device control authority and storage medium Download PDF

Info

Publication number
CN112600743A
CN112600743A CN202011551964.7A CN202011551964A CN112600743A CN 112600743 A CN112600743 A CN 112600743A CN 202011551964 A CN202011551964 A CN 202011551964A CN 112600743 A CN112600743 A CN 112600743A
Authority
CN
China
Prior art keywords
control instruction
equipment
operation control
authority
verification condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011551964.7A
Other languages
Chinese (zh)
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
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011551964.7A priority Critical patent/CN112600743A/en
Publication of CN112600743A publication Critical patent/CN112600743A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/80Homes; Buildings
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • G16Y30/10Security thereof
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/50Safety; Security of things, users, data or systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2818Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network

Abstract

The invention relates to a method, a device, a system and a storage medium for acquiring equipment control authority; the acquisition method comprises the following steps: acquiring an operation control instruction sent to the household equipment; judging whether the operation control instruction is consistent with the operation verification condition; if the operation control instruction is consistent with the operation verification condition, opening the operation authority of the remote equipment to the household equipment; and if the operation control instruction is inconsistent with the operation verification condition, limiting the operation authority of the remote equipment to the household equipment. According to the scheme, when the remote equipment acquires the control authority, the operation control instruction sent to the home equipment is acquired, the operation control instruction is compared with the preset operation verification condition according to the operation control instruction, the operation authority of the remote equipment to the home equipment is controlled according to the comparison result of the operation control instruction and the preset operation verification condition, the remote control authority of the home equipment is acquired by operating the home equipment, the home equipment is prevented from being illegally invaded, and the safety of the smart home is improved.

Description

Method, device and system for acquiring device control authority and storage medium
Technical Field
The invention relates to the technical field of household appliance control, in particular to a method, a device, a system and a storage medium for acquiring equipment control authority.
Background
The internet of things (IOT) is used for collecting any object or process needing monitoring, connection and interaction in real time through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, collecting various required information such as sound, light, heat, electricity, mechanics, chemistry, biology and position of the object or process, realizing ubiquitous connection of the object and the person through various possible network accesses, and realizing intelligent sensing, identification and management of the object and the process.
With the development of the internet of things technology, the remote control operation of the intelligent home equipment becomes a great characteristic that people use the intelligent home equipment. For better convenience of users, the smart home devices can often perform remote operation through mobile phone applications and the like, however, some smart home security problems are brought along therewith, for example, the home devices are illegally controlled to cause security problems.
Disclosure of Invention
In order to solve the problems in the prior art, at least one embodiment of the present invention provides a method, an apparatus, a system, and a storage medium for acquiring a device control authority.
In a first aspect, an embodiment of the present invention provides an apparatus control authority acquisition method, where the acquisition method includes:
acquiring an operation control instruction sent to the household equipment;
comparing the operation control instruction with a preset operation verification condition, and judging whether the operation control instruction is consistent with the operation verification condition;
if the operation control instruction is consistent with the operation verification condition, opening the operation authority of the remote equipment to the household equipment;
and if the operation control instruction is not consistent with the operation verification condition, limiting the operation authority of the remote equipment to the household equipment.
Based on the above technical solutions, the embodiments of the present invention may be further improved as follows.
With reference to the first aspect, in a first embodiment of the first aspect, the obtaining method further includes:
when an authority verification request sent by any remote equipment is received, taking an operation condition in the authority verification request as the operation verification condition; the operation verification condition includes: presetting an operation instruction and a control sequence of the preset operation instruction.
With reference to the first embodiment of the first aspect, in a second embodiment of the first aspect, the comparing the operation control command with a preset operation verification condition, and determining whether the operation control command is consistent with the operation verification condition includes:
comparing the operation control instruction sent to the household equipment with the preset operation instruction;
comparing the sending sequence of the operation control instructions with the control sequence;
if the operation control instruction is the same as a preset operation instruction and the sending sequence is consistent with the control sequence, the operation control instruction is consistent with the operation verification condition;
and if the operation control instruction is not the same as a preset operation instruction or the sending sequence is inconsistent with the control sequence, the operation control instruction is inconsistent with the operation verification condition.
With reference to the first aspect, in a third embodiment of the first aspect, before the obtaining the operation control instruction sent to the home equipment, the obtaining method further includes:
and when a login request of any remote equipment is received and the remote equipment successfully logs in, opening partial operation permission of the remote equipment to the household equipment.
With reference to the third embodiment of the first aspect, in a fourth embodiment of the first aspect, the obtaining method further includes:
acquiring the opening duration of opening the partial operation permission for the remote equipment;
and when the opening duration is greater than or equal to the preset duration, closing part of the operation permission of the remote equipment to the household equipment.
With reference to the third embodiment of the first aspect, in a fifth embodiment of the first aspect, the obtaining an operation control instruction sent to the home equipment includes:
filtering the control instruction sent by the remote equipment to the household equipment according to the part of the operation authority;
and taking the control instruction which accords with the part of operation authority as the operation control instruction.
With reference to the fifth embodiment of the first aspect, in a sixth embodiment of the first aspect, the comparing the operation control command with a preset operation verification condition, and determining whether the operation control command is consistent with the operation verification condition includes:
acquiring the equipment state of the household equipment based on the operation control instruction;
acquiring a verification device state of the home device based on the operation verification condition;
if the equipment state is consistent with the verification equipment state, the operation control instruction is consistent with the operation verification condition;
and if the equipment state is inconsistent with the verification equipment state, the operation control instruction is inconsistent with the operation verification condition.
In a second aspect, an embodiment of the present invention provides an apparatus for acquiring device control authority, where the apparatus includes:
the first processing unit is used for acquiring an operation control instruction sent to the household equipment;
the second processing unit is used for comparing the operation control instruction with a preset operation verification condition and judging whether the operation control instruction is consistent with the operation verification condition or not;
the third processing unit is used for opening the operation authority of the remote equipment to the household equipment if the operation control instruction is consistent with the operation verification condition;
and the third processing unit is further configured to limit the operation permission of the remote device for the home device if the operation control instruction is inconsistent with the operation verification condition.
In a third aspect, an embodiment of the present invention provides a system for acquiring device control authority, where the control system includes: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the method for acquiring a device control authority according to any one of the first aspect when executing a program stored in a memory.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the device control authority acquisition method according to any one of the first aspects.
Compared with the prior art, the technical scheme of the invention has the following advantages: according to the scheme, when the remote equipment acquires the control authority, the operation control instruction sent to the home equipment is acquired, the operation control instruction is compared with the preset operation verification condition according to the operation control instruction, the operation authority of the remote equipment to the home equipment is controlled according to the comparison result of the operation control instruction and the preset operation verification condition, the remote control authority of the home equipment is acquired by operating the home equipment, the home equipment is prevented from being illegally invaded, and the safety of the smart home is improved.
Drawings
Fig. 1 is a schematic flowchart of a method for acquiring device control permission according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for acquiring device control authority according to another embodiment of the present invention;
fig. 3 is a first flowchart of a method for acquiring device control authority according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating a second method for acquiring device control authority according to another embodiment of the present invention;
fig. 5 is a third schematic flowchart of a method for acquiring device control authority according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus for acquiring device control authority according to yet another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a device control authority acquisition system according to yet another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for acquiring device control authority. Referring to fig. 1, the control method includes the steps of:
and S11, acquiring the operation control instruction sent to the household equipment.
In this embodiment, the operation control instruction may be sent by a remote controller of the home device, or may be sent by a remote device remotely and wirelessly connected to the home device, and when the remote device has not obtained an operation right of the remote device, the remote device cannot completely control the home device or cannot completely control the home device.
In this embodiment, when the control authority is not acquired, the control operation that is restricted from being sent to the home device by the remote device may be performed by intercepting the control instruction sent by the remote device that does not acquire the control authority, so as to avoid sending the control instruction to the operation controller of the home device, or may be performed according to the operation control instruction when the remote device is to operate according to the operation control instruction, so as to verify the control authority of the remote device, and selectively operate according to the operation control instruction according to the control authority of the remote device, for example, the operation control instruction may not be executed at all, or may be executed in a part of the control authority.
And S12, comparing the operation control command with the preset operation verification condition, and judging whether the operation control command is consistent with the operation verification condition.
In this embodiment, the preset operation verification condition may be an operation requirement preset by the user, or a preset operation flow carried by the system itself, or an operation control scheme selected by the user, when receiving the first operation control command, comparing the operation control command with the operation verification condition every time an operation control command is received, for example, when the sending sequence of the operation control instruction and the operation control instruction is consistent with the operation verification condition, for example, a certain button on the local equipment is pressed for a long time, the local equipment is adjusted to a certain working state by using a remote controller of the local equipment, a plurality of buttons of the remote controller of the local equipment are pressed simultaneously, and other physical operations or remote control equipment are sent to the server, and the server forwards the physical operations to the home equipment.
And S13a, if the operation control command is consistent with the operation verification condition, opening the operation authority of the remote equipment to the household equipment.
And S13b, if the operation control command is not consistent with the operation verification condition, limiting the operation authority of the remote equipment to the household equipment.
In this embodiment, the operation control instruction is compared with the operation verification condition, when the operation control instruction is consistent with the operation verification condition, the operation authority for the home equipment is opened to the remote equipment, and when the operation control instruction is different from the operation verification condition, the operation authority of the remote equipment is limited, so that the home equipment is prevented from being invaded illegally.
In this embodiment, when the remote device acquires the control right, the operation control instruction sent to the home device is acquired, the operation control instruction is compared with the preset operation verification condition according to the operation control instruction, the operation right of the remote device to the home device is controlled according to the comparison result of the operation control instruction and the preset operation verification condition, the remote control right of the home device is acquired by operating the home device, the home device is prevented from being invaded illegally, and the safety of the smart home is improved.
In this embodiment, how to start the authority verification for any remote device may be initiated by the remote device, for example, the remote device sends an authority verification request to the server, and the server monitors each operation control instruction received by the home device in real time after receiving the authority verification request of the remote device.
Specifically, for example, in this embodiment, the obtaining method further includes: when an authority verification request sent by any remote equipment is received, taking the operation condition in the authority verification request as an operation verification condition; the operation verification conditions include: the method comprises the steps of presetting an operation instruction and presetting a control sequence of the operation instruction.
In this embodiment, when receiving a permission verification request sent by any remote device, the present disclosure takes an operation condition in the permission verification request as an operation verification condition, that is, a set of operation verification conditions is sent to the home device by the remote device, but the remote device has not yet taken the control permission of the home device.
As shown in fig. 2, with reference to the foregoing embodiment, after the remote device sets the operation verification condition, in S12, the method compares the operation control command with the preset operation verification condition to determine whether the operation control command is consistent with the operation verification condition, and includes the following steps:
and S21, comparing the operation control instruction sent to the household equipment with a preset operation instruction.
In this embodiment, after the remote device sends the permission verification request, no permission is obtained, so that the remote device cannot send a control operation to the home device, at this time, the operation control instruction sent to the home device is sent by a local remote control device of the device or a control button on the local device, and by comparing the operation control instruction sent to the home device with the preset operation instruction, it is determined whether the operation control instruction identical to the preset operation instruction in the operation verification condition is sent by the remote control device or the control device.
And S22, comparing the sending sequence of the operation control commands with the control sequence.
In this embodiment, whether the sending sequence of the operation control instruction sent by the remote control device or the control device is consistent with the control sequence is determined by combining the control sequence in the operation verification condition sent by the remote device, and if both are consistent, it indicates that the user who is the home device is giving the control authority to the home device to his own remote device, that is, after the user sends the operation verification condition through the remote device, the user directly sends the operation control instruction matching the operation verification condition to the home device through the remote controller or the control device, and at this time, if the sending sequence of the operation control instruction and the operation control instruction is consistent with the operation verification condition, the operation authority of the remote device to the home device can be determined.
And S23a, if the operation control command is the same as the preset operation command and the sending sequence is consistent with the control sequence, the operation control command is consistent with the operation verification condition.
And S23b, if the operation control command is not the same as the preset operation command or the sending sequence is not consistent with the control sequence, the operation control command is not consistent with the operation verification condition.
In this embodiment, a set of operation verification conditions is set for the home device by the remote device, where the operation verification conditions may be selected from a provided operation verification condition set, after the operation verification conditions are set, sending of an operation control instruction is completed by the control device of the home device itself, and when the operation control instruction meets the operation verification conditions, the operation permission of the remote device for the home device is opened.
As shown in fig. 3, an embodiment of the present invention provides a method for acquiring device control authority. Refer to fig. 3. The permission acquisition method comprises the following steps:
and S31, when the login request of any remote equipment is received and the remote equipment successfully logs in, opening partial operation authority of the remote equipment to the household equipment.
And S32, acquiring the operation control instruction sent to the household equipment.
Regarding step S32, refer to the description in step S11 for details, which are not repeated herein.
And S33, comparing the operation control command with the preset operation verification condition, and judging whether the operation control command is consistent with the operation verification condition.
Regarding step S33, refer to the description in step S12 for details, which are not repeated herein.
And S34a, if the operation control command is consistent with the operation verification condition, opening the operation authority of the remote equipment to the household equipment.
Regarding step S34a, refer to the description in step S13a for details, which are not repeated herein.
And S34b, if the operation control command is not consistent with the operation verification condition, limiting the operation authority of the remote equipment to the household equipment.
Regarding step S34b, refer to the description in step S13b for details, which are not repeated herein.
In this embodiment, when a login request of a remote device is received and the remote device successfully logs in, part of the operation authority of the remote device for the home device is opened, for example, the operation authority of a control working mode or a control verification button.
In this embodiment, the obtaining method further includes: acquiring the opening duration of the opening part of the operation authority of the remote equipment; and when the opening duration is greater than or equal to the preset duration, closing part of the operation permission of the remote equipment to the household equipment.
In this embodiment, after opening a part of operation permissions of a remote device on a home device, counting an opening duration of the part of operation permissions, and after the opening duration is greater than or equal to a preset duration, closing the part of operation permissions of the remote terminal, so as to avoid an illegal user from logging in frequently to obtain the part of operation permissions, after the opened part of operation permissions are obtained by each remote device login, and when the remote device does not verify an operation control instruction within the preset duration, the opening duration of the part of operation permissions obtained next time by an account logged in the remote device is reduced, if the part of operation permissions are obtained frequently, and the permission verification is not performed, the logged-in remote device or the logged-in account can be directly blackened, so as to avoid the attack of the illegal user on the system.
As shown in fig. 4, the step of obtaining the operation control command sent to the home equipment in S32 includes the following steps:
and S41, filtering the control instruction sent by the remote equipment to the household equipment according to part of the operation authority.
And S42, taking the control command conforming to the partial operation authority as an operation control command.
In this embodiment, after the remote device completes login, only part of the operation permission of the remote device for the home device is opened, and when the control instruction sent to the server by the remote device and forwarded to the home device by the server is received, the control instruction may be filtered by the server, or the home device may filter the control instruction according to part of the operation permission of the remote device, and the control instruction conforming to part of the operation permission is used as the operation control instruction.
As shown in fig. 5, comparing the operation control command with the preset operation verification condition in the above embodiment S33 to determine whether the operation control command is consistent with the operation verification condition, the method includes the following steps:
and S51, acquiring the equipment state of the household equipment based on the operation control instruction.
In this embodiment, the device state of the home device after the operation control instruction is obtained, for example, the operating mode of the home device is controlled, that is, the device state of the home device under the operation control instructions meeting the partial operation conditions is only managed regardless of the sending sequence and the number of the sending pieces of the operation control instructions, for example, for the air conditioning device, after the temperature is reduced by 5 degrees, the temperature is increased by 6 degrees, and finally the device state of the air conditioning device is the temperature increased by 1 degree.
And S52, acquiring the verification device state of the home device based on the operation verification condition.
In this embodiment, the operation verification condition may be set by the user in advance, or may be any operation verification condition selected by the user from the operation verification condition group, and the verification device state based on the home device under the operation verification condition is acquired. Specifically, reference may be made to the description in the previous step, and the present solution is not particularly limited thereto.
S53a, if the device status matches the verification device status, the operation control command matches the operation verification condition.
S53b, if the device status does not match the verified device status, the operation control command does not match the operation verification condition.
In this embodiment, whether the operation control instruction meets the operation verification condition is determined according to whether the device state is consistent with the verification device state, and in this embodiment, whether the operation control instruction is consistent with the operation verification condition is determined only by the final device state of the home device under the operation control instruction and the verification device state of the home device under the operation verification condition, regardless of the sending sequence of the operation control instruction, so as to accelerate the verification efficiency of the authority.
Specifically, for example, when the user wants to obtain the remote control authority of the air conditioner a, the user must select a physical operation for obtaining and verifying the authority of the air conditioner, for example, the user needs to press an on-off key and a mode adjustment key of a remote controller at the same time, or the server gives partial authority to the remote device to control the air conditioner first, and then the remote device needs to control the temperature of the air conditioner to reach 25 ℃ within 30 seconds to obtain complete operation authority.
As shown in fig. 6, an embodiment of the present invention provides a device control authority acquiring apparatus. Referring to fig. 6, the acquisition apparatus includes: a first processing unit 11, a second processing unit 12 and a third processing unit 13.
In this embodiment, the first processing unit 11 is configured to obtain an operation control instruction sent to the home equipment.
In this embodiment, the second processing unit 12 is configured to compare the operation control instruction with a preset operation verification condition, and determine whether the operation control instruction is consistent with the operation verification condition.
In this embodiment, the third processing unit 13 is configured to, if the operation control instruction is consistent with the operation verification condition, open the operation authority of the remote device for the home device.
In this embodiment, the third processing unit 13 is further configured to limit the operation authority of the remote device for the home device if the operation control instruction is inconsistent with the operation verification condition.
In this embodiment, the acquiring means further includes: the fourth processing unit is used for taking the operating conditions in the authority verification request as the operating verification conditions when the authority verification request sent by any remote equipment is received; the operation verification conditions include: the method comprises the steps of presetting an operation instruction and presetting a control sequence of the operation instruction.
In this embodiment, the second processing unit 12 is specifically configured to compare the operation control instruction sent to the home device with a preset operation instruction; comparing the sending sequence of the operation control instructions with the control sequence; if the operation control instruction is the same as the preset operation instruction and the sending sequence is consistent with the control sequence, the operation control instruction is consistent with the operation verification condition; and if the operation control instruction is not the same as the preset operation instruction or the sending sequence is not consistent with the control sequence, the operation control instruction is not consistent with the operation verification condition.
In this embodiment, the acquiring means further includes: and the fifth processing unit is used for opening partial operation permission of the remote equipment to the household equipment when the login request of any remote equipment is received and the remote equipment successfully logs in.
In this embodiment, the fifth processing unit is further configured to obtain an open duration of an open partial operation permission of the remote device; and when the opening duration is greater than or equal to the preset duration, closing part of the operation permission of the remote equipment to the household equipment.
In this embodiment, the first processing unit 11 is specifically configured to filter, according to a part of the operation permissions, a control instruction sent by the remote device to the home device; and taking the control instruction which accords with part of the operation authority as an operation control instruction.
In this embodiment, the second processing unit 12 is specifically configured to obtain an equipment state of the home equipment based on the operation control instruction; acquiring a verification device state of the home device based on the operation verification condition; if the equipment state is consistent with the verification equipment state, the operation control instruction is consistent with the operation verification condition; and if the equipment state is inconsistent with the verification equipment state, the operation control instruction is inconsistent with the operation verification condition.
As shown in fig. 7, an embodiment of the present invention provides an apparatus control authority acquiring system, where the acquiring system includes: the processor 1110, the communication interface 1120, the memory 1130 and the communication bus 1140, wherein the processor 1110, the communication interface 1120 and the memory 1130 complete communication with each other through the communication bus 1140;
a memory 1130 for storing computer programs;
the processor 1110, when executing the program stored in the memory 1130, implements the following method:
acquiring an operation control instruction sent to the household equipment;
comparing the operation control instruction with a preset operation verification condition, and judging whether the operation control instruction is consistent with the operation verification condition;
if the operation control instruction is consistent with the operation verification condition, opening the operation authority of the remote equipment to the household equipment;
and if the operation control instruction is inconsistent with the operation verification condition, limiting the operation authority of the remote equipment to the household equipment.
In the electronic device provided by the embodiment of the present invention, when the remote device acquires the control right by executing the program stored in the memory 1130, the processor 1110 acquires the operation control instruction sent to the home device, compares the operation control instruction with the preset operation verification condition, controls the operation right of the remote device to the home device according to the comparison result between the operation control instruction and the preset operation verification condition, and acquires the remote control right of the home device by operating the home device, thereby preventing the home device from being illegally intruded, and improving the security of the smart home.
The communication bus 1140 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 1120 is used for communication between the electronic device and other devices.
The memory 1130 may include a Random Access Memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory 1130 may also be at least one memory device located remotely from the processor 1110.
The processor 1110 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
Embodiments of the present invention provide a computer-readable storage medium, where one or more programs are stored, and the one or more programs may be executed by one or more processors to implement the device control authority acquisition method in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (ssd)), among others.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for acquiring device control authority is characterized by comprising the following steps:
acquiring an operation control instruction sent to the household equipment;
comparing the operation control instruction with a preset operation verification condition, and judging whether the operation control instruction is consistent with the operation verification condition;
if the operation control instruction is consistent with the operation verification condition, opening the operation authority of the remote equipment to the household equipment;
and if the operation control instruction is not consistent with the operation verification condition, limiting the operation authority of the remote equipment to the household equipment.
2. The rights acquisition method according to claim 1, characterized in that the acquisition method further comprises:
when an authority verification request sent by any remote equipment is received, taking an operation condition in the authority verification request as the operation verification condition; the operation verification condition includes: presetting an operation instruction and a control sequence of the preset operation instruction.
3. The method for acquiring the authority according to claim 2, wherein the comparing the operation control command with a preset operation verification condition to determine whether the operation control command is consistent with the operation verification condition comprises:
comparing the operation control instruction sent to the household equipment with the preset operation instruction;
comparing the sending sequence of the operation control instructions with the control sequence;
if the operation control instruction is the same as a preset operation instruction and the sending sequence is consistent with the control sequence, the operation control instruction is consistent with the operation verification condition;
and if the operation control instruction is not the same as a preset operation instruction or the sending sequence is inconsistent with the control sequence, the operation control instruction is inconsistent with the operation verification condition.
4. The permission obtaining method according to claim 1, wherein before obtaining the operation control instruction sent to the home device, the obtaining method further comprises:
and when a login request of any remote equipment is received and the remote equipment successfully logs in, opening partial operation permission of the remote equipment to the household equipment.
5. The rights acquisition method according to claim 4, characterized in that the acquisition method further comprises:
acquiring the opening duration of opening the partial operation permission for the remote equipment;
and when the opening duration is greater than or equal to the preset duration, closing part of the operation permission of the remote equipment to the household equipment.
6. The permission obtaining method according to claim 4, wherein the obtaining of the operation control instruction sent to the home device includes:
filtering the control instruction sent by the remote equipment to the household equipment according to the part of the operation authority;
and taking the control instruction which accords with the part of operation authority as the operation control instruction.
7. The method of claim 6, wherein comparing the operation control command with a preset operation verification condition to determine whether the operation control command is consistent with the operation verification condition comprises:
acquiring the equipment state of the household equipment based on the operation control instruction;
acquiring a verification device state of the home device based on the operation verification condition;
if the equipment state is consistent with the verification equipment state, the operation control instruction is consistent with the operation verification condition;
and if the equipment state is inconsistent with the verification equipment state, the operation control instruction is inconsistent with the operation verification condition.
8. An apparatus for acquiring device control authority, the apparatus comprising:
the first processing unit is used for acquiring an operation control instruction sent to the household equipment;
the second processing unit is used for comparing the operation control instruction with a preset operation verification condition and judging whether the operation control instruction is consistent with the operation verification condition or not;
the third processing unit is used for opening the operation authority of the remote equipment to the household equipment if the operation control instruction is consistent with the operation verification condition;
and the third processing unit is further configured to limit the operation permission of the remote device for the home device if the operation control instruction is inconsistent with the operation verification condition.
9. A device control authority acquisition system, characterized in that the control system comprises: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing the method for acquiring the device control authority according to any one of claims 1 to 7 when executing the program stored in the memory.
10. A computer-readable storage medium storing one or more programs which are executable by one or more processors to implement the device control authority acquisition method according to any one of claims 1 to 7.
CN202011551964.7A 2020-12-24 2020-12-24 Method, device and system for acquiring device control authority and storage medium Pending CN112600743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011551964.7A CN112600743A (en) 2020-12-24 2020-12-24 Method, device and system for acquiring device control authority and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011551964.7A CN112600743A (en) 2020-12-24 2020-12-24 Method, device and system for acquiring device control authority and storage medium

Publications (1)

Publication Number Publication Date
CN112600743A true CN112600743A (en) 2021-04-02

Family

ID=75201970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011551964.7A Pending CN112600743A (en) 2020-12-24 2020-12-24 Method, device and system for acquiring device control authority and storage medium

Country Status (1)

Country Link
CN (1) CN112600743A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022245291A3 (en) * 2021-05-20 2023-02-02 Envision Digital International Pte. Ltd. Method and apparatus for managing resources, computer device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487516A (en) * 2015-12-29 2016-04-13 宇龙计算机通信科技(深圳)有限公司 Smart home access method and smart home access device
CN107608224A (en) * 2017-09-18 2018-01-19 广东美的制冷设备有限公司 Control method, device and the computer-readable recording medium of household electrical appliances
CN110209060A (en) * 2019-05-23 2019-09-06 无锡小天鹅电器有限公司 A kind of control method and device, equipment and computer storage medium
CN111522264A (en) * 2020-04-02 2020-08-11 青岛海尔科技有限公司 Device control method and device, storage medium, and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487516A (en) * 2015-12-29 2016-04-13 宇龙计算机通信科技(深圳)有限公司 Smart home access method and smart home access device
CN107608224A (en) * 2017-09-18 2018-01-19 广东美的制冷设备有限公司 Control method, device and the computer-readable recording medium of household electrical appliances
CN110209060A (en) * 2019-05-23 2019-09-06 无锡小天鹅电器有限公司 A kind of control method and device, equipment and computer storage medium
CN111522264A (en) * 2020-04-02 2020-08-11 青岛海尔科技有限公司 Device control method and device, storage medium, and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022245291A3 (en) * 2021-05-20 2023-02-02 Envision Digital International Pte. Ltd. Method and apparatus for managing resources, computer device and storage medium

Similar Documents

Publication Publication Date Title
EP3281388B1 (en) Relay service for communication between controllers and accessories
AU2016273888B2 (en) Controlling physical access to secure areas via client devices in a networked environment
US9160743B2 (en) Biometrics based electronic device authentication and authorization
Shanthini et al. IoT enhanced smart door locking system
CN105259771A (en) Authentication method and associated device
WO2018040045A1 (en) Monitoring method, apparatus and electronic device
CN112583607A (en) Equipment access management method, device, system and storage medium
CN112349009A (en) User identity identification method, device, equipment and computer readable storage medium
CN111371817A (en) Equipment control system, method and device, electronic equipment and storage medium
CN112035807A (en) Object authentication method and apparatus, storage medium, and electronic apparatus
CN112600743A (en) Method, device and system for acquiring device control authority and storage medium
CN115442064A (en) Vehicle controller diagnosis method, device, equipment and medium
CN107241332B (en) Gateway authority processing method and device
CN112819454A (en) Payment method, gateway device, server and storage medium
KR102340693B1 (en) METHOD AND HOME IoT SERVICE SYSTEM FOR SETTING USER AUTHORITY
CN112583674A (en) Data processing method and device, electronic equipment and storage medium
KR20180135232A (en) Electronic apparatus, control method thereof, and system
EP3410332A1 (en) A system and method for transferring data to an authentication device
CN111586074B (en) Communication method, server, Internet of things system and readable storage medium
CN112734999A (en) Data processing method, device and system, electronic equipment and storage medium
CN108875340B (en) Electronic device operation using remote user biometrics
CN107222465B (en) Network access control system of intelligent gateway
CN114465835A (en) Household appliance equipment, application terminal, Bluetooth network distribution method and system
US20180075227A1 (en) Systems and methods for surveillance of user access to a security critical resource
KR101578383B1 (en) System and method of controlling user device using profile

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210402