技术领域Technical Field
本发明涉及智能控制技术领域,尤其涉及一种智能家居集成系统。The present invention relates to the field of intelligent control technology, and in particular to an intelligent home integration system.
背景技术Background technique
随着智能家居设备的普及,用户常常面临着不同智能家居设备使用不同传输协议,使得用户在操作过程中需要处理不同的控制指令和通信方式的问题。用户需要在控制过程中使用多个软件或者操作设备来控制不同的智能家居设备,不同的情况给用户带来了不便,降低了智能家居系统的整体易用性。With the popularity of smart home devices, users often face the problem that different smart home devices use different transmission protocols, which requires users to handle different control instructions and communication methods during operation. Users need to use multiple software or operating devices to control different smart home devices during the control process, which brings inconvenience to users and reduces the overall usability of the smart home system.
现有技术中,解决不同传输协议问题的方法通常是通过各个设备提供的专有应用程序或者使用中央控制器,其中专有应用程序是为了操作和控制特定类型的智能家居设备而开发的应用程序,专有应用程序通常设计用于特定智能设备的硬件和通信协议,专有应用程序能提供设备的高级功能,例如定时控制、场景设置、远程监控等,但专有应用程序的界面通常会针对相应设备或品牌进行定制,用户需要为每个不同的智能设备安装相应的专有应用程序,导致设备管理繁琐,中央控制器是一个集成设备,能够控制多种智能家居设备,包括但不限于智能灯具、智能插座、智能摄像头、智能门锁等,中央控制器通过一个统一的操作系统,使用户能够方便地管理和控制所有连接到系统中的智能设备。但不同品牌和类型的设备可能使用不同的通信协议,限制了中央控制器的设备兼容性。使得中央控制器可能不支持所有设备。In the prior art, the method to solve the problem of different transmission protocols is usually through proprietary applications provided by each device or using a central controller, where proprietary applications are applications developed to operate and control specific types of smart home devices. Proprietary applications are usually designed for the hardware and communication protocols of specific smart devices. Proprietary applications can provide advanced functions of the device, such as timing control, scene setting, remote monitoring, etc., but the interface of proprietary applications is usually customized for the corresponding device or brand. Users need to install corresponding proprietary applications for each different smart device, resulting in cumbersome device management. The central controller is an integrated device that can control a variety of smart home devices, including but not limited to smart lamps, smart sockets, smart cameras, smart door locks, etc. The central controller uses a unified operating system to enable users to easily manage and control all smart devices connected to the system. However, devices of different brands and types may use different communication protocols, which limits the device compatibility of the central controller. This makes it possible for the central controller to not support all devices.
为此有必要提出一种能够识别并操控多种智能设备的智能家居集成系统来解决上述智能家居系统的整体易用性低的问题。Therefore, it is necessary to propose a smart home integration system that can identify and control a variety of smart devices to solve the problem of low overall usability of the above-mentioned smart home system.
发明内容Summary of the invention
有鉴于此,有必要针对上述问题,提出了一种智能家居集成系统方法In view of this, it is necessary to propose a smart home integration system method to address the above problems.
一种智能家居集成系统方法,所述方法包括:所述系统执行如下步骤:A smart home integration system method, the method comprising: the system executing the following steps:
接收用户端发送的控制指令;Receive control instructions sent by the user end;
解析所述控制指令,获得解析后的控制信息,依据所述解析后的控制信息及存储于存储单元的控制信号对应表,生成目标智能设备控制信号类型,其中,所述解析后的控制信息包括目标智能识别码及控制信号指令;Parse the control instruction to obtain parsed control information, and generate a target smart device control signal type according to the parsed control information and a control signal correspondence table stored in a storage unit, wherein the parsed control information includes a target smart device identification code and a control signal instruction;
依据所述目标智能设备控制信号类型将所述控制信号指令发送至目标智能设备。The control signal instruction is sent to the target smart device according to the control signal type of the target smart device.
在本申请的至少一个实施例中,所述接收用户发送的控制指令之前的步骤还包括:In at least one embodiment of the present application, the step before receiving the control instruction sent by the user also includes:
获取中继设备范围内所有智能设备的识别码及智能设备控制信号类型;Obtain the identification codes and control signal types of all smart devices within the range of the relay device;
依据所述智能设备的识别码及所述智能设备控制信号类型建立控制信号对应表;Establishing a control signal correspondence table according to the identification code of the smart device and the control signal type of the smart device;
将所述控制信号对应表存储于存储单元。The control signal correspondence table is stored in a storage unit.
在本申请的至少一个实施例中,所述依据所述目标智能设备控制信号类型将所述控制信号指令发送至目标智能设备之后的步骤还包括:In at least one embodiment of the present application, the step after sending the control signal instruction to the target smart device according to the control signal type of the target smart device further includes:
检测在预设时间内是否接收到目标智能设备发送的确认控制信号;Detecting whether a confirmation control signal sent by the target smart device is received within a preset time;
若接收到,则依据所述目标智能设备控制信号类型建立控制信号通道,以控制目标智能设备。If received, a control signal channel is established according to the control signal type of the target smart device to control the target smart device.
在本申请的至少一个实施例中,所述获取中继设备范围内所有智能设备的识别码及智能设备控制信号类型的具体步骤包括:In at least one embodiment of the present application, the specific steps of obtaining the identification codes of all smart devices within the range of the relay device and the types of smart device control signals include:
所述智能设备控制信号类型包括红外控制信号、蓝牙控制信号或WIFI控制信号;The smart device control signal type includes an infrared control signal, a Bluetooth control signal or a WIFI control signal;
解析所述智能设备控制信号类型,生成解析后的目标智能设备控制信号类型;Parsing the smart device control signal type to generate a parsed target smart device control signal type;
判断所述解析后的目标智能设备控制信号类型是否为红外控制信号;Determine whether the resolved target smart device control signal type is an infrared control signal;
若是,则通过红外发送控制器发送解析后的目标智能设备控制信号类型;If yes, the resolved target smart device control signal type is sent through the infrared sending controller;
若否,则判断所述解析后的目标智能设备控制信号类型是否为蓝牙控制信号,若是蓝牙控制信号,则通过蓝牙发送控制器发送解析后的目标智能设备控制信号类型。If not, it is determined whether the resolved target smart device control signal type is a Bluetooth control signal. If it is a Bluetooth control signal, the resolved target smart device control signal type is sent via a Bluetooth sending controller.
在本申请的至少一个实施例中,所述若否,则判断所述解析后的目标智能设备控制信号类型是否为蓝牙控制信号;In at least one embodiment of the present application, if not, determining whether the type of the resolved target smart device control signal is a Bluetooth control signal;
若是蓝牙控制信号,则通过蓝牙发送控制器发送解析后的目标智能设备控制信号类型还包括:If it is a Bluetooth control signal, the type of the target smart device control signal sent through the Bluetooth sending controller after parsing also includes:
若所述解析后的目标智能设备控制信号类型不是蓝牙控制信号;If the type of the resolved target smart device control signal is not a Bluetooth control signal;
则通过WIFI控制器发送解析后的目标智能设备控制信号类型。The parsed target smart device control signal type is sent through the WIFI controller.
在本申请的至少一个实施例中,所述步骤还包括:In at least one embodiment of the present application, the steps further include:
若未接收到,则生成异常信号,并发送至用户端。If not received, an abnormal signal is generated and sent to the user end.
在本申请的至少一个实施例中,所述解析所述控制指令,获得解析后的控制信息,依据所述解析后的控制信息及存储于存储单元的控制信号对应表,生成目标智能设备控制信号类型,其中,所述解析后的控制信息包括目标智能识别码及控制信号指令的具体步骤包括:In at least one embodiment of the present application, the control instruction is parsed to obtain the parsed control information, and the target smart device control signal type is generated according to the parsed control information and the control signal correspondence table stored in the storage unit, wherein the parsed control information includes the target smart device identification code and the control signal instruction. The specific steps include:
依据所述解析后的控制信息自所述控制信号对应表中,筛选目标智能识别码对应的智能设备的控制信号,依据所述对应的智能设备的控制信号将所述控制信号指令发送至目标智能设备。According to the parsed control information, the control signal of the smart device corresponding to the target smart identification code is selected from the control signal corresponding table, and the control signal instruction is sent to the target smart device according to the control signal of the corresponding smart device.
在本申请的至少一个实施例中,所述设备包括:In at least one embodiment of the present application, the device includes:
接收模块,用于接收用户端发送的控制指令;A receiving module, used for receiving control instructions sent by a user terminal;
解析模块,用于解析控制指令;A parsing module, used for parsing control instructions;
通信模块,依据目标智能设备控制信号类型将控制信号指令发送至目标智能设备;A communication module, which sends a control signal instruction to a target smart device according to the control signal type of the target smart device;
设备执行如下步骤:The device performs the following steps:
接收用户端发送的控制指令;Receive control instructions sent by the user end;
解析控制指令,获得解析后的控制信息,依据解析后的控制信息及存储于存储单元的控制信号对应表,生成目标智能设备控制信号类型,其中,解析后的控制信息包括目标智能识别码及控制信号指令;Parse the control instruction to obtain the parsed control information, and generate the target smart device control signal type according to the parsed control information and the control signal correspondence table stored in the storage unit, wherein the parsed control information includes the target smart device identification code and the control signal instruction;
依据目标智能设备控制信号类型将控制信号指令发送至目标智能设备。The control signal instruction is sent to the target smart device according to the control signal type of the target smart device.
在本申请的至少一个实施例中,所述设备还包括:In at least one embodiment of the present application, the device further includes:
对应表建立模块,依据获取到的智能设备的识别码及智能设备控制信号类型建立控制信号对应表。The corresponding table establishing module establishes a control signal corresponding table according to the acquired identification code of the smart device and the control signal type of the smart device.
在本申请的至少一个实施例中,所述设备还包括:In at least one embodiment of the present application, the device further includes:
检测模块,检测中继设备内是否接收到目标智能设备发送的确认控制信号。The detection module detects whether the relay device receives the confirmation control signal sent by the target intelligent device.
通过解析控制指令,获得解析目标智能识别码及控制信号指令,依据所述目标智能设备控制信号类型将所述控制信号指令发送至目标智能设备,可实现跨协议传输控制指令,使一种操作系统可以控制多种不同协议的智能家居设备,解决了智能家居系统的整体易用性低的问题。By parsing the control instructions, the target smart identification code and control signal instructions are obtained, and the control signal instructions are sent to the target smart device according to the control signal type of the target smart device. This allows cross-protocol transmission of control instructions, allowing one operating system to control smart home devices of multiple different protocols, solving the problem of low overall usability of the smart home system.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
其中:in:
图1为一个实施例中智能家居集成系统的流程图;FIG1 is a flow chart of a smart home integration system in one embodiment;
图2为一个实施例中智能家居集成系统的流程图;FIG2 is a flow chart of a smart home integration system in one embodiment;
图3为获取中继设备范围内所有智能设备的识别码及智能设备控制信号类型具体步骤的流程图;3 is a flowchart of the specific steps of obtaining the identification codes of all smart devices within the range of the relay device and the types of control signals of the smart devices;
图4为智能家居集成设备的结构示意图。FIG. 4 is a schematic diagram of the structure of a smart home integrated device.
图中:In the figure:
100、智能家居集成设备;1、接收模块;2、解析模块;3、通信模块;4、对应表建立模块;5、检测模块。100. Smart home integrated device; 1. Receiving module; 2. Parsing module; 3. Communication module; 4. Correspondence table building module; 5. Detection module.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
根据图1-图4,本申请的实施例提供一种智能家居集成系统,所述系统执行如下步骤:According to FIG. 1 to FIG. 4 , an embodiment of the present application provides a smart home integration system, and the system performs the following steps:
S101接收用户端发送的控制指令;S101 receives a control instruction sent by a user terminal;
S102解析所述控制指令,获得解析后的控制信息,依据所述解析后的控制信息及存储于存储单元的控制信号对应表,生成目标智能设备控制信号类型,其中,所述解析后的控制信息包括目标智能识别码及控制信号指令;S102 parses the control instruction to obtain parsed control information, and generates a target smart device control signal type according to the parsed control information and a control signal correspondence table stored in a storage unit, wherein the parsed control information includes a target smart device identification code and a control signal instruction;
S103依据所述目标智能设备控制信号类型将所述控制信号指令发送至目标智能设备。S103 sends the control signal instruction to the target smart device according to the control signal type of the target smart device.
具体地,控制指令是用户通过智能家居系统的用户端发送的一种命令,用以操作智能家居系统中的各种智能设备。控制指令可以涵盖多种形式,包括但不限于文字、语音、图形等形式。例如,用户可以通过智能手机应用程序发送文字类型的控制指令,通过语音助手发送语音类型的控制指令,或者通过图形界面发送图形类型的控制指令。控制指令的目的是告知系统用户想要目标智能设备实现的具体操作,解析后的控制信息是从用户端发送的控制指令中提取的关键数据,包括目标智能设备的识别码和控制信号指令,其中目标智能设备的识别码能够在控制信号对应表中查找到用户希望控制的智能设备的智能设备的识别码,控制信号指令为对该设备的具体控制指令,控制信号对应表是一个记录了智能设备识别码与相应控制信号类型之间对应关系的数据结构,表格中的每一行表示一个智能设备,包含该智能设备的识别码和与之对应的控制信号类型。目标智能设备控制信号类型表示用户期望对某个具体设备执行的操作类型,例如打开、关闭、调节亮度等。这是系统根据用户控制指令生成的实际设备操作信号类型。Specifically, a control instruction is a command sent by a user through the user end of a smart home system to operate various smart devices in the smart home system. Control instructions can include a variety of forms, including but not limited to text, voice, graphics, etc. For example, a user can send a text-type control instruction through a smartphone application, send a voice-type control instruction through a voice assistant, or send a graphic-type control instruction through a graphical interface. The purpose of the control instruction is to inform the system of the specific operation that the user wants the target smart device to implement. The parsed control information is the key data extracted from the control instruction sent by the user end, including the identification code of the target smart device and the control signal instruction, wherein the identification code of the target smart device can find the identification code of the smart device that the user wants to control in the control signal correspondence table, and the control signal instruction is a specific control instruction for the device. The control signal correspondence table is a data structure that records the correspondence between the identification code of the smart device and the corresponding control signal type. Each row in the table represents a smart device, including the identification code of the smart device and the corresponding control signal type. The target smart device control signal type indicates the type of operation that the user expects to perform on a specific device, such as turning on, off, adjusting the brightness, etc. This is the actual device operation signal type generated by the system according to the user control instruction.
进一步地,当系统接收到用户的控制指令后,首先进行解析,提取出目标智能识别码和控制信号指令。其中目标智能识别码被用来在控制信号对应表中查找对应的智能设备的识别码,以获取该智能设备对应的智能设备控制信号类型。控制信号对应表的匹配结果被用来生成目标智能设备控制信号类型,即实际的设备操作信号。生成的目标智能设备控制信号类型将控制信号指令发送至目标智能设备,实际控制智能设备执行相应的操作。Furthermore, when the system receives the control instruction from the user, it first parses it to extract the target smart identification code and the control signal instruction. The target smart identification code is used to find the identification code of the corresponding smart device in the control signal correspondence table to obtain the smart device control signal type corresponding to the smart device. The matching result of the control signal correspondence table is used to generate the target smart device control signal type, that is, the actual device operation signal. The generated target smart device control signal type sends the control signal instruction to the target smart device, and actually controls the smart device to perform the corresponding operation.
在一具体实例中,S104获取中继设备范围内所有智能设备的识别码及智能设备控制信号类型;In a specific example, S104 obtains identification codes of all smart devices within the range of the relay device and types of smart device control signals;
S105依据所述智能设备的识别码及所述智能设备控制信号类型建立控制信号对应表;S105 establishes a control signal correspondence table according to the identification code of the smart device and the control signal type of the smart device;
S106将所述控制信号对应表存储于存储单元。S106: Store the control signal correspondence table in a storage unit.
具体地,中继设备是一种具有信号中继功能的设备,中继设备范围是指中继设备所能够覆盖的具体区域或距离范围。这个范围可以是一个房间、一个楼层,或者整个家庭,取决于中继设备的性能和设计。而智能设备的识别码是一个唯一标识符,用于在整个智能家居系统中区分不同的设备。每个智能设备都有一个独特的识别码,类似于设备的身份证号码,通过智能设备的识别码,智能家居系统能够准确地识别、定位和区分每个智能设备。智能设备的识别码使系统能够将特定的控制操作精确地应用到用户所期望的智能设备上。智能设备控制信号类型是描述用户能够在智能设备上执行的具体操作类型的信息。智能设备控制信号类型通常以标准化的形式表示,以确保系统能够理解并正确执行用户的意图,智能设备控制信号类型告诉系统智能设备应该执行的具体操作,例如打开、关闭、调整亮度等。用户能够通过控制指令传达给系统操作指示。智能设备的识别码与智能设备控制信号类型之间存在一一对应的关系,即每个智能设备的识别码都对应着一组可以执行的智能设备控制信号类型。当系统接收到用户的控制指令后,通过解析获取到目标智能识别码,然后根据目标智能识别码查找控制信号对应表,得到与该智能设备关联的智能设备控制信号类型,最终执行用户所期望的智能设备操作,这两个信息的正确解析和匹配,使得系统能够准确地理解用户的控制意图,并将其转化为实际的设备操作,从而实现智能家居系统的自动化和便捷控制。Specifically, a relay device is a device with a signal relay function, and the relay device range refers to the specific area or distance range that the relay device can cover. This range can be a room, a floor, or the entire home, depending on the performance and design of the relay device. The identification code of the smart device is a unique identifier used to distinguish different devices in the entire smart home system. Each smart device has a unique identification code, similar to the ID number of the device. Through the identification code of the smart device, the smart home system can accurately identify, locate and distinguish each smart device. The identification code of the smart device enables the system to accurately apply specific control operations to the smart device desired by the user. The smart device control signal type is information that describes the specific type of operation that the user can perform on the smart device. The smart device control signal type is usually expressed in a standardized form to ensure that the system can understand and correctly execute the user's intention. The smart device control signal type tells the system the specific operation that the smart device should perform, such as turning on, off, adjusting the brightness, etc. The user can convey the operation instructions to the system through control instructions. There is a one-to-one correspondence between the identification code of the smart device and the smart device control signal type, that is, each smart device identification code corresponds to a set of executable smart device control signal types. When the system receives the user's control command, it obtains the target smart identification code through analysis, and then searches the control signal correspondence table according to the target smart identification code to obtain the smart device control signal type associated with the smart device, and finally executes the smart device operation expected by the user. The correct analysis and matching of these two information enables the system to accurately understand the user's control intentions and convert them into actual device operations, thereby realizing the automation and convenient control of the smart home system.
在一具体实例中,所述依据所述目标智能设备控制信号类型将所述控制信号指令发送至目标智能设备之后的步骤还包括:In a specific example, the step after sending the control signal instruction to the target smart device according to the control signal type of the target smart device further includes:
S107检测在预设时间内是否接收到目标智能设备发送的确认控制信号;S107 detects whether a confirmation control signal sent by the target smart device is received within a preset time;
S108若接收到,则依据所述目标智能设备控制信号类型建立控制信号通道,以控制目标智能设备。S108: If received, a control signal channel is established according to the control signal type of the target smart device to control the target smart device.
具体地,确认控制信号通常在目标智能设备接收到系统发送的控制信号并成功执行了相应的操作后触发。控制信号通道是系统用来向智能设备发送控制信号指令并接收确认控制信号的双向通信通道。当系统接收到用户的控制指令并解析后,生成了目标智能设备的控制信号类型,系统通过控制信号通道向目标设备发送控制信号指令。在控制信号指令发送后,系统开始等待在预设时间内接收目标设备发送的确认控制信号。如果目标设备成功执行了相应的操作,它会发送确认控制信号。根据目标智能设备的控制信号类型,系统会选择合适的通信方式和协议来建立控制信号通道。Specifically, the confirmation control signal is usually triggered after the target smart device receives the control signal sent by the system and successfully performs the corresponding operation. The control signal channel is a two-way communication channel used by the system to send control signal instructions to smart devices and receive confirmation control signals. When the system receives and parses the user's control instruction, it generates the control signal type of the target smart device, and the system sends the control signal instruction to the target device through the control signal channel. After the control signal instruction is sent, the system starts waiting to receive the confirmation control signal sent by the target device within a preset time. If the target device successfully performs the corresponding operation, it will send a confirmation control signal. According to the control signal type of the target smart device, the system will select the appropriate communication method and protocol to establish the control signal channel.
在一具体实例中,所述获取中继设备范围内所有智能设备的识别码及智能设备控制信号类型的具体步骤包括:In a specific example, the specific steps of obtaining the identification codes of all smart devices within the range of the relay device and the types of smart device control signals include:
所述智能设备控制信号类型包括红外控制信号、蓝牙控制信号或WIFI控制信号;The smart device control signal type includes an infrared control signal, a Bluetooth control signal or a WIFI control signal;
S109解析所述智能设备控制信号类型,生成解析后的目标智能设备控制信号类型;S109 parses the smart device control signal type to generate a parsed target smart device control signal type;
S110判断所述解析后的目标智能设备控制信号类型是否为红外控制信号;S110 determines whether the type of the analyzed target smart device control signal is an infrared control signal;
S111若是,则通过红外发送控制器发送解析后的目标智能设备控制信号类型;S111: If yes, send the resolved target smart device control signal type through the infrared sending controller;
S112若否,则判断所述解析后的目标智能设备控制信号类型是否为蓝牙控制信号;If not, then determining whether the resolved target smart device control signal type is a Bluetooth control signal;
S113若是蓝牙控制信号,则通过蓝牙发送控制器发送解析后的目标智能设备控制信号类型。If it is a Bluetooth control signal, then the analyzed control signal type of the target smart device is sent via the Bluetooth sending controller.
具体地,红外控制信号是通过红外线传输信息的一种方式。红外传感器在发射器和接收器之间传递红外线,红外线携带着特定的编码信息。红外控制常用于家庭影音设备(如电视、音响、空调等),遥控器通常发送红外信号来控制这些设备的功能。蓝牙是一种短距离无线通信技术,用于在智能设备之间进行数据传输。蓝牙控制信号通过蓝牙通信协议实现,可以直接连接到支持蓝牙的智能设备。蓝牙控制广泛应用于智能设备,例如智能灯具、音箱、智能门锁等。用户可以通过智能手机或其他蓝牙设备发送控制指令。Wi-Fi(无线局域网)是一种广泛应用于无线通信的技术,适用于长距离、高速数据传输。Wi-Fi控制信号通过Wi-Fi网络传输,连接到支持Wi-Fi的智能设备。Wi-Fi控制信号常见于智能家居系统中的各种智能设备,包括智能插座、摄像头、智能家居中控系统等。用户可以通过Wi-Fi网络远程控制这些智能设备。Specifically, infrared control signals are a way of transmitting information through infrared rays. Infrared sensors transmit infrared rays between transmitters and receivers, and infrared rays carry specific coded information. Infrared control is commonly used in home audio and video equipment (such as TVs, stereos, air conditioners, etc.), and remote controls usually send infrared signals to control the functions of these devices. Bluetooth is a short-range wireless communication technology used for data transmission between smart devices. Bluetooth control signals are implemented through the Bluetooth communication protocol and can be directly connected to smart devices that support Bluetooth. Bluetooth control is widely used in smart devices, such as smart lamps, speakers, smart door locks, etc. Users can send control instructions through smartphones or other Bluetooth devices. Wi-Fi (Wireless Local Area Network) is a technology widely used in wireless communications, suitable for long-distance, high-speed data transmission. Wi-Fi control signals are transmitted through Wi-Fi networks and connected to smart devices that support Wi-Fi. Wi-Fi control signals are common in various smart devices in smart home systems, including smart sockets, cameras, smart home central control systems, etc. Users can remotely control these smart devices through Wi-Fi networks.
中继设备通过扫描其范围内的智能设备,对于每个智能设备,中继设备获取其唯一的智能设备的识别码,用于标识设备的身份。智能设备的识别码可以是设备的MAC地址、序列号或其他唯一标识。中继设备还获取每个智能设备支持的控制信号类型,这可以是红外控制信号、蓝牙控制信号或Wi-Fi控制信号等。The relay device scans the smart devices within its range. For each smart device, the relay device obtains its unique smart device identification code to identify the device. The smart device identification code can be the device's MAC address, serial number or other unique identifier. The relay device also obtains the control signal type supported by each smart device, which can be an infrared control signal, a Bluetooth control signal or a Wi-Fi control signal.
进一步地,在获取到目标智能设备控制信号类型后,系统进行条件判断,判断该类型是否为红外控制信号。如果判断结果为是,即目标设备支持红外控制信号,系统将红外控制信号以特定频率和编码发送到目标设备,如果红外控制信号判断结果为否,系统进入下一个条件判断阶段,判断解析后的目标设备控制信号类型是否为蓝牙控制信号。如果判断结果为是,说明目标设备支持蓝牙控制信号。系统接着通过蓝牙发送控制器发送控制信号指令。Furthermore, after obtaining the control signal type of the target smart device, the system performs a conditional judgment to determine whether the type is an infrared control signal. If the judgment result is yes, that is, the target device supports infrared control signals, the system sends the infrared control signal to the target device at a specific frequency and encoding. If the infrared control signal judgment result is no, the system enters the next conditional judgment stage to determine whether the resolved target device control signal type is a Bluetooth control signal. If the judgment result is yes, it means that the target device supports Bluetooth control signals. The system then sends a control signal instruction through the Bluetooth sending controller.
在一具体实例中,所述若否,则判断所述解析后的目标智能设备控制信号类型是否为蓝牙控制信号,若是蓝牙控制信号,则通过蓝牙发送控制器发送解析后的目标智能设备控制信号类型还包括:In a specific example, if not, determining whether the resolved target smart device control signal type is a Bluetooth control signal, and if it is a Bluetooth control signal, sending the resolved target smart device control signal type through the Bluetooth sending controller also includes:
S114若所述解析后的目标智能设备控制信号类型不是蓝牙控制信号;S114: if the type of the resolved target smart device control signal is not a Bluetooth control signal;
S115则通过WIFI控制器发送解析后的目标智能设备控制信号类型。S115 sends the parsed target smart device control signal type through the WIFI controller.
具体地,如果判断结果为否,说明目标设备不支持蓝牙控制信号,系统将直接通过Wi-Fi控制器发送解析后的目标智能设备控制信号类型,用于通过Wi-Fi网络与目标设备建立连接并发送控制信号指令。Specifically, if the judgment result is no, it means that the target device does not support Bluetooth control signals. The system will directly send the parsed target smart device control signal type through the Wi-Fi controller to establish a connection with the target device through the Wi-Fi network and send control signal instructions.
在一具体实例中,所述步骤还包括:In a specific example, the steps further include:
S116若未接收到,则生成异常信号,并发送至用户端。If not received, S116 generates an abnormal signal and sends it to the user end.
具体地,"异常信号"是指在智能家居集成系统中,当系统在预定时间内未能收到目标智能设备发送的确认控制信号时,系统生成并发送给用户端的一种信号。异常信号通常用于向用户或系统管理员报告错误、故障或其他不正常的情况,以便采取进一步的处理措施。Specifically, "abnormal signal" refers to a signal generated and sent to the user end by the system when the system fails to receive the confirmation control signal sent by the target smart device within a predetermined time in the smart home integration system. Abnormal signals are usually used to report errors, failures or other abnormal situations to users or system administrators so that further processing measures can be taken.
在一具体实例中,所述解析所述控制指令,获得解析后的控制信息,依据所述解析后的控制信息及存储于存储单元的控制信号对应表,生成目标智能设备控制信号类型,其中,所述解析后的控制信息包括目标智能识别码及控制信号指令的具体步骤包括:In a specific example, the control instruction is parsed to obtain the parsed control information, and the target smart device control signal type is generated according to the parsed control information and the control signal correspondence table stored in the storage unit, wherein the parsed control information includes the target smart device identification code and the control signal instruction. The specific steps include:
S117依据所述解析后的控制信息自所述控制信号对应表中,筛选目标智能识别码对应的智能设备的控制信号;S117 selects the control signal of the smart device corresponding to the target smart identification code from the control signal corresponding table according to the parsed control information;
依据所述对应的智能设备的控制信号将所述控制信号指令发送至目标智能设备。The control signal instruction is sent to the target smart device according to the control signal of the corresponding smart device.
具体地,在智能家居系统中,控制信号是一个指令或数据包,用于指导智能设备执行特定的操作,例如打开灯、调节温度、播放音乐等,控制信号的形式可以是数字命令或指定的数据包,具体取决于智能设备和通信方式。控制信号对应表是系统内部的一份记录,其中包含了每个智能设备可能接收到的控制信号以及与之相对应的操作指令。该表建立了控制信号与实际设备操作之间的映射关系,确保系统知道如何解释和执行特定的控制信号。当系统接收到用户端发送的控制指令时,它会通过解析过程获得解析后的控制信息,其中包括目标智能识别码及控制信号指令。接下来,系统将使用控制信号对应表,从中检索目标设备的控制信号对应的操作指令,生成控制信号指令发送至智能设备。Specifically, in a smart home system, a control signal is an instruction or data packet that instructs a smart device to perform a specific operation, such as turning on a light, adjusting the temperature, playing music, etc. The control signal can be in the form of a digital command or a specified data packet, depending on the smart device and the communication method. The control signal correspondence table is a record inside the system that contains the control signals that each smart device may receive and the corresponding operation instructions. The table establishes a mapping relationship between the control signal and the actual device operation, ensuring that the system knows how to interpret and execute a specific control signal. When the system receives a control instruction sent by the user end, it obtains the parsed control information through a parsing process, including the target smart identification code and the control signal instruction. Next, the system will use the control signal correspondence table to retrieve the operation instruction corresponding to the control signal of the target device, generate a control signal instruction and send it to the smart device.
在一具体实例中,所述设备包括:In one specific example, the device comprises:
接收模块1,用于接收用户端发送的控制指令;Receiving module 1, used for receiving control instructions sent by the user end;
解析模块2,用于解析控制指令;Parsing module 2, used for parsing control instructions;
通信模块3,依据目标智能设备控制信号类型将控制信号指令发送至目标智能设备;Communication module 3, sending the control signal instruction to the target smart device according to the control signal type of the target smart device;
设备执行如下步骤:The device performs the following steps:
接收用户端发送的控制指令;Receive control instructions sent by the user end;
解析控制指令,获得解析后的控制信息,依据解析后的控制信息及存储于存储单元的控制信号对应表,生成目标智能设备控制信号类型,其中,解析后的控制信息包括目标智能识别码及控制信号指令;Parse the control instruction to obtain the parsed control information, and generate the target smart device control signal type according to the parsed control information and the control signal correspondence table stored in the storage unit, wherein the parsed control information includes the target smart device identification code and the control signal instruction;
依据目标智能设备控制信号类型将控制信号指令发送至目标智能设备。The control signal instruction is sent to the target smart device according to the control signal type of the target smart device.
具体地,接收模块1负责接收用户端发送的控制指令,如通过遥控器、手机应用或语音命令发送的控制指令。解析模块2用于解析接收到的控制指令,对控制指令进行解码,将控制指令转化为目标智能识别码及控制信号指令。通信模块3根据目标智能设备的控制信号类型,将解析后的控制信号指令发送至目标智能设备。Specifically, the receiving module 1 is responsible for receiving control instructions sent by the user end, such as control instructions sent by a remote control, a mobile phone application or a voice command. The parsing module 2 is used to parse the received control instructions, decode the control instructions, and convert the control instructions into a target smart identification code and a control signal instruction. The communication module 3 sends the parsed control signal instruction to the target smart device according to the control signal type of the target smart device.
在一具体实例中,所述设备还包括:In a specific example, the device further includes:
对应表建立模块4,依据获取到的智能设备的识别码及智能设备控制信号类型建立控制信号对应表。The corresponding table establishing module 4 establishes a control signal corresponding table according to the acquired identification code of the smart device and the control signal type of the smart device.
具体地,对应表建立模块4通过中继设备的扫描功能,获取智能设备的识别码及支持的控制信号类型。对应表建立模块4根据获取到的信息,建立数据结构,将每个智能设备的识别码与其支持的控制信号类型进行映射,以建立控制信号对应表。建立后的控制信号对应表被存储在系统的存储单元中,例如数据库、内存或其他持久化存储介质。Specifically, the correspondence table establishment module 4 obtains the identification code of the smart device and the control signal type supported by the relay device through the scanning function. The correspondence table establishment module 4 establishes a data structure based on the acquired information, maps the identification code of each smart device with the control signal type supported by it, so as to establish a control signal correspondence table. The established control signal correspondence table is stored in a storage unit of the system, such as a database, memory or other persistent storage medium.
在一具体实例中,所述设备还包括:In a specific example, the device further includes:
检测模块5,检测中继设备内是否接收到目标智能设备发送的确认控制信号。The detection module 5 detects whether the relay device receives the confirmation control signal sent by the target smart device.
具体地,检测模块5是智能家居系统中的一个模块,其主要功能是检测在预设时间内是否接收到目标智能设备发送的确认控制信号,预设时间是一个事先设定的时间段,系统期望在这个时间段内接收到来自目标智能设备的确认信号,如果在预设时间内成功接收到了目标智能设备发送的确认控制信号,则检测模块5不会触发异常处理功能。如果在预设时间内未接收到确认信号,检测模块5会触发异常处理功能,生成异常信号发送至用户端通知用户或系统管理员。Specifically, the detection module 5 is a module in the smart home system, and its main function is to detect whether the confirmation control signal sent by the target smart device is received within the preset time. The preset time is a pre-set time period, and the system expects to receive the confirmation signal from the target smart device within this time period. If the confirmation control signal sent by the target smart device is successfully received within the preset time, the detection module 5 will not trigger the exception handling function. If the confirmation signal is not received within the preset time, the detection module 5 will trigger the exception handling function, generate an exception signal and send it to the user end to notify the user or system administrator.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410035709.9ACN117850260A (en) | 2024-01-08 | 2024-01-08 | Smart home integration system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410035709.9ACN117850260A (en) | 2024-01-08 | 2024-01-08 | Smart home integration system |
| Publication Number | Publication Date |
|---|---|
| CN117850260Atrue CN117850260A (en) | 2024-04-09 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410035709.9APendingCN117850260A (en) | 2024-01-08 | 2024-01-08 | Smart home integration system |
| Country | Link |
|---|---|
| CN (1) | CN117850260A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119644785A (en)* | 2025-01-09 | 2025-03-18 | 珠海格力电器股份有限公司 | Cross-platform intelligent home control method, device, equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105807617A (en)* | 2014-12-30 | 2016-07-27 | 西安Tcl软件开发有限公司 | Control method and control device for intelligent household devices |
| CN106683674A (en)* | 2017-01-16 | 2017-05-17 | 西安电子科技大学 | System and method for controlling intelligent home by aid of voice |
| CN107608225A (en)* | 2017-09-29 | 2018-01-19 | 深圳市艾特智能科技有限公司 | Control method, system, storage medium and the computer equipment of intelligent home device |
| CN107908115A (en)* | 2017-10-20 | 2018-04-13 | 深圳市艾特智能科技有限公司 | Intelligent home equipment control method, device, mobile terminal and storage medium |
| CN109634132A (en)* | 2019-01-03 | 2019-04-16 | 深圳壹账通智能科技有限公司 | Smart home management method, device, medium and electronic equipment |
| CN110618614A (en)* | 2019-09-25 | 2019-12-27 | 北京爱接力科技发展有限公司 | Control method and device for smart home, storage medium and robot |
| CN117319106A (en)* | 2022-06-21 | 2023-12-29 | 珠海格力电器股份有限公司 | Virtual gateway management method, device and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105807617A (en)* | 2014-12-30 | 2016-07-27 | 西安Tcl软件开发有限公司 | Control method and control device for intelligent household devices |
| CN106683674A (en)* | 2017-01-16 | 2017-05-17 | 西安电子科技大学 | System and method for controlling intelligent home by aid of voice |
| CN107608225A (en)* | 2017-09-29 | 2018-01-19 | 深圳市艾特智能科技有限公司 | Control method, system, storage medium and the computer equipment of intelligent home device |
| CN107908115A (en)* | 2017-10-20 | 2018-04-13 | 深圳市艾特智能科技有限公司 | Intelligent home equipment control method, device, mobile terminal and storage medium |
| CN109634132A (en)* | 2019-01-03 | 2019-04-16 | 深圳壹账通智能科技有限公司 | Smart home management method, device, medium and electronic equipment |
| CN110618614A (en)* | 2019-09-25 | 2019-12-27 | 北京爱接力科技发展有限公司 | Control method and device for smart home, storage medium and robot |
| CN117319106A (en)* | 2022-06-21 | 2023-12-29 | 珠海格力电器股份有限公司 | Virtual gateway management method, device and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119644785A (en)* | 2025-01-09 | 2025-03-18 | 珠海格力电器股份有限公司 | Cross-platform intelligent home control method, device, equipment and storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN107483715B (en) | Method and system for communication between terminal and equipment, terminal and storage medium | |
| DK3119101T3 (en) | COUPLING OF WIRELESS DEVICES | |
| EP3934294B1 (en) | Method and electronic device for enabling connection establishment in a wireless communication system | |
| EP1603289B1 (en) | Communication system, communication terminal, and communication method | |
| US9204470B2 (en) | Method for a wireless target device to automatically connect to a target network, wireless network system with automatic network setting ability, and wireless target device thereof | |
| CN106385661B (en) | Pairing request, pairing response method and pairing request, pairing response terminal | |
| CN104348524A (en) | Binding method, center equipment and peripheral equipment | |
| CN105554694B (en) | Utilize the method for bluetooth Beacon Broadcasting Control blue-tooth intelligence equipment | |
| CN111161522B (en) | Method for processing remote control data, storage medium, computer device and remote control system | |
| CN103944983A (en) | Error correction method and system for voice control instruction | |
| CN111988471B (en) | Wireless phone system, wireless communication method and readable storage medium | |
| CN111915870A (en) | Method, device, television and storage medium for adding remote control code value by voice | |
| CN117850260A (en) | Smart home integration system | |
| CN103337144B (en) | Wireless network-based intelligent remote control method and wireless network-based terminal | |
| CN113970171A (en) | Method for starting distribution network mode of air conditioner and control terminal | |
| US6771164B1 (en) | Automatic identification of local devices | |
| KR20210080005A (en) | Remote Controller and Set Top Box with Auto Pairing | |
| CN108235830B (en) | A wireless pairing system and pairing method | |
| CN111212312B (en) | Method, device and remote control system for realizing equipment control based on remote controller | |
| CN106781378A (en) | Information matching method, information configuration method of remote controller and corresponding devices | |
| CN112435457B (en) | Control system based on remote controller | |
| CN111132160B (en) | Route management method, terminal access method and wireless access system | |
| JP3854273B2 (en) | Apparatus and method for setting communication packet | |
| KR20210018387A (en) | Method and apparatus for registering wireless device in wireless communication system | |
| CN106255104A (en) | A kind of smart machine Auto-reconnect method and apparatus |
| 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 |