Movatterモバイル変換


[0]ホーム

URL:


CN106454812A - Method and device for receiving data - Google Patents

Method and device for receiving data
Download PDF

Info

Publication number
CN106454812A
CN106454812ACN201610932524.3ACN201610932524ACN106454812ACN 106454812 ACN106454812 ACN 106454812ACN 201610932524 ACN201610932524 ACN 201610932524ACN 106454812 ACN106454812 ACN 106454812A
Authority
CN
China
Prior art keywords
message data
mobile terminal
message
same
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610932524.3A
Other languages
Chinese (zh)
Inventor
周超能
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Digital Technology Co LtdfiledCriticalShenzhen Skyworth Digital Technology Co Ltd
Priority to CN201610932524.3ApriorityCriticalpatent/CN106454812A/en
Publication of CN106454812ApublicationCriticalpatent/CN106454812A/en
Priority to PCT/CN2017/107265prioritypatent/WO2018077129A1/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种数据接收的方法及装置。该方法包括:智能模块按照预设顺序和时间间隔进行逐步跳转式扫描,并获取报文数据,所述报文数据为移动终端根据预设分包方式进行发送的报文数据;所述智能终端根据所述报文数据中的携带的每个包的标识重组所述报文数据,并根据所述报文数据中的加密因子解码所述报文数据。所述智能模块按照顺序的模式进行逐步跳转,直到有符合的报文,开始锁定信道,这种信道扫描方式大大的提高信道寻找时间,增加连接网络的时间。

The invention discloses a data receiving method and device. The method includes: the intelligent module performs step-by-step jump scanning according to a preset order and time interval, and obtains message data, and the message data is message data sent by a mobile terminal according to a preset packetization method; the intelligent The terminal reassembles the packet data according to the identifier of each packet carried in the packet data, and decodes the packet data according to the encryption factor in the packet data. The intelligent module jumps step by step according to the sequential mode until there is a matching message and starts to lock the channel. This channel scanning method greatly improves the channel search time and increases the time to connect to the network.

Description

Translated fromChinese
一种数据接收的方法及装置Method and device for receiving data

技术领域technical field

本发明实施例涉及物联网的技术领域,尤其涉及一种数据接收的方法及装置。The embodiments of the present invention relate to the technical field of the Internet of Things, and in particular, to a data receiving method and device.

背景技术Background technique

随着物联网的发展,使得各种通信接入技术出现了越来越多的交叉。快连技术可以采用多种不同方式实现对智能设备的接入驱动。With the development of the Internet of Things, there are more and more intersections of various communication access technologies. Kuailian technology can realize the access drive of smart devices in many different ways.

一种方式为:以WiFi Direct为基础,使智能控制终端接入处于WiFi AP模式的智能设备,向其传输配置信息后,由智能设备配置自身网络设置并启动与目标网络的WiFi AP的接入程序,最终实现接入,在这种方式中,智能控制终端与智能设备借助基于IEEE802.11协议规范的UDP广播数据包实现配置信息的传输;另一种方式为:智能控制终端直接基于UDP组播数据包发送所述的配置信息,而智能设备依照与智能控制终端共同遵守的协议解析相应的组播数据帧获得相应的配置信息,利用该配置信息配置自身网络设置完成接入所述的目标网络。从而使家居链接到网络,方便用户可以从远端进行控制,即所谓的物联网(“Internet of things(IoT)”)。物联网是一个新兴的产业,很多的产商开始推出自己的智能模块,但均存在各种问题,安全性,连上Internet时间,都不尽如意,用户体验度不是很好。One method is: based on WiFi Direct, the intelligent control terminal is connected to the smart device in WiFi AP mode, and after transmitting the configuration information to it, the smart device configures its own network settings and starts accessing the WiFi AP of the target network In this way, the intelligent control terminal and the intelligent device realize the transmission of configuration information by means of UDP broadcast packets based on the IEEE802.11 protocol specification; another way is: the intelligent control terminal directly bases broadcast data packets to send the configuration information, and the smart device parses the corresponding multicast data frame to obtain the corresponding configuration information according to the protocol that is jointly observed with the smart control terminal, and uses the configuration information to configure its own network settings to complete the access to the target The internet. In this way, the home is linked to the network, so that users can control it from a distance, the so-called Internet of things ("Internet of things (IoT)"). The Internet of Things is an emerging industry. Many manufacturers have begun to launch their own smart modules, but there are various problems, such as security, Internet access time, and user experience.

