CN113473573B - Information processing method and device, wireless access equipment and intelligent household equipment - Google Patents
Information processing method and device, wireless access equipment and intelligent household equipment Download PDFInfo
- Publication number
- CN113473573B CN113473573B CN202110634811.7A CN202110634811A CN113473573B CN 113473573 B CN113473573 B CN 113473573B CN 202110634811 A CN202110634811 A CN 202110634811A CN 113473573 B CN113473573 B CN 113473573B
- Authority
- CN
- China
- Prior art keywords
- wireless access
- information
- request frame
- access device
- smart home
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本公开是关于一种信息处理方法,应用于无线接入设备,包括:接收智能家居设备发送的第一探测请求帧,其中,所述第一探测请求帧中预设字段携带有上行信息;解析所述第一探测请求帧,获取所述上行信息的目的地址;转发所述上行信息至所述目的地址,并向所述智能家居设备返回第一探测响应帧,其中,所述第一探测响应帧用于向所述智能家居设备反馈所述上行信息转发完成。如此,借由无线接入设备给智能家居设备的转发上行信息的设备数据,可以不受无线接入设备的接入设备的数量的限制,相当于提高了无线接入设备的接入能力。本公开还是关于一种信息处理装置、无线接入设备及智能家居设备。
The present disclosure relates to an information processing method, applied to wireless access equipment, including: receiving a first detection request frame sent by a smart home device, wherein a preset field in the first detection request frame carries uplink information; parsing The first detection request frame obtains the destination address of the uplink information; forwards the uplink information to the destination address, and returns a first detection response frame to the smart home device, wherein the first detection response The frame is used to feedback to the smart home device that the uplink information forwarding is completed. In this way, the device data forwarded by the wireless access device to the smart home device for uplink information is not limited by the number of access devices of the wireless access device, which is equivalent to improving the access capability of the wireless access device. The present disclosure also relates to an information processing device, a wireless access device and a smart home device.
Description
技术领域Technical field
本公开涉及无线网络技术领域,尤其涉及信息处理方法、装置、无线接入设备及智能家居设备。The present disclosure relates to the field of wireless network technology, and in particular to information processing methods, devices, wireless access equipment and smart home equipment.
背景技术Background technique
在无线局域网中各个电子设备都可以通过同一无线接入设备进行例如认证后连接,相关技术中,无线局域网中的无线接入设备可接入的设备数量有限。但是当无线局域网内存在较多设备需要接入时,会造成多个设备无法联网,即使采用一些高端的路由器作为无线接入设备,理论上可接入的同频设备数最多也不超过255个。因此,如何提高无线接入设备的接入能力成为了亟待解决的技术问题。In a wireless LAN, each electronic device can be connected through the same wireless access device, for example, after authentication. In related technologies, the number of devices that the wireless access device in the wireless LAN can access is limited. However, when there are many devices in the wireless LAN that need to be accessed, it will cause multiple devices to be unable to connect to the Internet. Even if some high-end routers are used as wireless access devices, the maximum number of devices that can be connected to the same frequency in theory does not exceed 255. . Therefore, how to improve the access capability of wireless access equipment has become an urgent technical issue to be solved.
发明内容Contents of the invention
根据本公开实施例的第一方面,提供一种信息处理方法,应用于无线接入设备,包括:According to a first aspect of an embodiment of the present disclosure, an information processing method is provided, which is applied to a wireless access device, including:
接收智能家居设备发送的第一探测请求帧,其中,所述探测请求帧中预设字段携带有上行信息;Receive the first detection request frame sent by the smart home device, wherein the preset field in the detection request frame carries uplink information;
解析所述第一探测请求帧,获取所述上行信息的目的地址;Parse the first detection request frame and obtain the destination address of the uplink information;
转发所述上行信息至所述目的地址,并向所述智能家居设备返回第一探测响应帧,其中,所述第一探测响应帧用于向所述智能家居设备反馈所述上行信息转发完成。Forward the uplink information to the destination address, and return a first detection response frame to the smart home device, where the first detection response frame is used to feedback to the smart home device that the uplink information forwarding is completed.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
接收所述智能家居设备发送的第二探测请求帧,其中,所述第二探测请求帧用于请求查询下行信息;Receive a second detection request frame sent by the smart home device, where the second detection request frame is used to request to query downlink information;
确定本地是否缓存有所述下行信息;Determine whether the downlink information is cached locally;
在确定本地缓存所述下行信息的情况下,向所述智能家居设备发送第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述下行信息。When it is determined that the downlink information is cached locally, a second detection response frame is sent to the smart home device, wherein a preset field in the second detection response frame carries the downlink information.
在一些实施例中,所述在接收所述智能家居设备发送的第二探测请求帧之前,所述方法还包括:In some embodiments, before receiving the second detection request frame sent by the smart home device, the method further includes:
接收所述目的地址所指示的设备发送的下行信息;其中,所述下行信息中携带有所述智能家居设备的设备标识;Receive downlink information sent by the device indicated by the destination address; wherein the downlink information carries the device identification of the smart home device;
缓存所述下行信息,并记录与所述下行信息对应的所述智能家居设备的设备标识。The downlink information is cached, and the device identification of the smart home device corresponding to the downlink information is recorded.
在一些实施例中,所述接收智能家居设备发送的第一探测请求帧,之前,所述方法还包括:In some embodiments, before receiving the first detection request frame sent by the smart home device, the method further includes:
接收智能家居设备发送的第三探测请求帧,其中,所述第三探测请求帧中预设字段携带有请求所述无线接入设备的接入能力信息的请求信息;所述接入能力信息能够用于所述智能家居设备确定是否向所述无线接入设备发送所述第一探测请求帧;Receive a third detection request frame sent by a smart home device, wherein a preset field in the third detection request frame carries request information requesting access capability information of the wireless access device; the access capability information can Used by the smart home device to determine whether to send the first detection request frame to the wireless access device;
基于所述第三探测请求帧,广播所述第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述无线接入设备的接入能力信息。Based on the third detection request frame, the second detection response frame is broadcast, wherein a preset field in the second detection response frame carries access capability information of the wireless access device.
在一些实施例中,所述预设字段包括:Vendor IE中的payload字段。In some embodiments, the preset field includes: payload field in Vendor IE.
根据本公开实施例的第二方面,提供一种信息处理方法,应用于智能家居设备,包括:According to a second aspect of the embodiment of the present disclosure, an information processing method is provided, applied to smart home devices, including:
确定目标无线接入设备;Determine the target wireless access device;
向所述目标无线接入设备发送第一探测请求帧;其中,所述第一探测请求帧中预设字段携带有上行信息以及所述上行信息的目的地址;Send a first detection request frame to the target wireless access device; wherein the preset field in the first detection request frame carries uplink information and the destination address of the uplink information;
接收所述目标无线接入设备基于所述第一探测请求帧返回的第一探测响应帧;其中,所述第一探测响应帧用于所述目标无线接入设备向所述智能家居设备反馈所述上行信息转发完成。Receive a first detection response frame returned by the target wireless access device based on the first detection request frame; wherein the first detection response frame is used by the target wireless access device to feed back the information to the smart home device. The above uplink information forwarding is completed.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
向所述目标无线接入设备发送第二探测请求帧,其中,所述第二探测请求帧用于请求查询下行信息;Send a second detection request frame to the target wireless access device, where the second detection request frame is used to request to query downlink information;
若所述目标无线接入设备缓存有所述下行信息的情况下,接收所述目标无线接入设备发送的第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述下行信息。If the target wireless access device caches the downlink information, receive a second detection response frame sent by the target wireless access device, wherein the preset field in the second detection response frame carries Describe downstream information.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
向所述目标无线接入设备发送第二探测请求帧,其中,所述第二探测请求帧用于查询下行信息;Send a second detection request frame to the target wireless access device, where the second detection request frame is used to query downlink information;
若所述目标无线接入设备缓存有所述下行信息的情况下,接收所述目标无线接入设备发送的第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述下行信息。If the target wireless access device caches the downlink information, receive a second detection response frame sent by the target wireless access device, wherein the preset field in the second detection response frame carries Describe downstream information.
在一些实施例中,所述第二探测请求帧携带有所述智能家居设备的设备标识,所述智能家居设备的设备标识,用于供所述目标无线接入设备确定是否缓存有所述下行信息。In some embodiments, the second detection request frame carries the device identification of the smart home device. The device identification of the smart home device is used for the target wireless access device to determine whether the downlink cache is cached. information.
在一些实施例中,所述确定目标无线接入设备,包括:In some embodiments, determining the target wireless access device includes:
向备选无线接入设备广播第三探测请求帧;Broadcast a third detection request frame to the candidate wireless access device;
基于所述第三探测请求帧,接收各个备选无线接入设备分别返回的第三探测响应帧,其中,所述第三探测响应帧中预设字段携带有所述备选无线接入设备的接入能力信息;Based on the third detection request frame, receive a third detection response frame respectively returned by each candidate wireless access device, wherein a preset field in the third detection response frame carries the information of the candidate wireless access device. Access capability information;
解析所述第三探测响应帧,确定出所述备选无线接入设备的接入能力信息;Parse the third detection response frame to determine the access capability information of the candidate wireless access device;
基于各个所述备选无线接入设备的接入能力信息,从各个所述备选无线接入设备中选择出所述目标接入点。Based on the access capability information of each of the candidate wireless access devices, the target access point is selected from each of the candidate wireless access devices.
在一些实施例中,所述接入能力信息,包括:接收信号强度指示;In some embodiments, the access capability information includes: received signal strength indication;
所述基于各个所述备选无线接入设备的接入能力信息,从各个所述备选无线接入设备中选择出所述目标接入点,包括:Selecting the target access point from each of the candidate wireless access devices based on the access capability information of each of the candidate wireless access devices includes:
基于各个所述备选无线接入设备的接入能力信息,确定出各个所述备选无线接入设备两两之间的所述接收信号强度指示的多个差值;Based on the access capability information of each of the candidate wireless access devices, determine a plurality of differences in the received signal strength indications between each of the candidate wireless access devices;
若所述多个差值中至少一个差值大于第一差值阈值,则选择所述接收信号强度指示的信号强度最强的对应的备选无线接入设备,作为所述目标接入点。If at least one of the plurality of differences is greater than the first difference threshold, then select the corresponding candidate wireless access device with the strongest signal strength indicated by the received signal strength as the target access point.
在一些实施例中,所述接入点能力信息,包括:备选无线接入设备的已代理设备个数与最大代理设备个数的比值;In some embodiments, the access point capability information includes: the ratio of the number of proxy devices of the candidate wireless access device to the maximum number of proxy devices;
所述方法还包括:The method also includes:
若所述多个差值均小于第二差值阈值,则选择备选无线接入设备的已代理设备个数与最大代理设备个数的所述比值中比值最小的对应的备选无线接入设备,作为所述目标接入点。If the plurality of differences are all less than the second difference threshold, select the candidate wireless access corresponding to the smallest ratio among the number of proxy devices and the maximum number of proxy devices of the candidate wireless access device. device as the target access point.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
监听所述第一探测请求帧的发送触发事件;Monitor the sending trigger event of the first detection request frame;
所述向所述目标无线接入设备发送第一探测请求帧,包括:The sending of the first detection request frame to the target wireless access device includes:
若监听到所述第一探测请求帧的发送触发事件,向所述目标无线接入设备发送所述第一探测请求帧。If the sending trigger event of the first detection request frame is monitored, the first detection request frame is sent to the target wireless access device.
根据本公开实施例的第三方面,提供一种信息处理装置,应用于无线接入设备,包括:According to a third aspect of the embodiment of the present disclosure, an information processing apparatus is provided, applied to wireless access equipment, including:
第一接收模块,用于接收智能家居设备发送的第一探测数据帧,其中,所述第一探测请求帧中预设字段携带有上行信息;The first receiving module is configured to receive the first detection data frame sent by the smart home device, wherein the preset field in the first detection request frame carries uplink information;
第一解析模块,用于解析所述第一探测请求帧,获取确定所述上行信息的目的地址;A first parsing module, configured to parse the first detection request frame and obtain the destination address of the uplink information;
转发模块,用于转发所述上行信息至所述目的地址,并向所述智能家居设备返回第一探测响应帧,其中,所述第一探测响应帧用于向所述智能家居设备反馈所述上行信息转发完成。a forwarding module, configured to forward the uplink information to the destination address, and return a first detection response frame to the smart home device, wherein the first detection response frame is used to feed back the Uplink information forwarding is completed.
在一些实施例中,所述装置还包括:In some embodiments, the device further includes:
第二接收模块,用于接收所述智能家居设备发送的第二探测请求帧,其中,所述第二探测请求帧用于请求查询下行信息;A second receiving module, configured to receive a second detection request frame sent by the smart home device, where the second detection request frame is used to request to query downlink information;
第一确定模块,用于确定本地是否缓存有所述下行信息;The first determination module is used to determine whether the downlink information is cached locally;
第一发送模块,用于确定本地缓存所述下行信息的情况下,向所述智能家居设备发送第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述下行信息。A first sending module, configured to send a second detection response frame to the smart home device when it is determined that the downlink information is cached locally, wherein the preset field in the second detection response frame carries the downlink information. .
在一些实施例中,所述第一确定模块,还用于:In some embodiments, the first determining module is also used to:
确定本地存储的设备标识列表中是否存在所述智能家居设备的设备标识;其中,在存在所述设备标识的情况下,确定本地缓存有所述下行信息;在不存在所述设备标识的情况下,确定本地未缓存所述下行信息。Determine whether the device identification of the smart home device exists in the locally stored device identification list; wherein, if the device identification exists, it is determined that the downlink information is cached locally; if the device identification does not exist, , determine that the downlink information is not cached locally.
在一些实施例中,所述装置还包括:In some embodiments, the device further includes:
第二接收模块,用于在接收所述智能家居设备发送的第二探测请求帧之前,接收所述目的地址所指示的设备发送的下行信息;其中,所述下行信息中携带有所述智能家居设备的设备标识;The second receiving module is configured to receive downlink information sent by the device indicated by the destination address before receiving the second detection request frame sent by the smart home device; wherein the downlink information carries the smart home device. The device identification of the device;
缓存模块,用于缓存所述下行信息,并记录所述下行信息对应的所述智能家居设备的设备标识。A cache module, configured to cache the downlink information and record the device identification of the smart home device corresponding to the downlink information.
在一些实施例中,所述装置还包括:In some embodiments, the device further includes:
第三接收模块,用于所述接收智能家居设备发送的第一探测请求帧,之前,接收智能家居设备发送的第三探测请求帧,其中,所述第三探测请求帧中预设字段携带有请求所述无线接入设备的接入能力信息的请求信息;所述接入能力信息能够用于所述智能家居设备确定是否向所述无线接入设备发送所述第一探测请求帧;The third receiving module is configured to receive the first detection request frame sent by the smart home device. Before, receive the third detection request frame sent by the smart home device, wherein the preset field in the third detection request frame carries Request information requesting access capability information of the wireless access device; the access capability information can be used by the smart home device to determine whether to send the first detection request frame to the wireless access device;
广播模块,用于基于所述第三探测请求帧,广播所述第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述无线接入设备的接入能力信息。A broadcast module, configured to broadcast the second detection response frame based on the third detection request frame, wherein a preset field in the second detection response frame carries access capability information of the wireless access device.
在一些实施例中,所述预设字段包括:Vendor IE中的payload字段。In some embodiments, the preset field includes: payload field in Vendor IE.
根据本公开实施例的第四方面,应用于智能家居设备,包括:According to the fourth aspect of the embodiment of the present disclosure, applied to smart home devices, including:
第二确定模块,用于确定目标无线接入设备;The second determination module is used to determine the target wireless access device;
第二发送模块,用于向所述杰无线接入设备发送第一探测请求帧,其中,所述第一探测请求帧中预设字段携带有上行信息以及所述上行信息的目的地址;The second sending module is configured to send a first detection request frame to the wireless access device, wherein the preset field in the first detection request frame carries uplink information and the destination address of the uplink information;
第四接收模块,用于接收所述目标无线接入设备基于所述第一探测请求帧返回的第一探测响应帧,其中,所述第一探测响应帧很用于所述目标无线接入设备向所述智能家居设备反馈所述上行信息转发完成。The fourth receiving module is configured to receive a first detection response frame returned by the target wireless access device based on the first detection request frame, wherein the first detection response frame is suitable for the target wireless access device. Feedback to the smart home device that the uplink information forwarding is completed.
在一些实施例中,所述装置还包括:In some embodiments, the device further includes:
第三接收模块,用于向所述目标无线接入设备发送第二探测请求帧,其中,所述第二探测请求帧用于请求查询下行信息;A third receiving module, configured to send a second detection request frame to the target wireless access device, where the second detection request frame is used to request to query downlink information;
第五接收模块,用于若所述目标无线接入设备缓存有所述下行信息的情况下,接收所述目标无线接入设备发送的第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述下行信息。The fifth receiving module is configured to receive a second detection response frame sent by the target wireless access device if the target wireless access device caches the downlink information, wherein the second detection response frame The preset field in carries the downlink information.
在一些实施例中,所述第二探测请求帧携带有所述智能家居设备的设备标识,所述智能家居设备的设备标识,用于供所述目标无线接入设备确定是否缓存有所述下行信息。In some embodiments, the second detection request frame carries the device identification of the smart home device. The device identification of the smart home device is used for the target wireless access device to determine whether the downlink cache is cached. information.
在一些实施例中,所述第二确定模块,还包括:In some embodiments, the second determination module further includes:
广播子模块,用于向备选无线接入设备广播第三探测请求帧;The broadcast submodule is used to broadcast the third detection request frame to the candidate wireless access device;
接收子模块,用于基于所述第三探测请求帧,接收各个备选无线接入设备分别返回的第三探测响应帧,其中,所述第三探测响应帧中预设字段携带有所述备选无线接入设备的接入能力信息;The receiving submodule is configured to receive a third detection response frame returned by each candidate wireless access device respectively based on the third detection request frame, wherein the preset field in the third detection response frame carries the backup information of the candidate wireless access device. Select the access capability information of the wireless access device;
解析子模块,用于解析所述第三探测响应帧,确定出所述备选无线接入设备的接入能力信息;A parsing submodule, configured to parse the third detection response frame and determine the access capability information of the candidate wireless access device;
选择子模块,用于基于各个所述备选无线接入设备的接入能力信息,从各个所述备选无线接入设备中选择出所述目标接入点。A selection submodule is configured to select the target access point from each of the candidate wireless access devices based on the access capability information of each of the candidate wireless access devices.
在一些实施例中,所述接入能力信息,包括:接收的信号强度指示;In some embodiments, the access capability information includes: received signal strength indication;
所述选择子模块,还用于:The selection sub-module is also used to:
基于各个所述备选无线接入设备的接入能力信息,确定出各个所述备选无线接入设备两两之间的所述接收的信号指示的多个差值;Based on the access capability information of each of the candidate wireless access devices, determine a plurality of differences in the received signal indications between each of the candidate wireless access devices;
若所述多个差值中至少一个差值大于第一差值阈值,则选择所述接收的信号强度指示中信号强度对应的备选无线接入设备,作为所述目标接入点。If at least one difference value among the plurality of differences is greater than the first difference threshold, select the candidate wireless access device corresponding to the signal strength in the received signal strength indication as the target access point.
在一些实施例中,所述接入点能力信息,包括:备选无线接入设备的已代理设备个数与最大代理设备个数的比值;In some embodiments, the access point capability information includes: the ratio of the number of proxy devices of the candidate wireless access device to the maximum number of proxy devices;
所述装置还包括:The device also includes:
选择模块,用于若所述多个差值均小于第二差值阈值,则选择备选无线接入设备的已代理设备个数与最大代理设备个数的所述比值中比值最小的对应的备选无线接入设备,作为所述目标接入点。A selection module configured to, if the plurality of differences are less than a second difference threshold, select the corresponding one with the smallest ratio among the ratios of the number of proxy devices and the maximum number of proxy devices of the candidate wireless access device. Alternative wireless access device as the target access point.
在一些实施例中,所述装置还包括:In some embodiments, the device further includes:
监听模块,用于监听所述第一探测请求帧的发送触发事件;A monitoring module configured to monitor the sending trigger event of the first detection request frame;
所述第二发送模块,还用于若监听到所述第一探测请求帧的发送触发事件,向所述目标无线接入设备发送所述第一探测请求帧。The second sending module is also configured to send the first detection request frame to the target wireless access device if a triggering event for sending the first detection request frame is heard.
在一些实施例中,所述预设字段包括:Vemdor IE中的负载字段。In some embodiments, the preset field includes: a load field in Vemdor IE.
根据本公开实施例的第五方面,提供一种无线接入设备,包括:According to a fifth aspect of the embodiment of the present disclosure, a wireless access device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;
其中,所述处理器被配置为:用于运行所述可执行指令时,实现上述任意所述的应用于所述无线接入设备的信息处理方法。Wherein, the processor is configured to implement any of the above information processing methods applied to the wireless access device when running the executable instructions.
根据本公开实施例的第六方面,提供一种智能家居设备,包括:According to a sixth aspect of the embodiment of the present disclosure, a smart home device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;
其中,所述处理器被配置为:用于运行所述可执行指令时,实现上述任意所述的应用于所述智能家居设备的信息处理方法。Wherein, the processor is configured to implement any of the above information processing methods applied to the smart home device when running the executable instructions.
根据本公开实施例的第七方面,提供一种非临时性计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行实现上述任意应用于无线接入设备的信息处理方法,或者实现上述任意应用于智能家居设备的信息处理方法。According to a seventh aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored, and the program is executed by a processor to implement any of the above information processing methods applied to wireless access devices, Or implement any of the above information processing methods applied to smart home devices.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开的实施例应用于无线接入设备时,接收智能家居设备发送的第一探测请求帧,其中,所述第一探测请求帧中预设字段携带有上行信息;解析所述第一探测请求帧,获取所述上行信息的目的地址;转发所述上行信息至所述目的地址,并向所述智能家居设备返回第一探测响应帧,其中,所述第一探测响应帧用于向所述智能家居设备反馈所述上行信息转发完成。如此,相比于相关技术中需要将智能家居设备接入到无线接入设备中,才能将上行信息发送至云端或者其他设备而言,由于本公开实施例通过发送第一探测请求帧的情况下,将上行信息携带于第一探测请求帧中发给的无线接入设备,不需要智能家居设备与无线接入设备通过例如认证等进行接入连接,也能够经由无线接入设备将智能家居设备的上行信息转发出去。基于此,本公开实施例中的智能家居设备由于不需要接入无线接入设备,即不需要通过与无线接入设备的例如认证连接等,因此,不会被计入到无线接入设备的接入设备中,从而该无线接入设备可以不受接入设备的数量的限制,这样一来,该无线接入设备可以作为不受接入设备的数量限制的中转设备帮助智能家居设备转发上行信息,从而能够极大扩展了无线接入设备的可为之中转的设备数量,进而相当于提高了无线接入设备的接入能力。When the embodiment of the present disclosure is applied to a wireless access device, the first detection request frame sent by the smart home device is received, wherein the preset field in the first detection request frame carries uplink information; the first detection request is parsed frame, obtain the destination address of the uplink information; forward the uplink information to the destination address, and return a first detection response frame to the smart home device, wherein the first detection response frame is used to send the The smart home device feedbacks that the uplink information forwarding is completed. In this way, compared with the related technology that requires smart home devices to be connected to wireless access devices in order to send uplink information to the cloud or other devices, in the embodiment of the present disclosure, by sending the first detection request frame , the uplink information is carried in the first detection request frame and sent to the wireless access device. There is no need for the smart home device and the wireless access device to access and connect through authentication, etc., and the smart home device can also be connected to the wireless access device via the wireless access device. The uplink information is forwarded. Based on this, the smart home devices in the embodiments of the present disclosure do not need to access the wireless access device, that is, they do not need to pass an authentication connection with the wireless access device, etc., therefore, they will not be counted into the wireless access device. In the access device, the wireless access device is not limited by the number of access devices. In this way, the wireless access device can be used as a transit device that is not limited by the number of access devices to help smart home devices forward uplinks. Information, thereby greatly expanding the number of devices that the wireless access device can relay, which is equivalent to improving the access capability of the wireless access device.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and do not limit the present disclosure.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1是根据一示例性实施例示出的一种信息处理方法的流程图;Figure 1 is a flow chart of an information processing method according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种信息处理方法的另一流程图;Figure 2 is another flowchart of an information processing method according to an exemplary embodiment;
图3是根据另一示例性实施例示出的一种信息处理方法的流程图;Figure 3 is a flow chart of an information processing method according to another exemplary embodiment;
图4是根据另一示例性实施例示出的一种信息处理方法的又一流程图;Figure 4 is yet another flowchart of an information processing method according to another exemplary embodiment;
图5是根据一具体实施例示出的一种信息处理方法的流程图;Figure 5 is a flow chart of an information processing method according to a specific embodiment;
图6是根据一具体实施例示出的一种信息处理方法的另一流程图;Figure 6 is another flow chart of an information processing method according to a specific embodiment;
图7是根据一示例性实施例示出的一种信息处理装置的框图;Figure 7 is a block diagram of an information processing device according to an exemplary embodiment;
图8是根据另一示例性实施例示出的一种信息处理装置的框图;Figure 8 is a block diagram of an information processing device according to another exemplary embodiment;
图9是根据一示例性实施例示出的一种无线接入设备的框图;Figure 9 is a block diagram of a wireless access device according to an exemplary embodiment;
图10是根据一示例性实施例示出的一种智能家居设备的框图。FIG. 10 is a block diagram of a smart home device according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the appended claims.
图1是根据一示例性实施例示出的一种信息处理方法的流程图,如图1所示,所述方法应用于无线接入设备,包括以下步骤:Figure 1 is a flow chart of an information processing method according to an exemplary embodiment. As shown in Figure 1, the method is applied to a wireless access device and includes the following steps:
步骤11:接收智能家居设备发送的第一探测请求帧,其中,所述第一探测请求帧中预设字段携带有上行信息;Step 11: Receive the first detection request frame sent by the smart home device, wherein the preset field in the first detection request frame carries uplink information;
步骤12:解析所述第一探测请求帧,获取所述上行信息的目的地址;Step 12: Parse the first detection request frame and obtain the destination address of the uplink information;
步骤13:转发所述上行信息至所述目的地址,并向所述智能家居设备返回第一探测响应帧,其中,所述第一探测响应帧用于向所述智能家居设备反馈所述上行信息转发完成。Step 13: Forward the uplink information to the destination address, and return a first detection response frame to the smart home device, where the first detection response frame is used to feed back the uplink information to the smart home device. Forwarding completed.
这里,无线接入设备是指无线网络中提供无线接入服务的设备,能够提供信息访问,且允许无线终端进行接入的设备,例如,路由器或者交换机等网络设备,也可以内置有Wi-Fi模板的终端,本公开实施例不做任何限定。这里,终端可以包括移动终端,或者固定终端,所述移动终端例如可以是手机或平板电脑等,固定终端例如可以是电脑、智能家居设备等,其中,智能家居设备又可以是例如智能电视、智能冰箱或智能洗衣机等,总之,所述终端为可以作为站点接入到所述无线接入设备的设备。本公开以智能家居设备作为接入到无线接入设备的终端为例。Here, wireless access devices refer to devices that provide wireless access services in wireless networks, devices that can provide information access and allow wireless terminals to access, for example, network devices such as routers or switches, which can also have built-in Wi-Fi The terminal of the template is not subject to any limitation in the embodiment of this disclosure. Here, the terminal may include a mobile terminal or a fixed terminal. The mobile terminal may be, for example, a mobile phone or a tablet computer. The fixed terminal may be, for example, a computer or a smart home device. The smart home device may be, for example, a smart TV, a smart home device, etc. Refrigerator or smart washing machine, etc. In short, the terminal is a device that can be connected to the wireless access device as a site. This disclosure takes a smart home device as a terminal connected to a wireless access device as an example.
需要说明的是,智能家居设备可以通过广播探测请求帧以及接收探测响应帧的方式,扫描到可接入的无线接入设备,然后比较扫描到的无线接入设备的SSID(Service SetIdentifier,服务集标识符)是不是自己预先配置所要连接的SSID,如果是则进行接入。当然,在另一些实施例中,如果智能家居设备未预先配置所要连接的SSID,那么可以通过扫描到的无线接入设备的SSID,进行认证,认证通过后接入到所述无线接入设备。It should be noted that smart home devices can scan for accessible wireless access devices by broadcasting detection request frames and receiving detection response frames, and then compare the SSID (Service SetIdentifier, Service Set) of the scanned wireless access devices. Identifier) is the SSID to be connected pre-configured? If so, access is performed. Of course, in other embodiments, if the smart home device is not pre-configured with the SSID to be connected, authentication can be performed through the scanned SSID of the wireless access device, and the wireless access device can be accessed after passing the authentication.
在一些实施方式中,所述步骤11之前,即所述接收智能家居设备发送的第一探测请求帧之前,所述方法还包括:In some implementations, before step 11, that is, before receiving the first detection request frame sent by the smart home device, the method further includes:
隐藏所述无线接入设备的SSID。Hide the SSID of the wireless access device.
本实施例中,通过隐藏所述无线接入设备的SSID,减少智能家居设备在接收到无线接入设备的探测响应帧时,对SSID的识别和比较等处理,从而在保证智能家居设备无需接入到无线接入设备的基础上,减少智能家居设备的计算资源,降低智能家居设备的能源损耗,以提高智能家居设备的续航能力。In this embodiment, by hiding the SSID of the wireless access device, the process of identifying and comparing the SSID when the smart home device receives the detection response frame of the wireless access device is reduced, thereby ensuring that the smart home device does not need to receive On the basis of integrating wireless access devices, it reduces the computing resources of smart home devices and reduces the energy consumption of smart home devices to improve the battery life of smart home devices.
当然,在另一些实施例方式中,所述无线接入设备在上电时便开启隐藏SSID。Of course, in other embodiments, the wireless access device turns on the hidden SSID when it is powered on.
上述隐藏SSID的方式,可以是:通过加密的方式隐藏SSID,或者通过字符替换SSID。总之,隐藏的SSID将无法直接被智能家居设备所解析且无法基于SSID直接将智能家居设备进行接入。The above-mentioned method of hiding the SSID can be: hiding the SSID through encryption, or replacing the SSID with characters. In short, the hidden SSID will not be directly parsed by smart home devices and smart home devices cannot be directly connected based on the SSID.
还需要说明的是,在无线局域网通信的标准IEEE 802.11的协议定义中,探测请求帧和探测响应帧中,都规定了厂商自定义字段Vendor IE。这里,表1为探测请求帧以及用于回复探测请求帧的探测响应帧中的自定义字段Vendor IE的字段格式:It should also be noted that in the protocol definition of IEEE 802.11, the standard for wireless LAN communication, the vendor-defined field Vendor IE is specified in both the detection request frame and the detection response frame. Here, Table 1 shows the field format of the custom field Vendor IE in the probe request frame and the probe response frame used to reply to the probe request frame:
表1Table 1
可以理解的是,表1中的每一个元素都是独立存在的,这些元素被示例性的列在同一表格中,但是并不代表表格中的所有元素必须根据表格中所示的同时存在。其中,每一个元素的值,是不依赖表1中任何其他元素值的。因此,本领域技术人员可以理解,该表1中的每一个元素的取值都是一个独立的实施例。It can be understood that each element in Table 1 exists independently, and these elements are exemplarily listed in the same table, but this does not mean that all elements in the table must exist at the same time as shown in the table. Among them, the value of each element does not depend on the value of any other element in Table 1. Therefore, those skilled in the art can understand that the value of each element in Table 1 is an independent embodiment.
需要说明的是,由于探测请求帧和探测响应帧中的自定义字段Vendor IE是用户可以自定义的字段,如此,本公开实施例是利用该自定义字段Vendor IE中的payload实现无线接入设备与智能家居设备之间的信息交互的。其中,Vendor IE中的payload字段可以理解为Vendor IE中的负载字段。It should be noted that since the custom field Vendor IE in the detection request frame and the detection response frame is a field that can be customized by the user, the embodiment of the present disclosure uses the payload in the custom field Vendor IE to implement the wireless access device. Information interaction with smart home devices. Among them, the payload field in Vendor IE can be understood as the payload field in Vendor IE.
这里,元素标识符,一般是固定值;帧长度,则可以表示出帧的最大字节数,也就是该信息帧的长度,这里,信息帧最大为255个字节;这里的payload,可以由厂商自定义。Here, the element identifier is generally a fixed value; the frame length can indicate the maximum number of bytes of the frame, which is the length of the information frame. Here, the maximum information frame is 255 bytes; the payload here can be Manufacturer customized.
需要说明的是,智能家居设备发送的第一探测请求帧中携带有上行信息,可以理解为,智能家居设备将上行信息封装到第一探测请求帧中。示例性的,请参阅表1,将所述智能家居设备的上行信息封装到第一探测请求帧中,包括:将所述智能家居设备的上行信息封装在所述第一探测请求帧中的预设字段中。在一些实施例中,所述第一探测请求帧中的预设字段,可以是Vendor IE的payload字段。It should be noted that the first detection request frame sent by the smart home device carries uplink information. It can be understood that the smart home device encapsulates the uplink information into the first detection request frame. For example, please refer to Table 1. Encapsulating the uplink information of the smart home device into the first detection request frame includes: encapsulating the uplink information of the smart home device in the predefined first detection request frame. in the setting field. In some embodiments, the preset field in the first detection request frame may be the payload field of the Vendor IE.
以下,表2为第一探测请求帧中payload字段的格式:Below, Table 2 shows the format of the payload field in the first detection request frame:
表2Table 2
可以理解的是,表2中的每一个元素都是独立存在的,这些元素被示例性的列在同一表格中,但是并不代表表格中的所有元素必须根据表格中所示的同时存在。其中,每一个元素的值,是不依赖表2中任何其他元素值的。因此,本领域技术人员可以理解,该表2中的每一个元素的取值都是一个独立的实施例。It can be understood that each element in Table 2 exists independently, and these elements are exemplarily listed in the same table, but this does not mean that all elements in the table must exist at the same time as shown in the table. Among them, the value of each element does not depend on the value of any other element in Table 2. Therefore, those skilled in the art can understand that the value of each element in Table 2 is an independent embodiment.
这里,业务信息类型包括:第一类业务信息。可以理解的是,若所述业务信息类型为所述第一类业务信息,则该业务信息为无线接入设备接收到的智能家居设备需要转发的上行信息。通常是无线接入设备接收到的智能家居设备需要转发给网络服务器等的上行信息。当然,第一类业务信息也可以为无线接入设备接收到的智能家居设备需要转发给其他网络设备中的智能家居设备或终端的上行信息。Here, the business information types include: first type of business information. It can be understood that if the service information type is the first type of service information, then the service information is uplink information received by the wireless access device and needs to be forwarded by the smart home device. Usually it is the uplink information received by the smart home device that needs to be forwarded to the network server etc. by the wireless access device. Of course, the first type of service information may also be uplink information received by the smart home device from the wireless access device and needs to be forwarded to the smart home device or terminal in other network devices.
在一些实施例中,请再参表2,所述预设字段还可以是payload字段中的业务信息载荷字段。In some embodiments, please refer to Table 2 again. The preset field may also be the service information payload field in the payload field.
示例性的,将所述智能家居设备的上行信息封装到第一探测请求帧中,包括:Exemplarily, encapsulating the uplink information of the smart home device into the first detection request frame includes:
将所述智能家居设备的上行信息封装到第一探测请求帧的Vendor IE的payload字段的业务信息载荷字段中,并将Vendor IE的payload字段中的业务信息类型字段设置为第一类业务信息。这里,若所述业务信息类型为所述第一类业务信息类型,则表明业务信息中携带有上行信息。The uplink information of the smart home device is encapsulated into the service information load field of the payload field of the Vendor IE of the first detection request frame, and the service information type field in the payload field of the Vendor IE is set to the first type of service information. Here, if the service information type is the first type of service information type, it means that the service information carries uplink information.
在另一些实施例中,所述步骤12,即所述解析所述第一探测请求帧,可以包括:In other embodiments, step 12, that is, parsing the first probe request frame, may include:
解析所述第一探测请求帧中的Vendor IE字段中的payload字段,读取所述payload字段中的业务信息类型字段;Parse the payload field in the Vendor IE field in the first detection request frame, and read the service information type field in the payload field;
根据读取的所述业务信息类型为所述第一类业务信息类型,确定所述第一探测请求帧携带有上行信息。According to the read service information type being the first type of service information, it is determined that the first detection request frame carries uplink information.
这里,所述根据读取的所述业务信息类型为第一类业务信息类型,确定所述第一探测请求帧携带有上行信息,包括:Here, based on the fact that the read service information type is the first type of service information, it is determined that the first detection request frame carries uplink information, including:
需要说明的是,当智能家居设备向无线接入设备发送上行信息时,会将上行信息对应的目的地址一并发给所述无线接入设备,如此,无线接入设备才能将上行信息转发到该目的地址中,完成对上行信息的转发过程。It should be noted that when the smart home device sends uplink information to the wireless access device, the destination address corresponding to the uplink information will be sent to the wireless access device. In this way, the wireless access device can forward the uplink information to the wireless access device. In the destination address, the forwarding process of the uplink information is completed.
在一些实施例中,所述步骤12中,所述获取所述上行信息的目的地址,包括:In some embodiments, in step 12, obtaining the destination address of the uplink information includes:
根据上行信息携带的目的地址,确定所述上行信息的目的地址。The destination address of the uplink information is determined according to the destination address carried by the uplink information.
这里,所述上行信息携带的目的地址,包括:上行信息的数据包包头字段中读取到的目的地址;或者,所述上行信息的数据包中负载字段中读取到的目的地址。Here, the destination address carried by the uplink information includes: the destination address read in the header field of the data packet of the uplink information; or the destination address read in the payload field of the data packet of the uplink information.
需要说明的是,由于数据包的包头通常未加密,因此,在一些实施例中,将所述上行信息的目的地址放入上行信息的数据包中的负载字段中,如此,提高了上行信息的安全性。It should be noted that since the header of the data packet is usually not encrypted, in some embodiments, the destination address of the uplink information is put into the payload field in the data packet of the uplink information. In this way, the accuracy of the uplink information is improved. safety.
在另一些实施例中,所述获取所述上行信息的目的地址,包括:In other embodiments, obtaining the destination address of the uplink information includes:
根据所述上行信息携带的设备标识,及所述无线接入设备预先存储的设备标识对应的目的地址,确定所述上行信息的目的地址。The destination address of the uplink information is determined based on the device identifier carried in the uplink information and the destination address corresponding to the device identifier pre-stored by the wireless access device.
需要说明的是,在一些场景中,例如,对于某些厂商的智能家居设备,由于只需要与该厂商的服务器进行通信,这时,这个智能家居设备的设备标识与目的地址是固定的,因此,可以将该厂商的智能家居设备的设备标识与对应的目的地址预先存在无线接入设备中,如此,当该智能家居设备需要借由无线接入设备转发上行信息时,不需要每次都将目的地址发送给无线接入设备,减少数据交互的数据量,提高数据交互的效率。It should be noted that in some scenarios, for example, smart home devices from certain manufacturers only need to communicate with the server of that manufacturer. At this time, the device ID and destination address of the smart home device are fixed, so , the device identification and corresponding destination address of the manufacturer's smart home device can be pre-stored in the wireless access device. In this way, when the smart home device needs to forward uplink information through the wireless access device, it does not need to be forwarded every time. The destination address is sent to the wireless access device to reduce the amount of data exchange and improve the efficiency of data exchange.
当然,对于智能家居设备的通信对象不固定的情况下,所述方法还可以包括:若所述上行信息未携带有目的地址,则根据所述上行信息携带的设备标识,及所述无线接入设备预先存储的设备标识对应的目的地址,确定所述上行信息的目的地址。Of course, when the communication object of the smart home device is not fixed, the method may also include: if the uplink information does not carry a destination address, based on the device identification carried by the uplink information, and the wireless access The destination address corresponding to the device identification stored in advance by the device determines the destination address of the uplink information.
这里,无线接入设备中可以预先存储的设备标识对应的目的地址,为该设备标识对应的智能家居设备默认的目的地址,也就是说,当智能家居设备需要发送上行信息时,如果没有携带目的地址,便将该默认的目的地址作为所述上行信息的目的地址。Here, the destination address corresponding to the device identifier that can be pre-stored in the wireless access device is the default destination address of the smart home device corresponding to the device identifier. That is to say, when the smart home device needs to send uplink information, if it does not carry the destination address, the default destination address is used as the destination address of the uplink information.
在一些实施方式中,所述默认的目的地址可以根据所述智能家居设备所在厂商设置,例如,设置所述智能家居设备所在的厂商对应的服务器地址为默认的目的地址。In some implementations, the default destination address can be set according to the manufacturer of the smart home device. For example, the server address corresponding to the manufacturer of the smart home device is set as the default destination address.
例如,针对某厂商的智能手表,如果该智能手表需要进行该厂商之外的网络访问时,例如,百度的网络访问时,则所述上行信息则可以携带有对应需要访问的网络地址,而该厂商的智能手表,如果只是将所测量的步数或者心跳等参数上传到该厂商的服务器时,则可以设定该厂商服务器的地址为默认的目的地址。For example, for a smart watch from a certain manufacturer, if the smart watch needs to access a network other than the manufacturer, for example, Baidu's network, the uplink information can carry the corresponding network address that needs to be accessed, and the uplink information can carry the corresponding network address that needs to be accessed. If a manufacturer's smart watch only uploads measured steps or heartbeat parameters to the manufacturer's server, the address of the manufacturer's server can be set as the default destination address.
在另一些实施方式中,所述默认的目的地址可以根据所述智能家居设备历史访问服务器频率设备,即可以设置历史访问服务器最高的对应的服务器地址作为默认的目的地址。In other embodiments, the default destination address may be based on the frequency of the smart home device's historical access to the server. That is, the corresponding server address with the highest historical access to the server may be set as the default destination address.
本实施例中,通过上行信息携带的设备标识,及所述无线接入设备预先存储的设备标识对应的目的地址,确定所述上行信息的目的地址,由于不需要都将目的地址携带在上行信息,减少上行信息的数据量,如此,节省了承载上行信息的第一探测请求帧的数据字段中的负载,进而可以增加第一探测请求帧所能携带的数据量。In this embodiment, the destination address of the uplink information is determined through the device identifier carried in the uplink information and the destination address corresponding to the device identifier pre-stored by the wireless access device. Since there is no need to carry the destination address in the uplink information , reducing the data amount of the uplink information, thus saving the load in the data field of the first probe request frame carrying the uplink information, thereby increasing the amount of data that the first probe request frame can carry.
上述实施例中,无线接入设备能够通过第一探测请求帧接收到智能家居设备需要转发的上行信息,并可以将上行信息转发到上行信息的目的地址。这样一来,无线接入设备在不需要与智能家居设备建立例如认证连接的情况下,仍可以作为智能家居设备的中转设备协助智能家居设备将上行信息发送到上行信息的目的地址,如此,使得无线接入设备作为中转设备可以不受接入设备的数量限制,也就是说,由于智能家居设备不需要接入到该无线接入设备,故任何在该无线接入设备的覆盖范围内的智能家居设备都可以利用该无线接入设备转发上行信息,因此,极大的扩展了无线接入设备的可为之中转的设备数量,也就相当于提高了无线接入设备的接入能力。In the above embodiment, the wireless access device can receive the uplink information that the smart home device needs to forward through the first detection request frame, and can forward the uplink information to the destination address of the uplink information. In this way, the wireless access device can still serve as a transit device for the smart home device to assist the smart home device in sending uplink information to the destination address of the uplink information without establishing, for example, an authentication connection with the smart home device. In this way, As a transit device, wireless access devices are not limited by the number of access devices. That is to say, since smart home devices do not need to access the wireless access device, any smart home device within the coverage of the wireless access device All home devices can use the wireless access device to forward uplink information. Therefore, the number of devices that the wireless access device can be relayed is greatly expanded, which is equivalent to improving the access capability of the wireless access device.
进一步地,由于本实施例中,无线接入设备能够为该无线接入设备覆盖范围内的所有的智能家居设备转发上行信息,且不受该无线接入设备的接入设备的数量限制,因此,解决了当前无线局域网内存在较多智能家居设备需要接入的场景时造成的多个智能家居设备无法联网的问题。Furthermore, since in this embodiment, the wireless access device can forward uplink information to all smart home devices within the coverage range of the wireless access device and is not limited by the number of access devices of the wireless access device, therefore , which solves the problem of multiple smart home devices being unable to connect to the Internet when there are many smart home devices in the current wireless LAN that need to be connected.
需要补充的是,由于网络系统中各个无线接入设备都可以按照上述实施例所述的方法实现业务数据的交互,使得无线接入设备能够为就近的智能家居设备提供中转,如此,可以不需要依赖传统的以一个无线接入设备例如无线路由器为中心的方式进行网络连接,从而使得整个网络系统的网络覆盖范围更广。It should be added that since each wireless access device in the network system can implement service data interaction according to the method described in the above embodiment, the wireless access device can provide relay for nearby smart home devices. In this way, no need to Relying on the traditional way of network connection centered on a wireless access device such as a wireless router makes the network coverage of the entire network system wider.
例如,以家庭网络环境为例,相关技术中,家庭网络环境中各个智能家居设备通过接入路由器进行网络连接,然而当路由器与其他一个智能家居设备相距较远时,会出现无法连接或网络不稳定窗经常掉线等现象。基于此,如果智能家居设备具有无线接入设备的功能的情况下,本实施例中,所述无线接入设备可以为家庭环境中的任意智能家居设备,如此,通过分布在家庭网络环境中的各个智能家居设备作为无线接入设备,可以将任何位置的其他智能家居设备的上行信息转发给路由器,或者直接转发到网络服务器中。如此,相当于提高了家庭网络环境中网络覆盖范围。For example, take the home network environment as an example. In related technologies, each smart home device in the home network environment is connected to the network through an access router. However, when the router is far away from other smart home devices, there may be an inability to connect or network failure. The stable window often drops offline and other phenomena. Based on this, if the smart home device has the function of a wireless access device, in this embodiment, the wireless access device can be any smart home device in the home environment. In this way, through the wireless access device distributed in the home network environment Each smart home device, as a wireless access device, can forward the uplink information of other smart home devices at any location to the router, or directly to the network server. In this way, it is equivalent to improving the network coverage in the home network environment.
作为一个可选的实施例,请参阅图2,图2是根据一示例性实施例示出的一种信息处理方法的另一流程图,如图2所示,所述方法还包括:As an optional embodiment, please refer to Figure 2, which is another flow chart of an information processing method according to an exemplary embodiment. As shown in Figure 2, the method further includes:
步骤21:接收所述智能家居设备发送的第二探测请求帧,其中,所述第二探测请求帧用于请求查询下行信息;Step 21: Receive the second detection request frame sent by the smart home device, where the second detection request frame is used to request to query downlink information;
步骤22:确定本地是否缓存有所述下行信息;Step 22: Determine whether the downlink information is cached locally;
步骤23:在确定本地缓存所述下行信息的情况下,向所述智能家居设备发送第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述下行信息。Step 23: When it is determined that the downlink information is cached locally, send a second detection response frame to the smart home device, where the preset field in the second detection response frame carries the downlink information.
需要补充的是,请再参阅表2,所述业务信息类型还可以包括:第二类业务信息;若业务信息类型为所述第二类业务信息,表明该业务信息包含下发给智能家居设备的下行信息。在一些实施例中,所述步骤23中,所述向所述智能家居设备发送第二探测响应帧,可以包括:将下行信息的添加到第二探测响应帧中的Vendor IE的payload字段中。在另一些实施例中,所述向所述智能家居设备发送第二探测响应帧,还可以包括:将下行信息封装到payload字段中的业务信息载荷字段中,并将Vendor IE的payload字段中的业务信息类型字段设置为第二类业务信息类型。It should be added that, please refer to Table 2 again. The business information type may also include: second type of business information; if the business information type is the second type of business information, it means that the business information includes the information sent to the smart home device. downward information. In some embodiments, in step 23, sending a second detection response frame to the smart home device may include: adding downlink information to the payload field of the Vendor IE in the second detection response frame. In other embodiments, sending the second detection response frame to the smart home device may also include: encapsulating the downlink information into the service information load field in the payload field, and converting the downlink information into the payload field of the Vendor IE. The business information type field is set to the second type of business information type.
如此,本实施例中,无线接入设备可以以第二探测响应帧反馈给智能家居设备的方式将下行信息发送给智能家居设备。如此,不需要智能家居设备接入到无线接入设备中,也能够将下行信息经由第二探测响应帧发送给智能家居设备,从而实现了无线接入设备的在无线接入状态下的网络中转,进而使得无线接入设备与智能家居设备在不需要例如进行认证连接的情况下进行上下行信息的交互。In this way, in this embodiment, the wireless access device can send the downlink information to the smart home device in a manner that the second detection response frame is fed back to the smart home device. In this way, the smart home device does not need to be connected to the wireless access device, and the downlink information can be sent to the smart home device through the second detection response frame, thereby realizing network relay of the wireless access device in the wireless access state. , thereby allowing the wireless access device and the smart home device to interact with uplink and downlink information without requiring, for example, authentication connection.
需要补充的是,无线接入设备在接收到网络服务器发送给所述智能家居设备的下行信息后,会将该下行信息进行缓存,待智能家居设备向无线接入设备发起请求查询下行信息时再发送给所述智能家居设备,如此,可以轻量化智能家居设备的内存等。It should be added that after receiving the downlink information sent by the network server to the smart home device, the wireless access device will cache the downlink information until the smart home device initiates a request to the wireless access device to query the downlink information. Send it to the smart home device, so that the memory of the smart home device can be lightweight.
还需要补充的是,智能家居设备向所述目标无线接入设备发送第二探测请求帧,可以包括:将所述智能家居设备的用于请求查询下行信息的请求信息添加到预设字段中。可以理解的是,在现有无线局域网通信的标准IEEE 802.11的协议定义中,探测请求帧和探测响应帧中,都规定了厂商自定义字段Vendor IE。在一些实施例中,所述第二探测请求帧中的预设字段,可以是Vendor IE的payload字段。It should be added that the smart home device sending the second detection request frame to the target wireless access device may include: adding the request information of the smart home device for requesting downlink information query to a preset field. It can be understood that in the protocol definition of the existing wireless LAN communication standard IEEE 802.11, the vendor-defined field Vendor IE is specified in both the detection request frame and the detection response frame. In some embodiments, the preset field in the second detection request frame may be the payload field of the Vendor IE.
在一些实施例中,所述向所述目标无线接入设备发送第二探测请求帧,包括:In some embodiments, sending a second probe request frame to the target wireless access device includes:
将所述智能家居设备的用于请求查询下行信息的请求信息封装到第一探测请求帧的Vendor IE的payload字段的业务信息载荷字段中,并将Vendor IE的payload字段中的业务信息类型字段设置为第三类业务信息类型。这里,若所述业务信息类型为所述第三类业务信息类型,则表明业务信息中携带有请求所述无线接入设备的下行信息的请求信息。Encapsulate the request information of the smart home device for querying downlink information into the service information load field of the payload field of the Vendor IE of the first detection request frame, and set the service information type field in the payload field of the Vendor IE It is the third type of business information. Here, if the service information type is the third type of service information type, it means that the service information carries request information requesting downlink information of the wireless access device.
在一些实施例中,如果智能家居设备一上电,即表明向无线接入设备请求查询下行信息。例如,智能水表上电后,便需要获取当前用水状况等。In some embodiments, as soon as the smart home device is powered on, it requests downlink information from the wireless access device. For example, after the smart water meter is powered on, it needs to obtain the current water usage status, etc.
在一些实施例中,所述接收所述智能家居设备发送的第二探测请求帧,还可以包括:In some embodiments, receiving the second detection request frame sent by the smart home device may further include:
在所述智能家居设备处于工作状态的情况下,接收所述智能家居设备发送的第二探测请求帧。When the smart home device is in a working state, receive a second detection request frame sent by the smart home device.
可以理解的是,智能家居设备的状态可以包括:工作状态和休眠状态。其中,工作状态包括:智能家居上电后的状态。可以理解的是,对于一些物联网智能家居设备,例如,智能水表,当智能水表经由无线接入设备发送一条获取当月用水状态信息的指令后,即进入休眠状态以节省电能,而对应服务器接收到指令后会将对应的用水状况信息下发给无线接入设备,若此时智能水表仍在休眠状态,无线接入设备会保存用户状况信息,待该智能水表进入到工作状况的情况下,将用水状况信息携带在第二探测响应帧中发送给该智能水表。It can be understood that the status of smart home devices can include: working status and dormant status. Among them, the working status includes: the status after the smart home is powered on. It is understandable that for some IoT smart home devices, such as smart water meters, when the smart water meter sends an instruction to obtain water status information for the current month through the wireless access device, it enters a dormant state to save power, and the corresponding server receives After the instruction, the corresponding water status information will be sent to the wireless access device. If the smart water meter is still sleeping at this time, the wireless access device will save the user status information. When the smart water meter enters the working state, it will The water status information is carried in the second detection response frame and sent to the smart water meter.
本实施例中,通过在在所述智能家居设备处于工作状态的情况下,才接收所述智能家居设备发送的第二探测请求帧,也就是才去向无线接入设备请求下行信息,从而可以减少因为智能家居设备在休眠而无法接收到第二探测响应帧,进而减少第二探测响应帧中携带的下行信息的丢失现象。In this embodiment, by receiving the second detection request frame sent by the smart home device only when the smart home device is in the working state, that is, only requesting downlink information from the wireless access device, it is possible to reduce Because the smart home device is sleeping and cannot receive the second detection response frame, the loss of downlink information carried in the second detection response frame is reduced.
在一些实施例中,所述步骤22,即确定本地是否缓存有所述下行信息,可以包括:In some embodiments, step 22, that is, determining whether the downlink information is cached locally, may include:
确定本地存储的设备标识列表中是否存在所述智能家居设备的设备标识;其中,在存在所述设备标识的情况下,确定本地存储有所述下行信息;在不存在所述设备标识的情况下,确定本地未存储有所述下行信息。Determine whether the device identification of the smart home device exists in the locally stored device identification list; wherein, if the device identification exists, it is determined that the downlink information is stored locally; if the device identification does not exist, , confirming that the downlink information is not stored locally.
在另一些实施例中,所述接收所述智能家居设备发送的第二探测请求帧之前,所述方法还包括:In other embodiments, before receiving the second detection request frame sent by the smart home device, the method further includes:
接收所述目的地址所指示的设备发送的下行信息;其中,所述下行信息中携带有所述智能家居设备的设备标识;Receive downlink information sent by the device indicated by the destination address; wherein the downlink information carries the device identification of the smart home device;
缓存所述下行信息,并记录与所述下行信息对应的所述智能家居设备的设备标识。The downlink information is cached, and the device identification of the smart home device corresponding to the downlink information is recorded.
需要理解的是,这里的下行信息对应的所述智能家居设备的设备标识,可以是基于智能家居设备基于上行信息携带出来的,可以是智能家居设备A基于发送的上行信息得到的回复信息。It should be understood that the device identification of the smart home device corresponding to the downlink information here may be carried out by the smart home device based on the uplink information, or may be the reply information obtained by smart home device A based on the uplink information sent.
进一步地,请再参见表2,在一些实施例中,所述方法还包括:Further, please refer to Table 2 again. In some embodiments, the method further includes:
当接收到第二探测请求帧时,读取第二探测数据帧中payload字段中携带的业务数据类型字段;When receiving the second detection request frame, read the service data type field carried in the payload field in the second detection data frame;
若读取的所述业务数据类型为第三类业务数据类型,则确定所述第二探测数据帧中携带有请求查询所述下行信息的请求信息。If the read service data type is the third type of service data type, it is determined that the second detection data frame carries request information requesting to query the downlink information.
如此,无线接入设备在接收到第二探测数据帧后,通过对第二探测数据中的payload字段中业务数据类型的读取,可以知道所述第二探测数据帧是否携带有请求消息,若存在有请求消息,则表明智能家居设备正要向无线接入设备请求所述智能家居设备对应的下行信息,以此可以方便无线接入设备区分所接收到的第二探测数据帧的用途,以便无线接入设备做出正确的回馈。In this way, after receiving the second detection data frame, the wireless access device can know whether the second detection data frame carries a request message by reading the service data type in the payload field in the second detection data. If The existence of a request message indicates that the smart home device is requesting the downlink information corresponding to the smart home device from the wireless access device. This can facilitate the wireless access device to distinguish the purpose of the received second detection data frame so that The wireless access device responds correctly.
在另一些实施例中,所述接收智能家居设备发送的第一探测请求帧,之前,所述方法还包括:In other embodiments, before receiving the first detection request frame sent by the smart home device, the method further includes:
接收智能家居设备发送的第三探测请求帧,其中,所述第三探测请求帧中预设字段携带有请求所述无线接入设备的接入能力信息的请求信息;所述接入能力信息能够用于所述智能家居设备确定是否向所述无线接入设备发送所述第一探测请求帧;Receive a third detection request frame sent by a smart home device, wherein a preset field in the third detection request frame carries request information requesting access capability information of the wireless access device; the access capability information can Used by the smart home device to determine whether to send the first detection request frame to the wireless access device;
基于所述第三探测请求帧,广播所述第三探测响应帧,其中,所述第三探测响应帧中预设字段携带有所述无线接入设备的接入能力信息。Based on the third detection request frame, the third detection response frame is broadcast, wherein a preset field in the third detection response frame carries access capability information of the wireless access device.
需要说明的是,所述接入能力信息可以包括:接收的信号强度指示,和/或,已代理设备个数与最大代理设备个数的比值。It should be noted that the access capability information may include: a received signal strength indication, and/or a ratio of the number of proxy devices to the maximum number of proxy devices.
所述接收信号强度指示(Received Signal Strength Indication,RSSI)是射频信号理论术语,主要应用于发射机与接收机之间的距离测量。依据接收信号能量强度确定距离。这里,RSSI越强,表明所述无线接入设备与智能家居设备之间的距离越小,信号衰减也就越小,通信质量也就越高。故,信号强度指示能够用于判断所述无线接入设备的接入能力信息,从而可以让智能家居设备根据信号强度指示选择较优的无线接入设备进行第一业务数据和/或第二业务数据的转发,提高系统的通信性能。同样地,无线接入设备的已代理设备个数与最大代理设备个数的比值如果越小,表明无线接入设备可以被分出的带宽也就越多,通信质量也就越高,因此,通过无线接入设备的已代理个数与最大代理设备个数的比值也能反应出无线接入设备的接入能力信息,从而可以让智能家居设备根据该比值选择较优的无线接入设备进行第一业务数据和/或第二业务数据的转发,提高系统的通信性能。The Received Signal Strength Indication (RSSI) is a theoretical term for radio frequency signals and is mainly used for distance measurement between a transmitter and a receiver. The distance is determined based on the received signal energy strength. Here, the stronger the RSSI, the smaller the distance between the wireless access device and the smart home device, the smaller the signal attenuation, and the higher the communication quality. Therefore, the signal strength indication can be used to determine the access capability information of the wireless access device, so that the smart home device can select a better wireless access device to perform the first service data and/or the second service according to the signal strength indication. Data forwarding improves the communication performance of the system. Similarly, if the ratio of the number of proxy devices to the maximum number of proxy devices of a wireless access device is smaller, it means that the wireless access device can be allocated more bandwidth and the communication quality will be higher. Therefore, The ratio of the number of agents of wireless access devices to the maximum number of agent devices can also reflect the access capability information of wireless access devices, allowing smart home devices to select better wireless access devices based on this ratio. The forwarding of the first service data and/or the second service data improves the communication performance of the system.
在一些实施例中,请再参阅表1,智能家居设备发送第三探测请求帧请再参阅表2,业务数据类型还包括:第四业务信息类型,所述接收智能家居设备发送的第三探测请求帧,可以包括:将所述智能家居设备的向无线接入设备请求接入能力信息的请求信息添加到预设字段中。可以理解的是,在现有无线局域网通信的标准IEEE 802.11的协议定义中,探测请求帧和探测响应帧中,都规定了厂商自定义字段Vendor IE。在一些实施例中,所述第三探测请求帧中的预设字段,可以是Vendor IE的payload字段。In some embodiments, please refer to Table 1 again. When the smart home device sends a third detection request frame, please refer to Table 2 again. The service data type also includes: a fourth service information type. The third detection request frame sent by the smart home device is received. The request frame may include: adding the request information of the smart home device requesting access capability information from the wireless access device to a preset field. It can be understood that in the protocol definition of the existing wireless LAN communication standard IEEE 802.11, the vendor-defined field Vendor IE is specified in both the detection request frame and the detection response frame. In some embodiments, the preset field in the third detection request frame may be the payload field of the Vendor IE.
进一步地,请再参表2,所述预设字段还可以是payload字段中的业务信息载荷字段。Further, please refer to Table 2 again. The preset field may also be the service information payload field in the payload field.
在一些实施例中,所述向备选无线接入设备广播第三探测请求帧,包括:In some embodiments, broadcasting a third detection request frame to the alternative wireless access device includes:
将所述智能家居设备的向无线接入设备请求接入能力信息的请求信息封装到第一探测请求帧的Vendor IE的payload字段的业务信息载荷字段中,并将Vendor IE的payload字段中的业务信息类型字段设置为第四类业务信息类型。这里,若所述业务信息类型为所述第四类业务信息类型,则表明业务信息中携带有请求所述无线接入设备的接入能力信息的请求信息。The request information of the smart home device requesting access capability information from the wireless access device is encapsulated into the service information load field of the payload field of the Vendor IE of the first detection request frame, and the service information in the payload field of the Vendor IE is The information type field is set to the fourth type of business information type. Here, if the service information type is the fourth type of service information type, it indicates that the service information carries request information requesting access capability information of the wireless access device.
在另一些实施例中,所述方法还包括:In other embodiments, the method further includes:
无线接入设备在接收到第三探测请求帧后,读取所述第三探测请求帧中payload字段中承载的业务数据类型;After receiving the third detection request frame, the wireless access device reads the service data type carried in the payload field of the third detection request frame;
若读取的所述业务信息类型为所述第四类业务数据类型,则表明第三探测请求中携带有请求所述无线接入设备的接入能力信息的请求信息。If the read service information type is the fourth type of service data type, it indicates that the third detection request carries request information requesting access capability information of the wireless access device.
这里,所述第四类业务信息类型的业务信息,可以为智能家居设备用于寻找父节点,也就是用于寻找可以为之转发上行信息的目标无线接入设备的业务信息。Here, the service information of the fourth type of service information can be used by the smart home device to find the parent node, that is, the service information used to find the target wireless access device for which the uplink information can be forwarded.
在一些实施例中,所述基于所述第三探测请求帧,广播所述第三探测响应帧,可以包括:In some embodiments, broadcasting the third detection response frame based on the third detection request frame may include:
基于所述第三探测请求帧,将所述无线接入设备的接入能力信息添加到第三探测响应帧中预设字段内,广播所述第三探测响应帧。Based on the third detection request frame, the access capability information of the wireless access device is added to a preset field in the third detection response frame, and the third detection response frame is broadcast.
这里,还请再参阅表2,表2中业务信息类型还可以包括:第五类业务信息类型,其中第五类业务信息类型是指包含无线接入设备的能力信息的业务信息。Here, please refer to Table 2 again. The service information types in Table 2 may also include: a fifth type of service information type, where the fifth type of service information type refers to service information including capability information of the wireless access device.
所述基于所述第三探测请求帧,将所述无线接入设备的接入能力信息添加到第三探测响应帧中预设字段内,还包括:The step of adding the access capability information of the wireless access device to a preset field in the third detection response frame based on the third detection request frame also includes:
基于所述第三探测请求帧,将所述无线接入设备的接入能力信息添加到第三探测响应帧中的payload字段中的负载字段中,以及将第五类业务信息类型添加到payload字段中的业务信息类型字段中。如此,智能家居设备在接收到第三探测请求帧时,通过读取业务信息类型字段即可解析出第三探测请求帧中的接入能力信息。Based on the third detection request frame, add the access capability information of the wireless access device to the payload field in the payload field of the third detection response frame, and add the fifth type of service information type to the payload field. in the business information type field. In this way, when the smart home device receives the third detection request frame, it can parse the access capability information in the third detection request frame by reading the service information type field.
本实施例中,无线接入设备通过第三探测响应帧将接入能力信息返回给智能家居设备,以供智能家居设备能够根据接收到的各个无线接入的接入能力信息,选择较优的无线接入设备来转发上行信息和/下行信息,从而能够更好地为无线接入设备实现不需要进行如认证连接的网络转发提供了良好的信道基础,进而能够更好地实现无线接入设备的接入设备的不受限。In this embodiment, the wireless access device returns the access capability information to the smart home device through the third detection response frame, so that the smart home device can select a better one based on the received access capability information of each wireless access. The wireless access device forwards uplink information and/or downlink information, thereby providing a good channel basis for the wireless access device to achieve network forwarding that does not require authentication connections, and thus enabling the wireless access device to better implement Access devices are not restricted.
图3是根据另一示例性实施例示出的一种信息处理方法的流程图,如图3所示,所述方法应用于智能家居设备,包括以下步骤:Figure 3 is a flow chart of an information processing method according to another exemplary embodiment. As shown in Figure 3, the method is applied to smart home devices and includes the following steps:
步骤31:确定目标无线接入设备;Step 31: Determine the target wireless access device;
步骤32:向所述目标无线接入设备发送第一探测请求帧;其中,所述第一探测请求帧中预设字段携带有上行信息以及所述上行信息的目的地址;Step 32: Send a first detection request frame to the target wireless access device; wherein the preset field in the first detection request frame carries uplink information and the destination address of the uplink information;
步骤33:接收所述目标无线接入设备基于所述第一探测请求帧返回的第一探测响应帧,其中,所述第一探测响应帧用于所述目标无线接入设备向所述智能家居设备反馈所述上行信息转发完成。Step 33: Receive the first detection response frame returned by the target wireless access device based on the first detection request frame, wherein the first detection response frame is used by the target wireless access device to send a request to the smart home device. The device reports that the forwarding of the uplink information is completed.
在一些实施例中,所述向所述目标无线接入设备发送第一探测请求帧,包括:将所述智能家居设备的上行信息封装到第一探测请求帧中,向所述目标无线接入设备发送第一探测请求帧。In some embodiments, sending the first detection request frame to the target wireless access device includes: encapsulating the uplink information of the smart home device into the first detection request frame, and sending the first detection request frame to the target wireless access device. The device sends the first probe request frame.
示例性的,请再参阅表1,所述将所述智能家居设备的上行信息封装到第一探测请求帧中,包括:将所述智能家居设备的上行信息封装在所述第一探测请求帧中的预设字段中。可以理解的是,在现有无线局域网通信的标准IEEE 802.11的协议定义中,探测请求帧和探测响应帧中,都规定了厂商自定义字段Vendor IE。在一些实施例中,所述第一探测请求帧中的预设字段,可以是Vendor IE的payload字段。For example, please refer to Table 1 again. Encapsulating the uplink information of the smart home device into the first detection request frame includes: encapsulating the uplink information of the smart home device in the first detection request frame. in the preset field. It can be understood that in the protocol definition of the existing wireless LAN communication standard IEEE 802.11, the vendor-defined field Vendor IE is specified in both the detection request frame and the detection response frame. In some embodiments, the preset field in the first detection request frame may be the payload field of the Vendor IE.
进一步地,请再参表2,所述预设字段还可以是payload字段中的业务信息载荷字段。Further, please refer to Table 2 again. The preset field may also be the service information payload field in the payload field.
在一些实施例中,所述将所述智能家居设备的上行信息封装到第一探测请求帧中,包括:In some embodiments, encapsulating the uplink information of the smart home device into a first detection request frame includes:
将所述智能家居设备的上行信息封装到第一探测请求帧的Vendor IE的payload字段的业务信息载荷字段中,并将Vendor IE的payload字段中的业务信息类型字段设置为第一类业务信息。这里,若所述业务信息类型为所述第一类业务信息类型,则表明业务信息中携带有上行信息。The uplink information of the smart home device is encapsulated into the service information load field of the payload field of the Vendor IE of the first detection request frame, and the service information type field in the payload field of the Vendor IE is set to the first type of service information. Here, if the service information type is the first type of service information type, it means that the service information carries uplink information.
基于此,本实施例中,通过将需要转发到网络的上行信息携带在第一探测请求帧中,由第一探测请求帧发送给目标无线接入设备,进而由目标无线接入设备解析出上行信息,并转发给上行信息对应的目的地址。如此,实现了在智能家居设备与目标无线接入设备未建立如认证连接的是情况下,可以借由目标无线接入设备转发上行信息,使得目标无线接入设备可以不受接入设备数量的限制,极大扩展了目标无线接入设备的可为之中转的设备数量,也就相当于提高了目标无线接入设备的接入能力。Based on this, in this embodiment, the uplink information that needs to be forwarded to the network is carried in the first detection request frame, and the first detection request frame is sent to the target wireless access device, and then the target wireless access device parses the uplink information. information and forward it to the destination address corresponding to the uplink information. In this way, when the smart home device and the target wireless access device have not established an authenticated connection, the uplink information can be forwarded by the target wireless access device, so that the target wireless access device can be independent of the number of access devices. Restriction greatly expands the number of intermediate devices for the target wireless access device, which is equivalent to improving the access capability of the target wireless access device.
在一可选的实施例中,所述方法还包括:In an optional embodiment, the method further includes:
向所述目标无线接入设备发送第二探测请求帧,其中,所述第二探测请求帧用于请求查询下行信息;Send a second detection request frame to the target wireless access device, where the second detection request frame is used to request to query downlink information;
若所述目标接入设备缓存有所述下行信息的情况下,接收所述目标无线接入设备发送的第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述下行信息。If the target access device caches the downlink information, receive a second detection response frame sent by the target wireless access device, wherein the preset field in the second detection response frame carries the Downstream information.
这里,所述下行信息可以是由所述上行信息的目的地址对应的设备下发给目标无线接入设备的。本实施例中,将下行信息携带在第二探测响应帧中,如此,可以使得智能家居设备能够通过第一探测响应帧接收到下行信息,进而使得无线接入设备与智能家居设备在无任何例如认证连接状态下的实现业务数据的交互。此外,还可以在智能家居设备向目标无线接入设备发送第二探测请求帧的情况下才取得下行信息,可以减少因为智能家居设备未在工作状态下接收下行信息而导致的下行信息丢失的现象。Here, the downlink information may be delivered to the target wireless access device by the device corresponding to the destination address of the uplink information. In this embodiment, the downlink information is carried in the second detection response frame. In this way, the smart home device can receive the downlink information through the first detection response frame, thereby enabling the wireless access device and the smart home device to communicate without any e.g. Implement business data interaction under authenticated connection status. In addition, the downlink information can also be obtained only when the smart home device sends the second detection request frame to the target wireless access device, which can reduce the loss of downlink information caused by the smart home device not receiving downlink information in the working state. .
在一些实施例中,所述向所述目标无线接入设备发送第二探测请求帧,可以包括:将所述智能家居设备的用于请求查询下行信息的请求信息添加到预设字段中。可以理解的是,在现有无线局域网通信的标准IEEE 802.11的协议定义中,探测请求帧和探测响应帧中,都规定了厂商自定义字段Vendor IE。在一些实施例中,所述第二探测请求帧中的预设字段,可以是Vendor IE的payload字段。In some embodiments, sending the second detection request frame to the target wireless access device may include: adding request information of the smart home device for requesting downlink information query to a preset field. It can be understood that in the protocol definition of the existing wireless LAN communication standard IEEE 802.11, the vendor-defined field Vendor IE is specified in both the detection request frame and the detection response frame. In some embodiments, the preset field in the second detection request frame may be the payload field of the Vendor IE.
进一步地,请再参表2,所述预设字段还可以是payload字段中的业务信息载荷字段。Further, please refer to Table 2 again. The preset field may also be the service information payload field in the payload field.
在一些实施例中,所述向所述目标无线接入设备发送第二探测请求帧,包括:In some embodiments, sending a second probe request frame to the target wireless access device includes:
将所述智能家居设备的用于请求查询下行信息的请求信息封装到第一探测请求帧的Vendor IE的payload字段的业务信息载荷字段中,并将Vendor IE的payload字段中的业务信息类型字段设置为第三类业务信息类型。这里,若所述业务信息类型为所述第三类业务信息类型,则表明业务信息中携带有请求所述无线接入设备的下行信息的请求信息。Encapsulate the request information of the smart home device for querying downlink information into the service information load field of the payload field of the Vendor IE of the first detection request frame, and set the service information type field in the payload field of the Vendor IE It is the third type of business information. Here, if the service information type is the third type of service information type, it means that the service information carries request information requesting downlink information of the wireless access device.
在一可选的实施例中,所述第二探测请求帧携带有所述智能家居设备的设备标识,所述智能家居设备的设备标识,用于供所述目标无线接入设备确定是否缓存有所述下行信息。In an optional embodiment, the second detection request frame carries the device identification of the smart home device, and the device identification of the smart home device is used for the target wireless access device to determine whether there is any cached information. The downlink information.
在一个可选的实施例中,请参阅图4,图4是根据另一示例性实施例示出的一种信息处理方法的又一流程图,如图4所示,所述步骤31,即所述确定目标接入点,包括:In an optional embodiment, please refer to Figure 4, which is another flow chart of an information processing method according to another exemplary embodiment. As shown in Figure 4, the step 31, that is, the Describes how to identify target access points, including:
步骤311:向备选无线接入设备广播第三探测请求帧;Step 311: Broadcast the third detection request frame to the candidate wireless access device;
步骤312:基于所述第三探测请求帧,接收各个备选无线接入设备分别返回的携带有第三业务数据的第三探测响应帧,其中,所述第三探测响应帧中预设字段携带有所述备选无线接入设备的接入能力信息;Step 312: Based on the third detection request frame, receive a third detection response frame carrying the third service data returned by each candidate wireless access device respectively, wherein the preset field in the third detection response frame carries There is access capability information of the alternative wireless access device;
步骤313:解析所述第三探测响应帧,确定出所述备选无线接入设备的接入能力信息;Step 313: Parse the third detection response frame and determine the access capability information of the candidate wireless access device;
步骤314:基于各个所述备选无线接入设备的接入能力信息,从各个所述备选无线接入设备中选择出所述目标接入设备。Step 314: Select the target access device from each of the candidate wireless access devices based on the access capability information of each of the candidate wireless access devices.
需要说明的是,依据接收信号能量强度确定距离。这里,RSSI越强,表明所述无线接入设备与未与智能家居设备之间的距离越小,信号衰减也就越小,通信质量也就越高。故,信号强度指示能够用于判断所述无线接入设备的接入能力信息,从而可以让智能家居设备根据信号强度指示选择较优的无线接入设备进行第一业务数据和/或第二业务数据的转发,提高系统的通信性能。同样地,无线接入设备的已代理设备个数与最大代理设备个数的比值如果越小,表明无线接入设备可以被分出的带宽也就越多,通信质量也就越高,因此,通过无线接入设备的已代理个数与最大代理设备个数的比值也能反应出无线接入设备的接入能力信息,从而可以让智能家居设备根据该比值选择较优的无线接入设备进行第一业务数据和/或第二业务数据的转发,提高系统的通信性能。It should be noted that the distance is determined based on the received signal energy intensity. Here, the stronger the RSSI, the smaller the distance between the wireless access device and the smart home device, the smaller the signal attenuation, and the higher the communication quality. Therefore, the signal strength indication can be used to determine the access capability information of the wireless access device, so that the smart home device can select a better wireless access device to perform the first service data and/or the second service according to the signal strength indication. Data forwarding improves the communication performance of the system. Similarly, if the ratio of the number of proxied devices to the maximum number of proxy devices of a wireless access device is smaller, it means that the wireless access device can be allocated more bandwidth and the communication quality will be higher. Therefore, The ratio of the number of agents of wireless access devices to the maximum number of agent devices can also reflect the access capability information of wireless access devices, allowing smart home devices to select better wireless access devices based on the ratio. The forwarding of the first service data and/or the second service data improves the communication performance of the system.
在一些实施例中,所述向备选无线接入设备广播第三探测请求帧,可以包括:将所述智能家居设备的向无线接入设备请求接入能力信息的请求信息添加到预设字段中。可以理解的是,在现有无线局域网通信的标准IEEE 802.11的协议定义中,探测请求帧和探测响应帧中,都规定了厂商自定义字段Vendor IE。在一些实施例中,所述第三探测请求帧中的预设字段,可以是Vendor IE的payload字段。In some embodiments, broadcasting the third detection request frame to the alternative wireless access device may include: adding the request information of the smart home device to request access capability information from the wireless access device to a preset field middle. It can be understood that in the protocol definition of the existing wireless LAN communication standard IEEE 802.11, the vendor-defined field Vendor IE is specified in both the detection request frame and the detection response frame. In some embodiments, the preset field in the third detection request frame may be the payload field of the Vendor IE.
进一步地,请再参表2,所述预设字段还可以是payload字段中的业务信息载荷字段。Further, please refer to Table 2 again. The preset field may also be the service information payload field in the payload field.
在一些实施例中,所述向备选无线接入设备广播第三探测请求帧,包括:In some embodiments, broadcasting a third detection request frame to the alternative wireless access device includes:
将所述智能家居设备的向无线接入设备请求接入能力信息的请求信息封装到第一探测请求帧的Vendor IE的payload字段的业务信息载荷字段中,并将Vendor IE的payload字段中的业务信息类型字段设置为第四类业务信息类型。这里,若所述业务信息类型为所述第四类业务信息类型,则表明业务信息中携带有请求所述无线接入设备的接入能力信息的请求信息。The request information of the smart home device requesting access capability information from the wireless access device is encapsulated into the service information load field of the payload field of the Vendor IE of the first detection request frame, and the service information in the payload field of the Vendor IE is The information type field is set to the fourth type of business information type. Here, if the service information type is the fourth type of service information type, it indicates that the service information carries request information requesting access capability information of the wireless access device.
在一个可选的实施例中,所述接入能力信息,包括:接收的信号强度指示;In an optional embodiment, the access capability information includes: received signal strength indication;
所述基于各个所述备选无线接入设备的接入能力信息,从各个所述备选无线接入设备中选择出所述目标接入点,包括:Selecting the target access point from each of the candidate wireless access devices based on the access capability information of each of the candidate wireless access devices includes:
基于各个所述备选无线接入设备的接入能力信息,确定出各个所述备选无线接入设备两两之间的所述接收的信号强度指示的多个差值;Based on the access capability information of each of the candidate wireless access devices, determine a plurality of differences in the received signal strength indications between each of the candidate wireless access devices;
若所述多个差值中至少一个差值大于第一差值阈值,则选择所述接收信号强度指示的信号强度最强的对应的备选无线接入设备,作为所述目标接入点。If at least one of the plurality of differences is greater than the first difference threshold, then select the corresponding candidate wireless access device with the strongest signal strength indicated by the received signal strength as the target access point.
这里,当两两所述备选无线接入设备的接入能力信息指示的接入能力相差较大的情况下,可以选择信号强度指示的信号强度最强的对应备选无线接入设备,作为所述目标接入点,从而可以选择出针对信号强度最优的无线接入设备作为目标接入点,保证系统的通信性能。Here, when the access capabilities indicated by the access capability information of the two candidate wireless access devices are quite different, the corresponding candidate wireless access device with the strongest signal strength indicated by the signal strength may be selected as The target access point enables the wireless access device with the optimal signal strength to be selected as the target access point to ensure the communication performance of the system.
在一个可选的实施例中,所述接入点能力信息,包括:备选无线接入设备的已代理设备个数与最大代理设备个数的比值;In an optional embodiment, the access point capability information includes: the ratio of the number of proxy devices of the candidate wireless access device to the maximum number of proxy devices;
所述方法还包括:The method also includes:
若所述多个差值均小于第二差值阈值,则选择备选无线接入设备的已代理设备个数与最大代理设备个数的所述比值中最小的对应的备选无线接入设备,作为所述目标无线接入设备。If the multiple differences are all less than the second difference threshold, select the candidate wireless access device corresponding to the smallest ratio among the number of proxy devices and the maximum number of proxy devices of the candidate wireless access device. , as the target wireless access device.
这里,当两两所述备选无线接入设备的接入能力指示的接入能力相差较小时,即每个备选接入点的接入能力信息指示的接入能力都差不多的情况下,可以根据备选无线接入设备的已代理设备个数与最大代理设备个数的比值,选出所述比值最小的对应的备选无线接入设备作为目标接入点,保证系统的通信带宽,进而保证系统的通信性能。Here, when the access capabilities indicated by the access capabilities of the pair of candidate wireless access devices are relatively small, that is, when the access capabilities indicated by the access capability information of each candidate access point are similar, According to the ratio of the number of proxy devices of the candidate wireless access device to the maximum number of proxy devices, the corresponding candidate wireless access device with the smallest ratio can be selected as the target access point to ensure the communication bandwidth of the system. This ensures the communication performance of the system.
在一个可选的实施例中,所述方法还包括:In an optional embodiment, the method further includes:
监听所述第一探测请求帧的发送触发事件;Monitor the sending trigger event of the first detection request frame;
所述向所述目标无线接入设备发送第一探测请求帧,包括:The sending of the first detection request frame to the target wireless access device includes:
若监听到所述第一探测请求帧的发送触发事件,向所述目标无线接入设备发送所述第一探测请求帧。If the sending trigger event of the first detection request frame is monitored, the first detection request frame is sent to the target wireless access device.
这里,所述第一探测请求帧的发送触发事件,包括:上网请求指令。Here, the sending trigger event of the first detection request frame includes: an Internet access request instruction.
所述第一探测请求帧的发送触发事件,还可以是基于设置定时触发智能家居设备进行的上网请求。例如,每个月定时触发智能水表上报用水状况等。当检测到所述第一业务数据的发送触发事件时,表明智能家居设备需要借由无线接入设备与网络服务器进行数据交互,故,将智能家居设备的第一业务数据封装到所述第一探测数据帧发送给无线接入设备,借由无线接入设备将第一业务数据转发至第一业务数据的目的地址。The sending trigger event of the first detection request frame may also be based on setting a timing to trigger an Internet access request by the smart home device. For example, smart water meters are triggered regularly every month to report water status, etc. When the triggering event for sending the first service data is detected, it indicates that the smart home device needs to interact with the network server through the wireless access device. Therefore, the first service data of the smart home device is encapsulated into the first service data. The detection data frame is sent to the wireless access device, and the wireless access device forwards the first service data to the destination address of the first service data.
进一步地,本公开实施例还提供了一个具体实施例,以进一步理解本公开实施例所提供的信息处理方法。Furthermore, the embodiment of the present disclosure also provides a specific embodiment to further understand the information processing method provided by the embodiment of the present disclosure.
家庭网络环境中接入设备越来越多,由于路由器的接入能力限制,以及周围无线环境的干扰,经常出现接入设备离线,甚至出现接入设备不能控制的情况。因此,如何提高家庭网络环境中路由器的接入能力成为亟需解决的技术问题。There are more and more access devices in the home network environment. Due to the limitations of router access capabilities and interference from the surrounding wireless environment, access devices often go offline or even become uncontrollable. Therefore, how to improve the access capabilities of routers in home network environments has become an urgent technical issue that needs to be solved.
基于此,图5是根据一具体实施例示出的一种信息处理方法的流程图,如图5所示,Based on this, Figure 5 is a flow chart of an information processing method according to a specific embodiment. As shown in Figure 5,
这里,上行信息的目的地址对应的设备以云端服务器为例,需要说明的是该云端服务器为智能家居设备的厂商的服务器,用于为智能家居设备提供网络服务数据,本实施例中的无线接入设备可以为路由器,具体方法步骤如下:Here, the device corresponding to the destination address of the uplink information is a cloud server as an example. It should be noted that the cloud server is a server of a smart home device manufacturer and is used to provide network service data for smart home devices. The wireless interface in this embodiment The incoming device can be a router. The specific steps are as follows:
步骤51:智能家居设备上电开启寻找父节点。Step 51: Power on the smart home device and start searching for the parent node.
这里的父节点,实际上就是路由器,这里,寻找父节点即是向周围的各个备选路由器发送接入请求的过程,并从备选路由器中选择一个合适的路由器进行接入。The parent node here is actually a router. Here, finding the parent node is the process of sending access requests to various surrounding alternative routers, and selecting a suitable router from the alternative routers for access.
步骤61:路由器上电后开启隐藏SSID。Step 61: Turn on the hidden SSID after powering on the router.
这里,隐藏SSID是为了避免智能家居设备直接基于SSID与路由器建立连接,故在路由器上电后先开启隐藏SSID,从而使得智能家居设备无法与路由器建立连接。Here, the purpose of hiding the SSID is to prevent smart home devices from directly establishing a connection with the router based on the SSID. Therefore, after the router is powered on, the hidden SSID is enabled first, so that the smart home devices cannot establish a connection with the router.
步骤52:智能家居设备广播包含接入请求消息的第三探测请求帧。Step 52: The smart home device broadcasts the third detection request frame including the access request message.
在该步骤中,配置第三探测请求帧中的payload字段中业务信息类型字段中业务信息类型为第四类业务数据类型,即若所述业务信息类型为所述第四类业务信息类型,则表明业务信息中携带有请求所述无线接入设备的接入能力信息的请求信息。这里的智能家居设备向路由器发送包含接入请求消息的探测数据帧中携带有,请求所述路由器的接入能力信息的请求信息。In this step, configure the service information type in the service information type field in the payload field in the third detection request frame to be the fourth type of service data type, that is, if the service information type is the fourth type of service information type, then It indicates that the service information carries request information requesting access capability information of the wireless access device. The smart home device here sends a detection data frame containing an access request message to the router, which carries request information requesting access capability information of the router.
步骤62:路由器返回携带接入能力信息的第三探测响应帧。Step 62: The router returns the third detection response frame carrying access capability information.
这里,路由器基于步骤51返回给智能家居设备自身的接入能力信息。Here, the router returns the access capability information of the smart home device itself based on step 51.
步骤53:根据接入能力信息,选择合适的父节点。Step 53: Select an appropriate parent node based on the access capability information.
这里,所述智能家居设备会根据接收到的各个备选路由器的接入能力信息,选择合适的路由器作为目标路由器以发送上述实施例所述第一探测请求帧。Here, the smart home device will select an appropriate router as the target router based on the received access capability information of each candidate router to send the first detection request frame described in the above embodiment.
这里,根据接入能力信息,选择合适的父节点,可以包括上述实施例所述的两种方式:Here, selecting an appropriate parent node based on the access capability information may include the two methods described in the above embodiment:
第一种是:基于各个所述备选路由器的接入能力信息,确定出各个所述备选路由器两两之间的所述接收的信号强度指示的多个差值;若所述多个差值中至少一个差值大于第一差值阈值,则选择所述接收信号强度指示的信号强度最强的对应的备选路由器,作为所述目标路由器。The first method is: based on the access capability information of each candidate router, determine multiple differences in the received signal strength indications between each of the candidate routers; if the multiple differences If at least one difference among the values is greater than the first difference threshold, then the corresponding candidate router with the strongest signal strength indicated by the received signal strength is selected as the target router.
第二种是:若所述多个差值均小于第二差值阈值,则选择备选无线接入设备的已代理设备个数与最大代理设备个数的所述比值中比值最小的对应的备选无线接入设备,作为所述目标无线接入设备。The second method is: if the multiple differences are all less than the second difference threshold, select the one with the smallest ratio among the ratios of the number of proxy devices and the maximum number of proxy devices of the candidate wireless access device. The candidate wireless access device serves as the target wireless access device.
步骤54:发送触发事件的发生。Step 54: Send trigger event on occurrence.
这里,智能家居设备监听到所述第一探测请求帧的发送触发事件,实际上,智能家居设备监听到需要发送上行信息的发送事件。Here, the smart home device monitors the sending trigger event of the first detection request frame. In fact, the smart home device monitors the sending event that requires sending uplink information.
步骤55:智能家居设备发送携带上行信息的第一探测请求帧。Step 55: The smart home device sends the first detection request frame carrying uplink information.
步骤63:路由器解析出上行信息,并转发给云端服务器。Step 63: The router parses the uplink information and forwards it to the cloud server.
这里,路由器根据包含有上行信息的探测数据帧中的payload字段,解析出上行信息,并将上行信息转发给对应的云端服务器。可以理解是,本实施例中,云端服务器的地址为智能家居设备的默认上传地址,故路由器可以直接将上行数据发送到云端服务器。Here, the router parses the uplink information based on the payload field in the detection data frame containing the uplink information, and forwards the uplink information to the corresponding cloud server. It can be understood that in this embodiment, the address of the cloud server is the default upload address of the smart home device, so the router can directly send the uplink data to the cloud server.
步骤71:云端服务器下发下行信息至路由器。Step 71: The cloud server delivers downlink information to the router.
步骤64:路由器缓存所述下行信息,并将下行信息对应的设备标识记录在设备标识列表。Step 64: The router caches the downlink information and records the device identifier corresponding to the downlink information in the device identifier list.
这里,设备标识列表包括:设备标识与下行信息的对应关系列表。当路由器接收到云端服务器下发的下行信息后,出于某种原因,例如因为智能家居设备正在休眠状态,或者智能家居设备并不需要获取下行信息的情况下,路由器可以暂时缓存所述下行信息,如此为智能家居设备节省空间。此外,通过记录设备标识列表,可以方便在智能家居设备需要路由器下发下行数据时迅速根据智能家居设备的设备标识找到所要下发的下行信息。Here, the device identification list includes: a list of correspondences between device identifications and downlink information. After the router receives the downlink information sent by the cloud server, for some reason, such as because the smart home device is sleeping, or the smart home device does not need to obtain the downlink information, the router can temporarily cache the downlink information. , thus saving space for smart home devices. In addition, by recording the device identification list, it is convenient to quickly find the downlink information to be distributed based on the device identification of the smart home device when the smart home device needs the router to deliver downlink data.
步骤56:智能家居设备发送携带查询下行信息的请求信息的第二探测请求帧。Step 56: The smart home device sends a second detection request frame carrying request information for querying downlink information.
这里,所述请求查询下行信息的请求信息是封装在探测数据帧中的,询问请求消息中携带有智能家居设备的设备标识,如此,可以方便路由器基于设备标识将对应的下行信息发送给智能家居设备。Here, the request information for querying the downlink information is encapsulated in the detection data frame. The query request message carries the device identification of the smart home device. In this way, it is convenient for the router to send the corresponding downlink information to the smart home based on the device identification. equipment.
步骤65:对比设备标识,如果发现有下行信息对应的设备标识,则回复下行信息。Step 65: Compare the device identification. If a device identification corresponding to the downlink information is found, reply the downlink information.
这里的设备标识可以理解为上述实施例所述的智能家居设备的设备标识。The device identification here can be understood as the device identification of the smart home device described in the above embodiment.
步骤66:路由器返回下行信息。Step 66: The router returns the downlink information.
这里,路由器会将下行信息封装在第二探测响应帧中,并将第二探测响应帧回复给智能家居设备。如此,智能家居设备与路由器也不需要建立例如认证连接即可进行信息交互。Here, the router will encapsulate the downlink information in the second detection response frame, and reply the second detection response frame to the smart home device. In this way, smart home devices and routers do not need to establish an authentication connection to exchange information.
本实施例中,将上行信息封装在第二探测响应帧中经由路由器发送给云端服务器,且云端服务器下发的下行信息由路由器封装在第二探测响应帧中发送给智能家居设备。如此,借由上述实施例所述的第一探测请求帧与第二探测响应帧的传输完成智能家居设备与云端服务器之间的业务信息的交互,如此,不需要智能家居设备与路由器进行实质的连接,即上述所述的目标连接,也能实现数据的转发功能,进而不会计入路由器所接入的设备的数量。因此,本实施例不受路由器接入设备的限制,使得同一台路由器可以作为不受限制的数量的智能家居设备的中转设备,如此,相当于提高了路由器的接入能力。In this embodiment, the uplink information is encapsulated in the second detection response frame and sent to the cloud server via the router, and the downlink information delivered by the cloud server is encapsulated in the second detection response frame by the router and sent to the smart home device. In this way, the interaction of business information between the smart home device and the cloud server is completed through the transmission of the first detection request frame and the second detection response frame described in the above embodiment. In this way, there is no need for the smart home device and the router to perform substantial interactions. The connection, that is, the target connection mentioned above, can also realize the data forwarding function and will not be counted in the number of devices connected to the router. Therefore, this embodiment is not limited by router access devices, so that the same router can be used as a transit device for an unlimited number of smart home devices, which is equivalent to improving the access capability of the router.
进一步地,本公开实施例还提供了一个具体实施例,以进一步理解本公开实施例所提供的信息处理方法。Furthermore, the embodiment of the present disclosure also provides a specific embodiment to further understand the information processing method provided by the embodiment of the present disclosure.
家庭网络环境中接入设备越来越多,由于路由器的接入能力限制,以及周围无线环境的干扰,经常出现接入设备离线,甚至出现接入设备不能控制的情况,且随着人们生活水平的提高,家庭网络环境中所需要覆盖的面积也越来越大,而路由器的网络覆盖面积有限,利用上述实施例中的路由器可以可为之转发的设备数量,但是当接入设备与路由器相距较远时仍无法基于上述实施方案进行网络连接。因此,如何提高家庭网络中路由器的网络覆盖范围成为了亟需解决的技术问题。There are more and more access devices in the home network environment. Due to the limited access capabilities of routers and the interference from the surrounding wireless environment, access devices often go offline or even become uncontrollable. With the improvement of people's living standards, With the improvement of network environment, the area required to be covered in the home network environment is also getting larger and larger, and the network coverage area of the router is limited. The number of devices that can be forwarded by the router in the above embodiment, but when the access device is far away from the router When it is far away, it is still impossible to connect to the network based on the above implementation scheme. Therefore, how to improve the network coverage of routers in home networks has become an urgent technical problem that needs to be solved.
基于此,结合上述实施例的方案,引入中间接入点,这里的中间接入点可以为上述实施例所述的未与智能家居设备建立例如认证连接的路由器。在实际应用中,中间接入点可以是路由器,也可以是具有接入功能的智能家居设备等设备。Based on this, combined with the solutions of the above embodiments, an intermediate access point is introduced. The intermediate access point here can be a router that has not established, for example, an authentication connection with the smart home device as described in the above embodiments. In practical applications, the intermediate access point can be a router or a smart home device with access function.
具体地,图6是根据一具体实施例示出的一种信息处理方法的另一流程图,如图6所示,需要说明的是,这里的路由器作为网络设备已经与中间路由器建立了wifi连接。Specifically, Figure 6 is another flow chart of an information processing method according to a specific embodiment. As shown in Figure 6, it should be noted that the router here as a network device has established a wifi connection with the intermediate router.
这里,上行信息的目的地址对应的设备以云端服务器连接的路由器为例,需要说明的是该云端服务器为智能家居设备的厂商的服务器,用于为智能家居设备提供网络服务信息,本实施例中的中间接入点为家庭网络中任意可以作为无线接入设备的设备,例如,手机、或者智能电视等。这里,通过将家庭网络中任意可以作为无线接入设备的设备引入作为本实施例所述的中间接入点设备,可以使得路由器能够覆盖的网络范围更广。Here, the device corresponding to the destination address of the uplink information is a router connected to the cloud server as an example. It should be noted that the cloud server is a server of a smart home device manufacturer and is used to provide network service information for smart home devices. In this embodiment The intermediate access point is any device in the home network that can be used as a wireless access device, such as a mobile phone or a smart TV. Here, by introducing any device in the home network that can be used as a wireless access device as the intermediate access point device described in this embodiment, the network range that the router can cover can be made wider.
可以理解是,路由器只需要与中间接入点进行连接,而当智能家居设备与路由器的距离较远以至于无法接收到路由器发送的无线电信号的情况下,借由中间接入点仍然可以与路由器进行业务数据的交互,因此,相当于提高了路由器的网络覆盖范围。It can be understood that the router only needs to connect to the intermediate access point. When the distance between the smart home device and the router is too far to receive the radio signal sent by the router, the intermediate access point can still communicate with the router. The exchange of business data is equivalent to improving the network coverage of the router.
具体方法步骤如下:The specific method steps are as follows:
步骤51:智能家居设备上电开启寻找父节点。Step 51: Power on the smart home device and start searching for the parent node.
这里的父节点,实际上就是路由器,这里,寻找父节点即是向周围的各个备选路由器发送接入请求的过程,并从备选路由器中选择一个合适的路由器进行接入。The parent node here is actually a router. Here, finding the parent node is the process of sending access requests to various surrounding alternative routers, and selecting a suitable router from the alternative routers for access.
步骤81:中间接入设备上电后开启隐藏SSID。Step 81: Turn on the hidden SSID after the intermediate access device is powered on.
这里,隐藏SSID是为了避免智能家居设备直接基于SSID与中间接入点建立连接,故在中间接入点上电后先开启隐藏SSID,从而使得智能家居设备无法与中间接入点建立连接。Here, the purpose of hiding the SSID is to prevent smart home devices from directly establishing a connection with the intermediate access point based on the SSID. Therefore, after the intermediate access point is powered on, the hidden SSID is enabled first, so that the smart home device cannot establish a connection with the intermediate access point.
步骤52:智能家居设备广播包含接入请求的第三探测请求帧。Step 52: The smart home device broadcasts the third detection request frame including the access request.
需要说明的是,路由器可能也会收到智能家居设备广播的包含有接入请求的探测数据帧。It should be noted that the router may also receive probe data frames containing access requests broadcast by smart home devices.
步骤83:中间接入设备返回接入能力信息。Step 83: The intermediate access device returns access capability information.
步骤92:路由器返回接入能力信息。Step 92: The router returns access capability information.
这里,接入能力信息可以携带在第三探测响应帧中,返回给智能家居设备。Here, the access capability information can be carried in the third detection response frame and returned to the smart home device.
步骤53:根据接入能力信息,选择合适的父节点。Step 53: Select an appropriate parent node based on the access capability information.
这里,所述智能家居设备会根据接收到的各个备选无线接入设备的接入能力信息,选择合适的无线接入设备作为目标无线接入设备以发送第一探测数据帧。Here, the smart home device will select an appropriate wireless access device as the target wireless access device to send the first detection data frame based on the received access capability information of each candidate wireless access device.
这里,根据接入能力信息,选择合适的父节点,可以包括上述实施例所述的两种方式:Here, selecting an appropriate parent node based on the access capability information may include the two methods described in the above embodiment:
第一种是:基于各个所述备选路由器的接入能力信息,确定出各个所述备选路由器两两之间的所述接收的信号强度指示的多个差值;若所述多个差值中至少一个差值大于第一差值阈值,则选择所述接收信号强度指示的信号强度最强的对应的备选路由器,作为所述目标路由器。The first method is: based on the access capability information of each candidate router, determine multiple differences in the received signal strength indications between each of the candidate routers; if the multiple differences If at least one difference among the values is greater than the first difference threshold, then the corresponding candidate router with the strongest signal strength indicated by the received signal strength is selected as the target router.
第二种是:若所述多个差值均小于第二差值阈值,则选择备选无线接入设备的已代理设备个数与最大代理设备个数的所述比值中比值最小的对应的备选无线接入设备,作为所述目标无线接入设备。The second method is: if the multiple differences are all less than the second difference threshold, select the one with the smallest ratio among the ratios of the number of proxy devices and the maximum number of proxy devices of the candidate wireless access device. The candidate wireless access device serves as the target wireless access device.
步骤54:发送触发事件的发生。Step 54: Send trigger event on occurrence.
这里,智能家居设备监听到所述第一探测请求帧的发送触发事件,实际上,智能家居设备监听到需要发送上行信息的发送事件。Here, the smart home device monitors the sending trigger event of the first detection request frame. In fact, the smart home device monitors the sending event that requires sending uplink information.
步骤55:智能家居设备发送携带上行信息的第一探测请求帧。Step 55: The smart home device sends the first detection request frame carrying uplink information.
步骤84:中间接入设备解析出上行信息,并转发给云端服务器。Step 84: The intermediate access device parses the uplink information and forwards it to the cloud server.
这里,中间接入设备根据包含有上行信息的第一探测请求帧中的payload字段,解析出上行信息,并将上行信息转发路由器,再由路由器转发给对应的云端服务器。可以理解是,本实施例中,云端服务器的地址为智能家居设备的默认上传地址,故中间接入设备将上行信息发送给路由器后,路由器会直接将上行信息发送到云端服务器。Here, the intermediate access device parses the uplink information based on the payload field in the first detection request frame containing the uplink information, and forwards the uplink information to the router, which then forwards it to the corresponding cloud server. It can be understood that in this embodiment, the address of the cloud server is the default upload address of the smart home device. Therefore, after the intermediate access device sends the uplink information to the router, the router will directly send the uplink information to the cloud server.
步骤93:路由器转发上行信息。Step 93: The router forwards the uplink information.
步骤71:云端服务器下发下行信息。Step 71: The cloud server delivers the downlink information.
步骤94:路由器转发下行信息。Step 94: The router forwards the downlink information.
步骤85:中间接入设备缓存所述下行数据,并将下行信息对应的设备标识记录在设备标识列表。Step 85: The intermediate access device caches the downlink data and records the device identifier corresponding to the downlink information in the device identifier list.
这里,设备标识列表包括:设备标识与下行信息的对应关系列表。当路由器接收到云端服务器下发的下行信息后,出于某种原因,例如因为智能家居设备正在休眠状态,或者智能家居设备并不需要获取下行信息的情况下,路由器可以暂时缓存所述下行信息,如此为智能家居设备节省空间。此外,通过记录设备标识列表,可以方便在智能家居设备需要路由器下发下行数据时迅速根据智能家居设备的设备标识找到所要下发的下行信息。Here, the device identification list includes: a list of correspondences between device identifications and downlink information. After the router receives the downlink information sent by the cloud server, for some reason, such as because the smart home device is sleeping, or the smart home device does not need to obtain the downlink information, the router can temporarily cache the downlink information. , thus saving space for smart home devices. In addition, by recording the device identification list, it is convenient to quickly find the downlink information to be distributed based on the device identification of the smart home device when the smart home device needs the router to deliver downlink data.
步骤56:智能家居设备向路由器发送询问请求。Step 56: The smart home device sends an inquiry request to the router.
所述请求查询下行信息的请求信息是封装在探测数据帧中的,询问请求消息中携带有智能家居设备的设备标识,如此,可以方便中间接入设备基于设备标识将对应的下行信息发送给智能家居设备。The request information for querying downlink information is encapsulated in the detection data frame. The query request message carries the device identification of the smart home device. In this way, it is convenient for the intermediate access device to send the corresponding downlink information to the smart home device based on the device identification. Home equipment.
步骤86:对比设备标识,如果发现有下行信息对应的设备标识,则回复下行信息。Step 86: Compare the device identification. If a device identification corresponding to the downlink information is found, reply the downlink information.
步骤87:中间接入设备向智能家居设备返回下行信息。Step 87: The intermediate access device returns downlink information to the smart home device.
这里,中间接入设备同样会将下行信息封装在第二探测响应帧中,并将第二探测响应帧回复给智能家居设备。如此,智能家居设备与中间接入设备也不需要建立如认证连接即可进行信息交互。Here, the intermediate access device will also encapsulate the downlink information in the second detection response frame, and reply the second detection response frame to the smart home device. In this way, smart home devices and intermediate access devices do not need to establish an authentication connection to exchange information.
本公开实施例,通过引入中间接入设备,在路由器与智能家居设备的距离较远时,可以通过中间接入设备进行业务信息的转发,相当于增加了路由器的网络覆盖范围。In the embodiment of the present disclosure, by introducing an intermediate access device, when the distance between the router and the smart home device is far, business information can be forwarded through the intermediate access device, which is equivalent to increasing the network coverage of the router.
图7是根据一示例性实施例示出的一种信息处理装置框图。参照图7,该装置应用于无线接入设备,包括:FIG. 7 is a block diagram of an information processing device according to an exemplary embodiment. Referring to Figure 7, the device is applied to wireless access equipment, including:
第一接收模块701,用于接收智能家居设备发送的第一探测请求帧,其中,所述第一探测请求帧中预设字段携带有上行信息;The first receiving module 701 is configured to receive the first detection request frame sent by the smart home device, wherein the preset field in the first detection request frame carries uplink information;
第一解析模块702,用于解析所述第一探测请求帧,获取所述上行信息的目的地址;The first parsing module 702 is used to parse the first detection request frame and obtain the destination address of the uplink information;
转发模块703,用于转发所述上行信息至所述目的地址,并向所述智能家居设备返回第一探测响应帧,其中,所述第一探测响应帧用于向所述智能家居设备反馈所述上行信息转发完成。Forwarding module 703 is configured to forward the uplink information to the destination address, and return a first detection response frame to the smart home device, where the first detection response frame is used to feed back the information to the smart home device. The above uplink information forwarding is completed.
在一个可选的实施例中,所述装置还包括:In an optional embodiment, the device further includes:
第二接收模块,用于接收所述智能家居设备发送的第二探测请求帧,其中,所述第二探测请求帧用于请求查询下行信息;A second receiving module, configured to receive a second detection request frame sent by the smart home device, where the second detection request frame is used to request to query downlink information;
第一确定模块,用于确定本地是否缓存有所述下行信息;The first determination module is used to determine whether the downlink information is cached locally;
第一发送模块,用于在确定本地缓存所述下行信息的情况下,向所述智能家居设备发送时第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述下行信息。A first sending module, configured to send a second detection response frame to the smart home device when it is determined that the downlink information is cached locally, wherein the preset field in the second detection response frame carries the Downstream information.
在一个可选的实施例中,所述第一确定模块,还用于:In an optional embodiment, the first determination module is also used to:
确定本地存储的设备标识列表中是否存在所述智能家居设备的设备标识;其中,在存在所述设备标识的情况下,确定本地缓存有所述下行信息;在不存在所述设备标识的情况下,确定本地未缓存所述下行信息。Determine whether the device identification of the smart home device exists in the locally stored device identification list; wherein, if the device identification exists, it is determined that the downlink information is cached locally; if the device identification does not exist, , determine that the downlink information is not cached locally.
在一个可选的实施例中,所述装置还包括:In an optional embodiment, the device further includes:
第二接收模块,用于所述接收所述智能家居设备发送的第二探测请求帧之前,接收所述目的地址所指示的设备发送的下行信息;其中,所述下行信息中携带有所述智能家居设备的设备标识;The second receiving module is configured to receive downlink information sent by the device indicated by the destination address before receiving the second detection request frame sent by the smart home device; wherein the downlink information carries the smart home device. Equipment identification of household equipment;
缓存模块,用于缓存所述下行信息,并记录所述下行信息对应的所述智能家居设备的设备标识。A cache module, configured to cache the downlink information and record the device identification of the smart home device corresponding to the downlink information.
在一个可选的实施例中,所述装置还包括:In an optional embodiment, the device further includes:
第三接收模块,用于所述接收智能家居设备发送的第一探测请求帧,之前,接收智能家居设备发送的第三探测请求帧,其中,所述第三探测请求帧中预设字段携带有请求所述无线接入设备的接入能力信息的请求信息;所述接入能力信息能够用于所述智能家居设备确定是否向所述无线接入设备发送所述第一探测请求帧;The third receiving module is configured to receive the first detection request frame sent by the smart home device. Before, receive the third detection request frame sent by the smart home device, wherein the preset field in the third detection request frame carries Request information requesting access capability information of the wireless access device; the access capability information can be used by the smart home device to determine whether to send the first detection request frame to the wireless access device;
广播模块,用于基于所述第三探测请求帧,广播所述第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述无线接入设备的接入能力信息。A broadcast module, configured to broadcast the second detection response frame based on the third detection request frame, wherein a preset field in the second detection response frame carries access capability information of the wireless access device.
在一个可选的实施例中,所述预设字段包括:Vendor IE中的payload字段。In an optional embodiment, the preset field includes: payload field in Vendor IE.
图8是根据一示例性实施例示出的一种信息处理装置框图。参照图8,该装置应用于智能家居设备,包括:Figure 8 is a block diagram of an information processing device according to an exemplary embodiment. Referring to Figure 8, the device is applied to smart home equipment, including:
第二确定模块801,用于确定目标无线接入设备;The second determination module 801 is used to determine the target wireless access device;
第二发送模块802,用于向所述目标无线接入设备发送第一探测请求帧,其中,所述第一探测请求帧中预设字段携带有上行信息以及所述上行信息的目的地址;The second sending module 802 is configured to send a first detection request frame to the target wireless access device, wherein the preset field in the first detection request frame carries uplink information and the destination address of the uplink information;
第四接收模块803,用于接收所述目标无线接入设备基于所述第一探测请求帧返回的第一探测响应帧,其中,所述第一探测响应帧用于所述目标无线接入设备向所述智能家居设备反馈所述上行信息转发完成。The fourth receiving module 803 is configured to receive a first detection response frame returned by the target wireless access device based on the first detection request frame, wherein the first detection response frame is used for the target wireless access device. Feedback to the smart home device that the uplink information forwarding is completed.
在一个可选的实施例中,所述装置还包括:In an optional embodiment, the device further includes:
第三接收模块,用于向所述目标无线接入设备发送第二探测请求帧,其中,所述第二探测请求帧用于请求查询下行信息;A third receiving module, configured to send a second detection request frame to the target wireless access device, where the second detection request frame is used to request to query downlink information;
第五接收模块,用于若所述目标无线接入设备缓存有所述下行信息的情况下,接收所述目标无线接入设备发送的第二探测响应帧,其中,所述第二探测响应帧中预设字段携带有所述下行信息。The fifth receiving module is configured to receive a second detection response frame sent by the target wireless access device if the target wireless access device caches the downlink information, wherein the second detection response frame The preset field in carries the downlink information.
在一个可选的实施例中,所述第二探测请求帧携带有所述智能家居设备的设备标识,所述智能家居设备的设备标识,用于供所述目标无线接入设备确定是否缓存有所述下行信息。In an optional embodiment, the second detection request frame carries the device identification of the smart home device, and the device identification of the smart home device is used for the target wireless access device to determine whether there is a cached The downlink information.
在一个可选的实施例中,所述第二确定模块801,还包括:In an optional embodiment, the second determination module 801 also includes:
广播子模块,用于向备选无线接入设备广播第三探测请求帧;The broadcast submodule is used to broadcast the third detection request frame to the candidate wireless access device;
接收子模块,用于基于所述第三探测请求帧,接收各个备选无线接入设备分别返回的第三探测响应帧,其中,所述第三探测响应帧中预设字段携带有所述备选无线接入设备的接入能力信息;The receiving submodule is configured to receive a third detection response frame returned by each candidate wireless access device respectively based on the third detection request frame, wherein the preset field in the third detection response frame carries the backup information of the candidate wireless access device. Select the access capability information of the wireless access device;
解析子模块,用于解析所述第三探测响应帧,确定出所述备选无线接入设备的接入能力信息;A parsing submodule, configured to parse the third detection response frame and determine the access capability information of the candidate wireless access device;
选择子模块,用于基于各个所述备选无线接入设备的接入能力信息,从各个所述备选无线接入设备中选择出所述目标接入点。A selection submodule is configured to select the target access point from each of the candidate wireless access devices based on the access capability information of each of the candidate wireless access devices.
在一个可选的实施例中,所述接入能力信息,包括:接收的信号强度指示;In an optional embodiment, the access capability information includes: received signal strength indication;
所述选择子模块,还用于:The selection sub-module is also used to:
基于各个所述备选无线接入设备的接入能力信息,确定出各个所述备选无线接入设备两两之间的所述接收的信号指示的多个差值;Based on the access capability information of each of the candidate wireless access devices, determine a plurality of differences in the received signal indications between each of the candidate wireless access devices;
若所述多个差值中至少一个差值大于第一差值阈值,则选择所述接收的信号强度指示中信号强度最强对应的备选无线接入设备,作为所述目标接入点。If at least one of the plurality of differences is greater than the first difference threshold, then select the candidate wireless access device corresponding to the strongest signal strength in the received signal strength indication as the target access point.
在一个可选的实施例中,所述接入点能力信息,包括:备选无线接入设备的已代理设备个数与最大代理设备个数的比值;In an optional embodiment, the access point capability information includes: the ratio of the number of proxy devices of the candidate wireless access device to the maximum number of proxy devices;
所述装置还包括:The device also includes:
选择模块,用于若所述多个差值均小于第二差值阈值,则选择备选无线接入设备的已代理设备个数与最大代理设备个数的所述比值中比值最小的对应的备选无线接入设备,作为所述目标无线接入设备。A selection module configured to, if the plurality of differences are less than a second difference threshold, select the corresponding one with the smallest ratio among the ratios of the number of proxy devices and the maximum number of proxy devices of the candidate wireless access device. The candidate wireless access device serves as the target wireless access device.
在一个可选的实施例中,所述装置还包括:In an optional embodiment, the device further includes:
监听模块,用于监听所述第一探测请求帧的发送触发事件;A monitoring module configured to monitor the sending trigger event of the first detection request frame;
所述第二发送模块802,还用于若监听到所述第一探测请求帧的发送触发事件,向所述目标无线接入设备发送第一探测请求帧。The second sending module 802 is also configured to send the first detection request frame to the target wireless access device if a triggering event for sending the first detection request frame is detected.
在一个可选的实施例中,所述预设字段包括:Vendor IE中的payload字段。In an optional embodiment, the preset field includes: payload field in Vendor IE.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the devices in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
图9是根据一示例性实施例示出的一种智能家居设备900的框图。例如,智能家居设备900可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 9 is a block diagram of a smart home device 900 according to an exemplary embodiment. For example, the smart home device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
参照图9,智能家居设备900可以包括以下一个或多个组件:处理组件902,存储器904,电力组件906,多媒体组件908,音频组件910,输入/输出(I/O)的接口912,传感器组件914,以及通信组件916。Referring to FIG. 9 , a smart home device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input/output (I/O) interface 912 , and a sensor component. 914, and communications component 916.
处理组件902通常控制智能家居设备900的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件902可以包括一个或多个处理器920来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。例如,处理组件902可以包括多媒体模块,以方便多媒体组件908和处理组件902之间的交互。Processing component 902 generally controls the overall operations of smart home device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 902 may include one or more modules that facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
存储器904被配置为存储各种类型的数据以支持在智能家居设备900的操作。这些数据的示例包括用于在智能家居设备900上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 904 is configured to store various types of data to support operations at smart home device 900 . Examples of such data include instructions for any application or method operating on the smart home device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
电力组件906为智能家居设备900的各种组件提供电力。电力组件906可以包括电源管理系统,一个或多个电源,及其他与为智能家居设备900生成、管理和分配电力相关联的组件。Power component 906 provides power to various components of smart home device 900 . Power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to smart home devices 900 .
多媒体组件908包括在所述智能家居设备900和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件908包括一个前置摄像头和/或后置摄像头。当智能家居设备900处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 908 includes a screen that provides an output interface between the smart home device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action. In some embodiments, multimedia component 908 includes a front-facing camera and/or a rear-facing camera. When the smart home device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
音频组件910被配置为输出和/或输入音频信号。例如,音频组件910包括一个麦克风(MIC),当智能家居设备900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件916发送。在一些实施例中,音频组件910还包括一个扬声器,用于输出音频信号。Audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when smart home device 900 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or sent via communications component 916 . In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O接口912为处理组件902和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 912 provides an interface between the processing component 902 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
传感器组件914包括一个或多个传感器,用于为智能家居设备900提供各个方面的状态评估。例如,传感器组件914可以检测到智能家居设备900的打开/关闭状态,组件的相对定位,例如所述组件为智能家居设备900的显示器和小键盘,传感器组件914还可以检测智能家居设备900或智能家居设备900一个组件的位置改变,用户与智能家居设备900接触的存在或不存在,智能家居设备900方位或加速/减速和智能家居设备900的温度变化。传感器组件914可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件914还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor component 914 includes one or more sensors that provide various aspects of status assessment for smart home device 900 . For example, the sensor component 914 can detect the on/off status of the smart home device 900, the relative positioning of the components, such as the display and keypad of the smart home device 900, and the sensor component 914 can also detect the smart home device 900 or smart home device 900. The position of a component of the home device 900 changes, the presence or absence of user contact with the smart home device 900 , the orientation or acceleration/deceleration of the smart home device 900 and the temperature of the smart home device 900 change. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件916被配置为便于智能家居设备900和其他设备之间有线或无线方式的通信。智能家居设备900可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件916经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件916还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 916 is configured to facilitate wired or wireless communication between smart home device 900 and other devices. The smart home device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 916 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communications component 916 also includes a near field communications (NFC) module to facilitate short-range communications. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,智能家居设备900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, smart home device 900 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field Programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for performing the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器904,上述指令可由智能家居设备900的处理器920执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 904 including instructions, which can be executed by the processor 920 of the smart home device 900 to complete the above method is also provided. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由智能家居设备的处理器执行时,使得智能家居设备能够执行上述各实施例所述的信息处理方法。A non-transitory computer-readable storage medium that, when instructions in the storage medium are executed by a processor of a smart home device, enables the smart home device to execute the information processing methods described in the above embodiments.
图10是根据一示例性实施例示出的一种无线接入设备1000的框图。例如,无线接入设备1000可以被提供为一服务器。参照图10,无线接入设备1000包括处理组件1022,其进一步包括一个或多个处理器,以及由存储器1032所代表的存储器资源,用于存储可由处理组件1022的执行的指令,例如应用程序。存储器1032中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1022被配置为执行指令,以执行上述方法各个实施例所述的应用于无线接入设备的信息处理方法。Figure 10 is a block diagram of a wireless access device 1000 according to an exemplary embodiment. For example, wireless access device 1000 may be provided as a server. 10, wireless access device 1000 includes a processing component 1022, which further includes one or more processors, and memory resources, represented by memory 1032, for storing instructions, such as application programs, executable by processing component 1022. The application program stored in memory 1032 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1022 is configured to execute instructions to perform the information processing method applied to the wireless access device described in each embodiment of the above method.
无线接入设备1000还可以包括一个电源组件1026被配置为执行无线接入设备1000的电源管理,一个有线或无线网络接口1050被配置为将无线接入设备1000连接到网络,和一个输入输出(I/O)接口1058。无线接入设备1000可以操作基于存储在存储器1032的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。Wireless access device 1000 may also include a power supply component 1026 configured to perform power management of wireless access device 1000, a wired or wireless network interface 1050 configured to connect wireless access device 1000 to a network, and an input/output ( I/O) interface 1058. Wireless access device 1000 may operate based on an operating system stored in memory 1032, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary technical means in the technical field that are not disclosed in the present disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It is to be understood that the present invention is not limited to the precise construction described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (17)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110634811.7A CN113473573B (en) | 2021-06-08 | 2021-06-08 | Information processing method and device, wireless access equipment and intelligent household equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110634811.7A CN113473573B (en) | 2021-06-08 | 2021-06-08 | Information processing method and device, wireless access equipment and intelligent household equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113473573A CN113473573A (en) | 2021-10-01 |
| CN113473573B true CN113473573B (en) | 2024-03-12 |
Family
ID=77868644
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110634811.7A Active CN113473573B (en) | 2021-06-08 | 2021-06-08 | Information processing method and device, wireless access equipment and intelligent household equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113473573B (en) |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20070102847A (en) * | 2006-04-17 | 2007-10-22 | 삼성전자주식회사 | Apparatus and method for transmitting wireless data |
| CN101640617A (en) * | 2008-07-30 | 2010-02-03 | 华为技术有限公司 | Method, system and device for detecting and positioning network failure |
| CN103607751A (en) * | 2013-11-18 | 2014-02-26 | 深圳市通力科技开发有限公司 | Wireless device configuration method and system |
| WO2014042434A1 (en) * | 2012-09-11 | 2014-03-20 | 엘지전자 주식회사 | Method and apparatus for scanning in wireless lan |
| CN103716795A (en) * | 2012-10-09 | 2014-04-09 | 中兴通讯股份有限公司 | Wireless network safe access method, apparatus and system |
| CN104640181A (en) * | 2013-11-11 | 2015-05-20 | 奥普林克通信公司 | Security system device power management |
| CN105848145A (en) * | 2016-05-16 | 2016-08-10 | 福州瑞芯微电子股份有限公司 | WIFI intelligent configuration method and device |
| CN106211269A (en) * | 2016-06-24 | 2016-12-07 | 福州瑞芯微电子股份有限公司 | A kind of smart machine means of communication and device |
| WO2016192224A1 (en) * | 2015-06-01 | 2016-12-08 | 中兴通讯股份有限公司 | Method for matching access point in wireless local area network, central control unit and access points |
| CN110224845A (en) * | 2018-03-01 | 2019-09-10 | 华为技术有限公司 | Delimit method, system and the relevant device of transmission fault |
| CN110337103A (en) * | 2019-05-28 | 2019-10-15 | 杭州安恒信息技术股份有限公司 | A kind of connectionless data hided transmission method based on 802.11 agreements |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018214114A1 (en) * | 2017-05-25 | 2018-11-29 | 华为技术有限公司 | Wireless local area network configuration method and apparatus |
| US10644969B2 (en) * | 2017-08-08 | 2020-05-05 | Arista Networks, Inc. | Method and system for network elements to internally probe their forwarding elements |
| CN110995665B (en) * | 2019-11-15 | 2023-04-18 | 北京小米移动软件有限公司 | Network distribution method and device, electronic equipment and storage medium |
-
2021
- 2021-06-08 CN CN202110634811.7A patent/CN113473573B/en active Active
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20070102847A (en) * | 2006-04-17 | 2007-10-22 | 삼성전자주식회사 | Apparatus and method for transmitting wireless data |
| CN101640617A (en) * | 2008-07-30 | 2010-02-03 | 华为技术有限公司 | Method, system and device for detecting and positioning network failure |
| WO2014042434A1 (en) * | 2012-09-11 | 2014-03-20 | 엘지전자 주식회사 | Method and apparatus for scanning in wireless lan |
| CN103716795A (en) * | 2012-10-09 | 2014-04-09 | 中兴通讯股份有限公司 | Wireless network safe access method, apparatus and system |
| CN104640181A (en) * | 2013-11-11 | 2015-05-20 | 奥普林克通信公司 | Security system device power management |
| CN103607751A (en) * | 2013-11-18 | 2014-02-26 | 深圳市通力科技开发有限公司 | Wireless device configuration method and system |
| WO2016192224A1 (en) * | 2015-06-01 | 2016-12-08 | 中兴通讯股份有限公司 | Method for matching access point in wireless local area network, central control unit and access points |
| CN105848145A (en) * | 2016-05-16 | 2016-08-10 | 福州瑞芯微电子股份有限公司 | WIFI intelligent configuration method and device |
| CN106211269A (en) * | 2016-06-24 | 2016-12-07 | 福州瑞芯微电子股份有限公司 | A kind of smart machine means of communication and device |
| CN110224845A (en) * | 2018-03-01 | 2019-09-10 | 华为技术有限公司 | Delimit method, system and the relevant device of transmission fault |
| CN110337103A (en) * | 2019-05-28 | 2019-10-15 | 杭州安恒信息技术股份有限公司 | A kind of connectionless data hided transmission method based on 802.11 agreements |
Non-Patent Citations (1)
| Title |
|---|
| 夏国卿 ; 李长远 ; 苏子松 ; 陈伟 ; .基于设备指纹的无线钓鱼接入点识别方法研究.计算机技术与发展.(01),全文. * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113473573A (en) | 2021-10-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11418388B2 (en) | Method for network configuration, and electronic device | |
| CN109417717B (en) | Measurement configuration method, device, equipment, system and storage medium | |
| CN109076593B (en) | Transmission configuration method and device | |
| US10098166B2 (en) | Method and device for wireless connection establishment | |
| WO2020019216A1 (en) | Transmission configuration method and device | |
| CN106358189B (en) | Method and device for accessing wireless local area network | |
| CN114916004A (en) | Transmission configuration method and device | |
| CN109644457B (en) | Resource allocation method and device | |
| CN110896364B (en) | Network distribution method and device, electronic equipment and storage medium | |
| CN107820684B (en) | Channel detection method, information sending method, device and communication equipment | |
| WO2024077425A1 (en) | Mobile network perception methods and apparatuses, storage medium, perception execution end and perception application function network element | |
| WO2022082778A1 (en) | Information reporting method and apparatus, and storage medium | |
| CN113796110A (en) | Method, device, equipment and storage medium for executing small data packet transmission and determining random access message transmission mode | |
| CN113632583A (en) | A direct-connected communication method and device | |
| CN112039604A (en) | Equipment rapid networking technology based on intelligent home scene | |
| CN113316173A (en) | Networking equipment determination method, device, equipment and storage medium | |
| WO2022104512A1 (en) | Method and apparatus for determining paging reason, and storage medium | |
| US20250254095A1 (en) | Reverse wireless discovery for adding an iot device to an iot ecosystem | |
| WO2023212959A1 (en) | Information processing method and apparatus, communication device, and storage medium | |
| CN113473573B (en) | Information processing method and device, wireless access equipment and intelligent household equipment | |
| CN113395745A (en) | Method, device, terminal and storage medium for accessing Mesh network | |
| CN113115298A (en) | Method, apparatus and storage medium for triggering roaming of wireless client | |
| WO2022233047A1 (en) | Cell measurement method and device, and storage medium | |
| WO2022204998A1 (en) | Capability reporting method and device and information configuration method and device | |
| WO2022178789A1 (en) | Ranging method and apparatus, and user equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |