CN111856961B - Permission-based smart device control method, device and electronic device - Google Patents
Permission-based smart device control method, device and electronic device Download PDFInfo
- Publication number
- CN111856961B CN111856961B CN202010760359.4A CN202010760359A CN111856961B CN 111856961 B CN111856961 B CN 111856961B CN 202010760359 A CN202010760359 A CN 202010760359A CN 111856961 B CN111856961 B CN 111856961B
- Authority
- CN
- China
- Prior art keywords
- smart device
- smart
- information
- level
- control panel
- 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.)
- Expired - Fee Related
Links
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)
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本发明涉及智能家居技术领域,尤其涉及一种基于权限的智能设备控制方法、装置及电子设备和计算机可读取存储介质。The present invention relates to the technical field of smart home, in particular to a permission-based smart device control method, device, electronic device, and computer-readable storage medium.
背景技术Background technique
近些年,随着经济水平的不断提升,消费者的消费能力也在逐步增强,同时,消费者对消费品的要求也在不断提升。例如,在智能设备市场,相较于传统的家居设备,智能设备能通过便捷的方式获知用户的意图,提升用户的使用体验,因此,智能设备受到了广泛的关注。现有技术中的各个智能设备通常是在同一局域网下连接智能家居控制面板,各个智能设备对信息的管理标准不同,存在较大差异,用户信息的泄露事件时有发生,不利于智能设备的推广和应用。In recent years, with the continuous improvement of the economic level, the consumption ability of consumers is also gradually increasing, and at the same time, consumers' requirements for consumer goods are also constantly improving. For example, in the smart device market, compared with traditional household devices, smart devices can learn the user's intention in a convenient way and improve the user's experience. Therefore, smart devices have received extensive attention. Each smart device in the prior art is usually connected to the smart home control panel under the same local area network. Each smart device has different management standards for information, and there are large differences. Leakage of user information occurs from time to time, which is not conducive to the promotion of smart devices. and apply.
发明内容Contents of the invention
鉴于上述问题,本发明实施例提供一种基于权限的智能设备控制方法、装置及电子设备,以解决上述问题。In view of the above problems, embodiments of the present invention provide a permission-based smart device control method, device, and electronic device to solve the above problems.
第一方面,本发明实施例提供了一种基于权限的智能设备控制方法,应用于智能家居控制面板,智能控制面板与智能设备通信连接,智能家居控制面板和智能设备由不同的生产厂商生产;方法包括:获取智能设备的设备信息,其中,设备信息包括智能设备的工作日志数据和设备标识;根据设备信息,为智能设备配置对应的权限级别;以及根据智能设备的权限级别对智能设备进行控制。In the first aspect, the embodiment of the present invention provides a permission-based smart device control method, which is applied to a smart home control panel. The smart control panel communicates with the smart device, and the smart home control panel and the smart device are produced by different manufacturers; The method includes: acquiring device information of the smart device, wherein the device information includes work log data and device identification of the smart device; configuring a corresponding permission level for the smart device according to the device information; and controlling the smart device according to the permission level of the smart device .
第二方面,本发明实施例提供了一种基于权限的智能设备控制装置,应用于智能家居控制面板,智能控制面板与智能设备通信连接,智能家居控制面板和智能设备由不同的生产厂商生产;所述装置包括:设备信息获取模块,用于获取智能设备的设备信息,其中,设备信息包括智能设备的工作日志数据和设备标识;权限级别配置模块,用于根据设备信息获取模块获取到的设备信息,为智能设备配置对应的权限级别;智能设备控制模块,用于根据权限级别配置模块配置的智能设备的权限级别对智能设备进行控制。In the second aspect, the embodiment of the present invention provides a permission-based smart device control device, which is applied to a smart home control panel. The smart control panel communicates with the smart device, and the smart home control panel and the smart device are produced by different manufacturers; The device includes: a device information acquisition module, configured to obtain device information of the smart device, wherein the device information includes work log data and device identification of the smart device; a permission level configuration module, configured to obtain the device information obtained by the device information acquisition module. The information configures the corresponding permission level for the smart device; the smart device control module is used to control the smart device according to the permission level of the smart device configured by the permission level configuration module.
第三方面,本发明实施例提供了一种电子设备,包括一个或多个处理器以及存储器;一个或多个程序,其中一个或多个程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序配置用于执行上述的方法。In a third aspect, an embodiment of the present invention provides an electronic device, including one or more processors and memory; one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more A processor is executed, and one or more programs are configured to execute the above-mentioned method.
第四方面,本发明实施例提供了一种计算机可读存储介质,计算机可读存储介质中存储有程序代码,其中,在程序代码运行时执行上述的方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a program code is stored, wherein the above method is executed when the program code is running.
本发明实施例提供了一种基于权限的智能设备控制方法、装置及电子设备。该基于权限的智能设备控制方法应用于智能家居控制面板,智能控制面板与智能设备通信连接,智能家居控制面板和智能设备由不同的生产厂商生产。在该基于权限的智能设备控制方法中,获取智能设备的设备信息,其中,设备信息包括智能设备的工作日志数据和设备标识,根据设备信息,为智能设备配置对应的权限级别,根据智能设备的权限级别对智能设备进行控制。当智能设备和控制智能设备的智能家居控制面板由不同的生产厂商生产,智能设备有可能获取智能家居控制面板的隐私信息,或者通过网络获取与智能设备通信的设备的隐私信息,此时需要对智能设备的设备信息进行处理,得到对应的权限级别,从而在源头上来判断智能设备的安全性,进而为智能设备分配对应的权限,防止由于智能设备的权限过高导致信息泄露事件发生,并防止由于智能设备的权限过低导致用户使用不便,实现灵活配置智能设备的权限的同时,提高智能家居系统中信息的安全性。Embodiments of the present invention provide a permission-based smart device control method, device and electronic device. The authority-based smart device control method is applied to a smart home control panel, the smart control panel communicates with the smart device, and the smart home control panel and the smart device are produced by different manufacturers. In the permission-based smart device control method, the device information of the smart device is obtained, wherein the device information includes the work log data and the device identification of the smart device, and according to the device information, a corresponding permission level is configured for the smart device, and according to the smart device's Permission levels control smart devices. When the smart device and the smart home control panel that controls the smart device are produced by different manufacturers, the smart device may obtain the private information of the smart home control panel, or obtain the private information of the device communicating with the smart device through the network. The device information of the smart device is processed to obtain the corresponding authority level, so as to judge the security of the smart device at the source, and then assign the corresponding authority to the smart device to prevent information leakage incidents due to excessive authority of the smart device, and to prevent Because the permissions of smart devices are too low, it is inconvenient for users to use. While realizing the flexible configuration of permissions of smart devices, the security of information in the smart home system is improved.
下面对具体的基于权限的智能设备控制方法进行介绍。基于上面介绍的应用环境以及系统,下面将结合附图具体描述本发明的各实施例。A specific permission-based smart device control method will be introduced below. Based on the application environment and system introduced above, various embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.
图1示出了一种适用于本发明实施例的应用环境示意图。Fig. 1 shows a schematic diagram of an application environment applicable to an embodiment of the present invention.
图2示出了本发明实施例提出的智能家居控制面板的示意图。Fig. 2 shows a schematic diagram of a smart home control panel proposed by an embodiment of the present invention.
图3示出了根据本发明一个实施例的基于权限的智能设备控制方法流程图。Fig. 3 shows a flowchart of a permission-based smart device control method according to an embodiment of the present invention.
图4示出了根据本发明另一个实施例的基于权限的智能设备控制方法流程图。Fig. 4 shows a flowchart of a permission-based smart device control method according to another embodiment of the present invention.
图5示出了根据本发明又一个实施例的基于权限的智能设备控制方法流程图。Fig. 5 shows a flow chart of a permission-based smart device control method according to yet another embodiment of the present invention.
图6示出了根据本发明又一个实施例的基于权限的智能设备控制方法流程图。Fig. 6 shows a flowchart of a permission-based smart device control method according to yet another embodiment of the present invention.
图7示出了根据本发明又一个实施例的基于权限的智能设备控制方法流程图。Fig. 7 shows a flowchart of a permission-based smart device control method according to yet another embodiment of the present invention.
图8示出了根据本发明又一个实施例的基于权限的智能设备控制方法流程图。Fig. 8 shows a flowchart of a permission-based smart device control method according to yet another embodiment of the present invention.
图9示出了本发明实施例提出的一种基于权限的智能设备控制方法的时序图。FIG. 9 shows a sequence diagram of a permission-based smart device control method proposed by an embodiment of the present invention.
图10示出了本发明实施例提出的一种基于权限的智能设备控制装置的功能模块框图。FIG. 10 shows a block diagram of functional modules of a permission-based smart device control device proposed by an embodiment of the present invention.
图11示出了本发明实施例提出的一种电子设备的功能模块框图。Fig. 11 shows a block diagram of functional modules of an electronic device proposed by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
近些年来,市场上对智能设备的投入大大提高,智能设备也得到了广泛的应用。目前,在对智能设备的进行控制之前,通常需要为智能设备配置权限,为智能设备配置权限的方法一般是对用户的身份进行验证,根据验证结果对智能设备配置对应的权限,用户使用与配置的权限对应的功能。但是这种配置权限的方法是针对用户而言,将主要的风险因素归结于用户,并没有考虑到智能设备本身具有的风险,一些智能设备在开放某权限后,具有某些安全隐患,例如,智能设备在使用过程中,可以获取与智能设备进行直接或间接通信的其他设备的信息,容易造成隐私信息泄露。In recent years, the investment in smart devices has been greatly increased in the market, and smart devices have also been widely used. At present, before controlling smart devices, it is usually necessary to configure permissions for smart devices. The method of configuring permissions for smart devices is generally to verify the identity of the user, and configure the corresponding permissions for smart devices according to the verification results. User use and configuration The functions corresponding to the permissions. However, this method of configuring permissions is aimed at users, and the main risk factors are attributed to users, without taking into account the risks of smart devices themselves. Some smart devices have certain security risks after opening a certain permission, for example, During the use of smart devices, information of other devices that directly or indirectly communicate with smart devices can be obtained, which may easily cause leakage of private information.
基于此,本发明发明人进行大量的研究发现,在智能家居系统中,采用用户验证的方式对智能设备的权限进行控制的方式无法管控智能设备本身存在的安全隐患,还容易被非法用户破解的方式,利用漏洞完成与高阶功能对应的验证,无法达到预想效果。进一步地,发明人还发现,可以对控制智能设备的软件程序进行测试和验证,查找智能设备的漏洞,对隐私信息泄露的源头进行排查。但是,通过对控制智能设备的软件程序进行测试和验证的方式较为复杂,成本较高,不利于大规模推广。Based on this, the inventors of the present invention conducted a large number of researches and found that in the smart home system, the method of controlling the authority of the smart device by means of user verification cannot control the potential safety hazards of the smart device itself, and it is also easy to be cracked by illegal users. way, using the loophole to complete the verification corresponding to the high-level function, which cannot achieve the expected effect. Furthermore, the inventor also found that it is possible to test and verify the software program controlling the smart device, find the loopholes of the smart device, and check the source of the leakage of private information. However, the method of testing and verifying the software program controlling the smart device is relatively complicated and costly, which is not conducive to large-scale promotion.
为了能够从根本性上解决上述描述的问题,本发明发明人继续投入研发,致力于研究如何能够灵活的配置设备的权限下,防止因使用智能设备发生信息泄露,同时无需采用复杂的用户验证和对控制智能设备的软件程序测试的方法,降低成本。进一步地,发明人提出了本发明的基于权限的智能设备控制方法,在该控制方法中,获取智能设备的设备信息,其中,设备信息包括智能设备的工作日志数据和设备标识,智能设备和控制智能设备的智能家居控制面板由不同的生产厂商生产,根据设备信息为智能设备配置对应的权限级别,根据智能设备的权限级别对智能设备进行控制。由于当智能设备与智能家居控制面板由同一生产厂商生产时,智能设备从智能家居控制面板中获取隐私信息的可能性较低,此时智能家居控制面板和智能设备的安全性均较高。当智能设备和控制智能设备的智能家居控制面板由不同的生产厂商生产,智能设备有可能获取智能家居控制面板的隐私信息,或者通过网络获取与智能设备通信的设备的隐私信息,此时需要对智能设备的设备信息进行处理,得到对应的权限级别,从而在源头上来判断智能设备的安全性,进而为智能设备分配对应的权限,防止由于智能设备的权限过高导致信息泄露事件发生,并防止由于智能设备的权限过低导致用户使用不便,实现灵活配置智能设备的权限的同时,提高智能家居系统中信息的安全性。In order to fundamentally solve the problems described above, the inventors of the present invention continue to invest in research and development, and devote themselves to research on how to flexibly configure the authority of the device to prevent information leakage due to the use of smart devices, and at the same time do not need to use complicated user authentication and A method for testing a software program controlling a smart device reduces costs. Furthermore, the inventor proposes the permission-based smart device control method of the present invention. In this control method, the device information of the smart device is obtained, wherein the device information includes the work log data and device identification of the smart device, the smart device and the control The smart home control panels of smart devices are produced by different manufacturers. According to the device information, the corresponding permission level is configured for the smart device, and the smart device is controlled according to the permission level of the smart device. Because when the smart device and the smart home control panel are produced by the same manufacturer, the possibility of the smart device obtaining private information from the smart home control panel is low, and at this time the security of the smart home control panel and the smart device is relatively high. When the smart device and the smart home control panel that controls the smart device are produced by different manufacturers, the smart device may obtain the private information of the smart home control panel, or obtain the private information of the device communicating with the smart device through the network. The device information of the smart device is processed to obtain the corresponding authority level, so as to judge the security of the smart device at the source, and then assign the corresponding authority to the smart device to prevent information leakage incidents due to excessive authority of the smart device, and to prevent Because the permissions of smart devices are too low, it is inconvenient for users to use. While realizing the flexible configuration of permissions of smart devices, the security of information in the smart home system is improved.
首先对本发明实施例提供的基于权限的智能设备控制方法的应用环境进行介绍。Firstly, the application environment of the permission-based intelligent device control method provided by the embodiment of the present invention is introduced.
请参见图1,图1示出了本发明实施例提供的智能家居系统的应用场景示意图,该智能家居系统包括云端服务器100、智能家居控制面板200和智能设备300,其中,云端服务器100可以用独立的服务器或者是多个服务器组成的服务器集群来实现,智能家居控制面板200的数量可以是一个或者多个(图中仅示出两个),云端服务器100可以与智能家居控制面板200进行交互通信。另外,智能家居控制面板200可以控制一个或者多个智能设备300(图中仅示出五个),智能家居系统中的每个智能家居控制面板200可以设置于不同的室内空间。需要注意的是,各个智能家居控制面板200之间也可以进行通信连接。Please refer to FIG. 1. FIG. 1 shows a schematic diagram of an application scenario of a smart home system provided by an embodiment of the present invention. The smart home system includes a
在本发明实施例中,智能家居控制面板200为进行智能家居控制的智能控制设备,智能控制设备可以实现系统信息的采集、信息输入、信息输出、集中控制、远程控制、联动控制等功能。智能控制设备可以负责具体的安防报警,家电控制,用电信息采集。智能控制设备还可以通过无线方式与智能交互终端等产品进行数据交互。智能控制设备还具备有无线路由功能,优良的无线性能,网络安全和覆盖面积。需要说明的是,图1只是示例性的展示一种应用环境,图中的智能家居控制面板200的数量还可以根据需要进行增加或者减少。In the embodiment of the present invention, the smart
其中,请参见图2,智能家居控制面板200可以包括控制面板主体201,其中,控制面板主体201可以为圆柱体、规则框体、不规则框体等,可选地,作为一种方式,控制面板主体201为规则框体,例如,长方体、正方体等,且该控制面板主体201的一侧可以设置固定部,以通过该固定部将控制面板主体201固定于目标物体上,例如,将控制面板主体201固定于墙体、固定于门上等。Wherein, referring to Fig. 2, the smart
进一步地,智能家居控制面板200还可以包括至少一个物理按键202,至少一个物理按键202设置于控制面板主体201上。智能家居控制面板200还可以包括至少一个虚拟按键,至少一个虚拟按键设置于控制面板主体201上。具体地,控制面板主体201可以包括触摸屏203,至少一个虚拟按键设置于触摸屏203上,其中,触摸屏203用于显示智能家居控制面板200所输出的画面信息以及用于供用户触控操作,例如,触控至少一个虚拟按键。上述物理按键以及虚拟按键可以与不同的操作指令关联,以实现不同的操作。Further, the smart
在本发明实施例中,智能设备300可以包括设置于室内空间中的多种智能家电设备、传感设备以及检测设备等,例如智能电视、智能冰箱或智能空调等。与智能家居控制面板200连接的智能设备300,可以与智能家居控制面板200之间进行数据以及指令的交互。智能家居控制面板200与智能设备300可以通过蓝牙、WLAN、Wi-Fi(Wireless-Fidelity,无线保真)、ZigBee(紫峰技术)等通信方式连接,当然,智能家居控制面板200与智能设备300连接方式在本发明实施例中可以不作为限定。In the embodiment of the present invention, the
根据上述智能家居系统,本发明实施例提供了一种基于权限的智能设备控制方法,该基于权限的智能设备控制方法应用于上述智能家居系统中任一智能家居控制面板,智能控制面板与智能设备通信连接,智能家居控制面板和智能设备由不同的生产厂商生产。在该基于权限的智能设备控制方法中,获取智能设备的设备信息,其中,设备信息包括智能设备的工作日志数据和设备标识,根据设备信息,为智能设备配置对应的权限级别,根据智能设备的权限级别对智能设备进行控制。当智能设备和控制智能设备的智能家居控制面板由不同的生产厂商生产,智能设备有可能获取智能家居控制面板的隐私信息,或者通过网络获取与智能设备通信的设备的隐私信息,此时需要对智能设备的设备信息进行处理,得到对应的权限级别,从而在源头上来判断智能设备的安全性,进而为智能设备分配对应的权限,防止由于智能设备的权限过高导致信息泄露事件发生,并防止由于智能设备的权限过低导致用户使用不便,实现灵活配置智能设备的权限的同时,提高智能家居系统中信息的安全性。According to the above-mentioned smart home system, an embodiment of the present invention provides a permission-based smart device control method, the permission-based smart device control method is applied to any smart home control panel in the above-mentioned smart home system, the smart control panel and the smart device Communication links, smart home control panels and smart devices are produced by different manufacturers. In the permission-based smart device control method, the device information of the smart device is obtained, wherein the device information includes the work log data and the device identification of the smart device, and according to the device information, a corresponding permission level is configured for the smart device, and according to the smart device's Permission levels control smart devices. When the smart device and the smart home control panel that controls the smart device are produced by different manufacturers, the smart device may obtain the private information of the smart home control panel, or obtain the private information of the device communicating with the smart device through the network. The device information of the smart device is processed to obtain the corresponding authority level, so as to judge the security of the smart device at the source, and then assign the corresponding authority to the smart device to prevent information leakage incidents due to excessive authority of the smart device, and to prevent Because the permissions of smart devices are too low, it is inconvenient for users to use. While realizing the flexible configuration of permissions of smart devices, the security of information in the smart home system is improved.
下面对具体的基于权限的智能设备控制方法进行介绍。基于上面介绍的应用环境以及系统,下面将结合附图具体描述本发明的各实施例。A specific permission-based smart device control method will be introduced below. Based on the application environment and system introduced above, various embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
请参阅图3,本发明实施例提供的一种基于权限的智能设备控制方法,应用于智能家居控制面板,智能控制面板与智能设备通信连接,智能家居控制面板和智能设备由不同的生产厂商生产,该智能设备一旦被触发,则实施例中方法的流程可以通过智能家居控制面板自动运行,其中,各个步骤在运行的时候可以按照如流程图中的顺序先后进行,也可以根据实际情况多个步骤同时进行,在此并不作限定。该基于权限的智能设备控制方法可以包括以下步骤S110至步骤S130。Please refer to Fig. 3, an authority-based smart device control method provided by an embodiment of the present invention is applied to a smart home control panel, the smart control panel communicates with the smart device, and the smart home control panel and the smart device are produced by different manufacturers , once the smart device is triggered, the process of the method in the embodiment can be automatically run through the smart home control panel, wherein each step can be executed in sequence as shown in the flow chart, or can be multiple according to the actual situation. The steps are performed simultaneously, which is not limited here. The permission-based smart device control method may include the following steps S110 to S130.
步骤S110:获取智能设备的设备信息,其中,设备信息包括智能设备的工作日志数据和设备标识。Step S110: Obtain device information of the smart device, wherein the device information includes work log data and device identification of the smart device.
在本发明实施例中,工作日志数据包括用于记录智能设备工作状态的数据。具体地,工作日志数据可以是在各时刻下智能设备的各个功能的使用情况,例如,智能设备包括功能A、功能B、功能C,工作日志数据可以是在时刻a下功能A和功能B启动,在时刻b下功能A和功能C启动,在时刻c下功能A、功能B和功能C启动。工作日志数据还可以是控制智能设备的智能家居控制面板的控制记录,例如,智能设备包括功能A、功能B、功能C,工作日志数据可以是在时刻a下功能A和功能B被智能家居控制面板X控制启动,在时刻b下功能A和功能C被智能家居控制面板Y控制启动,在时刻c下功能A、功能B和功能C启动被智能家居控制面板Z控制启动。需要注意的是,上述示例不应当作为限制本发明的证据。In the embodiment of the present invention, the work log data includes data for recording the working status of the smart device. Specifically, the work log data can be the use of each function of the smart device at each time. For example, the smart device includes function A, function B, and function C, and the work log data can be that function A and function B are started at time a. , function A and function C are started at time b, and function A, function B and function C are started at time c. The work log data can also be the control record of the smart home control panel that controls the smart device. For example, the smart device includes function A, function B, and function C. The work log data can be that function A and function B are controlled by the smart home at time a. Panel X controls the start, at time b, function A and function C are started by smart home control panel Y, and at time c, function A, function B and function C are started by smart home control panel Z. It should be noted that the above examples should not be taken as evidence to limit the present invention.
在本发明实施例中,设备标识可以是用于代表智能设备中各个部件的唯一标识,还可以是用于代表智能设备的唯一标识。也就是说,对于同一智能设备而言,可以有一个或者多个唯一标识,可以用于将智能设备与其他智能设备区分开,还可以用于将智能设备中的各个部件与其他智能设备中各个部分区分开。In this embodiment of the present invention, the device identifier may be a unique identifier used to represent each component in the smart device, and may also be a unique identifier used to represent the smart device. That is to say, for the same smart device, there can be one or more unique identifiers, which can be used to distinguish the smart device from other smart devices, and can also be used to distinguish each component in the smart device from each other in other smart devices. partly separated.
在本发明实施例中,具体可以从智能家居控制面板中获取智能设备的设备信息,还可以即时地从智能设备获取智能设备的设备信息,还可以从云端服务器中获取智能设备的设备信息,此处不做具体限制。In the embodiment of the present invention, the device information of the smart device can be obtained from the smart home control panel, the device information of the smart device can be obtained from the smart device in real time, and the device information of the smart device can also be obtained from the cloud server. There are no specific restrictions.
当从智能家居控制面板中获取智能设备的设备信息时,智能家居控制面板中应当预先建立有设备信息数据库,该设备信息数据库用于存储智能设备的设备信息,当智能设备与智能家居控制面板建立通信连接时,智能家居控制面板可以获取智能设备的设备信息并对该设备信息数据库中的数据进行更新。通过从智能家居控制面板中获取智能设备的设备信息,能够在智能家居控制面板获取智能设备的设备信息受限的情况时,例如,受信任的智能家居控制面板无获取智能设备的设备信息的权限时,得到智能设备的设备信息。其中,受信任的智能家居控制面板可以是登录有信任用户的智能家居控制面板。When obtaining the device information of the smart device from the smart home control panel, a device information database should be established in the smart home control panel in advance, and the device information database is used to store the device information of the smart device. When the smart device and the smart home control panel are established When the communication is connected, the smart home control panel can obtain the device information of the smart device and update the data in the device information database. By obtaining the device information of the smart device from the smart home control panel, when the smart home control panel obtains the device information of the smart device is limited, for example, the trusted smart home control panel has no authority to obtain the device information of the smart device , get the device information of the smart device. Wherein, the trusted smart home control panel may be a smart home control panel with a trusted user logged in.
当即时地从智能设备获取智能设备的设备信息时,智能家居控制面板应当与智能设备形成通信连接,且智能家居控制面板具有访问智能设备的设备信息的权限。通过即时地从智能设备获取智能设备的设备信息,能够获得智能设备完整的设备信息,防止遗漏智能设备的部分设备信息。When obtaining the device information of the smart device from the smart device in real time, the smart home control panel should form a communication connection with the smart device, and the smart home control panel has the authority to access the device information of the smart device. By acquiring the device information of the smart device from the smart device in real time, the complete device information of the smart device can be obtained, preventing the omission of part of the device information of the smart device.
当从云端服务器中获取智能设备的设备信息时,与智能家居控制面板形成通信连接的云端服务器中应当预先建立有设备信息数据库,该设备信息数据库用于存储智能设备的设备信息。通过从云端服务器中获取智能设备的设备信息,能够在智能家居控制面板获取智能设备的设备信息受限的情况时,例如,受信任的智能家居控制面板无获取智能设备的设备信息的权限时,得到智能设备的设备信息。When obtaining the device information of the smart device from the cloud server, the cloud server that forms a communication connection with the smart home control panel should have a device information database in advance, and the device information database is used to store the device information of the smart device. By obtaining the device information of the smart device from the cloud server, when the smart home control panel obtains the device information of the smart device is limited, for example, when the trusted smart home control panel does not have the authority to obtain the device information of the smart device, Get the device information of the smart device.
具体地,智能家居控制面板可以是用于控制智能设备的设备。例如,智能家居控制面板可以包括MIXPAD、智能手机、智能平板、笔记本电脑、个人计算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(MobileInternet Device,MID)、穿戴设备(如智能手表、智能手环、智能眼镜)等各类设备中的一种或多种。Specifically, the smart home control panel may be a device for controlling smart devices. For example, the smart home control panel can include MIXPAD, smart phone, smart tablet, notebook computer, personal computer (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), mobile Internet device (MobileInternet Device, MID), wearable One or more of various devices such as smart watches, smart bracelets, and smart glasses.
另外,在一些示例中,智能家居控制面板所运行的操作系统可以包括但不限于Android(安卓)操作系统、IOS操作系统、Symbian(塞班)操作系统、Black Berry(黑莓)操作系统、Windows Phone 8操作系统等。In addition, in some examples, the operating system run by the smart home control panel may include but not limited to Android (Android) operating system, IOS operating system, Symbian (Symbian) operating system, Black Berry (Blackberry) operating system, Windows Phone 8 operating system, etc.
步骤S120:根据设备信息,为智能设备配置对应的权限级别。Step S120: According to the device information, configure the corresponding permission level for the smart device.
在本实施例中,权限级别用于表示智能设备配置权限的高低。对于同一种类型的智能设备而言,智能设备配置的权限越高,在智能设备中启动的功能需要用到的资源越多。例如,智能设备可以是智能扫地机器人,假设智能扫地机器人有两种工作模式,一种工作模式是普通扫地,另一种工作模式是在规定区域扫地,当配置扫地机器人的权限较低时,扫地机器人工作模式为普通扫地,采用“随机碰撞寻路”的方式对地面进行清理;当配置扫地机器人的权限较高时,需要获取当前所处的地理环境的障碍物信息,并对扫地机器人所处的位置进行定位和记录,根据扫地机器人采集记录的信息对规定区域的地面进行清理,这其中需要使用大量的计算资源。In this embodiment, the permission level is used to indicate the level of configuration permission of the smart device. For the same type of smart device, the higher the authority configured for the smart device, the more resources required for the functions activated in the smart device. For example, the smart device can be an intelligent sweeping robot. Assume that the intelligent sweeping robot has two working modes, one working mode is general sweeping, and the other working mode is sweeping in a specified area. The working mode of the robot is ordinary sweeping, and the ground is cleaned by "random collision pathfinding"; Position and record the location of the sweeping robot, and clean the ground in the specified area according to the information collected and recorded by the sweeping robot, which requires the use of a large number of computing resources.
关于上述示例,可以获知,当智能设备的完成某一功能所需要的信息越多,可以为智能设备的某一功能配置较高的权限级别,从而对智能设备的权限进行有效地配置,当权限较低时,使智能设备无法获得高权限的信息,防止信息泄露。具体地,将本发明实施例应用于智能设备的种类和数量较多的场景下,可以通过配置智能设备不同的权限级别,分配各智能设备完成对应的功能,从而实现灵活配置。Regarding the above example, it can be known that when the smart device needs more information to complete a certain function, a higher permission level can be configured for a certain function of the smart device, so as to effectively configure the permissions of the smart device. When the value is low, smart devices cannot obtain high-privilege information and prevent information leakage. Specifically, when the embodiment of the present invention is applied to a scenario where there are many types and quantities of smart devices, it is possible to configure different permission levels of smart devices and assign each smart device to complete corresponding functions, thereby realizing flexible configuration.
需要注意的是,在本实施例中,为避免由于智能设备的权限设置不当,导致在同一局域网下的智能设备和/或智能家居控制面板的信息泄露风险,可以基于智能设备的设备信息来获知智能设备完成各个功能时所需采集和/或向外发送的数据,根据采集和/或向外发送的数据来确定智能设备的权限级别。具体地,当智能设备采集和/或向外发送的数据与正常完成某一功能所需进行的数据处理没有逻辑关系时,可以通过配置智能设备的权限级别来限制在采集和/或向外发送数据,达到防止信息泄露的效果。It should be noted that in this embodiment, in order to avoid the risk of information leakage of smart devices and/or smart home control panels under the same local area network due to improper permission setting of smart devices, it can be learned based on the device information of smart devices The smart device needs to collect and/or send out data when completing various functions, and determine the permission level of the smart device according to the collected and/or sent out data. Specifically, when the data collected and/or sent out by the smart device has no logical relationship with the data processing required to complete a certain function normally, you can configure the permission level of the smart device to limit the data collected and/or sent out data to achieve the effect of preventing information leakage.
步骤S130:根据智能设备的权限级别对智能设备进行控制。Step S130: Control the smart device according to the authority level of the smart device.
在本发明实施例中,权限级别与智能设备的功能可以是映射对应的关系。例如,可以将权限级别划分为三个级别:“高权限”、“中权限”和“低权限”,对应的,可以将智能设备的功能划分为三类功能:“深度功能”、“中度功能”“轻度功能”,当权限级别为“高权限”时,可以使用智能设备的“重度功能”;当权限级别为“中度权限”时,可以使用智能设备的“中度功能”;当权限级别为“低权限”时,可以使用智能设备的“轻度功能”,具体地,当智能设备为智能电视时,智能设备的“重度功能”可以是视频会议和语音控制,智能设备的“中度功能”可以是网络媒体播放;智能设备的“轻度功能”可以是本地播放。需要注意的是,上述示例仅用于说明权限级别与智能设备的功能可以是映射对应的关系,不应当作为限制本发明的证据。In the embodiment of the present invention, the permission level and the function of the smart device may be in a mapping relationship. For example, the authority levels can be divided into three levels: "high authority", "medium authority" and "low authority". Correspondingly, the functions of smart devices can be divided into three types of functions: "Function", "light function", when the permission level is "high permission", you can use the "heavy function" of the smart device; when the permission level is "moderate permission", you can use the "moderate function" of the smart device; When the permission level is "low permission", the "light function" of the smart device can be used. Specifically, when the smart device is a smart TV, the "heavy function" of the smart device can be video conferencing and voice control. The "moderate function" can be network media playback; the "light function" of smart devices can be local playback. It should be noted that the above example is only used to illustrate the mapping relationship between the permission level and the function of the smart device, and should not be used as evidence to limit the present invention.
在一些实施例中,存在首次与智能家居控制面板连接的新智能设备,该新智能设备可以理解为未曾被智能家居控制面板控制的智能设备,或者,与智能家居控制面板未曾与同一局域网进行通信连接的智能设备,在执行步骤S110时,设备信息还可以包括是否为新设备的标识符,智能家居控制面板首次与新智能设备形成通信连接、获取智能设备的设备信息时,能够根据该标识符识别出新智能设备。则在步骤S120时智能家居控制面板直接为该新智能设备配置最低的权限级别,从而较大程度地减少智能设备采集和外发的信息,防止信息泄露,当智能设备在工作工程中生成工作日志数据后,智能家居控制面板执行上述步骤S110至步骤S130,基于包括智能设备的工作日志数据和设备标识的设备信息对智能设备的权限进行控制。由此能够在智能设备初次使用时就被配置最低权限,再在后续基于工作日志数据和设备标识对智能设备的权限进行配置,有效防止智能设备在各个使用阶段泄露信息,防止入侵。In some embodiments, there is a new smart device connected to the smart home control panel for the first time, which can be understood as a smart device that has not been controlled by the smart home control panel, or has not communicated with the same local area network as the smart home control panel For the connected smart device, when performing step S110, the device information may also include an identifier of whether it is a new device. When the smart home control panel forms a communication connection with the new smart device for the first time and obtains the device information of the smart device, it can A new smart device is recognized. Then in step S120, the smart home control panel directly configures the lowest authority level for the new smart device, thereby reducing the information collected and sent out by the smart device to a large extent, and preventing information leakage. After receiving the data, the smart home control panel executes the above steps S110 to S130 to control the authority of the smart device based on the device information including the work log data of the smart device and the device identification. In this way, the minimum authority can be configured when the smart device is used for the first time, and then the authority of the smart device can be configured based on the work log data and device identification, which can effectively prevent the information leakage and intrusion of the smart device at each stage of use.
在本实施例中,通过将上述步骤S110至步骤S130应用于智能家居控制面板中,能够当智能设备和控制智能设备的智能家居控制面板由不同的生产厂商生产,智能设备有可能获取智能家居控制面板的隐私信息,或者通过网络获取与智能设备通信的设备的隐私信息,此时需要对智能设备的设备信息进行处理,得到对应的权限级别,从而在源头上来判断智能设备的安全性,进而为智能设备分配对应的权限,防止由于智能设备的权限过高导致信息泄露事件发生,并防止由于智能设备的权限过低导致用户使用不便,尤其地,将本发明实施例应用于智能设备的种类和数量较多的场景下,可以通过配置智能设备不同的权限级别,分配各智能设备完成对应的功能,实现灵活配置,并可以基于权限级别的配置,防止信息泄露,提高智能家居系统中信息的安全性。In this embodiment, by applying the above steps S110 to S130 to the smart home control panel, when the smart device and the smart home control panel that controls the smart device are produced by different manufacturers, the smart device may obtain smart home control The private information of the panel, or the private information of the device communicating with the smart device through the network, at this time, it is necessary to process the device information of the smart device to obtain the corresponding permission level, so as to judge the security of the smart device at the source, and then provide Smart devices assign corresponding permissions to prevent information leakage incidents caused by too high permissions of smart devices, and prevent user inconvenience due to low permissions of smart devices. In particular, the embodiments of the present invention are applied to the types and types of smart devices In a large number of scenarios, you can configure different permission levels of smart devices, assign each smart device to complete the corresponding function, realize flexible configuration, and configure based on the permission level to prevent information leakage and improve the security of information in the smart home system sex.
进一步地,作为本实施例的一种实施方式,如图4所示,上述步骤S110可以包括以下步骤S210至步骤S230。Further, as an implementation manner of this embodiment, as shown in FIG. 4 , the above step S110 may include the following steps S210 to S230.
步骤S210:获取智能设备的工作日志数据,工作日志数据包括历史运行数据。Step S210: Obtain work log data of the smart device, where the work log data includes historical operation data.
在本发明实施例中,历史运行数据可以包括用于记录智能设备各个功能运行情况的数据。例如,当智能设备为智能空调时,历史运行数据可以是制冷模式在各个时刻下运行情况,还可以是智能空调的温度监测模块在各个时刻下监测到的温度,也可以是控制智能空调的各个智能家居控制面板的控制记录等等,此处不做具体限制。In the embodiment of the present invention, the historical running data may include data for recording the running conditions of various functions of the smart device. For example, when the smart device is a smart air conditioner, the historical operating data can be the operation status of the cooling mode at various times, the temperature monitored by the temperature monitoring module of the The control records of the smart home control panel, etc., are not specifically limited here.
步骤S220:根据历史控制数据,得到智能设备在预设时间段内各个功能的使用频率。Step S220: Obtain the usage frequency of each function of the smart device within a preset time period according to the historical control data.
在本发明实施例中,预设时间段可以是在智能设备的实际应用场景下根据经验确定,以将智能设备的各个功能的使用频率与实际场景关联。例如,在包括智能设备的工厂,可以根据工厂的开工时间段、工厂所处环境气候、工厂上班人数确定预设时间段,从而将智能设备各个功能的使用频率与工厂本身的情况关联。In the embodiment of the present invention, the preset time period may be determined empirically in an actual application scenario of the smart device, so as to associate the frequency of use of each function of the smart device with the actual scenario. For example, in a factory that includes smart devices, the preset time period can be determined according to the factory's opening time period, the environmental climate of the factory, and the number of people working in the factory, so as to associate the usage frequency of each function of the smart device with the situation of the factory itself.
步骤S230:将各个功能的使用频率纳入设备信息。Step S230: Incorporate the frequency of use of each function into the device information.
在本发明实施例中,具体是将智能设备在预设时间段内各个功能的使用频率纳入设备信息。需要注意的是,设备信息除了包括该使用频率以外,还可以包括上述步骤S110中所描述的设备信息。In the embodiment of the present invention, specifically, the use frequency of each function of the smart device within a preset period of time is included in the device information. It should be noted that, in addition to the frequency of use, the device information may also include the device information described in step S110 above.
在本实施例中,通过上述步骤S210至步骤230,能够得到智能设备在预设时间段内各个功能的使用频率,并且将该使用频率与智能设备的实际应用场景进行结合,使得在后续为智能设备配置对应的权限级别时,不仅仅是根据智能设备的各个功能的使用次数作为判断依据,还可以将智能设备的各个功能的实际应用场景作为判断依据,使得为智能设备配置的权限级别更加符合特定场景的需要,更好的灵活配置权限。In this embodiment, through the above step S210 to step 230, the use frequency of each function of the smart device within the preset time period can be obtained, and the use frequency is combined with the actual application scene of the smart device, so that the subsequent smart When the device configures the corresponding permission level, not only the use times of each function of the smart device is used as the judgment basis, but also the actual application scenarios of each function of the smart device can be used as the judgment basis, so that the permission level configured for the smart device is more consistent. To meet the needs of specific scenarios, better and flexible configuration permissions.
进一步地,作为本实施例的一种实施方式,如图5所示,上述步骤S120可以包括以下步骤S310至步骤S320。Further, as an implementation manner of this embodiment, as shown in FIG. 5 , the above step S120 may include the following steps S310 to S320.
步骤S310:根据智能设备在预设时间段内各个功能的使用频率,计算智能设备各个功能对应的重要系数。Step S310: Calculate the importance coefficient corresponding to each function of the smart device according to the use frequency of each function of the smart device within a preset time period.
在本发明实施例中,重要系数包括用于表示各个功能的重要程度。具体而言,重要系数越高,与该重要系数对应的功能越重要。另外,各个功能的重要系数计算具体可以是依据与功能对应的使用频率在总的使用频率的占比得到。例如,当智能设备包括功能A、功能B、功能C,在预设时间段内,功能A对应的使用频率为1、功能B对应的使用频率为4、功能C对应的使用频率为5,此时,根据与功能对应的使用频率在总的使用频率的占比,得到功能A对应的重要系数为0.1、功能B对应的重要系数为0.4、功能C对应的重要系数为0.5。In the embodiment of the present invention, the importance coefficient is used to represent the importance of each function. Specifically, the higher the importance coefficient is, the more important the function corresponding to the importance coefficient is. In addition, the calculation of the important coefficient of each function may specifically be obtained according to the proportion of the frequency of use corresponding to the function to the total frequency of use. For example, when a smart device includes function A, function B, and function C, within a preset time period, the frequency of use corresponding to function A is 1, the frequency of use corresponding to function B is 4, and the frequency of use corresponding to function C is 5. , according to the proportion of the usage frequency corresponding to the function in the total usage frequency, the importance coefficient corresponding to function A is 0.1, the importance coefficient corresponding to function B is 0.4, and the importance coefficient corresponding to function C is 0.5.
步骤S320:基于智能设备各个功能对应的重要系数为智能设备配置对应的权限级别。Step S320: Configure the corresponding permission level for the smart device based on the importance coefficients corresponding to each function of the smart device.
在本发明实施例中,当重要系数越高,为智能设备配置对应的权限级别也越高。In the embodiment of the present invention, when the importance factor is higher, the corresponding permission level configured for the smart device is also higher.
需要注意的是,在本实施例中,为智能设备配置对应的权限级别不应当仅依据重要系数设定,还可以考虑其他因素,例如其他因素可以是智能设备行使某一功能所需要的采集和/或发送的数据、实际应用场景等等。It should be noted that in this embodiment, configuring the corresponding permission level for the smart device should not only be set based on important coefficients, but other factors can also be considered. For example, other factors can be the collection and /or sent data, actual application scenarios, etc.
在本实施例中,通过上述步骤S310至步骤S320的实施,能够根据智能设备的各个功能的使用频率为智能设备配置对应的权限级别,也就是说,当用户越需要使用智能设备的某一功能,越有可能配置该智能设备行使该功能的权限,以符合用户需求和习惯。In this embodiment, through the implementation of the above steps S310 to S320, the smart device can be configured with the corresponding authority level according to the frequency of use of each function of the smart device, that is, when the user needs to use a certain function of the smart device , the more likely it is to configure the permission of the smart device to exercise the function to meet the needs and habits of the user.
进一步地,作为本实施例的一种实施方式,如图6所示,上述步骤S120还可以包括以下步骤S410至步骤S420。Further, as an implementation manner of this embodiment, as shown in FIG. 6 , the above step S120 may further include the following steps S410 to S420.
步骤S410:根据设备信息确定智能设备的可靠级别。Step S410: Determine the reliability level of the smart device according to the device information.
在本实施例中,可靠级别可以包括用于表示智能设备的可靠程度。具体根据设备信息确定智能设备的风险状态,从而根据风险状态确定智能设备的可靠级别。例如,当根据设备信息确定智能设备具有较高的信息泄露的风险时,确定智能设备的可靠级别为第一可靠级别;当根据设备信息确定智能设备具有较低的信息泄露的风险时,确定智能设备的可靠级别为第二可靠级别。具体地,当智能设备完成某一功能所采集的信息与完成该功能所需要的信息不匹配时,确定该智能设备具有较高的信息泄露的风险;当智能设备完成某一功能所采集的信息与完成该功能所需要的信息相匹配时,确定该智能设备具有较低的信息泄露的风险。In this embodiment, the reliability level may be used to indicate the reliability degree of the smart device. Specifically, the risk status of the smart device is determined according to the device information, so as to determine the reliability level of the smart device according to the risk status. For example, when it is determined according to the device information that the smart device has a high risk of information leakage, determine that the reliability level of the smart device is the first reliability level; when it is determined according to the device information that the smart device has a low risk of information leakage, determine that the smart device The reliability level of the equipment is the second reliability level. Specifically, when the information collected by the smart device to complete a certain function does not match the information required to complete the function, it is determined that the smart device has a high risk of information leakage; when the information collected by the smart device to complete a certain function When matching with the information required to complete the function, it is determined that the smart device has a low risk of information leakage.
步骤S420:根据可靠级别为智能设备配置对应的权限级别。Step S420: Configure the corresponding permission level for the smart device according to the reliability level.
在本实施例中,具体是可靠程度越高,为智能设备配置对应的权限级别就越高。例如,当智能设备的可靠级别为第一可靠级别时,为该智能设备配置第一权限级别;当智能设备的可靠级别为第二可靠级别时,为该智能设备配置第二权限级别,第一权限级别高于第二权限级别。In this embodiment, specifically, the higher the degree of reliability, the higher the corresponding authority level configured for the smart device. For example, when the reliability level of the smart device is the first reliability level, configure the first permission level for the smart device; when the reliability level of the smart device is the second reliability level, configure the second permission level for the smart device, the first The permission level is higher than the second permission level.
在本实施例中,通过上述步骤S410至步骤S420的实施,能够根据设备信息确定智能设备的可靠程度,从而为智能设备配置对应的权限级别。In this embodiment, through the implementation of the above steps S410 to S420, the reliability of the smart device can be determined according to the device information, so as to configure the corresponding permission level for the smart device.
进一步地,作为本实施例的一种实施方式,如图7所示,设备信息还包括生产智能设备的厂商身份标识符,则上述步骤S410可以包括以下步骤S510至步骤S530。Further, as an implementation of this embodiment, as shown in FIG. 7 , the device information also includes the manufacturer ID of the smart device, and the above step S410 may include the following steps S510 to S530.
步骤S510:根据设备信息中的厂商身份标识符,确定智能设备是否由预设厂商生产。Step S510: Determine whether the smart device is produced by a preset manufacturer according to the manufacturer ID in the device information.
在本实施例中,厂商身份标识符用于标识智能设备。针对一个智能设备,厂商身份标识符可以是一个或者多个。当厂商身份标识符为一个时,该厂商身份标识符作为该智能设备的唯一标识符;当厂商身份标识符为多个时,各个厂商身份标识符与该智能设备各部件一一对应。需要注意的是,本实施例中的厂商身份标识符可以为出厂时,厂家为该智能设备或该智能设备的各部件分配的设备序列号。In this embodiment, the vendor identity identifier is used to identify the smart device. For a smart device, there may be one or more vendor identifiers. When there is one vendor ID, the vendor ID is used as the unique identifier of the smart device; when there are multiple vendor IDs, each vendor ID is in one-to-one correspondence with each component of the smart device. It should be noted that the manufacturer's identifier in this embodiment may be a device serial number assigned by the manufacturer to the smart device or each component of the smart device when it leaves the factory.
在本发明实施例中,预设厂商可以是受信任的厂商,此处对预设厂商的厂商名不做具体限制。另外,预设厂商名和预设厂商身份标识符可以预先存储于智能家居控制面板或者云端服务器中,从而能够从智能家居控制面板或者云端服务器获取预设厂商名和预设厂商身份标识符进行比对。In the embodiment of the present invention, the preset manufacturer may be a trusted manufacturer, and there is no specific limitation on the name of the preset manufacturer here. In addition, the preset manufacturer name and the preset manufacturer ID can be pre-stored in the smart home control panel or the cloud server, so that the preset manufacturer name and the preset manufacturer ID can be obtained from the smart home control panel or the cloud server for comparison.
步骤S520:若智能设备由预设厂商生产,则确定智能设备的可靠级别为第一可靠级别。Step S520: If the smart device is produced by a preset manufacturer, determine that the reliability level of the smart device is the first reliability level.
步骤S530:若智能设备不由预设厂商生产,则确定智能设备的可靠级别为第二可靠级别,第二可靠级别低于第一可靠级别。Step S530: If the smart device is not produced by a preset manufacturer, determine that the reliability level of the smart device is the second reliability level, and the second reliability level is lower than the first reliability level.
在本实施例中,通过上述步骤S510至步骤S530的实施,能够智能设备判断智能设备的可靠级别,同时,更能够依据智能设备的厂商身份标识符判断智能设备和智能设备的各部件的生产厂商确定智能设备的可靠级别,另外,在实际应用场景中,还可以由根据各部分的生产厂商来确定智能设备的风险程度,进而确定智能设备的可靠级别。In this embodiment, through the implementation of the above steps S510 to S530, the smart device can judge the reliability level of the smart device, and at the same time, the manufacturer of the smart device and the components of the smart device can be judged based on the manufacturer ID of the smart device Determine the reliability level of the smart device. In addition, in the actual application scenario, the risk level of the smart device can also be determined by the manufacturer of each part, and then the reliability level of the smart device can be determined.
进一步地,作为本实施例的一种实施方式,如图8所示,上述步骤S510可以包括以下步骤S610至步骤S610。Further, as an implementation manner of this embodiment, as shown in FIG. 8 , the above step S510 may include the following steps S610 to S610.
步骤S610:将设备信息发送至云端服务器。Step S610: Send the device information to the cloud server.
在本发明实施例中,智能设备应当已与云端服务器形成通信连接,智能设备与云端服务器之间可以通过直接或者间接的方式进行通信连接,此处不做具体限制。In the embodiment of the present invention, the smart device should have formed a communication connection with the cloud server, and the communication connection between the smart device and the cloud server can be performed directly or indirectly, which is not specifically limited here.
步骤S620:获取由云端服务器发送的处理结果,其中,处理结果包括智能设备是否由预设厂商生产。Step S620: Obtain a processing result sent by the cloud server, wherein the processing result includes whether the smart device is produced by a preset manufacturer.
在本发明实施例中,具体可以是在云端服务器中查询厂商身份标识符是否符合预设的厂商身份标识符的编码规则。In the embodiment of the present invention, specifically, it may be inquired in the cloud server whether the vendor ID conforms to the preset coding rules for the vendor ID.
具体而言,若厂商身份标识符为一个,且厂商身份标识符符合预设的厂商身份标识符的编码规则时,则确定与厂商身份标识符对应的智能设备由预设厂商生产;若厂商身份标识符为一个,且厂商身份标识符不符合预设的厂商身份标识符的编码规则时,则确定与厂商身份标识符对应的智能设备不由预设厂商生产;若厂商身份标识符为多个时,若多个厂商身份标识符均符合预设的厂商身份标识符的编码规则,或者属于多个厂商身份标识符中代表核心部件的厂商身份标识符符合预设的厂商身份标识符的编码规则,则确定智能设备由预设厂商生产;若厂商身份标识符为多个时,若多个厂商身份标识符均不符合预设的厂商身份标识符的编码规则,或者属于多个厂商身份标识符中代表核心部件的厂商身份标识符不符合预设的厂商身份标识符的编码规则,则确定智能设备不由预设厂商生产。Specifically, if there is one vendor identity identifier, and the vendor identity identifier complies with the preset encoding rules of the vendor identity identifier, it is determined that the smart device corresponding to the vendor identity identifier is produced by the preset vendor; if the vendor identity If there is only one identifier, and the manufacturer’s identity identifier does not conform to the preset encoding rules of the manufacturer’s identity identifier, it is determined that the smart device corresponding to the manufacturer’s identity identifier is not produced by the preset manufacturer; if there are multiple manufacturer’s identity identifiers , if multiple vendor IDs conform to the preset coding rules for vendor IDs, or the vendor ID that represents the core component among the multiple vendor IDs conforms to the preset coding rules for vendor IDs, Then it is determined that the smart device is produced by the preset manufacturer; if there are multiple vendor IDs, if the multiple vendor IDs do not conform to the preset encoding rules of the vendor ID, or belong to multiple vendor IDs If the vendor ID representing the core component does not comply with the preset coding rules for the vendor ID, it is determined that the smart device is not produced by the preset vendor.
在本发明实施例中,预设的厂商身份标识符为受信任的厂商生产对应产品所对应的身份标识符。另外,核心部件可以是智能设备中用于数据处理和驱动控制部分的部件。In the embodiment of the present invention, the preset manufacturer identity identifier is an identity identifier corresponding to a product produced by a trusted manufacturer. In addition, the core component may be a component used for data processing and drive control in the smart device.
在本实施例中,通过上述步骤S610至步骤S620的实施,能够将设备信息发送至云端服务器,并接收由云端服务器发送的处理结果,从而判断智能设备是否由预设厂商生产。In this embodiment, through the implementation of the above steps S610 to S620, the device information can be sent to the cloud server, and the processing result sent by the cloud server can be received, so as to determine whether the smart device is produced by a preset manufacturer.
进一步地,作为本实施例的一种事实方式,智能设备为多个,多个智能设备包括彼此形成通信连接的第一智能设备和第二智能设备。上述步骤S130可以包括以下内容:Further, as a de facto manner of this embodiment, there are multiple smart devices, and the multiple smart devices include a first smart device and a second smart device that form a communication connection with each other. The above step S130 may include the following:
当第一智能设备配置的权限级别高于第二智能设备配置的权限级别时,允许第一智能设备访问第二智能设备的信息,禁止第二智能设备访问第一智能设备的信息。When the permission level configured by the first smart device is higher than the permission level configured by the second smart device, the first smart device is allowed to access the information of the second smart device, and the second smart device is prohibited from accessing the information of the first smart device.
在本发明实施例中,第一智能设备与第二智能设备之间可以通过蓝牙、局域网、ZigBee等进行通信,当然,第一智能设备和第二智能设备之间的连接方式在本发明实施例中可以不作为限定。In the embodiment of the present invention, the first smart device and the second smart device can communicate through Bluetooth, local area network, ZigBee, etc. Of course, the connection mode between the first smart device and the second smart device may not be used as a limitation.
在本发明实施例中,为权限级别较高的第一智能设备分配访问权限,以允许第一智能设备去访问第二智能设备的信息。另外,当第二智能设备想要从云服务器中读取第一智能设备的信息时,需要从智能家居控制面板获取相应的访问权限,当第二智能设备获取到智能家居控制面板分配的相应的访问权限时,第二智能设备可以从云服务器中获取第一智能设备的信息。In the embodiment of the present invention, access rights are assigned to the first smart device with a higher permission level, so as to allow the first smart device to access information of the second smart device. In addition, when the second smart device wants to read the information of the first smart device from the cloud server, it needs to obtain the corresponding access authority from the smart home control panel. When the access right is granted, the second smart device can acquire the information of the first smart device from the cloud server.
在本实施例中,当第一智能设备配置的权限级别高于第二智能设备配置的权限级别时,通过允许第一智能设备访问第二智能设备的信息,禁止第二智能设备访问第一智能设备的信息,能够使得可靠程度较高的智能设备访问可靠程度较低的智能设备的信息,可靠程度较低的智能设备无法访问可靠程度较高的智能设备的信息,保证了不同的智能设备之间的信息传输安全。In this embodiment, when the permission level configured by the first smart device is higher than the permission level configured by the second smart device, by allowing the first smart device to access the information of the second smart device, the second smart device is prohibited from accessing the first smart device. The device information can enable smart devices with higher reliability to access the information of smart devices with lower reliability, and smart devices with lower reliability cannot access the information of smart devices with higher reliability. Information transmission security between.
另外,为了能够更加清楚地理解本发明实施例提供的基于权限的智能设备控制方法在图1所示的应用环境中的应用过程,结合如图9所示的时序图,描述智能设备、智能家居控制面板和云端服务器之间的关系,对基于权限的智能设备控制方法进行简单描述,如图9所示,智能家居控制面板执行步骤S110:获取智能设备的设备信息,其中,设备信息包括智能设备的工作日志数据和设备标识;步骤S610:将设备信息发送至云端服务器;云端服务器执行:对智能设备进行处理,得到处理结果,并发送至智能家居控制面板;智能家居控制面板执行步骤S620:获取由云端服务器发送的处理结果,其中,处理结果包括智能设备是否由预设厂商生产;步骤S520:若智能设备由预设厂商生产,则确定智能设备的可靠级别为第一可靠级别;步骤S530:若智能设备不由预设厂商生产,则确定智能设备的可靠级别为第二可靠级别,第二可靠级别低于第一可靠级别;步骤S420:根据可靠级别为智能设备配置对应的权限级别;执行步骤S130:根据智能设备的权限级别对智能设备进行控制;智能设备执行接收由控制设备发送的控制指令,控制自身的工作状态。In addition, in order to more clearly understand the application process of the permission-based smart device control method provided by the embodiment of the present invention in the application environment shown in FIG. 1 , combined with the sequence diagram shown in FIG. The relationship between the control panel and the cloud server briefly describes the permission-based smart device control method. As shown in FIG. The work log data and device identification; step S610: send the device information to the cloud server; the cloud server executes: process the smart device, obtain the processing result, and send it to the smart home control panel; the smart home control panel executes step S620: obtain The processing result sent by the cloud server, wherein the processing result includes whether the smart device is produced by a preset manufacturer; Step S520: If the smart device is produced by a preset manufacturer, determine that the reliability level of the smart device is the first reliability level; Step S530: If the smart device is not produced by a preset manufacturer, then determine that the reliability level of the smart device is the second reliability level, which is lower than the first reliability level; step S420: configure the corresponding authority level for the smart device according to the reliability level; execute steps S130: Control the smart device according to the authority level of the smart device; the smart device executes and receives the control instruction sent by the control device, and controls its own working state.
需要注意的是,如图9所示的时序图用于描述智能设备、智能家居控制面板和云端服务器之间的关系,并不应当作为限制本发明的证据。另外,关于如图9所示的时序图中的各个步骤,在上述实施例中已有详细描述,此处不再赘述。It should be noted that the sequence diagram shown in FIG. 9 is used to describe the relationship between the smart device, the smart home control panel and the cloud server, and should not be used as evidence to limit the present invention. In addition, each step in the sequence diagram shown in FIG. 9 has been described in detail in the above embodiment, and will not be repeated here.
通过上述基于权限的智能设备控制方法的实施,能够当智能设备和控制智能设备的智能家居控制面板由不同的生产厂商生产,智能设备有可能获取智能家居控制面板的隐私信息,或者通过网络获取与智能设备通信的设备的隐私信息,此时需要对智能设备的设备信息进行处理,得到对应的权限级别,从而在源头上来判断智能设备的安全性,进而为智能设备分配对应的权限,防止由于智能设备的权限过高导致信息泄露事件发生,并防止由于智能设备的权限过低导致用户使用不便,尤其地,将本发明实施例应用于智能设备的种类和数量较多的场景下,可以通过配置智能设备不同的权限级别,分配各智能设备完成对应的功能,实现灵活配置,并可以基于权限级别的配置,防止信息泄露,提高智能家居系统中信息的安全性;并在预设时间段内各个功能的使用频率,并且将该使用频率与智能设备的实际应用场景进行结合,使得在后续为智能设备配置对应的权限级别时,不仅仅是根据智能设备的各个功能的使用次数作为判断依据,还可以将智能设备的各个功能的实际应用场景作为判断依据,使得为智能设备配置的权限级别更加符合特定场景的需要,更好的灵活配置权限;更能够依据智能设备的厂商身份标识符判断智能设备和智能设备的各部件的生产厂商确定智能设备的可靠级别,另外,在实际应用场景中,还可以由根据各部分的生产厂商来确定智能设备的风险程度,进而确定智能设备的可靠级别,从而为智能设备配置不同的权限级别。Through the implementation of the above permission-based smart device control method, when the smart device and the smart home control panel that controls the smart device are produced by different manufacturers, the smart device may obtain the private information of the smart home control panel, or obtain information related to the smart home control panel through the network. The privacy information of the devices communicated by the smart devices. At this time, it is necessary to process the device information of the smart devices to obtain the corresponding permission levels, so as to judge the security of the smart devices at the source, and then assign the corresponding permissions to the smart devices to prevent due to smart devices. The device's authority is too high to cause information leakage incidents, and to prevent users from inconvenient use due to the low authority of the smart device. Different permission levels of smart devices, assign each smart device to complete the corresponding function, realize flexible configuration, and can be configured based on the permission level to prevent information leakage and improve the security of information in the smart home system; Function usage frequency, and combine the usage frequency with the actual application scenario of the smart device, so that when configuring the corresponding permission level for the smart device in the future, it is not only based on the number of uses of each function of the smart device as the basis for judgment, but also The actual application scenarios of each function of the smart device can be used as the basis for judgment, so that the permission level configured for the smart device is more in line with the needs of specific scenarios, and the permissions can be configured more flexibly; the smart device can be judged based on the manufacturer's identity identifier of the smart device The manufacturer of each component of the smart device determines the reliability level of the smart device. In addition, in actual application scenarios, the risk level of the smart device can also be determined by the manufacturer of each part, and then the reliability level of the smart device can be determined. Configure different permission levels for smart devices.
需要强调的是,在本实施例中,对于一个智能设备,可以为智能设备配置不同的权限级别的同时,还可以为智能设备针对同一功能配置不同的权限级别,也就是说,本实施例中的权限级别的对象可以是智能设备,还可以是智能设备的各类功能。It should be emphasized that, in this embodiment, for a smart device, while different permission levels can be configured for the smart device, different permission levels for the same function can also be configured for the smart device, that is, in this embodiment The object of the permission level can be a smart device, and can also be various functions of the smart device.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.
请参阅图10,其示出了本发明实施例提供的一种基于权限的智能设备控制装置400的结构框图,基于权限的智能设备控制装置400应用于智能家居控制面板,智能控制面板与智能设备通信连接,智能家居控制面板和智能设备由不同的生产厂商生产;该基于权限的智能设备控制装置400包括设备信息获取模块410、权限级别配置模块420和智能设备控制模块430。各功能模块详细说明如下:Please refer to FIG. 10 , which shows a structural block diagram of a permission-based smart device control device 400 provided by an embodiment of the present invention. The permission-based smart device control device 400 is applied to a smart home control panel, and the smart control panel and smart device Communication connection, smart home control panels and smart devices are produced by different manufacturers; the permission-based smart device control device 400 includes a device
设备信息获取模块410,用于获取智能设备的设备信息,其中,设备信息包括智能设备的工作日志数据和设备标识;权限级别配置模块420,用于根据设备信息获取模块410获取到的设备信息,为智能设备配置对应的权限级别;智能设备控制模块430,用于根据权限级别配置模块配置的智能设备的权限级别对智能设备进行控制。The device
进一步地,作为一种实施方式,基于权限的智能设备控制装置400中的设备信息获取模块410可以包括工作日志数据获取单元、使用频率获取单元和设备信息获取单元。各功能单元详细说明如下:工作日志数据获取单元,用于获取智能设备的工作日志数据,工作日志数据包括历史运行数据;使用频率获取单元,用于根据工作日志数据获取单元获取到的历史控制数据,得到智能设备在预设时间段内各个功能的使用频率;设备信息获取单元,用于将各个功能的使用频率纳入设备信息。Further, as an implementation manner, the device
进一步地,作为一种实施方式,基于权限的智能设备控制装置400中的权限级别配置模块420可以包括重要系数计算单元和第一权限级别配置单元。各功能单元详细说明如下:重要系数计算单元,用于根据智能设备在预设时间段内各个功能的使用频率,计算智能设备各个功能对应的重要系数;第一权限级别配置单元,用于基于智能设备各个功能对应的重要系数为智能设备配置对应的权限级别。Further, as an implementation manner, the authority
进一步地,作为一种实施方式,基于权限的智能设备控制装置400中的权限级别配置模块420可以包括可靠级别确定单元和第二权限级别配置单元。各功能单元详细说明如下:可靠级别确定单元,用于根据设备信息确定智能设备的可靠级别;第二权限级别配置单元,用于根据可靠级别确定单元确定的可靠级别为智能设备配置对应的权限级别。Further, as an implementation manner, the authority
进一步地,作为一种实施方式,设备信息还包括生产智能设备的厂商身份标识符;则可靠级别确定单元可以包括预设厂商确定子单元、第一可靠级别确定子单元和第二可靠级别确定子单元。各功能子单元详细说明如下:预设厂商确定子单元,用于根据设备信息中的厂商身份标识符,确定智能设备是否由预设厂商生产;第一可靠级别确定子单元,用于若智能设备由预设厂商生产,则确定智能设备的可靠级别为第一可靠级别;第二可靠级别确定子单元,用于若智能设备不由预设厂商生产,则确定智能设备的可靠级别为第二可靠级别,第二可靠级别低于第一可靠级别。Further, as an implementation, the device information also includes the manufacturer's identity identifier that produces the smart device; then the reliability level determination unit may include a preset manufacturer determination subunit, a first reliability level determination subunit and a second reliability level determination subunit unit. The details of each functional subunit are as follows: the preset manufacturer determination subunit is used to determine whether the smart device is produced by the preset manufacturer according to the manufacturer ID in the device information; the first reliability level determination subunit is used to determine if the smart device If the smart device is produced by the preset manufacturer, then determine the reliability level of the smart device as the first reliability level; the second reliability level determination subunit is used to determine the reliability level of the smart device as the second reliability level if the smart device is not produced by the preset manufacturer , the second reliability level is lower than the first reliability level.
进一步地,作为一种实施方式,预设厂商确定子单元还可以包括设备信息发送组件和处理结果获取组件。各功能组件详细说明如下:设备信息发送组件,用于将设备信息发送至云端服务器;处理结果获取组件,用于获取由云端服务器发送的处理结果,其中,处理结果包括智能设备是否由预设厂商生产。Further, as an implementation manner, the preset manufacturer determining subunit may further include a device information sending component and a processing result acquiring component. The detailed description of each functional component is as follows: the device information sending component is used to send the device information to the cloud server; the processing result acquisition component is used to obtain the processing result sent by the cloud server, where the processing result includes whether the smart device is provided by the preset manufacturer Production.
进一步地,作为一种实施方式,智能设备为多个,多个智能设备包括彼此形成通信连接的第一智能设备和第二智能设备;根据智能设备的权限级别对智能设备进行控制,基于权限的智能设备控制装置400中的智能设备控制模块430可以包括信息访问控制单元。信息访问控制单元的详细说明如下:信息访问控制单元,用于当第一智能设备配置的权限级别高于第二智能设备配置的权限级别时,允许第一智能设备访问第二智能设备的信息,禁止第二智能设备访问第一智能设备的信息。Further, as an implementation, there are multiple smart devices, and the multiple smart devices include a first smart device and a second smart device that form a communication connection with each other; the smart devices are controlled according to the authority level of the smart device, and the authority-based The smart
另外,在本申请各个实施例中的各功能模块和功能单元可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的基于权限的智能设备控制装置400中的各个模块和单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module and functional unit in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. Each module and unit in the above-mentioned integrated authority-based smart device control apparatus 400 can be implemented in the form of hardware or in the form of software function modules.
请参阅图11,其示出了本申请实施例提供的一种电子设备800,包括:处理器810、通信模块820、存储器830和总线。处理器810、通信模块820和存储器830通过总线相互连接并完成相互间的通信。总线可以是ISA总线、PCI总线或EISA总线等。总线可以分为地址总线、数据总线、控制总线等。其中:Please refer to FIG. 11 , which shows an
存储器830,用于存放程序。具体地,存储器830可用于存储软件程序以及各种数据。存储器830可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作至少一个功能所需的应用程序程序可以包括程序代码,程序代码包括计算机操作指令。除了存放程序之外,存储器830还可以暂存通信模块820需要发送的消息等。存储器830可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The
处理器810用于执行存储器830存放的程序。程序被处理器执行时实现上述各实施例的基于权限的智能设备控制方法的步骤。The
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述基于权限的智能设备控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned embodiment of the permission-based smart device control method is implemented, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the method of each embodiment of the present invention.
综上,本发明实施例提供的一种基于权限的智能设备控制方法,能够当智能设备和控制智能设备的智能家居控制面板由不同的生产厂商生产,智能设备有可能获取智能家居控制面板的隐私信息,或者通过网络获取与智能设备通信的设备的隐私信息,此时需要对智能设备的设备信息进行处理,得到对应的权限级别,从而在源头上来判断智能设备的安全性,进而为智能设备分配对应的权限,防止由于智能设备的权限过高导致信息泄露事件发生,并防止由于智能设备的权限过低导致用户使用不便,尤其地,将本发明实施例应用于智能设备的种类和数量较多的场景下,可以通过配置智能设备不同的权限级别,分配各智能设备完成对应的功能,实现灵活配置,并可以基于权限级别的配置,防止信息泄露,提高智能家居系统中信息的安全性;并在预设时间段内各个功能的使用频率,并且将该使用频率与智能设备的实际应用场景进行结合,使得在后续为智能设备配置对应的权限级别时,不仅仅是根据智能设备的各个功能的使用次数作为判断依据,还可以将智能设备的各个功能的实际应用场景作为判断依据,使得为智能设备配置的权限级别更加符合特定场景的需要,更好的灵活配置权限;更能够依据智能设备的厂商身份标识符判断智能设备和智能设备的各部件的生产厂商确定智能设备的可靠级别,另外,在实际应用场景中,还可以由根据各部分的生产厂商来确定智能设备的风险程度,进而确定智能设备的可靠级别,从而为智能设备配置不同的权限级别。To sum up, the permission-based smart device control method provided by the embodiment of the present invention can be used when the smart device and the smart home control panel that controls the smart device are produced by different manufacturers, and the smart device may obtain the privacy of the smart home control panel. information, or obtain the private information of the device communicating with the smart device through the network. At this time, it is necessary to process the device information of the smart device to obtain the corresponding permission level, so as to judge the security of the smart device at the source, and then assign the smart device The corresponding authority prevents information leakage incidents due to too high authority of the smart device, and prevents user inconvenience due to too low authority of the smart device. In particular, the embodiment of the present invention is applied to many types and quantities of smart devices In different scenarios, different permission levels of smart devices can be configured, and each smart device can be assigned to complete corresponding functions to achieve flexible configuration, and can be configured based on permission levels to prevent information leakage and improve the security of information in the smart home system; and The frequency of use of each function within a preset period of time, and combine the frequency of use with the actual application scenarios of the smart device, so that when configuring the corresponding permission level for the smart device in the future, it is not only based on the functions of the smart device. The number of uses can be used as the judgment basis, and the actual application scenarios of each function of the smart device can also be used as the judgment basis, so that the permission level configured for the smart device is more in line with the needs of specific scenarios, and the permissions can be configured more flexibly; it can be more based on the smart device. The manufacturer's identity identifier judges the manufacturer of the smart device and each component of the smart device to determine the reliability level of the smart device. In addition, in actual application scenarios, the risk level of the smart device can also be determined according to the manufacturer of each part, and then determine the reliability level of the smart device. The reliability level of the smart device, so as to configure different permission levels for the smart device.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010760359.4A CN111856961B (en) | 2020-07-31 | 2020-07-31 | Permission-based smart device control method, device and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010760359.4A CN111856961B (en) | 2020-07-31 | 2020-07-31 | Permission-based smart device control method, device and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111856961A CN111856961A (en) | 2020-10-30 |
CN111856961B true CN111856961B (en) | 2023-04-28 |
Family
ID=72953736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010760359.4A Expired - Fee Related CN111856961B (en) | 2020-07-31 | 2020-07-31 | Permission-based smart device control method, device and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111856961B (en) |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404727B (en) * | 2011-11-24 | 2017-12-05 | 中兴通讯股份有限公司 | The method of controlling security and device of mobile terminal |
US9177129B2 (en) * | 2012-06-27 | 2015-11-03 | Intel Corporation | Devices, systems, and methods for monitoring and asserting trust level using persistent trust log |
CN103686722B (en) * | 2012-09-13 | 2018-06-12 | 中兴通讯股份有限公司 | Access control method and device |
CN104483951B (en) * | 2014-12-19 | 2017-12-15 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method, apparatus and terminal for controlling intelligent home device |
CN106452865A (en) * | 2016-09-30 | 2017-02-22 | 广东美的制冷设备有限公司 | Method and device of connecting intelligent household electric appliances (router) quickly and corresponding device |
CN106412909B (en) * | 2016-10-19 | 2019-09-27 | 广东欧珀移动通信有限公司 | Method and device for connecting equipment |
CN106789378B (en) * | 2017-03-29 | 2018-08-03 | 宁夏灵智科技有限公司 | Information prevents leakage method and system in smart home |
CN109462850B (en) * | 2017-09-06 | 2022-06-17 | 九阳股份有限公司 | Network configuration method of intelligent equipment and intelligent equipment |
CN111310161B (en) * | 2020-01-20 | 2022-11-25 | Oppo(重庆)智能科技有限公司 | Application management method and device and computer readable storage medium |
-
2020
- 2020-07-31 CN CN202010760359.4A patent/CN111856961B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN111856961A (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109752960A (en) | A kind of smart home inter-linked controlling method and device | |
CN106911650B (en) | A smart home control method, device and system | |
US9900162B2 (en) | System and method for wireless network management | |
CN106888140B (en) | Data centralized management method and system in smart home | |
CN105141584A (en) | Smart home system equipment authentication methods, and devices | |
KR20160059458A (en) | Method, apparatus and electronic device for connection management | |
CN105978851A (en) | System and method for controlling intelligent equipment | |
KR102386456B1 (en) | Electronic apparatus, control method thereof, and system | |
CN103518205B (en) | Method and automation equipment for restricting operation authority | |
CN106534072A (en) | User information authorization method, apparatus, equipment and system | |
WO2018107544A1 (en) | Intelligent device and household appliance | |
US11153387B2 (en) | Decentralized network protected IoT query resolution | |
CN107104950B (en) | Data acquisition, analysis encryption method and system in a kind of smart home | |
CN108718343A (en) | Remapping method, device, system, household electrical appliance and the server of household electrical appliances user group | |
CN112291222A (en) | A power edge computing security protection system and method | |
CN118695249A (en) | Wireless communication network information security protection system and method based on edge nodes | |
WO2020211251A1 (en) | Monitoring method and apparatus for operating system | |
CN111856961B (en) | Permission-based smart device control method, device and electronic device | |
CN110647734A (en) | Equipment unlocking method and device based on Internet of things operating system | |
CN104539599A (en) | Sense-free access authentication method and system | |
CN106657048A (en) | Improved smart home center control server | |
CN106936841A (en) | Safety protecting method and system in smart home | |
CN109743538A (en) | Monitor video checks control method | |
CN112600743A (en) | Method, device and system for acquiring device control authority and storage medium | |
US11068876B2 (en) | Securing of internet of things devices based on monitoring of information concerning device purchases |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20230428 |
|
CF01 | Termination of patent right due to non-payment of annual fee |