但无论是点对点的Ad-Hoc技术,还是快连(SmartLink)解决方案,首先连接速度上需要的时间都不算是最优化的,其次在相同的网络环境下的抗干扰的能力几乎是为0,其次市面上的智能模块从安全性和链接到网络设备的时间均太长,在抗干扰性上,如果是两台以上的手机同时操作智能模块,使其链接到网络中去,基本上是无法达到预期目标。即使两台手机的发送的是同样的报文也无法使智能模块链接到网络中去,无抗干扰性。另外时间长,从智能模块开机到链接网络的时间,也是用户体验的一个关键因素。But whether it is point-to-point Ad-Hoc technology or SmartLink solution, firstly, the time required for the connection speed is not optimal, and secondly, the anti-interference ability in the same network environment is almost zero. Secondly, the smart modules on the market are too long in terms of security and linking time to network equipment. In terms of anti-interference, if more than two mobile phones operate the smart module at the same time to connect to the network, it is basically impossible. achieve the desired goal. Even if the two mobile phones send the same message, the intelligent module cannot be linked to the network, and there is no anti-interference. In addition, it takes a long time, the time from when the smart module is turned on to when it is connected to the network, is also a key factor in user experience.

发明内容Contents of the invention

本发明实施例的目的在于提出一种数据接收的方法及装置,旨在解决如何提高智能模块的链接速度以及抗干扰的能力。The purpose of the embodiments of the present invention is to provide a data receiving method and device, aiming to solve how to improve the link speed and anti-interference ability of the intelligent module.

为达此目的,本发明实施例采用以下技术方案:To achieve this purpose, the embodiments of the present invention adopt the following technical solutions:

第一方面,一种数据接收的方法,所述方法包括:In a first aspect, a method for receiving data, the method includes:

智能模块按照预设顺序和时间间隔进行逐步跳转式扫描,并获取报文数据,所述报文数据为移动终端根据预设分包方式进行发送的报文数据;The intelligent module performs step-by-step scanning according to the preset sequence and time interval, and obtains message data, and the message data is message data sent by the mobile terminal according to the preset packetization method;

所述智能终端根据所述报文数据中的携带的每个包的标识重组所述报文数据,并根据所述报文数据中的加密因子解码所述报文数据。The intelligent terminal reassembles the message data according to the identifier of each packet carried in the message data, and decodes the message data according to the encryption factor in the message data.

优选地,所述智能模块按照预设顺序和时间间隔进行逐步跳转式扫描,包括:Preferably, the intelligent module performs a step-by-step skip scan according to a preset sequence and time interval, including:

所述智能模块在扫描有报文的信道上停留预设第一时间;The intelligent module stays on the channel for scanning messages for a preset first time;

若所述智能模块在所述第一时间内接收到下一个报文,则增加所述智能模块停留在所述有报文的信道上的时间;If the intelligent module receives the next message within the first time, then increase the time for the intelligent module to stay on the channel with the message;

若在增加的时间内未继续收到报文且所述增加的时间超过预设时间阈值,则按照预设顺序和时间间隔进行逐步跳转式扫描。If the packet is not received within the increased time and the increased time exceeds the preset time threshold, step by step scanning is performed according to the preset sequence and time interval.

优选地,所述智能模块获取报文数据,包括:Preferably, the intelligent module acquires message data, including:

所述智能模块根据源MAC地址判断是所述报文数据是否为同一个移动终端的报文数据;The intelligent module judges whether the message data is message data of the same mobile terminal according to the source MAC address;

若所述报文数据为同一个移动终端的报文数据,则所述智能模块获取同一个移动终端发送的报文数据。If the message data is the message data of the same mobile terminal, the intelligent module acquires the message data sent by the same mobile terminal.

优选地,所述智能模块获取同一个移动终端发送的报文数据,包括:Preferably, the intelligent module acquires message data sent by the same mobile terminal, including:

所述智能模块判断同一个移动终端发送的报文数据的包体长度是否相同;若所述包体长度相同,则所述智能终端获取同一个移动终端发送的同一个包体长度的报文数据。The intelligent module judges whether the packet body lengths of the message data sent by the same mobile terminal are the same; if the packet body lengths are the same, the intelligent terminal obtains the message data of the same packet body length sent by the same mobile terminal .

优选地,所述智能模块获取报文数据,包括:Preferably, the intelligent module acquires message data, including:

若所述智能终端在同一个锁定信道上接收到两个不同移动终端发送的报文时,则所述智能模块按照时间顺序保留第一个移动终端发送的报文,并丢弃第二个移动终端发送的报文。If the smart terminal receives messages sent by two different mobile terminals on the same locked channel, the smart module retains the messages sent by the first mobile terminal in chronological order and discards the second mobile terminal sent message.

第二方面,一种数据接收的装置,所述装置包括:In a second aspect, a device for receiving data, the device includes:

扫描模块,用于按照预设顺序和时间间隔进行逐步跳转式扫描;The scanning module is used to perform step-by-step scanning according to the preset order and time interval;

获取模块,用于获取报文数据,所述报文数据为移动终端根据预设分包方式进行发送的报文数据;An acquisition module, configured to acquire message data, where the message data is message data sent by the mobile terminal according to a preset subcontracting method;

重组模块,用于根据所报文数据中的携带的每个包的标识重组所述报文数;A reassembly module, configured to reassemble the number of packets according to the identifier of each packet carried in the packet data;

