CN111965990A - Intelligent equipment permission setting method and device, intelligent control switch and storage medium - Google Patents
Intelligent equipment permission setting method and device, intelligent control switch and storage medium Download PDFInfo
- Publication number
- CN111965990A CN111965990A CN202010818663.XA CN202010818663A CN111965990A CN 111965990 A CN111965990 A CN 111965990A CN 202010818663 A CN202010818663 A CN 202010818663A CN 111965990 A CN111965990 A CN 111965990A
- Authority
- CN
- China
- Prior art keywords
- intelligent
- authority
- control switch
- permission
- brand
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000004891 communication Methods 0.000 claims description 19
- 230000006855 networking Effects 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 abstract description 8
- 230000004913 activation Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000013507 mapping Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the application discloses a method and a device for setting the authority of an intelligent device, an intelligent control switch and a storage medium. The method comprises the following steps: acquiring an identifier of an intelligent device accessed to an intelligent control switch; configuring different permission levels for the intelligent equipment according to whether the designated field in the identification of the intelligent equipment is the same as the corresponding designated field in the identification of the intelligent control switch; and controlling the intelligent equipment according to the authority level of the intelligent equipment. By the method, different permission levels are configured for the intelligent equipment according to the identification of the intelligent equipment, so that the intelligent equipment with different permission levels has different control permissions, and the safety of information transmission between the intelligent equipment with different permission levels is ensured.
Description
Technical Field
The application belongs to the field of intelligent home, and particularly relates to an intelligent device permission setting method and device, an intelligent control switch and a storage medium.
Background
With the continuous development of smart home and internet of things, the types of intelligent equipment based on a wireless network are increased, and after the intelligent equipment (such as intelligent household appliances) is connected to an intelligent control switch, a user can realize remote and intelligent control on the intelligent equipment to experience real smart home. However, after a plurality of brands or types of intelligent devices are connected to the intelligent control switch, the risk of information theft exists.
Disclosure of Invention
In view of the above problems, the present application provides a method and an apparatus for setting an authority of an intelligent device, an intelligent control switch, and a storage medium, so as to improve the above problems.
In a first aspect, an embodiment of the present application provides a method for setting permissions of an intelligent device, where the method includes: acquiring an identifier of an intelligent device accessed to an intelligent control switch; configuring different permission levels for the intelligent equipment according to whether the designated field in the identification of the intelligent equipment is the same as the corresponding designated field in the identification of the intelligent control switch; and controlling the intelligent equipment according to the authority level of the intelligent equipment.
Further, configuring different permission levels for the intelligent device according to whether a specified field in the identifier of the intelligent device is the same as a specified field in the identifier of the intelligent control switch, includes:
determining the brand of the intelligent device according to the brand information in the identifier of the intelligent device; and configuring different permission levels for the intelligent equipment according to whether the brand of the intelligent equipment is the same as the brand of the intelligent control switch.
Further, the determining the brand of the smart device according to the brand information in the identifier of the smart device includes:
acquiring code characters included in brand information in the identification of the intelligent device; if the code characters accord with preset coding rules, acquiring a physical address of the intelligent equipment; detecting whether brand information in the identification has a corresponding relation with the physical address; and if so, determining the brand of the intelligent equipment according to the brand information in the identifier.
Further, the controlling the smart device according to the permission level of the smart device includes:
allowing the intelligent device with the permission level configured as the first permission to access the information of the intelligent device with the permission level configured as the second permission; and forbidding the intelligent device with the permission level configured as the second permission to access the information of the intelligent device with the permission level configured as the first permission.
Further, the allowing the smart device with the permission level configured as the first permission to access the information of the smart device with the permission level configured as the second permission comprises:
and allocating access authority to the intelligent device with the authority level configured as the first authority so as to allow the intelligent device with the authority level configured as the first authority to access the information of the intelligent device with the authority level configured as the second authority.
Further, the method further comprises:
acquiring the communication distance between the intelligent equipment with the authority level configured as the first authority and the intelligent control switch; and setting access authorities with different priorities for intelligent devices with different communication distances, wherein the intelligent device with the authority level with the higher priority is configured to be the information of the intelligent device with the authority level configured as the second authority.
Further, before obtaining the brand of the smart device, the method further includes:
and establishing a local area network through the networking equipment so that intelligent equipment of different brands supporting a preset distribution network protocol is accessed to the local area network.
In a second aspect, an embodiment of the present application provides an apparatus for setting permissions of an intelligent device, where the apparatus includes: the identification acquisition unit is used for acquiring the identification of the intelligent equipment accessed to the intelligent control switch; the permission setting unit is used for setting different permission levels for the intelligent equipment according to whether the designated field in the identification of the intelligent equipment is the same as the corresponding designated field in the identification of the intelligent control switch; and the control unit is used for controlling the intelligent equipment according to the authority level of the intelligent equipment.
In a third aspect, an embodiment of the present application provides an intelligent control switch, including one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, wherein the program code performs the above-mentioned method when running.
The embodiment of the application provides an intelligent device permission setting method and device, an intelligent control switch and a storage medium. Firstly, acquiring an identifier of an intelligent device accessed to an intelligent control switch, then configuring different authority levels for the intelligent device according to whether a designated field in the identifier of the intelligent device is the same as a corresponding designated field in the identifier of the intelligent control switch, and finally controlling the intelligent device according to the authority levels of the intelligent device. By the method, different permission levels are configured for the intelligent equipment according to the identification of the intelligent equipment, so that the intelligent equipment with different permission levels has different control permissions, and the safety of information transmission between the intelligent equipment with different permission levels is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 illustrates a flowchart of a method for setting permissions of an intelligent device according to an embodiment of the present application;
fig. 2 shows a flowchart of a method for setting permissions of an intelligent device according to another embodiment of the present application;
fig. 3 is a flowchart illustrating a method for setting permissions of an intelligent device according to yet another embodiment of the present application;
fig. 4 is a flowchart illustrating a method for setting permissions of an intelligent device according to another embodiment of the present application;
fig. 5 shows a schematic networking connection diagram according to another embodiment of the present application;
figure 6 shows another networking connection schematic proposed by yet another embodiment of the present application;
fig. 7 shows a block diagram of a structure of an intelligent device permission setting apparatus according to an embodiment of the present application;
fig. 8 shows a block diagram of a structure of an intelligent device permission setting apparatus according to an embodiment of the present application;
fig. 9 is a block diagram illustrating a structure of an intelligent control switch for executing an intelligent device permission setting method according to an embodiment of the present application in real time;
fig. 10 illustrates a storage unit for storing or carrying program codes for implementing the smart device permission setting method according to the embodiment of the present application in real time.
Detailed Description
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 a part of the embodiments of the present application, and not all of the 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.
With the continuous progress of the intelligent home technology and the continuous pursuit of people on the quality of life, the intelligent home serving as one of the applications of the internet of things is bound to become a basic form of the future home, and has a wide market application prospect. Based on the idea of internet of things, smart home devices are intended to activate various devices (such as video and audio systems, lighting systems, air conditioning systems, security systems, computer devices, security systems, heating and cooling systems, etc.) of home life, which are also called smart home devices, and are associated with sensors and communication networks to combine the smart home devices with home environment into a smart home system for people.
The inventor finds that in the research on the related intelligent device permission setting method, in the intelligent home system, a plurality of intelligent devices of different brands and different types are connected together, a user may use the intelligent devices of different brands and different types in the use process, and the intelligent devices are connected after the distribution network, so that the risk of information theft exists.
Therefore, the inventor proposes a method, an apparatus, an intelligent control switch and a storage medium in the present application, in which an identifier of an intelligent device accessing an intelligent control switch is first obtained, then different permission levels are configured for the intelligent device according to whether a specified field in the identifier of the intelligent device is the same as a corresponding specified field in the identifier of the intelligent control switch, and finally the intelligent device is controlled according to the permission levels of the intelligent device, and different permission levels are configured for the intelligent device according to the identifier of the intelligent device, so that the intelligent devices with different permission levels have different control permissions, and the security of information transmission between the intelligent devices with different permission levels is ensured.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, a method for setting permissions of an intelligent device provided in an embodiment of the present application is applied to an intelligent control switch, and the method includes:
step 110: and acquiring the identification of the intelligent equipment accessed to the intelligent control switch.
By one approach, the identification may include brand information of the smart device, a physical address, a device serial number of the smart device, and the like. The intelligent device connected to the intelligent control switch may be understood as the intelligent device may be in the local area network where the intelligent control switch is located or may not be in the local area network where the intelligent control switch is located.
Optionally, when the intelligent control switch detects that the intelligent device is accessed, whether the intelligent device is accessed to the intelligent control switch or not can be judged by searching the historical access record stored in the storage area of the intelligent control switch. And if the access record of the intelligent equipment can be found in the historical access records stored in the storage area of the intelligent control switch, determining that the intelligent equipment has been accessed to the intelligent control switch. The access record may include information such as time when the intelligent device accesses the intelligent control switch and a physical address of the intelligent device.
When the intelligent device is connected to the intelligent control switch, the intelligent control switch can send an identification obtaining instruction to the intelligent device, and when the intelligent device receives the identification obtaining instruction, the identification of the intelligent device is sent to the intelligent control switch.
Step 120: and configuring different permission levels for the intelligent equipment according to whether the designated field in the identifier of the intelligent equipment is the same as the designated field in the identifier of the intelligent control switch.
As one way, the specified field in the identification may be a specified field in brand information of the smart device or a specified field in a physical address of the smart device. The intelligent control switch can allocate control authorities of different authority levels to the intelligent equipment according to whether the acquired designated field in the identification of the intelligent equipment is the same as the designated field in the identification of the intelligent control switch. The authority level can comprise a first authority and a second authority, the intelligent device with the authority level being the first authority can perform data access with the intelligent control switch, and the intelligent device with the authority level being the second authority is intelligently controlled by the intelligent control switch.
Optionally, the device serial number set by the manufacturer when the intelligent device leaves the factory may be obtained, and then different permission levels may be configured for the intelligent device according to whether the specified field in the device serial number set by the manufacturer is the same as the corresponding specified field in the device serial number of the intelligent control switch. The equipment serial number set by the factory when the intelligent equipment leaves the factory can be a serial number which can determine the brand of the intelligent equipment, the leaving time and the factory.
Step 130: and controlling the intelligent equipment according to the authority level of the intelligent equipment.
As one manner, the controlling the smart device may include controlling a data access control authority of the smart device, and controlling a device controlled by the smart device through a smart control switch.
Optionally, after the permissions are allocated to different intelligent devices in the above manner, the intelligent device with the first permission can read information of the intelligent device with the second permission through the intelligent control switch. Furthermore, all different intelligent devices can upload stored data to the cloud server for storage, and after the intelligent control switch allocates permissions to the different intelligent devices, the intelligent device with the permission level set as the first permission can read information of the intelligent device with the permission level set as the second permission from the cloud server.
Optionally, the intelligent control switch may provide an application programming interface for managing and operating the intelligent device, and the intelligent control switch may take over the control authority of the intelligent device through the interface to perform control operations on the intelligent device, such as clearing all data, changing a screen-locking password, setting a password rule, monitoring the number of screen-unlocking attempts, locking a screen, setting a device global agent, setting a validity period of the screen-locking password, setting storage device encryption, deactivating a camera, deactivating a partial function of screen locking, and the like.
Optionally, after the intelligent control switch takes over the control authority of the intelligent device, an activation program may be set in the intelligent control switch, and after the control authority of the intelligent device is activated through the activation program, the intelligent device may be controlled through the intelligent control switch. When the control authority of the intelligent device is activated by using the activation program, an activation interface can appear, which device management authorities the intelligent device applies for and an activation button is correspondingly displayed in the activation interface can be shown, when the intelligent control switch receives instruction information indicating that the activation button is triggered, the intelligent device is activated in response to the instruction information, wherein the instruction information can be generated when the intelligent control switch detects that a user clicks the activation button with a single finger, can be generated when detecting that the user clicks the activation button with multiple fingers, can be generated when detecting that the user presses the activation button, or can be generated when detecting that the user presses the activation button for a preset time, and specific limitation is not made herein.
It can be understood that, after the device management authority of the intelligent device is activated, the intelligent control switch can use the displayed device management authority, and correspondingly, a monitoring starting module is preset in the intelligent control switch, and after the device management authority of the intelligent device is activated, the monitoring starting module starts and monitors the acquisition request of the device management authority. As a manner, the monitoring start module may monitor the request for acquiring the management authority of the device in real time, or may monitor the request for acquiring the management authority of the device at intervals of a preset duration (e.g., 3s), which is not limited herein. In this embodiment, after the device management authority of the intelligent device is activated, when an operation is to be performed using a certain authority in the activated authorities, the intelligent device may send an acquisition request of the authority to the system of the intelligent control switch, and the system of the intelligent control switch may monitor the acquisition request sent by the intelligent device, so that the intelligent control switch may control the intelligent device through the authority.
Optionally, the levels of the permissions in the device management permissions may be divided according to A, B, C, where a represents a high-level permission, B represents a medium-level permission, and C represents a low-level permission, for example, the level a corresponds to clearing all data, changing a lock screen password, and the like, and the level C corresponds to calling a camera. It is understood that when the request for obtaining the target right is monitored, the level of the target right is searched A, B, C to identify the level of the target right. Optionally, the level of the authority in the device management authority may be divided according to a score value, where a higher score value indicates a higher level of the authority, for example, clearing all data is 96 scores, changing a screen locking password to 93 scores, calling a camera to 70 scores, and the like.
According to the method for setting the authority of the intelligent equipment, firstly, the identification of the intelligent equipment connected with the intelligent control switch is obtained, then different authority levels are configured for the intelligent equipment according to whether the designated field in the identification of the intelligent equipment is the same as the corresponding designated field in the identification of the intelligent control switch, and finally the intelligent equipment is controlled according to the authority levels of the intelligent equipment. By the method, different permission levels are configured for the intelligent equipment according to the identification of the intelligent equipment, so that the intelligent equipment with different permission levels has different control permissions, and the safety of information transmission between the intelligent equipment with different permission levels is ensured.
Referring to fig. 2, an intelligent device permission setting method provided in an embodiment of the present application is applied to an intelligent control switch, and the method includes:
step 210: and acquiring the identification of the intelligent equipment accessed to the intelligent control switch.
Step 220: and determining the brand of the intelligent equipment according to the brand information in the identifier of the intelligent equipment.
Step 230: and configuring different permission levels for the intelligent equipment according to whether the brand of the intelligent equipment is the same as the brand of the intelligent control switch.
Step 240: and if the brand of the intelligent equipment is the same as the brand of the intelligent control switch, configuring the authority level of the intelligent equipment into a first authority.
The configuration of the permission level of the smart device as the first permission may be understood as the configuration of the permission level of the smart device as the high permission.
When the intelligent control switch detects that the brand of the intelligent equipment is the same as the brand of the intelligent control switch, the permission level of the intelligent equipment is set to be a first permission.
Step 250: and if the brand of the intelligent equipment is different from the brand of the intelligent control switch, configuring the permission level of the intelligent equipment into a second permission.
The permission level corresponding to the first permission is higher than the permission level corresponding to the second permission, and the higher the permission level is, the more information can be accessed by the intelligent device.
Optionally, the configuring of the permission level of the smart device to the second permission may be understood as setting the permission level of the smart device to a low permission.
Step 260: and allowing the intelligent device with the permission level configured as the first permission to access the information of the intelligent device with the permission level configured as the second permission.
As one way, the step of allowing the smart device with the permission level configured as the first permission to access the information of the smart device with the permission level configured as the second permission comprises: and allocating access authority to the intelligent device with the authority level configured as the first authority so as to allow the intelligent device with the authority level configured as the first authority to access the information of the intelligent device with the authority level configured as the second authority.
Optionally, when the smart device with the authority level being the first authority wants to read the information of the smart device with the authority level configured as the second authority from the cloud server, the corresponding access authority needs to be acquired from the intelligent control switch, and when the smart device with the authority level being the first authority acquires the access authority allocated by the intelligent control switch, the smart device may acquire the information of the smart device with the authority level being the second authority from the cloud server.
As another mode, acquiring a communication distance between the intelligent device with the authority level configured as the first authority and the intelligent control switch; and setting access authorities with different priorities for intelligent devices with different communication distances, wherein the intelligent device with the authority level with the higher priority is configured to be the information of the intelligent device with the authority level configured as the second authority.
Wherein, the communication distance can be understood as the physical distance between the intelligent device and the intelligent control switch. Specifically, the priority of the intelligent device whose authority level with the shortest communication distance to the intelligent control switch is the first authority is set as the highest priority, the priority of the intelligent device whose authority level with the longest communication distance to the intelligent control switch is the first authority is set as the lowest priority, and the setting of the intelligent device whose communication distance to the intelligent control switch is between the longest communication distance and the shortest communication distance and the priority corresponding to the communication distance can be set.
Further, when the intelligent device with the authority level of the first authority acquires the access authority, the intelligent device with the highest priority can preferentially access the information of the intelligent device with the authority level of the second authority. By the method, the intelligent devices with the first authority level can be prevented from simultaneously acquiring the information of the intelligent devices with the same authority level as the second authority level, and network congestion is caused.
Step 270: and forbidding the intelligent device with the permission level configured as the second permission to access the information of the intelligent device with the permission level configured as the first permission.
As a mode, after the intelligent control switch sets the authority level of the intelligent device with the same brand as that of the intelligent control switch as a first authority and sets the authority level of the intelligent device with a different brand from that of the intelligent control switch as a second authority, the intelligent device with the second authority is prohibited from reading the information of the intelligent device with the first authority from the cloud server.
The method for setting the authority of the intelligent device comprises the steps of firstly obtaining a brand of the intelligent device accessed to an intelligent control switch, configuring the authority of the intelligent device to be a first authority if the brand of the intelligent device is the same as the brand of the intelligent control switch, configuring the authority of the intelligent device to be a second authority if the brand of the intelligent device is different from the brand of the intelligent control switch, then allowing the intelligent device with the authority level configured to be the first authority to access information of the intelligent device with the authority level configured to be the second authority, and forbidding the intelligent device with the authority level configured to be the second authority to access the information of the intelligent device with the authority level configured to be the first authority. According to the method, the intelligent device of the same manufacturer or brand with the intelligent control switch is set to be high-authority, and the intelligent device of a different manufacturer or brand with the intelligent control switch is set to be low-authority, so that the intelligent device with low authority cannot access information in the intelligent device with high authority, the intelligent device with high authority can access information in the intelligent device with low authority, and information transmission safety among the intelligent devices with different brands is guaranteed.
Referring to fig. 3, a method for setting permissions of an intelligent device provided in an embodiment of the present application is applied to an intelligent control switch, and the method includes:
step 310: and acquiring the identification of the intelligent equipment accessed to the intelligent control switch.
As a mode, the identifier of the smart device may be an equipment serial number assigned to the smart device by a manufacturer when the smart device leaves a factory. When the intelligent control switch needs to acquire the identifier of the intelligent device, a control instruction can be sent to the intelligent device, and when the intelligent device receives the control instruction, the equipment serial number of the intelligent device is sent to the intelligent control switch.
Step 320: and determining the brand of the intelligent equipment according to the brand information in the identifier of the intelligent equipment.
As one way, the step of determining the brand of the smart device according to the brand information in the identification of the smart device includes: acquiring code characters included in brand information in the identification of the intelligent device; detecting whether the code characters accord with a preset coding rule or not; and if the code characters accord with a preset code rule, determining the brand of the intelligent equipment according to the brand information in the identification.
Wherein, if the code character accords with a preset code rule, the step of determining the brand of the intelligent device according to the brand information in the identifier comprises the following steps: if the code characters accord with preset coding rules, acquiring a physical address of the intelligent equipment; detecting whether the identification has a corresponding relation with the physical address; and if so, determining the brand of the intelligent equipment according to the brand information in the identifier.
Specifically, the preset encoding rule may be understood as an encoding rule of a serial number of the smart device set by a manufacturer when the smart device leaves a factory. The encoding rule may be an encoding rule consisting of letters, numbers, and special symbols, as one of the ways. When intelligent devices of different brands are connected into the intelligent control switch, the coding rules of the brand serial numbers corresponding to the intelligent devices can be sent to the intelligent control switch to be stored. When the intelligent control switch acquires the identification of the intelligent equipment, the code characters contained in the identification are compared with the code rules stored in the storage area, and when the code rules identical to the code rules of the identification of the intelligent equipment are found in the storage area, the code characters contained in the identification of the intelligent equipment are determined to accord with the preset code rules. As another mode, when the intelligent control switch obtains the identifier of the intelligent device, the intelligent control switch may be triggered to automatically search whether the code characters included in the identifier conform to the code rules set by the manufacturer that produces the intelligent device.
Optionally, a one-to-one correspondence relationship may be established between the brand information in the identifier of the intelligent device and the physical address of the intelligent device, so that the intelligent device corresponding to the physical address may be determined through the physical address, and the intelligent device corresponding to the brand information in the identifier may also be determined through the brand information in the identifier. Combining the brand information in the identification with the physical address may determine a unique smart device. Specifically, when the intelligent control switch detects that the code characters contained in the brand information in the identifier of the intelligent device conform to a preset code rule, the physical address of the intelligent device is obtained, whether the brand information in the identifier corresponds to the physical address or not is judged when the brand information and the physical address in the identifier of the intelligent device are obtained, and if so, the brand of the intelligent device can be determined according to the brand information in the identifier.
The physical address of the intelligent device can be obtained by reading from the cloud server, or can be directly read from the storage area of the intelligent device. Specifically, when the intelligent device is connected to the intelligent control switch, all information or data stored in the storage area can be uploaded to the cloud server for storage and backup, and when the intelligent home device needs to read the information of the intelligent device, the information can be directly read from the cloud server.
Optionally, whether the brand information in the identifier of the intelligent device corresponds to the physical address of the intelligent device may be determined by looking up the table. Specifically, a mapping table may be newly established in a storage area of the smart device to store a corresponding relationship between the brand information and the physical address in the identifier of the smart device. When the intelligent control switch acquires the brand information and the physical address in the identifier of the intelligent device, the mapping table in the storage area of the intelligent device can be directly read, and whether the brand information and the physical address in the identifier of the intelligent device correspond to the physical address of the intelligent device is determined by judging whether the obtained corresponding relationship between the brand information and the physical address in the identifier of the intelligent device and the brand information and the physical address in the identifier stored in the mapping table is the same.
As another way, the intelligent control switch may also combine the brand information in the identification of the intelligent device with the model code of the intelligent device to determine the brand of the intelligent device. Specifically, a one-to-one correspondence relationship can be established between brand information in the identification of the intelligent device and model codes of the intelligent device, when the code characters contained in the brand information in the identification of the intelligent device are detected to accord with a preset coding rule, the model codes of the intelligent device are acquired, when the intelligent control switch acquires the model number of the intelligent device, whether the model codes of the intelligent device correspond to the brand information in the identification of the intelligent device or not is judged, and if the intelligent control switch corresponds to the brand information in the identification of the intelligent device, the intelligent control switch can determine the brand of the intelligent device according to the brand information in the identification of the intelligent device.
Alternatively, brand information, physical address, and type number in the identification of the smart device may be combined together to determine the brand of the smart device. Specifically, a one-to-one corresponding relation table can be established for brand information, physical addresses and model numbers in the identification of the intelligent device, when the intelligent control switch obtains the brand information, the physical addresses and the model numbers in the identification of the intelligent device, whether the brand information, the physical addresses and the model numbers in the identification of the intelligent device correspond or not is judged by looking up the relation table, and if so, the intelligent control switch can determine the brand of the intelligent device according to the brand information in the identification of the intelligent device.
Optionally, the intelligent control switch may determine, according to the acquired specific information of the intelligent device, which manner to determine the brand of the intelligent device. For example, when some smart devices leave a factory, the manufacturer only allocates brand information and a physical address in the identifier to the smart devices, when the smart devices only have the brand information and the physical address in the identifier of the smart devices, the intelligent control switch may determine the brand of the smart devices through the brand information and the physical address in the identifier of the smart devices, and when the smart devices only have the brand information and the type number in the identifier of the smart devices, the intelligent control switch may determine the brand of the smart devices through the brand information and the type number in the identifier of the smart devices.
Step 330: and configuring different permission levels for the intelligent equipment according to whether the brand of the intelligent equipment is the same as the brand of the intelligent control switch.
Step 340: and controlling the intelligent equipment according to the authority level of the intelligent equipment.
For the detailed explanation of the steps included in step 330 and step 340, reference may be made to the corresponding steps in the foregoing embodiments, which are not described herein again.
According to the method for setting the authority of the intelligent device, the identification of the intelligent device is obtained at first, the brand of the intelligent device is determined according to the identification of the intelligent device, then different authorities are configured for the intelligent device according to whether the brand of the intelligent device is the same as the brand of an intelligent control switch or not, and finally the intelligent control switch controls the intelligent device according to the authority level of the intelligent device. By the method, different permission levels are configured for the intelligent equipment according to the brand of the intelligent equipment, so that the intelligent equipment with different permission levels has different control permissions, and the safety of information transmission between the intelligent equipment with different permission levels is ensured.
Referring to fig. 4, a method for setting permissions of an intelligent device provided in an embodiment of the present application is applied to an intelligent control switch, and the method includes:
step 410: and establishing a local area network through the networking equipment so that intelligent equipment of different brands supporting a preset distribution network protocol is accessed to the intelligent control switch through the local area network.
As one way, the networking device may be a router or a gateway; the preset distribution network protocol can be a TCP/IP protocol, a NetBEUI protocol or an IPX/SPX protocol and the like. Local area networks can be established between the intelligent control switch and a plurality of intelligent devices of different brands through networking devices, and the connection among the intelligent devices, the intelligent control switch, the cloud server, the networking devices and the terminal devices can comprise various connection modes. As shown in fig. 5, the intelligent device is directly connected to the intelligent control switch, the intelligent control switch is connected to the networking device, the networking device is connected to the cloud server, and the terminal device is connected to the cloud server. Or as shown in fig. 6, the intelligent device and the intelligent control switch are connected to the networking device, the networking device is connected to the cloud server, and the cloud server is connected to the terminal device.
Optionally, when the intelligent device, the intelligent control switch, the cloud server, the networking device and the terminal are successfully networked, the intelligent control switch can prompt that the networking pairing of the device is successful, the function setting can be clicked in the intelligent control switch, and the linkage scene of each button can be freely set. After setting up, can realize that a key opens intelligent scene, exemplarily, can directly open all lamps through intelligent control switch's the key of turning on light.
Step 420: and acquiring the identification of the intelligent equipment accessed to the intelligent control switch.
Step 430: and determining the brand of the intelligent equipment according to the brand information in the identifier of the intelligent equipment.
Step 440: and configuring different permission levels for the intelligent equipment according to whether the brand of the intelligent equipment is the same as the brand of the intelligent control switch.
Step 450: and controlling the intelligent equipment according to the authority level of the intelligent equipment.
For detailed explanation of steps included in steps 420, 430, 440, and 450, reference may be made to corresponding steps in the foregoing embodiments, and details are not repeated here.
According to the method for setting the authority of the intelligent equipment, the local area network is established through the networking equipment, so that the intelligent equipment supporting different brands of a distribution network protocol of the local area network can access the intelligent control switch through the local area network, then the identification of the intelligent equipment accessing the intelligent control switch is obtained, the brand of the intelligent equipment is determined according to brand information in the identification of the intelligent equipment, different authority levels are configured for the intelligent equipment according to whether the brand of the intelligent equipment is the same as the brand of the intelligent control switch, and finally the intelligent equipment is controlled according to the authority level of the intelligent equipment. According to the method, only the intelligent equipment supporting the preset distribution network protocol is allowed to access the intelligent control switch through the constructed local area network, and then different permission levels are configured for the intelligent equipment according to the brands of the accessed intelligent equipment, so that the intelligent equipment with different permission levels has different control permissions, and the safety of information transmission between the intelligent equipment with different permission levels is ensured.
Referring to fig. 7, an apparatus 500 for setting permissions of an intelligent device according to an embodiment of the present application includes:
an identifier obtaining unit 510, configured to obtain an identifier of the smart device accessing the smart control switch.
The identifier obtaining unit 510 is further configured to obtain an identifier of the smart device; and determining the brand of the intelligent equipment according to the identification of the intelligent equipment.
And an authority setting unit 520, configured to set different authority levels for the intelligent device according to whether the brand of the intelligent device is the same as the brand of the intelligent control switch.
The permission setting unit 520 is further configured to determine a brand of the smart device according to brand information in the identifier of the smart device; and configuring different permission levels for the intelligent equipment according to whether the brand of the intelligent equipment is the same as the brand of the intelligent control switch.
The permission setting unit 520 is further configured to obtain a code character included in brand information in the identifier of the smart device; if the code characters accord with preset coding rules, acquiring a physical address of the intelligent equipment; detecting whether brand information in the identification has a corresponding relation with the physical address; and if so, determining the brand of the intelligent equipment according to the brand information in the identifier.
A control unit 530, configured to control the smart device according to the authority level of the smart device.
The control unit 530 is further configured to allow the smart device with the permission level configured as the first permission to access the information of the smart device with the permission level configured as the second permission; and forbidding the intelligent device with the permission level configured as the second permission to access the information of the intelligent device with the permission level configured as the first permission.
Specifically, the control unit 530 is configured to assign an access right to the smart device whose authority level is configured as the first authority, so as to allow the smart device whose authority level is configured as the first authority to access the information of the smart device whose authority level is configured as the second authority.
The control unit 530 is further configured to obtain a communication distance between the intelligent device whose authority level is configured as the first authority and the intelligent control switch; and setting access authorities with different priorities for intelligent devices with different communication distances, wherein the intelligent device with the authority level with the higher priority configured as the first authority can obtain the information of the intelligent device with the access authority level configured as the second authority.
Referring to fig. 8, the apparatus 500 further includes:
the network establishing unit 540 is configured to establish a local area network through networking equipment, so that different brands of intelligent equipment supporting a preset distribution network protocol access the local area network.
It should be noted that the device embodiment and the method embodiment in the present application correspond to each other, and specific principles in the device embodiment may refer to the contents in the method embodiment, which is not described herein again.
An intelligent control switch provided by the present application will be described with reference to fig. 9.
Referring to fig. 9, based on the method and the apparatus for setting the permission of the intelligent device, another intelligent control switch 800 capable of executing the method for setting the permission of the intelligent device is further provided in the embodiment of the present application. The intelligent control switch 800 includes one or more processors 802 (only one shown), a memory 804, an image processor 806, a camera 807, and a network module 808 coupled to each other. The memory 804 stores programs that can execute the content of the foregoing embodiments, and the processor 802 can execute the programs stored in the memory 804.
The Memory 804 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 804 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 804 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The stored data area may also store data created by the terminal 800 during use (e.g., phone books, audio-visual data, chat log data), and the like.
The camera 807 is used for image acquisition and transmitting the acquired image to the image processor 806 for processing.
The image processor 806 is used to improve the quality of the picture by image enhancement or restoration, etc. The processing mode comprises the steps of removing noise points, correcting wide-angle distortion of the digital photos, improving the contrast of the photos, eliminating red eyes and the like. The image processor 806 can also be used for picture composition, that is, combining multiple pictures to realize a process of changing the content of the pictures, where picture composition usually needs to be realized by matting, and picture composition has a main meaning of replacing a background by matting, or directly combining multiple pictures, for example, various fusion modes are all picture composition modes.
The network module 808 is configured to receive and transmit electromagnetic waves, and implement interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, for example, an audio playing device. The network module 808 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The network module 808 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. For example, the network module 808 may communicate information with a base station.
Referring to fig. 10, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 900 has stored therein program code that can be called by a processor to perform the methods described in the above-described method embodiments.
The computer-readable storage medium 900 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 900 includes a non-volatile computer-readable storage medium. The computer readable storage medium 900 has storage space for program code 910 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 910 may be compressed, for example, in a suitable form.
According to the intelligent reservation method, the intelligent reservation device, the intelligent control switch and the storage medium, firstly, an identification of an intelligent device connected with the intelligent control switch is obtained, then different permission levels are configured for the intelligent device according to whether a designated field in the identification of the intelligent device is the same as a corresponding designated field in the identification of the intelligent control switch, and finally the intelligent device is controlled according to the permission levels of the intelligent device. By the method, different permission levels are configured for the intelligent equipment according to the identification of the intelligent equipment, so that the intelligent equipment with different permission levels has different control permissions, and the safety of information transmission between the intelligent equipment with different permission levels is ensured.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A method for setting authority of intelligent equipment is characterized by comprising the following steps:
acquiring an identifier of an intelligent device accessed to an intelligent control switch;
configuring different permission levels for the intelligent equipment according to whether the designated field in the identification of the intelligent equipment is the same as the corresponding designated field in the identification of the intelligent control switch;
and controlling the intelligent equipment according to the authority level of the intelligent equipment.
2. The method of claim 1, wherein the designated field is brand information, and configuring different permission levels for the smart device according to whether the designated field in the identifier of the smart device is the same as the corresponding designated field in the identifier of the smart control switch comprises:
determining the brand of the intelligent device according to the brand information in the identifier of the intelligent device;
and configuring different permission levels for the intelligent equipment according to whether the brand of the intelligent equipment is the same as the brand of the intelligent control switch.
3. The method of claim 2, wherein determining the brand of the smart device from brand information in the identity of the smart device comprises:
acquiring code characters included in brand information in the identification of the intelligent device;
if the code characters accord with preset coding rules, acquiring a physical address of the intelligent equipment;
detecting whether brand information in the identification has a corresponding relation with the physical address;
and if so, determining the brand of the intelligent equipment according to the brand information in the identifier.
4. The method of claim 1, wherein the controlling the smart device according to the permission level of the smart device comprises:
allowing the intelligent device with the permission level configured as the first permission to access the information of the intelligent device with the permission level configured as the second permission;
and forbidding the intelligent device with the permission level configured as the second permission to access the information of the intelligent device with the permission level configured as the first permission.
5. The method of claim 4, wherein allowing the smart device with the permission level configured as a first permission to access the information of the smart device with the permission level configured as a second permission comprises:
and allocating access authority to the intelligent device with the authority level configured as the first authority so as to allow the intelligent device with the authority level configured as the first authority to access the information of the intelligent device with the authority level configured as the second authority.
6. The method of claim 5, further comprising:
acquiring the communication distance between the intelligent equipment with the authority level configured as the first authority and the intelligent control switch;
and setting access authorities with different priorities for intelligent devices with different communication distances, wherein the intelligent device with the authority level with the higher priority is configured to be the information of the intelligent device with the authority level configured as the second authority.
7. The method of claim 1, wherein before obtaining the identity of the smart device, further comprising:
and establishing a local area network through the networking equipment so that intelligent equipment of different brands supporting a preset distribution network protocol is accessed to the local area network.
8. An intelligent device permission setting apparatus, the apparatus comprising:
the identification acquisition unit is used for acquiring the identification of the intelligent equipment accessed to the intelligent control switch;
the permission setting unit is used for setting different permission levels for the intelligent equipment according to whether the designated field in the identification of the intelligent equipment is the same as the corresponding designated field in the identification of the intelligent control switch;
and the control unit is used for controlling the intelligent equipment according to the authority level of the intelligent equipment.
9. An intelligent control switch, comprising one or more processors and memory; one or more programs stored in the memory and configured to be executed by the one or more processors to perform the method of any of claims 1-7.
10. A computer-readable storage medium, having program code stored therein, wherein the program code when executed by a processor performs the method of any of claims 1-7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010818663.XA CN111965990A (en) | 2020-08-14 | 2020-08-14 | Intelligent equipment permission setting method and device, intelligent control switch and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010818663.XA CN111965990A (en) | 2020-08-14 | 2020-08-14 | Intelligent equipment permission setting method and device, intelligent control switch and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111965990A true CN111965990A (en) | 2020-11-20 |
Family
ID=73365614
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010818663.XA Pending CN111965990A (en) | 2020-08-14 | 2020-08-14 | Intelligent equipment permission setting method and device, intelligent control switch and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111965990A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115206080A (en) * | 2022-09-19 | 2022-10-18 | 北京探境科技有限公司 | Equipment matching method and device, computer equipment and readable storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160174268A1 (en) * | 2014-08-20 | 2016-06-16 | Huizhou Tcl Mobile Communication Co., Ltd. | Smart home controller and communication method thereof |
| US20160249286A1 (en) * | 2014-03-13 | 2016-08-25 | Huizhou Tcl Mobile Communication Co., Ltd | Smart home control method and system based on alljoyn technology |
| WO2017107611A1 (en) * | 2015-12-22 | 2017-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Smart household control method, device and system |
| CN110266567A (en) * | 2019-07-30 | 2019-09-20 | 安徽立果智能科技有限公司 | A kind of control method and its system for realizing smart home device based on intelligent terminal |
| CN110830575A (en) * | 2019-11-07 | 2020-02-21 | 深圳市欧瑞博科技有限公司 | Data transmission method and control system of intelligent household equipment and intelligent gateway equipment |
-
2020
- 2020-08-14 CN CN202010818663.XA patent/CN111965990A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160249286A1 (en) * | 2014-03-13 | 2016-08-25 | Huizhou Tcl Mobile Communication Co., Ltd | Smart home control method and system based on alljoyn technology |
| US20160174268A1 (en) * | 2014-08-20 | 2016-06-16 | Huizhou Tcl Mobile Communication Co., Ltd. | Smart home controller and communication method thereof |
| WO2017107611A1 (en) * | 2015-12-22 | 2017-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Smart household control method, device and system |
| CN110266567A (en) * | 2019-07-30 | 2019-09-20 | 安徽立果智能科技有限公司 | A kind of control method and its system for realizing smart home device based on intelligent terminal |
| CN110830575A (en) * | 2019-11-07 | 2020-02-21 | 深圳市欧瑞博科技有限公司 | Data transmission method and control system of intelligent household equipment and intelligent gateway equipment |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115206080A (en) * | 2022-09-19 | 2022-10-18 | 北京探境科技有限公司 | Equipment matching method and device, computer equipment and readable storage medium |
| CN115206080B (en) * | 2022-09-19 | 2023-03-03 | 北京探境科技有限公司 | A device matching method, device, computer device and readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104967997B (en) | A kind of Wi-Fi cut-in method, Wi-Fi equipment, terminal device and system | |
| US20230032802A1 (en) | Methods and systems for connecting to a wireless network | |
| CN110602692A (en) | Data updating method and device and electronic equipment | |
| CN106686754B (en) | Data interaction method and data interaction system | |
| CN106713522B (en) | Wireless fidelity Wi-Fi connection method and mobile terminal | |
| CN113169992A (en) | Equipment network distribution method and device, electronic equipment and storage medium | |
| KR20170011388A (en) | SYSTEM AND METHOD FOR SECURE IoT TERMINAL REMOTE ACCESS AND IP ADDRESS ALLOTING METHOD | |
| CN111865731B (en) | Intelligent equipment adding method and device, intelligent household control panel and storage medium | |
| CN103518205A (en) | Method and automation equipment for restricting operation authority | |
| CN112040057B (en) | Device control method, device, electronic device, control system and storage medium | |
| CN111193900B (en) | Monitoring video sharing method and device and storage medium | |
| CN109218506A (en) | Method and device for protecting privacy information and mobile terminal | |
| CN111965990A (en) | Intelligent equipment permission setting method and device, intelligent control switch and storage medium | |
| CN106921617B (en) | Public equipment reservation control method and device | |
| CN114726664B (en) | Binding method and binding equipment for household equipment | |
| CN113365272B (en) | A kind of anti-rubbing network method and system | |
| CN112015097A (en) | Authority control method and device of intelligent equipment and intelligent control panel | |
| CN109889539B (en) | Intelligent terminal browsing information filtering method based on WIFI | |
| KR101942158B1 (en) | Network security method and apparatus thereof | |
| CN112905992B (en) | Intelligent login method and device for local area network, electronic equipment and storage medium | |
| CN111917886B (en) | Intelligent device data migration method and device and intelligent device | |
| US11937085B2 (en) | Methods, systems, and media for creating temporary virtual access points using WiFi routers when portals cannot be presented | |
| CN114143855A (en) | Network automatic connection method and device | |
| CN112036591A (en) | Intelligent reservation method and device and intelligent reservation control device | |
| CN112351424A (en) | Wireless networking management method, system, device and computer readable 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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201120 |
|
| RJ01 | Rejection of invention patent application after publication |