WO2020034604A1 - 基于智能家居设备的 wifi 信号中继方法、系统及计算机设备 - Google Patents
基于智能家居设备的 wifi 信号中继方法、系统及计算机设备 Download PDFInfo
- Publication number
- WO2020034604A1 WO2020034604A1 PCT/CN2019/073756 CN2019073756W WO2020034604A1 WO 2020034604 A1 WO2020034604 A1 WO 2020034604A1 CN 2019073756 W CN2019073756 W CN 2019073756W WO 2020034604 A1 WO2020034604 A1 WO 2020034604A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- smart home
- home device
- mode
- sta
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Definitions
- the present application relates to the field of communication technologies, and in particular, to a WIFI signal relay method, system, and computer device based on a smart home device.
- WIFI-based Internet of Things is widely used in the field of smart homes.
- WIFI smart home devices generally work in STA mode. They first connect to the router through WIFI, and then connect the router. Go to the Internet to achieve communication with remote servers. Users can control WIFI smart home devices across the Internet through network-connectable terminal devices (such as smartphones, computers, and PADs). In thicker or more situations, the problem of WIFI coverage blind spots is prone to cause WIFI smart home equipment and terminal equipment to fail to access the Internet through WIFI signals, which reduces the user experience.
- the main purpose of this application is to provide a WIFI signal relay method, system and computer equipment based on smart home equipment.
- This application can implement the smart home equipment's WIFI signal relay function, expand the coverage of WIFI signals, and solve the problem. It solves the problem of WIFI coverage blind spots and improves the user experience.
- This application proposes a WIFI signal relay method based on a smart home device.
- the smart home device has a built-in WIFI SOC that supports STA mode and AP mode.
- the method includes:
- the step of relaying the first information through the analysis function of the WIFI SOC to generate the second information in the corresponding AP mode includes:
- the second information in the corresponding AP mode is generated according to the relay extension instruction in the instruction information.
- the method further includes:
- the smart home device is controlled to perform a specified operation according to a control instruction in the instruction information.
- the method further includes:
- IP address information is consistent with the preset IP address, obtain status information of the smart home device according to the status acquisition instruction in the instruction information;
- the foregoing WIFI signal relay method based on a smart home device further includes:
- the step of detecting whether the smart home device meets a preset standby condition includes:
- the step of detecting whether the smart home device meets a preset standby condition includes:
- This application also proposes a WIFI signal relay system based on smart home equipment, including:
- An STA communication module configured to obtain first information of an AP router in the STA mode
- the STA analysis module is configured to relay expand the first information through the analysis function of the WIFI SOC to generate the second information in the corresponding AP mode;
- the AP communication module is configured to transmit the second information to the STA device terminal in the AP mode.
- the STA analysis module includes:
- a parsing unit configured to parse the first information to obtain IP address information and instruction information
- a judging unit configured to judge whether the IP address information is consistent with a preset IP address
- the generating unit is configured to generate the second information in the corresponding AP mode according to the relay extension instruction in the instruction information when the IP address information is inconsistent with the preset IP address.
- the STA analysis module further includes:
- the control unit is configured to control the smart home device to perform a specified operation when the IP address information is consistent with a preset IP address.
- the STA analysis module further includes:
- a state acquisition unit configured to obtain state information of the smart home device according to the state acquisition instruction in the instruction information when the IP address information is consistent with the preset IP address;
- An upload unit is used to upload status information to a remote server.
- the foregoing WIFI signal relay system based on a smart home device further includes:
- a detection module for detecting whether a smart home device meets a preset standby condition
- the standby module is used to control the smart home device to enter a standby mode when the smart home device meets a preset standby condition.
- the detection module includes:
- a first detection unit configured to detect whether the second information has been transmitted to the STA device terminal in the AP mode
- the first determining unit is configured to determine that the smart home device meets a preset standby condition when the second information has been transmitted to the STA device terminal in the AP mode.
- the detection module includes:
- a second detection unit configured to detect whether status information has been uploaded to a remote server
- the second determining unit is configured to determine that the smart home device meets a preset standby condition when the status information has been uploaded to the remote server.
- the present application also proposes a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor.
- the processor executes the computer program, the aforementioned smart home-based smart home is implemented. WIFI signal relay method of the device.
- the present application has the beneficial effect that by adding a WIFI SOC with a parsing function to the smart home device, the present application enables the smart home device to work in STA mode and AP mode at the same time.
- the relay extension of the first information to the second information in the AP mode thereby realizing the relay function of the WIFI signal by the smart home device, expanding the coverage of the WIFI signal, solving the problem of the blind area of WIFI coverage, and improving the user ’s Use experience.
- FIG. 1 is a schematic flowchart of a WIFI signal relay method based on a smart home device according to an embodiment of the present application
- FIG. 2 is a schematic structural diagram of a WIFI signal relay system based on a smart home device according to an embodiment of the present application
- FIG. 3 is a schematic structural diagram of a STA analysis module in FIG. 2;
- FIG. 4 is a schematic structural diagram of a WIFI signal relay system based on a smart home device according to another embodiment of the present application.
- FIG. 5 is a schematic diagram of a specific structure of the detection module in FIG. 4;
- FIG. 6 is an application schematic diagram of a WIFI signal relay system based on a smart home device according to an embodiment of the present application
- FIG. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
- the smart home device described in the embodiments of the present application may be any smart home appliance with WIFI function, such as a smart socket, a smart air conditioner, a smart washing machine, a smart fan, a smart light bulb, and the like, which are not specifically limited.
- an embodiment of the present application provides a WIFI signal relay method based on a smart home device.
- the smart home device has a built-in WIFI SOC that supports STA mode and AP mode.
- the method includes the following steps:
- Step S11 Obtain first information of the AP router in the STA mode
- Step S12 The first information is relay-extended by the WIFI SOC analysis function to generate second information in the corresponding AP mode.
- Step S13 Pass the second information to the STA device terminal in the AP mode.
- WIFI SOC System on Chip
- WIFI SOC System on Chip
- a dedicated target realization of the Internet of Things through WIFI
- WIFI Internet of Things
- Its built-in embedded multi-tasking operating system passes Messages and other mechanisms can implement the scheduling and switching of various tasks, which can be understood by those skilled in the art, which will not be repeated here.
- the WIFI SOC can support the STA + AP mode, so the smart home device can work in the STA (Station, Workstation) mode and the AP (Access Point, wireless access) simultaneously. Access point) mode.
- STA mode smart home devices can accept access from external AP devices, such as AP routers.
- AP mode smart home devices can accept access from STA external devices, such as mobile phones and computers.
- STA + AP mode STA mode and AP mode are independent of each other and do not affect each other. Therefore, AP external devices and STA external devices can be connected to the smart home device at the same time.
- step S12 by adding a parsing function in the WIFI SOC, the first information obtained in the STA mode can be extended through the relay to generate the corresponding second information in the AP mode, thereby achieving the first information from the STA mode.
- Relay extension from one message to the second message in AP mode.
- the process of transmitting the second information (also in the form of a data packet) to the STA device terminal in the AP mode is actually the process of the WIFI signal being forwarded, that is, the smart home device will send the WIFI signal from the AP router Forwarding so that the STA device terminal can receive the WIFI signal. Since the smart home device can work in STA mode and AP mode at the same time, while forwarding the WIFI signal from the AP router to the STA external device, the smart home device is also Receiving relevant information (in the form of data packets) from external devices of the STA and forwarding it to the AP router, thereby realizing the smart home device's relay function of WIFI signals.
- the smart home device-based WIFI signal relay method is implemented by adding a WIFI with a parsing function to the smart home device.
- SOC enables smart home devices to work in STA mode and AP mode at the same time, realizing the relay extension from the first information in STA mode to the second information in AP mode, thereby realizing the smart home device's WIFI signal
- the relay function expands the coverage of WIFI signals, solves the problem of WIFI coverage blind spots, and improves the user experience.
- step S12 specifically includes:
- Step S121 parse the first information to obtain IP address information and instruction information
- Step S122 determining whether the IP address information is consistent with the preset IP address
- step S123 is executed to generate the second information in the corresponding AP mode according to the relay extension instruction in the instruction information.
- the obtained first information is parsed first to obtain the data encapsulated in the first information.
- the data includes IP address information and instruction information.
- the IP address information can be used to directly understand the first information. Source for subsequent comparison with the preset IP address. After comparing the IP address information with the preset IP address, you can quickly and accurately perform related operations through the command information.
- the preset IP address is the IP address of the remote server.
- the IP address information is consistent with the preset IP address, it indicates that the first information comes from the remote server, and the instruction information carries the relevant information from the remote server. Instruction; and when the IP address information is not consistent with the preset IP address, it indicates that the first information does not originate from the remote server, but from the AP router itself. At this time, the instruction information does not carry relevant instructions from the remote server.
- step S123 when the IP address information is inconsistent with the preset IP address, it indicates that the first information does not originate from the remote server but from the AP router itself, and the instruction information includes a relay set in the AP router in advance. Extension instruction.
- the corresponding second information in the AP mode is generated according to the relay extension instruction in the instruction information, so as to implement the relay extension from the first information in the STA mode to the second information in the AP mode for subsequent Pass the second information to the STA device terminal in the AP mode to implement the relay function of the WIFI signal.
- the method further includes:
- step S124 is performed to control the smart home device to perform a specified operation according to a control instruction in the instruction information.
- the preset IP address is the IP address of the remote server.
- the IP address information is consistent with the preset IP address, it indicates that the first information originates from the remote server, and the instruction information also carries the information from the remote server.
- a control instruction At this time, the smart home device is controlled to perform a specified operation according to the control instruction in the instruction information.
- a specific application APP
- the STA device terminal such as a mobile phone. After the application is started, the STA device terminal is It can establish a connection with a remote server.
- Various types of smart home device options are displayed on the application interface, such as smart sockets, smart air conditioners, smart washing machines, smart fans, smart bulbs, etc.
- the remote server After receiving the data packet containing the control instruction, the remote server passes the AP router It is forwarded to the designated smart socket, and after the data packet is parsed, the command information containing the control instruction can be obtained, and then the operation of closing the smart socket is performed according to the control instruction, that is, the control function of the smart home device is realized.
- the method further includes:
- Step S125 if the IP address information is consistent with the preset IP address, obtain status information of the smart home device according to the status acquisition instruction in the instruction information;
- step S126 the status information is uploaded to the remote server.
- the preset IP address is the IP address of the remote server.
- the IP address information is consistent with the preset IP address, it indicates that the first information originates from the remote server, and the instruction information also carries the information from the remote server.
- Status acquisition instruction At this time, the status information of the smart home device is acquired according to the status acquisition instruction in the instruction information.
- a specific application APP
- the STA device terminal such as a mobile phone.
- the STA device terminal can establish a connection with the remote server, and various types of smart home equipment options are displayed on the application interface, such as smart sockets, smart air conditioners, smart washing machines, smart fans, smart bulbs, etc.
- the status information is uploaded to the remote server, so that the STA device terminal can easily know the status information of the smart home device through the application, such as uploading the obtained ambient temperature information of the smart socket to the remote server through the AP router. In this way, the STA device terminal can easily obtain the ambient temperature information of the smart socket through the application, that is, to realize the status acquisition function of the smart home device.
- the method further includes:
- Step S14 detecting whether the smart home device meets a preset standby condition
- step S15 is executed to control the smart home device to enter a standby mode.
- the above-mentioned preset standby condition includes executing and completing the above-mentioned step S13. Therefore, in an optional embodiment, it can be determined whether the smart home device meets the preset standby by detecting whether the above-mentioned step S13 has been completed.
- step S13 when it is detected that the above step S13 has been completed (that is, the second information has been transmitted to the STA device terminal in the AP mode), it can be determined based on this that the smart home device meets the preset standby condition, and then the smart home device is controlled to enter the standby mode
- This is beneficial to reducing the power consumption of smart home equipment, and can wake up the smart home equipment in standby at any time when the standby power consumption is low, in order to respond to the relay extension instructions in the command information in time, so that the smart home equipment can respond to the WIFI signal.
- Relay function when it is detected that the above step S13 has been completed (that is, the second information has been transmitted to the STA device terminal in the AP mode)
- the above-mentioned preset standby condition may further include performing and completing the above-mentioned steps S124 and S126. Therefore, in another optional embodiment, it may be performed by detecting whether the above-mentioned step S124 or step S126 has been completed.
- the smart home device can be determined to meet Preset standby conditions, and then control the smart home device to enter the standby mode, which is beneficial to reducing the power consumption of the smart home device, and can wake up the smart home device in standby at any time when the standby power consumption is low, in order to respond to the command information in a timely manner.
- a control instruction to implement the control function of the smart home device for example, when it is detected that the above step S126 has been performed (that is, the status information has been uploaded to the remote server), it can be determined accordingly that the smart home device meets the preset standby condition, And then control the smart home device to enter the standby mode, which is beneficial Low power consumption intelligent home devices, and can always wake up at a low standby power consumption in standby intelligent home devices, timely response to the status information acquisition instruction command to implement intelligent home function of acquiring the status of the device.
- an embodiment of the present application further proposes a WIFI signal relay system based on a smart home device, including:
- the STA communication module 2 is configured to obtain first information of the AP router 1 in the STA mode
- the STA analysis module 3 is configured to relay extend the first information through the analysis function of the WIFI SOC to generate the second information in the corresponding AP mode;
- the AP communication module 4 is configured to transmit the second information to the STA device terminal in the AP mode.
- the STA communication module 2 of the WIFI signal relay system based on a smart home device is used to establish a WIFI connection with the AP router 1, so as to achieve communication between the smart home device and the AP router 1, that is, the smart home device It can work in STA mode
- the AP communication module 4 is used to establish a WIFI connection with the STA device terminal 5 in order to realize the communication between the smart home device and the STA device terminal 5 (such as a mobile phone, a computer), so that the smart home device can work in AP mode;
- STA communication module 2 and AP communication module 4 are two independent function modules, smart home devices can work in STA mode and AP mode at the same time, so that it can ensure that between smart home devices and AP external devices,
- the data transmission between the smart home device and the STA device terminal 5 can be performed in an orderly manner without causing interference with each other; when the STA communication module 2 and the AP router 1 establish a WIFI connection, the STA communication module 2 obtains the AP router
- the STA parsing module 3 transmits the second information to the AP communication module 4, and the AP communication module 4 transmits the second information to the STA device terminal in the AP mode, that is, the downlink data transmission of the relay is performed, and the WIFI of the AP router 1 is transmitted.
- the signal is forwarded to the STA device terminal 5. Since the smart home device can work in STA mode and AP mode at the same time, while the WIFI signal from the AP router 1 is forwarded to the STA device terminal 5, the AP communication module 4 is also receiving the signal from the STA. Relevant information of the device terminal 5 is transmitted to the STA communication module 2 and then forwarded by the STA communication module 2 to the AP router 1, that is, the uplink data transmission of the relay is performed, thereby realizing the relay function of the WIFI signal.
- the WIFI signal relay system based on the smart home device enables the smart home device to work in the AP mode and the STA mode by setting STA communication module 2, STA analysis module 3, and AP communication module 4 in the smart home device. , Realizing the relay extension from the first information in the STA mode to the second information in the AP mode, thereby realizing the relay function of the WIFI signal by the smart home device, expanding the coverage of the WIFI signal, and solving the WIFI coverage
- the problem of blind spots improves the user experience.
- the STA analysis module 3 includes:
- a parsing unit 301 configured to parse the first information to obtain IP address information and instruction information
- a judging unit 302 configured to judge whether the IP address information is consistent with a preset IP address
- the generating unit 303 is configured to generate second information in a corresponding AP mode according to a relay extension instruction in the instruction information when the IP address information is inconsistent with the preset IP address.
- the STA communication module 3 acquires the first information of the AP router 1 and transmits the first information to the analysis unit 301 in the STA analysis module 3 for analysis. Obtain the IP address information and instruction information, and then the parsing unit 301 transmits the parsed IP address information and instruction information to the judgment unit 302.
- the judgment unit 302 compares the IP address information with a preset IP address, and judges that the IP address information is Set whether the IP addresses are the same. Among them, the preset IP address is the IP address of the remote server.
- the instruction information includes a relay extension instruction set in the AP router 1 in advance.
- the judgment unit 302 transmits the instruction information to the generation unit 303, and the generation unit 303 generates a corresponding AP according to the relay extension instruction in the instruction information.
- the AP communication module 4 is also receiving relevant information from the STA device terminal 5 and transmitting it to the STA communication module 2, which is then forwarded by the STA communication module 2 to the AP router 1. That is, the uplink data transmission of the relay is performed, thereby realizing the relay function of the WIFI signal.
- the STA analysis module 3 further includes:
- the control unit 304 is configured to control the smart home device to perform a specified operation when the IP address information is consistent with the preset IP address.
- the control unit 304 controls the smart home device to perform related operations according to the control instruction in the instruction information.
- the control instruction is a control instruction for closing a certain smart socket
- the control unit 304 may specifically be The relay for controlling the opening and closing of the power of the smart socket. At this time, the relay performs the operation of closing the smart socket by controlling the closing of the power, that is, the control function of the smart home device based on the WIFI signal relay system of the smart home device is implemented.
- the STA analysis module 3 further includes:
- a state acquisition unit 305 configured to acquire state information of the smart home device according to the state acquisition instruction in the instruction information
- the uploading unit 306 is configured to upload the status information to a remote server.
- the IP address information when the IP address information is consistent with the preset IP address, it indicates that the first information comes from a remote server, and the instruction information also carries a status acquisition instruction from the remote server.
- the judgment unit 302 sends the instruction information Transmission to the status acquisition unit 305, and then the status acquisition unit 305 acquires the status information of the smart home device according to the status acquisition instruction in the instruction information, and transmits the status information to the upload unit 306, which uploads the status information through the STA module 2. Transmission to AP router 1, AP router 1 then uploads the status information to the remote server through WIFI.
- a specific application APP can be installed in the STA device terminal 5 (such as a mobile phone).
- the STA The device terminal 5 can establish a connection with the remote server, so that the STA device terminal 5 can easily obtain the status information through the application.
- the status acquisition instruction is specifically a status acquisition instruction for acquiring the environmental temperature information of a smart socket.
- the state acquiring unit 305 may specifically be a temperature sensor for acquiring an ambient temperature of the smart socket. The temperature sensor obtains the ambient temperature information of the smart socket and transmits the ambient temperature information to the uploading unit 306.
- the uploading unit 306 transmits the ambient temperature information to the AP router 1 through the STA module 2.
- the AP router 1 uses the form of WIFI Upload the ambient temperature information to the remote server, so that the STA device terminal 5 can easily obtain the ambient temperature information of the smart socket through the application, that is, to realize the status acquisition function of the smart home device based on the smart home device's WIFI signal relay system .
- the WIFI signal relay system based on a smart home device further includes:
- a detection module 6 for detecting whether a smart home device meets a preset standby condition
- the standby module 7 is configured to control the smart home device to enter a standby mode when the smart home device meets a preset standby condition.
- the preset standby condition includes performing and completing the above steps S13, S124, and S126. Therefore, specifically, the detection module 6 includes:
- a first detection unit 61 configured to detect whether the second information has been transmitted to the STA device terminal in the AP mode
- a first determining unit 64 configured to determine that the smart home device meets a preset standby condition when the second information has been transmitted to the STA device terminal in the AP mode;
- a second detection unit 62 configured to detect whether status information has been uploaded to a remote server
- a second determining unit 65 configured to determine that the smart home device meets a preset standby condition when the status information has been uploaded to the remote server;
- a third detection unit 63 configured to detect whether a smart home device has been controlled to perform a specified operation according to a control instruction in the instruction information
- the third determining unit 66 is configured to determine that the smart home device meets a preset standby condition when the smart home device has been controlled to perform a specified operation according to a control instruction in the instruction information.
- the first detection unit 61 can be used to detect whether the above step S13 has been completed.
- the first determination unit 64 can detect This determines that the smart home device meets the preset standby conditions, and then controls the smart home device to enter the standby mode through the standby module 7, which is beneficial to reducing the power consumption of the smart home device, and can wake up the smart in standby at any time when the standby power consumption is low.
- Home equipment in order to respond to the relay extension instruction in the instruction information in time to realize the relay function of the WIFI signal by the smart home equipment; in another optional embodiment, the third detection unit 63 can be used to detect whether the above step S124 is The execution is completed.
- the third determination unit 66 may determine that the smart home device meets the preset standby condition, and then control the smart home device to enter the standby mode through the standby module 7 , which helps to reduce the power consumption of smart home equipment, and can be used at any time when the standby power consumption is low. Wake up the smart home device in standby so as to respond to the control instructions in the command information in time to realize the control function of the smart home device; in another optional embodiment, the second detection unit 62 can be used to detect whether the above step S126 is performed. The execution has been completed.
- the second determination unit 65 can determine that the smart home device meets the preset standby condition, and then control the smart home device to enter the standby mode through the standby module 7 This is helpful to reduce the power consumption of smart home devices, and can wake up the smart home devices in standby at any time when the standby power consumption is low, in order to respond to the status acquisition instructions in the command information in time to achieve the status acquisition of the smart home devices.
- the smart home device in the illustration may be any smart home appliance with WIFI function, such as a smart socket, a smart air conditioner, a smart washing machine, a smart fan, and a smart light bulb.
- WIFI with analysis function SOC
- all smart home devices can work in STA mode and AP mode at the same time, to achieve the relay extension from the first information in STA mode to the second information in AP mode, so that all smart home devices can be used as a central
- the repeater relays the WIFI signal from the AP router, so that the WIFI signal can be extended indefinitely, effectively expanding the coverage of the WIFI signal, and avoiding the problem of WIFI coverage blind spots.
- the WIFI signal relay method and system based on smart home devices add a WIFI with a parsing function to the smart home device.
- SOC enables smart home devices to work in STA mode and AP mode at the same time, realizing the relay extension of the first information in STA mode and the second information in AP mode, thereby realizing the relay of WIFI signals by smart home devices Function, expands the coverage of WIFI signals, solves the problem of WIFI coverage blind spots, and improves the user experience.
- an embodiment of the present application further provides a computer device 100 including a memory 200, a processor 300, and a computer program 400 stored in the memory 200 and executable on the processor 300.
- a computer program 400 stored in the memory 200 and executable on the processor 300.
- the computer device 100 described in the embodiment of the present application is the above-mentioned device for performing one or more of the methods described in the present application. These devices may be specially designed and manufactured for the required purpose, or they may include known devices in general-purpose computers. These devices have computer programs 400 or application programs stored therein, which are selectively activated or reconstructed.
- Such a computer program 400 may be stored in a device (eg, a computer) readable medium or in any type of medium suitable for storing electronic instructions and respectively coupled to a bus, the computer readable medium including but not limited to Any type of disk (including floppy disks, hard disks, CD-ROMs, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory (random memory), EPROM (Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, a readable medium includes any medium that stores or transfers information in a readable form by a device (eg, a computer).
- a readable medium includes any medium that stores or transfers information in a readable form by a device (eg, a computer).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请揭示了一种基于智能家居设备的WIFI信号中继方法、系统及计算机设备,其中,该方法包括:获取STA模式下AP路由器的第一信息;将第一信息通过WIFI SOC的解析功能进行中继扩展,生成对应的AP模式下的第二信息;将第二信息传递至AP模式下的STA设备终端。该基于智能家居设备的WIFI信号中继方法解决了WIFI覆盖盲区的问题。
Description
本申请涉及到通信技术领域,特别是涉及到一种基于智能家居设备的WIFI信号中继方法、系统及计算机设备。
随着网络技术和信息技术的高速发展,基于WIFI的物联网被广泛应用于智能家居领域,目前WIFI智能家居设备一般工作在STA模式,其先通过WIFI的方式与路由器进行连接,再将路由器连接到互联网进而实现与远程服务器的通讯,用户通过可联网的终端设备(如智能手机、电脑、PAD)即可对WIFI智能家居设备进行跨互联网控制,但当遇到房屋面积较大、房屋墙面较厚或较多的情况时,容易出现WIFI覆盖盲区的问题,导致WIFI智能家居设备和终端设备无法通过WIFI信号接入至互联网,降低了用户的使用体验。
本申请的主要目的为提供一种基于智能家居设备的WIFI信号中继方法、系统及计算机设备,本申请可实现智能家居设备对WIFI信号的中继功能,扩大了WIFI信号的覆盖范围,从而解决了WIFI覆盖盲区的问题,提高了用户的使用体验。
本申请提出一种基于智能家居设备的WIFI信号中继方法,智能家居设备内置支持STA模式和AP模式的WIFI SOC,该方法包括:
获取STA模式下AP路由器的第一信息;
将第一信息通过WIFI SOC的解析功能进行中继扩展,生成对应的AP模式下的第二信息;
将第二信息传递至AP模式下的STA设备终端。
进一步地,将第一信息通过WIFI SOC的解析功能进行中继扩展,生成对应的AP模式下的第二信息的步骤,包括:
对第一信息进行解析,获得IP地址信息和指令信息;
判断IP地址信息与预设IP地址是否一致;
若否,则根据指令信息中的中继扩展指令,生成对应的AP模式下的第二信息。
进一步地,判断IP地址信息与预设IP地址是否一致的步骤之后,还包括:
若IP地址信息与预设IP地址一致,则根据指令信息中的控制指令控制智能家居设备执行指定操作。
进一步地,判断IP地址信息与预设IP地址是否一致的步骤之后,还包括:
若IP地址信息与预设IP地址一致,则根据指令信息中的状态获取指令获取智能家居设备的状态信息;
将状态信息上传至远程服务器。
进一步地,前述的基于智能家居设备的WIFI信号中继方法,还包括:
检测智能家居设备是否满足预设待机条件;
若是,则控制智能家居设备进入待机模式。
进一步地,检测智能家居设备是否满足预设待机条件的步骤,包括:
检测第二信息是否已经传递至AP模式下的STA设备终端;
若是,则判定智能家居设备满足预设待机条件。
进一步地,检测智能家居设备是否满足预设待机条件的步骤,包括:
检测状态信息是否已经上传至远程服务器;
若是,则判定智能家居设备满足预设待机条件。
本申请还提出一种基于智能家居设备的WIFI信号中继系统,包括:
STA通讯模块,用于获取STA模式下AP路由器的第一信息;
STA解析模块,用于将第一信息通过WIFI SOC的解析功能进行中继扩展,生成对应的AP模式下的第二信息;
AP通讯模块,用于将第二信息传递至AP模式下的STA设备终端。
进一步地,STA解析模块,包括:
解析单元,用于对第一信息进行解析,获得IP地址信息和指令信息;
判断单元,用于判断IP地址信息与预设IP地址是否一致;
生成单元,用于当IP地址信息与预设IP地址不一致时,根据指令信息中的中继扩展指令,生成对应的AP模式下的第二信息。
进一步地,STA解析模块,还包括:
控制单元,用于当IP地址信息与预设IP地址一致时,根据指令信息中的控制指令控制智能家居设备执行指定操作。
进一步地,STA解析模块,还包括:
状态获取单元,用于当IP地址信息与预设IP地址一致时,根据指令信息中的状态获取指令获取智能家居设备的状态信息;
上传单元,用于将状态信息上传至远程服务器。
进一步地,前述的基于智能家居设备的WIFI信号中继系统,还包括:
检测模块,用于检测智能家居设备是否满足预设待机条件;
待机模块,用于当智能家居设备满足预设待机条件时,控制智能家居设备进入待机模式。
进一步地,检测模块,包括:
第一检测单元,用于检测第二信息是否已经传递至AP模式下的STA设备终端;
第一判定单元,用于当第二信息已经传递至AP模式下的STA设备终端时,判定智能家居设备满足预设待机条件。
进一步地,检测模块,包括:
第二检测单元,用于检测状态信息是否已经上传至远程服务器;
第二判定单元,用于当状态信息已经上传至远程服务器时,判定智能家居设备满足预设待机条件。
本申请还提出一种计算机设备,包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现前述的基于智能家居设备的WIFI信号中继方法。
本申请与现有技术相比,有益效果在于:本申请通过在智能家居设备中增设具有解析功能的WIFI SOC,使得智能家居设备可同时工作在STA模式和AP模式, 实现了从STA模式下的第一信息至AP模式下的第二信息的中继扩展,从而实现了智能家居设备对WIFI信号的中继功能,扩大了WIFI信号的覆盖范围,解决了WIFI覆盖盲区的问题,提高了用户的使用体验。
图1是本申请一实施例中基于智能家居设备的WIFI信号中继方法的流程示意图;
图2是本申请一实施例中基于智能家居设备的WIFI信号中继系统的结构示意图;
图3是图2中STA解析模块的结构示意图;
图4是本申请另一实施例中基于智能家居设备的WIFI信号中继系统的结构示意图;
图5是图4中检测模块的具体结构示意图;
图6是本申请一实施例中基于智能家居设备的WIFI信号中继系统的应用示意图;
图7是本申请一实施例中计算机设备的结构示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请实施例所述的智能家居设备,可以是任何具有WIFI功能的智能家电,如智能插座、智能空调、智能洗衣机、智能风扇、智能灯泡等,对此不作具体的限制。
参照图1,本申请实施例提供一种基于智能家居设备的WIFI信号中继方法,智能家居设备内置支持STA模式和AP模式的WIFI SOC,该方法包括以下步骤:
步骤S11,获取STA模式下AP路由器的第一信息;
步骤S12,将第一信息通过WIFI SOC的解析功能进行中继扩展,生成对应的AP模式下的第二信息;
步骤S13,将第二信息传递至AP模式下的STA设备终端。
上述WIFI SOC(System on Chip,片上系统)为一种具有专用目标(通过WIFI实现物联)的集成电路,其中包含完整系统并有嵌入软件的全部内容,其内置的嵌入式多任务操作系统通过消息等机制可实现各种任务的调度与切换,本领域技术人员可以理解,对此不再赘述。
在上述步骤S11中,由于在智能家居设备中增设了WIFI SOC,该WIFI SOC可支持STA+AP模式,因此智能家居设备可同时工作在STA(Station,工作站)模式和AP(Access Point,无线接入点)模式,在STA模式下,智能家居设备可以接受AP外部设备的接入,如AP路由器,在AP模式下,智能家居设备可以接受STA外部设备的接入,如手机和电脑,而在STA+AP模式下,STA模式和AP模式相互独立,互不影响,因此AP外部设备和STA外部设备可同时与该智能家居设备连接,相比传统只能启用STA模式或AP模式的方式(即当AP外部设备接入时,需切换至STA模式,当STA外部设备接入时,需切换至AP模式),实用性大大提高,同时, 由于在STA+AP模式下,STA模式和AP模式相互独立,互不影响,这样保证了智能家居设备与AP外部设备之间、智能家居设备与STA外部设备之间的数据传输可分别有序不紊地进行而不会对彼此造成干扰,因此AP路由器的第一信息(以数据包的形式)可有序不紊地传输至智能家居设备中。
在上述步骤S12中,通过在WIFI SOC中增加解析功能,使得在STA模式下获得的第一信息可通过中继扩展后生成对应的AP模式下的第二信息,从而实现从STA模式下的第一信息至AP模式下的第二信息的中继扩展。
在上述步骤S13中,将第二信息(同样是以数据包的形式)传递至AP模式下的STA设备终端的过程其实就是WIFI信号被转发的过程,即智能家居设备将来自AP路由器的WIFI信号进行转发,以便STA设备终端可接收到该WIFI信号,由于智能家居设备可同时工作在STA模式和AP模式,因此将来自AP路由器的WIFI信号转发至STA外部设备的同时,智能家居设备同时也在接收来自STA外部设备的相关信息(以数据包的形式)并将其转发给AP路由器,从而实现了智能家居设备对WIFI信号的中继功能。
在本实施例中,该基于智能家居设备的WIFI信号中继方法通过在智能家居设备中增设具有解析功能的WIFI
SOC,使得智能家居设备可同时工作在STA模式和AP模式, 实现了从STA模式下的第一信息至AP模式下的第二信息的中继扩展,从而实现了智能家居设备对WIFI信号的中继功能,扩大了WIFI信号的覆盖范围,解决了WIFI覆盖盲区的问题,提高了用户的使用体验。
在一个优选的实施例中,上述步骤S12具体包括:
步骤S121,对第一信息进行解析,获得IP地址信息和指令信息;
步骤S122,判断IP地址信息与预设IP地址是否一致;
若否,则执行步骤S123,根据指令信息中的中继扩展指令,生成对应的AP模式下的第二信息。
在上述步骤S121中,将获取到的第一信息先进行解析,以便获得第一信息中所封装的数据,该数据包括IP地址信息和指令信息,通过IP地址信息可直接了解到第一信息的来源,以便后续与预设的IP地址进行对比,当将IP地址信息与预设的IP地址进行对比后,再通过指令信息即可快速准确地执行相关操作。
在上述步骤S122中,预设的IP地址为远程服务器的IP地址,当IP地址信息与预设IP地址一致时,则表明第一信息来源于远程服务器,指令信息中携带有来自远程服务器的相关指令;而当IP地址信息与预设IP地址不一致时,则表明第一信息并非来源于远程服务器,而是来源于AP路由器本身,此时指令信息中并未携带有来自远程服务器的相关指令。
在上述步骤S123中,当IP地址信息与预设IP地址不一致时,则表明第一信息并非来源于远程服务器,而是来源于AP路由器本身,指令信息中含有预先设置于AP路由器中的中继扩展指令,此时根据指令信息中的中继扩展指令生成对应的AP模式下的第二信息,从而实现从STA模式下的第一信息至AP模式下的第二信息的中继扩展,以便后续将该第二信息传递至AP模式下的STA设备终端,实现对WIFI信号的中继功能。
在一个优选的实施例中,判断IP地址信息与预设IP地址是否一致的步骤(即上述步骤S122)之后,还包括:
若IP地址信息与预设IP地址一致,则执行步骤S124,根据指令信息中的控制指令控制智能家居设备执行指定操作。
在上述步骤S124中,预设的IP地址为远程服务器的IP地址,当IP地址信息与预设IP地址一致时,则表明第一信息来源于远程服务器, 指令信息中还携带有来自远程服务器的控制指令,此时根据指令信息中的控制指令控制智能家居设备执行指定操作,具体地,可在STA设备终端(如手机)中安装一特定的应用(APP),启动应用后,STA设备终端即可与远程服务器建立连接,应用界面上显示有各种类别的智能家居设备选项,如智能插座、智能空调、智能洗衣机、智能风扇、智能灯泡等,当点击某一个类别的智能家居设备时,如点击智能插座这个类别选项时,会进入下一个应用界面,在该应用界面上显示有当前已与AP路由器建立连接的所有智能插座选项,当具体点击某一个智能插座选项时即可进入应用的具体操作界面,在该界面上会显示有开启按钮和关闭按钮,例如当点击关闭按钮时即可生成用于关闭该智能插座的控制指令,STA设备终端通过应用以数据包的形式向远程服务器发送该控制指令,远程服务器接收到含有该控制指令的数据包后通过AP路由器转发给指定的智能插座,数据包被解析后,即可获得含有该控制指令的指令信息,进而根据该控制指令执行关闭该智能插座的操作,即实现对智能家居设备的控制功能。
在一个优选的实施例中,判断IP地址信息与预设IP地址是否一致的步骤之后,还包括:
步骤S125,若IP地址信息与预设IP地址一致,根据指令信息中的状态获取指令获取智能家居设备的状态信息;
步骤S126,将状态信息上传至远程服务器。
在上述步骤S125中,预设的IP地址为远程服务器的IP地址,当IP地址信息与预设IP地址一致时,则表明第一信息来源于远程服务器, 指令信息中还携带有来自远程服务器的状态获取指令,此时根据指令信息中的状态获取指令获取智能家居设备的状态信息,具体地,可在STA设备终端(如手机)中安装一特定的应用(APP),启动应用后,STA设备终端即可与远程服务器建立连接,应用界面上显示有各种类别的智能家居设备选项,如智能插座、智能空调、智能洗衣机、智能风扇、智能灯泡等,当点击某一个类别的智能家居设备时,如点击智能插座这个类别选项时,会进入下一个应用界面,在该应用界面上显示有当前已与AP路由器建立连接的所有智能插座选项,当具体点击某一个智能插座选项时即可进入应用的具体操作界面,在该界面上会显示有多个状态参数按钮,如温度参数按钮、湿度参数按钮等,例如当点击温度参数按钮时即可生成用于获取该智能插座环境温度信息的状态获取指令,STA设备终端通过应用以数据包的形式向远程服务器发送该状态获取指令,远程服务器接收到含有该状态获取指令的数据包后通过AP路由器转发给指定的智能插座,数据包被解析后,即可获得含有该状态获取指令的指令信息,进而根据该状态获取指令获取该智能插座的环境温度信息。
在上述步骤S126中,将状态信息上传至远程服务器,这样STA设备终端通过应用即可方便获知智能家居设备的状态信息,如将获取到的智能插座的环境温度信息通过AP路由器上传至远程服务器,这样STA设备终端通过应用即可方便获知到该智能插座的环境温度信息,即实现对智能家居设备的状态获取功能。
在一个优选的实施例中,将第二信息传递至AP模式下的STA设备终端的步骤(即上述步骤S13)之后,还包括:
步骤S14,检测智能家居设备是否满足预设待机条件;
若是,则执行步骤S15,控制智能家居设备进入待机模式。
在本实施例中,上述预设待机条件包括执行完成上述步骤S13,因此,在一个可选的实施例中,可通过检测上述步骤S13是否已执行完成,来判断智能家居设备是否满足预设待机条件,当检测到上述步骤S13已执行完成(即第二信息已经传递至AP模式下的STA设备终端),则可据此判定智能家居设备满足预设待机条件,进而控制智能家居设备进入待机模式,这样有利于降低智能家居设备的功耗,而且能在待机功耗较低时随时唤醒待机中的智能家居设备,以便及时响应指令信息中的中继扩展指令,以实现智能家居设备对WIFI信号的中继功能。
在本实施例中,上述预设待机条件还可包括执行完成上述步骤S124和步骤S126,因此,在另一个可选的实施例中,可通过检测上述步骤S124或步骤S126是否已执行完成,来判断智能家居设备是否满足预设待机条件;例如,当检测到上述步骤S124已执行完成(即已根据指令信息中的控制指令控制智能家居设备执行指定操作),则可据此判定智能家居设备满足预设待机条件,进而控制智能家居设备进入待机模式,这样有利于降低智能家居设备的功耗,而且能在待机功耗较低时随时唤醒待机中的智能家居设备,以便及时响应指令信息中的控制指令,以实现对智能家居设备的控制功能;又例如,当检测到上述步骤S126已执行完成(即状态信息已经上传至远程服务器),则可据此判定智能家居设备满足预设待机条件,进而控制智能家居设备进入待机模式,这样有利于降低智能家居设备的功耗,而且能在待机功耗较低时随时唤醒待机中的智能家居设备,以便及时响应指令信息中的状态获取指令,以实现对智能家居设备的状态获取功能。
参照图2,本申请实施例还提出一种基于智能家居设备的WIFI信号中继系统,包括:
STA通讯模块2,用于获取STA模式下AP路由器1的第一信息;
STA解析模块3,用于将第一信息通过WIFI SOC的解析功能进行中继扩展,生成对应的AP模式下的第二信息;
AP通讯模块4,用于将第二信息传递至AP模式下的STA设备终端。
在本实施例中,该基于智能家居设备的WIFI信号中继系统的STA通讯模块2用于与AP路由器1建立WIFI连接,以便实现智能家居设备与AP路由器1之间的通讯,即令智能家居设备可工作在STA模式,而AP通讯模块4用于与STA设备终端5建立WIFI连接,以便实现智能家居设备与STA设备终端5(如手机、电脑)之间的通讯,即令智能家居设备可工作在AP模式;由于STA通讯模块2与AP通讯模块4为相互独立的两个功能模块,因此智能家居设备可同时工作在STA模式和AP模式,这样便可保证智能家居设备与AP外部设备之间、智能家居设备与STA设备终端5之间的数据传输可分别有序不紊地进行而不会对彼此造成干扰;当STA通讯模块2与AP路由器1建立WIFI连接后,STA通讯模块2获取AP路由器1的第一信息并传输至STA解析模块3,STA解析模块3对第一信息进行中继扩展,生成对应的AP模式下的第二信息,随后STA解析模块3将第二信息传输至AP通讯模块4,由AP通讯模块4将第二信息传递至AP模式下的STA设备终端,即进行中继的下行数据传输,将AP路由器1的WIFI信号转发至STA设备终端5;由于智能家居设备可同时工作在STA模式和AP模式,因此将来自AP路由器1的WIFI信号转发至STA设备终端5的同时,AP通讯模块4同时也在接收来自STA设备终端5的相关信息并将其传输至STA通讯模块2,再由STA通讯模块2转发给AP路由器1,即进行中继的上行数据传输,从而实现对WIFI信号的中继功能。
本申请实施例的基于智能家居设备的WIFI信号中继系统通过在智能家居设备中设置STA通讯模块2、STA解析模块3和AP通讯模块4,使得智能家居设备可同时工作在AP模式和STA模式, 实现了从STA模式下的第一信息至AP模式下的第二信息的中继扩展,从而实现了智能家居设备对WIFI信号的中继功能,扩大了WIFI信号的覆盖范围,解决了WIFI覆盖盲区的问题,提高了用户的使用体验。
参照图2和图3,具体地,STA解析模块3,包括:
解析单元301,用于对第一信息进行解析,获得IP地址信息和指令信息;
判断单元302,用于判断IP地址信息与预设IP地址是否一致;
生成单元303,用于当IP地址信息与预设IP地址不一致时,根据指令信息中的中继扩展指令,生成对应的AP模式下的第二信息。
在本实施例中,具体地,当STA通讯模块3与AP路由器1建立WIFI连接后,STA通讯模块3获取AP路由器1的第一信息并传输至STA解析模块3中的解析单元301进行解析,获得IP地址信息和指令信息,随后解析单元301将解析出来的IP地址信息和指令信息传输至判断单元302,判断单元302将IP地址信息与预设的IP地址进行对比,判断IP地址信息与预设IP地址是否一致,其中,预设的IP地址为远程服务器的IP地址,当发现IP地址信息与预设IP地址不一致时,则表明第一信息并非来源于远程服务器,而是来源于AP路由器1本身,指令信息中含有预先设置于AP路由器1中的中继扩展指令,此时判断单元302将指令信息传输至生成单元303,生成单元303根据指令信息中的中继扩展指令生成对应的AP模式下的第二信息,随后生成单元303将第二信息传输至AP通讯模块4,由AP通讯模块4将第二信息传递至AP模式下的STA设备终端,即进行中继的下行数据传输,将AP路由器1的WIFI信号转发至STA设备终端5;由于智能家居设备可同时工作在STA模式和AP模式,因此将来自AP路由器1的WIFI信号转发至STA设备终端5的同时,AP通讯模块4同时也在接收来自STA设备终端5的相关信息并将其传输至STA通讯模块2,再由STA通讯模块2转发给AP路由器1,即进行中继的上行数据传输,从而实现对WIFI信号的中继功能。
参照图2和图3,STA解析模块3,还包括:
控制单元304,用于当IP地址信息与预设IP地址一致时,根据指令信息中的控制指令控制智能家居设备执行指定操作。
在本实施例中,当IP地址信息与预设IP地址一致时,则表明第一信息来源于远程服务器, 指令信息中还携带有来自远程服务器的控制指令,此时判断单元302将指令信息传输至控制单元304,随后控制单元304根据指令信息中的控制指令控制智能家居设备执行相关操作,例如当该控制指令具体为用于关闭某一个智能插座的控制指令时,则控制单元304具体可为用于控制智能插座电源打开和闭合的继电器,则此时继电器通过控制电源的闭合执行关闭该智能插座的操作,即实现该基于智能家居设备的WIFI信号中继系统对智能家居设备的控制功能。
参照图2和图3,STA解析模块3,还包括:
状态获取单元305,用于根据指令信息中的状态获取指令获取智能家居设备的状态信息;
上传单元306,用于将状态信息上传至远程服务器。
在本实施例中,当IP地址信息与预设IP地址一致时,则表明第一信息来源于远程服务器, 指令信息中还携带有来自远程服务器的状态获取指令,此时判断单元302将指令信息传输至状态获取单元305,随后状态获取单元305根据指令信息中的状态获取指令获取智能家居设备的状态信息,并将该状态信息传输至上传单元306,上传单元306通过STA模块2将该状态信息传输至AP路由器1,AP路由器1再通过WIFI的形式将该状态信息上传至远程服务器,此时可在STA设备终端5(如手机)中安装一特定的应用(APP),启动应用后,STA设备终端5即可与远程服务器建立连接,这样STA设备终端5通过应用即可方便获知到该状态信息,例如当该状态获取指令具体为用于获取某一个智能插座的环境温度信息的状态获取指令时,则状态获取单元305具体可为用于获取智能插座的环境温度的温度传感器,温度传感器获取该智能插座的环境温度信息并将该环境温度信息传输至上传单元306,上传单元306通过STA模块2将该环境温度信息传输至AP路由器1,AP路由器1再通过WIFI的形式将该环境温度信息上传至远程服务器,这样STA设备终端5通过应用即可方便获知该智能插座的环境温度信息,即实现该基于智能家居设备的WIFI信号中继系统对智能家居设备的状态获取功能。
参照图4和图5,本申请实施例的基于智能家居设备的WIFI信号中继系统还包括:
检测模块6,用于检测智能家居设备是否满足预设待机条件;
待机模块7,用于当智能家居设备满足预设待机条件时,控制智能家居设备进入待机模式。
在本实施中,上述预设待机条件包括执行完成上述步骤S13、上述步骤S124和上述步骤S126,因此,具体地,检测模块6,包括:
第一检测单元61,用于检测第二信息是否已经传递至AP模式下的STA设备终端;
第一判定单元64,用于当第二信息已经传递至AP模式下的STA设备终端时,判定智能家居设备满足预设待机条件;
第二检测单元62,用于检测状态信息是否已经上传至远程服务器;
第二判定单元65,用于当状态信息已经上传至远程服务器时,判定智能家居设备满足预设待机条件;
第三检测单元63,用于检测是否已根据指令信息中的控制指令控制智能家居设备执行指定操作;
第三判定单元66,用于当已根据指令信息中的控制指令控制智能家居设备执行指定操作时,判定智能家居设备满足预设待机条件。
因此,在一个可选的实施例中,可通过第一检测单元61检测上述步骤S13是否已执行完成,当第一检测单元61检测到上述步骤S13已执行完成,则第一判定单元64可据此判定智能家居设备满足预设待机条件,进而通过待机模块7控制智能家居设备进入待机模式,这样有利于降低智能家居设备的功耗,而且能在待机功耗较低时随时唤醒待机中的智能家居设备,以便及时响应指令信息中的中继扩展指令,以实现智能家居设备对WIFI信号的中继功能;在另一个可选的实施例中,可通过第三检测单元63检测上述步骤S124是否已执行完成,当第三检测单元63检测到上述步骤S124已执行完成,则第三判定单元66可据此判定智能家居设备满足预设待机条件,进而通过待机模块7控制智能家居设备进入待机模式,这样有利于降低智能家居设备的功耗,而且能在待机功耗较低时随时唤醒待机中的智能家居设备,以便及时响应指令信息中的控制指令,以实现对智能家居设备的控制功能;在又一个可选的实施例中,可通过第二检测单元62检测上述步骤S126是否已执行完成,当第二检测单元62检测到上述步骤S126已执行完成,则第二判定单元65可据此判定智能家居设备满足预设待机条件,进而通过待机模块7控制智能家居设备进入待机模式,这样有利于降低智能家居设备的功耗,而且能在待机功耗较低时随时唤醒待机中的智能家居设备,以便及时响应指令信息中的状态获取指令,以实现对智能家居设备的状态获取功能。
参照图9,图示中的智能家居设备可以是任何具有WIFI功能的智能家电,如智能插座、智能空调、智能洗衣机、智能风扇、智能灯泡等,在具体实施时,可在所有智能家居设备中都增设具有解析功能的WIFI
SOC,使得所有智能家居设备均可同时工作在STA模式和AP模式,实现从STA模式下的第一信息至AP模式下的第二信息的中继扩展,这样所有智能家居设备都可作为一个中继器,对来自AP路由器的WIFI信号进行中继,从而使得WIFI信号可无限延伸,有效地扩大了WIFI信号的覆盖范围,避免出现WIFI覆盖盲区的问题。
综上所述,本申请实施例的基于智能家居设备的WIFI信号中继方法及系统通过在智能家居设备中增设具有解析功能的WIFI
SOC,使得智能家居设备可同时工作在STA模式和AP模式, 实现了STA模式下的第一信息和AP模式下的第二信息的中继扩展,从而实现了智能家居设备对WIFI信号的中继功能,扩大了WIFI信号的覆盖范围,解决了WIFI覆盖盲区的问题,提高了用户的使用体验。
参照图10,本申请实施例还提出一种计算机设备100,包括存储器200、处理器300以及存储在存储器200上并可在处理器300上运行的计算机程序400,处理器300执行计算机程序400时实现上述任一实施中的基于智能家居设备的WIFI信号中继方法。
本领域技术人员可以理解,本申请实施例所述的计算机设备100为上述所涉及用于执行本申请中所述方法中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序400或应用程序,这些计算机程序400选择性地激活或重构。这样的计算机程序400可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access
Memory,随机存储器)、EPROM(Erasable
Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable Programmable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。
以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。
Claims (15)
- 一种基于智能家居设备的WIFI信号中继方法,其特征在于,所述智能家居设备内置支持STA模式和AP模式的WIFI SOC,所述方法包括:获取STA模式下AP路由器的第一信息;将所述第一信息通过所述WIFI SOC的解析功能进行中继扩展,生成对应的所述AP模式下的第二信息;将所述第二信息传递至AP模式下的STA设备终端。
- 根据权利要求1所述的基于智能家居设备的WIFI信号中继方法,其特征在于,所述将所述第一信息通过所述WIFI SOC的解析功能进行中继扩展,生成对应的所述AP模式下的第二信息的步骤,包括:对所述第一信息进行解析,获得IP地址信息和指令信息;判断所述IP地址信息与预设IP地址是否一致;若否,则根据所述指令信息中的中继扩展指令,生成对应的所述AP模式下的第二信息。
- 根据权利要求2所述的基于智能家居设备的WIFI信号中继方法,其特征在于,所述判断所述IP地址信息与预设IP地址是否一致的步骤之后,还包括:若所述IP地址信息与预设IP地址一致,则根据所述指令信息中的控制指令控制所述智能家居设备执行指定操作。
- 根据权利要求2所述的基于智能家居设备的WIFI信号中继方法,其特征在于,所述判断所述IP地址信息与预设IP地址是否一致的步骤之后,还包括:若所述IP地址信息与预设IP地址一致,则根据所述指令信息中的状态获取指令获取所述智能家居设备的状态信息;将所述状态信息上传至远程服务器。
- 根据权利要求4所述的基于智能家居设备的WIFI信号中继方法,其特征在于,还包括:检测所述智能家居设备是否满足预设待机条件;若是,则控制所述智能家居设备进入待机模式。
- 根据权利要求5所述的基于智能家居设备的WIFI信号中继方法,其特征在于,所述检测所述智能家居设备是否满足预设待机条件的步骤,包括:检测所述第二信息是否已经传递至AP模式下的STA设备终端;若是,则判定所述智能家居设备满足所述预设待机条件。
- 根据权利要求5所述的基于智能家居设备的WIFI信号中继方法,其特征在于,所述检测所述智能家居设备是否满足预设待机条件的步骤,包括:检测所述状态信息是否已经上传至远程服务器;若是,则判定所述智能家居设备满足所述预设待机条件。
- 一种基于智能家居设备的WIFI信号中继系统,其特征在于,包括:STA通讯模块,用于获取STA模式下AP路由器的第一信息;STA解析模块,用于将所述第一信息通过所述WIFI SOC的解析功能进行中继扩展,生成对应的所述AP模式下的第二信息;AP通讯模块,用于将所述第二信息传递至AP模式下的STA设备终端。
- 根据权利要求8所述的基于智能家居设备的WIFI信号中继系统,其特征在于,所述STA解析模块,包括:解析单元,用于对所述第一信息进行解析,获得IP地址信息和指令信息;判断单元,用于判断所述IP地址信息与预设IP地址是否一致;生成单元,用于当所述IP地址信息与预设IP地址不一致时,根据所述指令信息中的中继扩展指令,生成对应的所述AP模式下的第二信息。
- 根据权利要求9所述的基于智能家居设备的WIFI信号中继系统,其特征在于,所述STA解析模块,还包括:控制单元,用于当所述IP地址信息与预设IP地址一致时,根据所述指令信息中的控制指令控制智能家居设备执行指定操作。
- 根据权利要求9所述的基于智能家居设备的WIFI信号中继系统,其特征在于,所述STA解析模块,还包括:状态获取单元,用于当所述IP地址信息与预设IP地址一致时,根据所述指令信息中的状态获取指令获取智能家居设备的状态信息;上传单元,用于将所述状态信息上传至远程服务器。
- 根据权利要求11所述的基于智能家居设备的WIFI信号中继系统,其特征在于,还包括:检测模块,用于检测所述智能家居设备是否满足预设待机条件;待机模块,用于当所述智能家居设备满足预设待机条件时,控制智能家居设备进入待机模式。
- 根据权利要求12所述的基于智能家居设备的WIFI信号中继系统,其特征在于,所述检测模块,包括:第一检测单元,用于检测所述第二信息是否已经传递至AP模式下的STA设备终端;第一判定单元,用于当所述第二信息已经传递至AP模式下的STA设备终端时,判定所述智能家居设备满足所述预设待机条件。
- 根据权利要求12所述的基于智能家居设备的WIFI信号中继系统,其特征在于,所述检测模块,包括:第二检测单元,用于检测所述状态信息是否已经上传至远程服务器;第二判定单元,用于当所述状态信息已经上传至远程服务器时,判定所述智能家居设备满足所述预设待机条件。
- 一种计算机设备,其特征在于,包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述的基于智能家居设备的WIFI信号中继方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810922459.5A CN109151782B (zh) | 2018-08-14 | 2018-08-14 | 基于智能家居设备的wifi信号中继方法及系统 |
| CN201810922459.5 | 2018-08-14 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020034604A1 true WO2020034604A1 (zh) | 2020-02-20 |
Family
ID=64793363
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/073756 Ceased WO2020034604A1 (zh) | 2018-08-14 | 2019-01-29 | 基于智能家居设备的 wifi 信号中继方法、系统及计算机设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109151782B (zh) |
| WO (1) | WO2020034604A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20220029852A1 (en) * | 2020-07-24 | 2022-01-27 | Ite Tech. Inc. | Signal relay system with reduced power consumption |
| CN115775558A (zh) * | 2021-09-08 | 2023-03-10 | 佛山市云米电器科技有限公司 | 一种智能家电控制方法及装置 |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109151782B (zh) * | 2018-08-14 | 2020-12-22 | 深圳市沃特沃德股份有限公司 | 基于智能家居设备的wifi信号中继方法及系统 |
| CN113132997B (zh) * | 2019-12-30 | 2024-04-12 | 深圳市三诺数字科技有限公司 | 一种智能家居设备的通信方法、设备及系统 |
| CN113810925A (zh) * | 2020-06-12 | 2021-12-17 | 华为技术有限公司 | 接入点功能、中继功能自动开启方法及电子设备 |
| CN113115289B (zh) * | 2021-04-07 | 2023-02-14 | 颜丽光 | 一种WiFi终端自由组网通迅方法 |
| CN117135719B (zh) * | 2023-02-27 | 2024-08-27 | 荣耀终端有限公司 | Wi-Fi信号增强的方法及电子设备 |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104898449A (zh) * | 2015-06-04 | 2015-09-09 | 泰凌微电子(上海)有限公司 | 智能家居系统及其控制方法 |
| CN105007260A (zh) * | 2015-05-28 | 2015-10-28 | 武汉虹信通信技术有限责任公司 | 一种基于TCP/IP协议改造的Wi-Fi信号扩展系统及方法 |
| CN105096553A (zh) * | 2014-05-05 | 2015-11-25 | 关隆股份有限公司 | 无线电器的控制方法 |
| CN105578568A (zh) * | 2015-12-16 | 2016-05-11 | 上海飞乐音响股份有限公司 | 一种wifi通信装置及其网络的建立方法 |
| CN105680927A (zh) * | 2015-12-29 | 2016-06-15 | 青岛海尔智能家电科技有限公司 | 一种智能家电设备、wifi信号的中继方法和装置 |
| CN206226486U (zh) * | 2016-08-02 | 2017-06-06 | 九阳股份有限公司 | 一种智能家电及智能家电系统 |
| CN106900029A (zh) * | 2017-02-17 | 2017-06-27 | 深圳市旭日东方实业有限公司 | WiFi中继器及其节能中继方法 |
| CN107612790A (zh) * | 2016-07-11 | 2018-01-19 | 佛山市顺德区美的电热电器制造有限公司 | 一种家电控制的方法、设备和系统 |
| CN108361922A (zh) * | 2018-03-22 | 2018-08-03 | 广州勒夫蔓德电器有限公司 | 一种空气净化器及空气净化系统 |
| CN109151782A (zh) * | 2018-08-14 | 2019-01-04 | 深圳市沃特沃德股份有限公司 | 基于智能家居设备的wifi信号中继方法及系统 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8478450B2 (en) * | 2011-10-04 | 2013-07-02 | Advanergy, Inc. | Power control system and method |
| CN202617367U (zh) * | 2012-03-30 | 2012-12-19 | 上海汉枫电子科技有限公司 | 一种无线传输模块 |
| CN103384157A (zh) * | 2013-03-14 | 2013-11-06 | 上海汉枫电子科技有限公司 | 一种低功耗嵌入式wifi模块 |
| CN103529793B (zh) * | 2013-10-18 | 2015-12-23 | 中山司南物联网科技有限公司 | 一种基于wifi的sta模式与ap模式的物联网控制系统及其控制方法 |
| CN104010327A (zh) * | 2014-06-18 | 2014-08-27 | 江勇 | 快速接入wifi无线网络的方法及系统 |
| CN104698858A (zh) * | 2015-02-14 | 2015-06-10 | 崔元信 | 一种移动终端控制的智能家居系统及其控制方法 |
| CN107872838B (zh) * | 2016-09-27 | 2021-09-21 | 华为技术有限公司 | 中继指示方法及接入点ap |
| US20180150124A1 (en) * | 2016-11-28 | 2018-05-31 | Qualcomm Incorporated | Wifi memory power minimization |
-
2018
- 2018-08-14 CN CN201810922459.5A patent/CN109151782B/zh active Active
-
2019
- 2019-01-29 WO PCT/CN2019/073756 patent/WO2020034604A1/zh not_active Ceased
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105096553A (zh) * | 2014-05-05 | 2015-11-25 | 关隆股份有限公司 | 无线电器的控制方法 |
| CN105007260A (zh) * | 2015-05-28 | 2015-10-28 | 武汉虹信通信技术有限责任公司 | 一种基于TCP/IP协议改造的Wi-Fi信号扩展系统及方法 |
| CN104898449A (zh) * | 2015-06-04 | 2015-09-09 | 泰凌微电子(上海)有限公司 | 智能家居系统及其控制方法 |
| CN105578568A (zh) * | 2015-12-16 | 2016-05-11 | 上海飞乐音响股份有限公司 | 一种wifi通信装置及其网络的建立方法 |
| CN105680927A (zh) * | 2015-12-29 | 2016-06-15 | 青岛海尔智能家电科技有限公司 | 一种智能家电设备、wifi信号的中继方法和装置 |
| CN107612790A (zh) * | 2016-07-11 | 2018-01-19 | 佛山市顺德区美的电热电器制造有限公司 | 一种家电控制的方法、设备和系统 |
| CN206226486U (zh) * | 2016-08-02 | 2017-06-06 | 九阳股份有限公司 | 一种智能家电及智能家电系统 |
| CN106900029A (zh) * | 2017-02-17 | 2017-06-27 | 深圳市旭日东方实业有限公司 | WiFi中继器及其节能中继方法 |
| CN108361922A (zh) * | 2018-03-22 | 2018-08-03 | 广州勒夫蔓德电器有限公司 | 一种空气净化器及空气净化系统 |
| CN109151782A (zh) * | 2018-08-14 | 2019-01-04 | 深圳市沃特沃德股份有限公司 | 基于智能家居设备的wifi信号中继方法及系统 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20220029852A1 (en) * | 2020-07-24 | 2022-01-27 | Ite Tech. Inc. | Signal relay system with reduced power consumption |
| US11627015B2 (en) * | 2020-07-24 | 2023-04-11 | Ite Tech. Inc. | Signal relay system with reduced power consumption |
| CN115775558A (zh) * | 2021-09-08 | 2023-03-10 | 佛山市云米电器科技有限公司 | 一种智能家电控制方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109151782A (zh) | 2019-01-04 |
| CN109151782B (zh) | 2020-12-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110601871B (zh) | 一种虚拟设备的测试方法和装置 | |
| US10959280B2 (en) | Communications method of wearable device, communications system, and related device | |
| CN109151782B (zh) | 基于智能家居设备的wifi信号中继方法及系统 | |
| CN109189698B (zh) | 设备控制方法、装置以及物联网系统 | |
| CN110740460B (zh) | 一种设备的入网方法、装置、网络设备及存储介质 | |
| US20210165379A1 (en) | Device control system, method and apparatus, and gateways | |
| CN110708222A (zh) | 控制方法、装置、网关及存储介质 | |
| CN106647306A (zh) | 智能设备的控制方法及装置 | |
| US10285059B2 (en) | MAC address determination using a personal WLAN | |
| US20240334526A1 (en) | Method performed by user equipment, and user equipment | |
| TWI795619B (zh) | 內建伺服模組的閘道裝置與通信系統 | |
| WO2021139365A1 (zh) | 处理遥控数据的方法、装置及计算机设备 | |
| CN108775679B (zh) | 集中控制方法和装置、中控器以及空调机组的控制系统 | |
| CN109644364B (zh) | 一种信道状态信息测量及反馈方法及相关产品 | |
| WO2012175024A1 (zh) | 实现无线数据传输与短信收发并行的方法、系统及设备 | |
| CN106998501B (zh) | 电视机控制方法及装置 | |
| CN115665754B (zh) | 节点设备控制方法、节点设备、蓝牙Mesh系统及存储介质 | |
| CN107798851A (zh) | 一种设备远程控制方法、装置及远程控制器 | |
| CN112469087B (zh) | 空调设备通信速率的调整方法、终端及存储介质 | |
| WO2022001218A1 (zh) | 控制方法、存储介质、家电设备、客户端和控制系统 | |
| CN105611563A (zh) | 一种电源的自动控制方法及装置 | |
| US20250031271A1 (en) | Method performed by user equipment, and user equipment | |
| WO2022227089A1 (zh) | 用于设备配对的方法、装置、计算机设备及存储介质 | |
| CN117241313A (zh) | WiFi兼容性测试方法、相关装置和介质 | |
| WO2016192042A1 (zh) | Small Cell与M2M系统融合的网络架构以及相关方法和相关设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19850185 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19850185 Country of ref document: EP Kind code of ref document: A1 |