解密模块,用于根据所述报文数据中的加密因子解码所述报文数据。A decryption module, configured to decode the message data according to the encryption factor in the message data.

优选地,所述扫描模块,具体用于:Preferably, the scanning module is specifically used for:

在扫描有报文的信道上停留预设第一时间;Stay on the channel that scans the message for the preset first time;

若所述智能模块在所述第一时间内接收到下一个报文,则增加所述智能模块停留在所述有报文的信道上的时间;If the intelligent module receives the next message within the first time, then increase the time for the intelligent module to stay on the channel with the message;

若在增加的时间内未继续收到报文且所述增加的时间超过预设时间阈值,则按照预设顺序和时间间隔进行逐步跳转式扫描。If the packet is not received within the increased time and the increased time exceeds the preset time threshold, step by step scanning is performed according to the preset sequence and time interval.

优选地,所述获取模块,具体用于:Preferably, the acquisition module is specifically used for:

根据源MAC地址判断是所述报文数据是否为同一个移动终端的报文数据;Judging whether the message data is message data of the same mobile terminal according to the source MAC address;

若所述报文数据为同一个移动终端的报文数据,则获取同一个移动终端发送的报文数据。If the message data is message data of the same mobile terminal, then acquire the message data sent by the same mobile terminal.

优选地,所述获取模块,还具体用于:Preferably, the acquisition module is also specifically used for:

判断同一个移动终端发送的报文数据的包体长度是否相同;若所述包体长度相同,则获取同一个移动终端发送的同一个包体长度的报文数据。Judging whether the packet body lengths of the message data sent by the same mobile terminal are the same; if the packet body lengths are the same, acquiring message data of the same packet body length sent by the same mobile terminal.

优选地,所述获取模块,还具体用于:Preferably, the acquisition module is also specifically used for:

若所述智能终端在同一个锁定信道上接收到两个不同移动终端发送的报文时,则按照时间顺序保留第一个移动终端发送的报文,并丢弃第二个移动终端发送的报文。If the intelligent terminal receives messages sent by two different mobile terminals on the same locked channel, then retain the message sent by the first mobile terminal in chronological order, and discard the message sent by the second mobile terminal .

本发明实施例提供一种数据接收的方法及装置,智能模块按照预设顺序和时间间隔进行逐步跳转式扫描,并获取报文数据,所述报文数据为移动终端根据预设分包方式进行发送的报文数据;所述智能终端根据所述报文数据中的携带的每个包的标识重组所述报文数据,并根据所述报文数据中的加密因子解码所述报文数据。所述智能模块按照顺序的模式进行逐步跳转,直到有符合的报文,开始锁定信道,这种信道扫描方式大大的提高信道寻找时间,增加连接网络的时间。The embodiment of the present invention provides a method and device for receiving data. The intelligent module performs step-by-step scanning according to the preset sequence and time interval, and obtains message data. The message data is obtained by the mobile terminal according to the preset packetization method The message data to be sent; the intelligent terminal reassembles the message data according to the identifier of each packet carried in the message data, and decodes the message data according to the encryption factor in the message data . The intelligent module jumps step by step according to the sequential mode until there is a matching message and starts to lock the channel. This channel scanning method greatly improves the channel search time and increases the time to connect to the network.

附图说明Description of drawings

图1是本发明实施例提供的一种数据接收的方法的流程示意图;FIG. 1 is a schematic flowchart of a data receiving method provided by an embodiment of the present invention;

图2是本发明实施例提供的一种数据接收的装置的功能模块示意图。Fig. 2 is a schematic diagram of functional modules of a device for receiving data provided by an embodiment of the present invention.

具体实施方式detailed description

下面结合附图和实施例对本发明实施例作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明实施例,而非对本发明实施例的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明实施例相关的部分而非全部结构。The embodiments of the present invention will be further described in detail below in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the embodiments of the present invention, rather than to limit the embodiments of the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the embodiments of the present invention.

参考图1,图1是本发明实施例提供的一种数据接收的方法的流程示意图。Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a data receiving method provided by an embodiment of the present invention.

如图1所示,所述数据接收的方法包括:As shown in Figure 1, the method for the data reception includes:

步骤101,智能模块按照预设顺序和时间间隔进行逐步跳转式扫描,并获取报文数据,所述报文数据为移动终端根据预设分包方式进行发送的报文数据;Step 101, the intelligent module performs step-by-step jump scanning according to the preset order and time interval, and obtains message data, and the message data is message data sent by the mobile terminal according to the preset packetization method;

优选地,所述智能模块按照预设顺序和时间间隔进行逐步跳转式扫描,包括:Preferably, the intelligent module performs a step-by-step skip scan according to a preset sequence and time interval, including:

所述智能模块在扫描有报文的信道上停留预设第一时间;The intelligent module stays on the channel for scanning messages for a preset first time;

若所述智能模块在所述第一时间内接收到下一个报文,则增加所述智能模块停留在所述有报文的信道上的时间;If the intelligent module receives the next message within the first time, then increase the time for the intelligent module to stay on the channel with the message;

若在增加的时间内未继续收到报文且所述增加的时间超过预设时间阈值,则按照预设顺序和时间间隔进行逐步跳转式扫描。If the packet is not received within the increased time and the increased time exceeds the preset time threshold, step by step scanning is performed according to the preset sequence and time interval.

具体的,信道不锁定,一直在循环,当接收到一个组播报文数据,停留一下,当接收到第二个则增加信道锁定停留时间,以此类推。当超过时间进入信道扫描,重新接收数据。这样可以大大提高wifi模块的抗干扰能力。Specifically, the channel is not locked, and it keeps looping. When one multicast message data is received, it stays for a while, and when the second one is received, the channel lock stay time is increased, and so on. When the time is exceeded, enter the channel scan and receive data again. This can greatly improve the anti-interference ability of the wifi module.

优选地,所述智能模块获取报文数据,包括:Preferably, the intelligent module acquires message data, including:

所述智能模块根据源MAC地址判断是所述报文数据是否为同一个移动终端的报文数据;The intelligent module judges whether the message data is message data of the same mobile terminal according to the source MAC address;

若所述报文数据为同一个移动终端的报文数据,则所述智能模块获取同一个移动终端发送的报文数据。If the message data is the message data of the same mobile terminal, the intelligent module acquires the message data sent by the same mobile terminal.

具体的,同一个源有可能发送很多其他的组播报文格式。智能模块会记录首次接受到报文的移动终端的源mac地址,则智能模块锁定源端地址可以排除其他终端的报文。Specifically, the same source may send many other multicast packet formats. The intelligent module will record the source mac address of the mobile terminal that received the message for the first time, and then the intelligent module can lock the source address to exclude messages from other terminals.

优选地,所述智能模块获取同一个移动终端发送的报文数据,包括:Preferably, the intelligent module acquires message data sent by the same mobile terminal, including:

所述智能模块判断同一个移动终端发送的报文数据的包体长度是否相同;若所述包体长度相同,则所述智能终端获取同一个移动终端发送的同一个包体长度的报文数据。The intelligent module judges whether the packet body lengths of the message data sent by the same mobile terminal are the same; if the packet body lengths are the same, the intelligent terminal obtains the message data of the same packet body length sent by the same mobile terminal .

具体的,在智能模块锁定源mac地址的情况下,对发送的每个包加上自己的标志,而且同一个报文中的每个包体的长度是一样的,且按照一定的对齐方式。如可以按照16进制对齐,没有填充满的以0代替。在收到第一个报文时就可以拿到标志位,同时对每个收到的包长度进行测量,发现与上一个一样长就接受到队列当中。当接受完了进行排序、解密,得到原始数据。Specifically, when the intelligent module locks the source mac address, it adds its own mark to each packet sent, and the length of each packet body in the same message is the same, and according to a certain alignment. If it can be aligned according to the hexadecimal system, replace it with 0 if it is not filled. When the first message is received, the flag bit can be obtained. At the same time, the length of each received packet is measured, and it is found that it is as long as the previous one and then it is accepted into the queue. After receiving, sort and decrypt to get the original data.

优选地,所述智能模块获取报文数据,包括:Preferably, the intelligent module acquires message data, including:

若所述智能终端在同一个锁定信道上接收到两个不同移动终端发送的报文时,则所述智能模块按照时间顺序保留第一个移动终端发送的报文,并丢弃第二个移动终端发送的报文。If the smart terminal receives messages sent by two different mobile terminals on the same locked channel, the smart module retains the messages sent by the first mobile terminal in chronological order and discards the second mobile terminal sent message.

具体的,若两台以上发送的移动终端是不同报文,智能模块首先接到来自其他的干扰报文,通过收到的第一个报文,进行比对(当收到一个报文我们就记录原mac地址),当第二个报文来的时候,比对和第一个报文的mac地址是否是同一个,不是则丢弃。Specifically, if the mobile terminals sent by two or more mobile terminals are different messages, the intelligent module first receives interference messages from others, and compares the received first message (when a message is received, we will Record the original mac address), when the second message comes, compare whether the mac address of the first message is the same, if not, discard it.

步骤102,所述智能终端根据所述报文数据中的携带的每个包的标识重组所述报文数据,并根据所述报文数据中的加密因子解码所述报文数据。Step 102, the intelligent terminal reassembles the message data according to the identifier of each packet carried in the message data, and decodes the message data according to the encryption factor in the message data.

本发明实施例提供一种数据接收的方法,智能模块按照预设顺序和时间间隔进行逐步跳转式扫描,并获取报文数据,所述报文数据为移动终端根据预设分包方式进行发送的报文数据;所述智能终端根据所述报文数据中的携带的每个包的标识重组所述报文数据,并根据所述报文数据中的加密因子解码所述报文数据。所述智能模块按照顺序的模式进行逐步跳转,直到有符合的报文,开始锁定信道,这种信道扫描方式大大的提高信道寻找时间,增加连接网络的时间。The embodiment of the present invention provides a method for receiving data. The intelligent module performs step-by-step scanning according to the preset order and time interval, and obtains message data, and the message data is sent by the mobile terminal according to the preset sub-packetization method the message data; the smart terminal reassembles the message data according to the identifier of each packet carried in the message data, and decodes the message data according to the encryption factor in the message data. The intelligent module jumps step by step according to the sequential mode until there is a matching message and starts to lock the channel. This channel scanning method greatly improves the channel search time and increases the time to connect to the network.

参考图2,图2是本发明实施例提供的一种数据接收的装置的功能模块示意图。Referring to FIG. 2 , FIG. 2 is a schematic diagram of functional modules of a device for receiving data according to an embodiment of the present invention.

如图2,所述装置包括:As shown in Figure 2, the device includes:

扫描模块201,用于按照预设顺序和时间间隔进行逐步跳转式扫描;A scanning module 201, configured to perform step-by-step scanning according to a preset sequence and time interval;

获取模块202,用于获取报文数据,所述报文数据为移动终端根据预设分包方式进行发送的报文数据;The obtaining module 202 is used to obtain message data, and the message data is message data sent by the mobile terminal according to a preset subcontracting mode;

重组模块203,用于根据所报文数据中的携带的每个包的标识重组所述报文数;Reassembly module 203, configured to reassemble the number of packets according to the identifier of each packet carried in the packet data;

解密模块204,用于根据所述报文数据中的加密因子解码所述报文数据。A decryption module 204, configured to decode the message data according to the encryption factor in the message data.

其中,所述重组模块203,用于收到完整的报文根据每个报文的序号进行顺序重组。所述解密模块204,用于根据报文的加密因子,首先解密加密的密码,再拿解密的密钥把报文变成明文。其中,所述加密因子是通过移动终端根据“发送”时间生成的然后通过报文发送给智能模块,因而每时每刻都不一样。Wherein, the reassembly module 203 is configured to sequentially reassemble the received complete message according to the sequence number of each message. The decryption module 204 is configured to firstly decrypt the encrypted password according to the encryption factor of the message, and then use the decryption key to convert the message into plaintext. Wherein, the encryption factor is generated by the mobile terminal according to the "sending" time and then sent to the intelligent module through a message, so it is different every moment.

优选地,所述扫描模块201,具体用于:Preferably, the scanning module 201 is specifically used for:

在扫描有报文的信道上停留预设第一时间;Stay on the channel that scans the message for the preset first time;

若所述智能模块在所述第一时间内接收到下一个报文,则增加所述智能模块停留在所述有报文的信道上的时间;If the intelligent module receives the next message within the first time, then increase the time for the intelligent module to stay on the channel with the message;

若在增加的时间内未继续收到报文且所述增加的时间超过预设时间阈值,则按照预设顺序和时间间隔进行逐步跳转式扫描。If the packet is not received within the increased time and the increased time exceeds the preset time threshold, step by step scanning is performed according to the preset sequence and time interval.

优选地,所述获取模块202,具体用于:Preferably, the acquisition module 202 is specifically configured to:

根据源MAC地址判断是所述报文数据是否为同一个移动终端的报文数据;Judging whether the message data is message data of the same mobile terminal according to the source MAC address;

若所述报文数据为同一个移动终端的报文数据,则获取同一个移动终端发送的报文数据。If the message data is message data of the same mobile terminal, then acquire the message data sent by the same mobile terminal.

优选地,所述获取模块202,还具体用于:Preferably, the acquisition module 202 is also specifically configured to:

判断同一个移动终端发送的报文数据的包体长度是否相同;若所述包体长度相同,则获取同一个移动终端发送的同一个包体长度的报文数据。Judging whether the packet body lengths of the message data sent by the same mobile terminal are the same; if the packet body lengths are the same, acquiring message data of the same packet body length sent by the same mobile terminal.

优选地,所述获取模块202,还具体用于:Preferably, the acquisition module 202 is also specifically configured to:

若所述智能终端在同一个锁定信道上接收到两个不同移动终端发送的报文时,则按照时间顺序保留第一个移动终端发送的报文,并丢弃第二个移动终端发送的报文。If the intelligent terminal receives messages sent by two different mobile terminals on the same locked channel, then retain the message sent by the first mobile terminal in chronological order, and discard the message sent by the second mobile terminal .

本发明实施例提供一种数据接收的装置,智能模块按照预设顺序和时间间隔进行逐步跳转式扫描,并获取报文数据,所述报文数据为移动终端根据预设分包方式进行发送的报文数据;所述智能终端根据所述报文数据中的携带的每个包的标识重组所述报文数据,并根据所述报文数据中的加密因子解码所述报文数据。所述智能模块按照顺序的模式进行逐步跳转,直到有符合的报文,开始锁定信道,这种信道扫描方式大大的提高信道寻找时间,增加连接网络的时间。The embodiment of the present invention provides a device for receiving data. The intelligent module performs step-by-step scanning according to the preset order and time interval, and obtains message data, and the message data is sent by the mobile terminal according to the preset packetization method the message data; the smart terminal reassembles the message data according to the identifier of each packet carried in the message data, and decodes the message data according to the encryption factor in the message data. The intelligent module jumps step by step according to the sequential mode until there is a matching message and starts to lock the channel. This channel scanning method greatly improves the channel search time and increases the time to connect to the network.

以上结合具体实施例描述了本发明实施例的技术原理。这些描述只是为了解释本发明实施例的原理,而不能以任何方式解释为对本发明实施例保护范围的限制。基于此处的解释,本领域的技术人员不需要付出创造性的劳动即可联想到本发明实施例的其它具体实施方式,这些方式都将落入本发明实施例的保护范围之内。The above describes the technical principles of the embodiments of the present invention in conjunction with specific embodiments. These descriptions are only for explaining the principles of the embodiments of the present invention, and cannot be construed as limiting the protection scope of the embodiments of the present invention in any way. Based on the explanations herein, those skilled in the art can think of other specific implementation manners of the embodiments of the present invention without creative work, and these manners will fall within the protection scope of the embodiments of the present invention.

Claims (10)

Translated fromChinese
1.一种数据接收的方法,其特征在于,所述方法包括:1. A method for data reception, characterized in that the method comprises:智能模块按照预设顺序和时间间隔进行逐步跳转式扫描,并获取报文数据,所述报文数据为移动终端根据预设分包方式进行发送的报文数据;The intelligent module performs step-by-step scanning according to the preset sequence and time interval, and obtains message data, and the message data is message data sent by the mobile terminal according to the preset packetization method;所述智能终端根据所述报文数据中的携带的每个包的标识重组所述报文数据,并根据所述报文数据中的加密因子解码所述报文数据。The intelligent terminal reassembles the message data according to the identifier of each packet carried in the message data, and decodes the message data according to the encryption factor in the message data.2.根据权利要求1所述的方法,其特征在于,所述智能模块按照预设顺序和时间间隔进行逐步跳转式扫描,包括:2. The method according to claim 1, wherein the intelligent module performs step-by-step scanning according to a preset sequence and time interval, including:所述智能模块在扫描有报文的信道上停留预设第一时间;The intelligent module stays on the channel for scanning messages for a preset first time;若所述智能模块在所述第一时间内接收到下一个报文,则增加所述智能模块停留在所述有报文的信道上的时间;If the intelligent module receives the next message within the first time, then increase the time for the intelligent module to stay on the channel with the message;若在增加的时间内未继续收到报文且所述增加的时间超过预设时间阈值,则按照预设顺序和时间间隔进行逐步跳转式扫描。If the packet is not received within the increased time and the increased time exceeds the preset time threshold, step by step scanning is performed according to the preset sequence and time interval.3.根据权利要求1或2所述的方法,其特征在于,所述智能模块获取报文数据,包括:3. The method according to claim 1 or 2, wherein said intelligent module acquires message data, comprising:所述智能模块根据源MAC地址判断是所述报文数据是否为同一个移动终端的报文数据;The intelligent module judges whether the message data is message data of the same mobile terminal according to the source MAC address;若所述报文数据为同一个移动终端的报文数据,则所述智能模块获取同一个移动终端发送的报文数据。If the message data is the message data of the same mobile terminal, the intelligent module acquires the message data sent by the same mobile terminal.4.根据权利要求3所述的方法,其特征在于,所述智能模块获取同一个移动终端发送的报文数据,包括:4. The method according to claim 3, wherein the intelligent module obtains the message data sent by the same mobile terminal, comprising:所述智能模块判断同一个移动终端发送的报文数据的包体长度是否相同;若所述包体长度相同,则所述智能终端获取同一个移动终端发送的同一个包体长度的报文数据。The intelligent module judges whether the packet body lengths of the message data sent by the same mobile terminal are the same; if the packet body lengths are the same, the intelligent terminal obtains the message data of the same packet body length sent by the same mobile terminal .5.根据权利要求1或2所述的方法,其特征在于,所述智能模块获取报文数据,包括:5. The method according to claim 1 or 2, wherein said intelligent module acquires message data, comprising:若所述智能终端在同一个锁定信道上接收到两个不同移动终端发送的报文时,则所述智能模块按照时间顺序保留第一个移动终端发送的报文,并丢弃第二个移动终端发送的报文。If the smart terminal receives messages sent by two different mobile terminals on the same locked channel, the smart module retains the messages sent by the first mobile terminal in chronological order and discards the second mobile terminal sent message.6.一种数据接收的装置,其特征在于,所述装置包括:6. A device for data reception, characterized in that the device comprises:扫描模块,用于按照预设顺序和时间间隔进行逐步跳转式扫描;The scanning module is used to perform step-by-step scanning according to the preset order and time interval;获取模块,用于获取报文数据,所述报文数据为移动终端根据预设分包方式进行发送的报文数据;An acquisition module, configured to acquire message data, where the message data is message data sent by the mobile terminal according to a preset subcontracting method;重组模块,用于根据所报文数据中的携带的每个包的标识重组所述报文数;A reassembly module, configured to reassemble the number of packets according to the identifier of each packet carried in the packet data;解密模块,用于根据所述报文数据中的加密因子解码所述报文数据。A decryption module, configured to decode the message data according to the encryption factor in the message data.7.根据权利要求6所述的装置,其特征在于,所述扫描模块,具体用于:7. The device according to claim 6, wherein the scanning module is specifically used for:在扫描有报文的信道上停留预设第一时间;Stay on the channel that scans the message for the preset first time;若所述智能模块在所述第一时间内接收到下一个报文,则增加所述智能模块停留在所述有报文的信道上的时间;If the intelligent module receives the next message within the first time, then increase the time for the intelligent module to stay on the channel with the message;若在增加的时间内未继续收到报文且所述增加的时间超过预设时间阈值,则按照预设顺序和时间间隔进行逐步跳转式扫描。If the packet is not received within the increased time and the increased time exceeds the preset time threshold, step by step scanning is performed according to the preset sequence and time interval.8.根据权利要求6或7所述的装置,其特征在于,所述获取模块,具体用于:8. The device according to claim 6 or 7, wherein the acquiring module is specifically used for:根据源MAC地址判断是所述报文数据是否为同一个移动终端的报文数据;Judging whether the message data is message data of the same mobile terminal according to the source MAC address;若所述报文数据为同一个移动终端的报文数据,则获取同一个移动终端发送的报文数据。If the message data is message data of the same mobile terminal, then acquire the message data sent by the same mobile terminal.9.根据权利要求8所述的装置,其特征在于,所述获取模块,还具体用于:9. The device according to claim 8, wherein the acquisition module is further specifically configured to:判断同一个移动终端发送的报文数据的包体长度是否相同;若所述包体长度相同,则获取同一个移动终端发送的同一个包体长度的报文数据。Judging whether the packet body lengths of the message data sent by the same mobile terminal are the same; if the packet body lengths are the same, acquiring message data of the same packet body length sent by the same mobile terminal.10.根据权利要求6或7所述的装置,其特征在于,所述获取模块,还具体用于:10. The device according to claim 6 or 7, wherein the acquisition module is further specifically used for:若所述智能终端在同一个锁定信道上接收到两个不同移动终端发送的报文时,则按照时间顺序保留第一个移动终端发送的报文,并丢弃第二个移动终端发送的报文。If the intelligent terminal receives messages sent by two different mobile terminals on the same locked channel, then retain the message sent by the first mobile terminal in chronological order, and discard the message sent by the second mobile terminal .
CN201610932524.3A2016-10-242016-10-24Method and device for receiving dataPendingCN106454812A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201610932524.3ACN106454812A (en)2016-10-242016-10-24Method and device for receiving data
PCT/CN2017/107265WO2018077129A1 (en)2016-10-242017-10-23Data processing method and apparatus

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610932524.3ACN106454812A (en)2016-10-242016-10-24Method and device for receiving data

Publications (1)

Publication NumberPublication Date
CN106454812Atrue CN106454812A (en)2017-02-22

Family

ID=58177535

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610932524.3APendingCN106454812A (en)2016-10-242016-10-24Method and device for receiving data

Country Status (2)

CountryLink
CN (1)CN106454812A (en)
WO (1)WO2018077129A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2018077129A1 (en)*2016-10-242018-05-03深圳创维数字技术有限公司Data processing method and apparatus
CN109219075A (en)*2018-10-092019-01-15深圳创维数字技术有限公司A kind of wireless channel scanning method, apparatus, terminal and storage medium
WO2021004014A1 (en)*2019-07-102021-01-14Zhejiang Dahua Technology Co., Ltd.Systems and methods for connecting to a wireless network

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112738867B (en)*2020-12-282023-06-30乐鑫信息科技(上海)股份有限公司Intelligent device resetting method
CN115834727B (en)*2022-09-272025-06-13广东电网有限责任公司 Message data transmission method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102548038A (en)*2012-02-072012-07-04江苏麦希通讯技术有限公司Micro-power wireless networking method
CN103825788A (en)*2014-01-292014-05-28北京睿通慧联科技有限公司WIFI network configuration method and system
CN104768150A (en)*2015-03-312015-07-08深圳市江波龙电子有限公司Method and system for connecting WiFi equipment with wireless hot spot
CN105120507A (en)*2015-08-122015-12-02深圳市江波龙科技有限公司Data packet monitoring method and system
CN105142203A (en)*2015-08-202015-12-09深圳市金立通信设备有限公司Wireless fidelity (Wi-Fi) hotspot scanning method and terminal
CN105228264A (en)*2015-07-012016-01-06利尔达科技集团股份有限公司A kind of quick WI-FI network matching method being applicable to Internet of Things
CN105451290A (en)*2014-08-202016-03-30北京南瑞智芯微电子科技有限公司Micropower wireless network self-organizing method and micropower wireless network
CN105682253A (en)*2016-03-022016-06-15上海小蚁科技有限公司 Method, device, terminal and computer-readable storage medium for establishing communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7340251B1 (en)*1999-03-302008-03-04Nokia CorporationScanning guard timer
CN106454812A (en)*2016-10-242017-02-22深圳创维数字技术有限公司Method and device for receiving data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102548038A (en)*2012-02-072012-07-04江苏麦希通讯技术有限公司Micro-power wireless networking method
CN103825788A (en)*2014-01-292014-05-28北京睿通慧联科技有限公司WIFI network configuration method and system
CN105451290A (en)*2014-08-202016-03-30北京南瑞智芯微电子科技有限公司Micropower wireless network self-organizing method and micropower wireless network
CN104768150A (en)*2015-03-312015-07-08深圳市江波龙电子有限公司Method and system for connecting WiFi equipment with wireless hot spot
CN105228264A (en)*2015-07-012016-01-06利尔达科技集团股份有限公司A kind of quick WI-FI network matching method being applicable to Internet of Things
CN105120507A (en)*2015-08-122015-12-02深圳市江波龙科技有限公司Data packet monitoring method and system
CN105142203A (en)*2015-08-202015-12-09深圳市金立通信设备有限公司Wireless fidelity (Wi-Fi) hotspot scanning method and terminal
CN105682253A (en)*2016-03-022016-06-15上海小蚁科技有限公司 Method, device, terminal and computer-readable storage medium for establishing communication

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2018077129A1 (en)*2016-10-242018-05-03深圳创维数字技术有限公司Data processing method and apparatus
CN109219075A (en)*2018-10-092019-01-15深圳创维数字技术有限公司A kind of wireless channel scanning method, apparatus, terminal and storage medium
CN109219075B (en)*2018-10-092022-05-10深圳创维数字技术有限公司 A wireless channel scanning method, device, terminal and storage medium
WO2021004014A1 (en)*2019-07-102021-01-14Zhejiang Dahua Technology Co., Ltd.Systems and methods for connecting to a wireless network
CN110493185B (en)*2019-07-102021-06-29浙江大华技术股份有限公司 Channel staying method, apparatus, computer equipment and storage medium
US12219536B2 (en)2019-07-102025-02-04Zhejiang Dahua Technology Co., Ltd.Systems and methods for connecting to a wireless network

Also Published As

Publication numberPublication date
WO2018077129A1 (en)2018-05-03

Similar Documents

PublicationPublication DateTitle
US12063580B2 (en)Method and apparatus for providing a secure communication in a self-organizing network
CN104144086B (en)Communication means and system and information transmission and receiving device
RU2340928C2 (en)On-site wi-fi architecture for 802,11 networks
US7929504B2 (en)Systems and methods for the connection and remote configuration of wireless clients
US8848636B2 (en)Addressing schemes for wireless communication
CN105379190B (en)The system and method for being used to indicate service set identifier
CA2750814C (en)Authentication for a multi-tier wireless home mesh network
CN106454812A (en)Method and device for receiving data
CN106455001A (en)Method and device for configuring WIFI module
US8990892B2 (en)Adapting extensible authentication protocol for layer 3 mesh networks
CN105119900B (en) Information security transmission method, networking access method and corresponding terminal
KR101715665B1 (en)Apparatus and methods for separated security implementations in wireless communications
CN104754565A (en) Method and device for sending and receiving wireless parameters
SofiBluetooth protocol in internet of things (iot), security challenges and a comparison with wi-fi protocol: A review
US20080120728A1 (en)Method and apparatus for performing integrity protection in a wireless communications system
CN105120454B (en) Information transmission method, networking access method and corresponding terminal
KR20050109685A (en)Method and system for user authentication based on extensible authentication protocol coexisting with device authentication in portable internet system
US7680110B2 (en)Communication device, communication system, and communication method
CN105992162A (en)Method for communication through multicast frame embedded data under unrelated WIFI environment
CN113329349A (en)Communication method between mobile terminal and intelligent device in Wi-Fi mode and mobile terminal
US7269418B2 (en)Wireless communication apparatus
Makda et al.Security implications of cooperative communications in wireless networks
CN115175110B (en)Method and system for rapidly distributing network for equipment based on multicast
US20240048531A1 (en)Obfuscation in privacy beacon
CN118118895A (en)Media access control header obfuscation

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20170222

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp