CN117202185A - Network distribution method of intelligent equipment and related device - Google Patents
Network distribution method of intelligent equipment and related device Download PDFInfo
- Publication number
- CN117202185A CN117202185A CN202311333092.0A CN202311333092A CN117202185A CN 117202185 A CN117202185 A CN 117202185A CN 202311333092 A CN202311333092 A CN 202311333092A CN 117202185 A CN117202185 A CN 117202185A
- Authority
- CN
- China
- Prior art keywords
- distribution network
- sub
- code
- dynamic
- network code
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域Technical field
本发明涉及通信网络技术领域,尤其涉及一种智能设备的配网方法及相关装置。The present invention relates to the field of communication network technology, and in particular, to a network distribution method for intelligent equipment and related devices.
背景技术Background technique
在现有的智慧视觉物联网设备中,例如网络摄像头、智能门铃等,需要通过WiFi接入互联网外网连接服务器。由于大多智慧视觉物联网设备不能像手机等设备那样方便键入信息,因此不容易方便地接入WiFi。Among the existing smart visual IoT devices, such as web cameras, smart doorbells, etc., they need to access the Internet through WiFi to connect to the external network server. Since most smart visual IoT devices cannot input information as easily as mobile phones and other devices, it is not easy to access WiFi conveniently.
基于智慧视觉物联网设备的图像采集和识别功能,目前很多设备选择基于识别配网二维码的配网方式,然而因为镜头硬件限制、图像畸变等各种因素,识别准确度和识别配网效率难以令用户满意。Based on the image collection and recognition functions of smart visual IoT devices, many devices currently choose the distribution method based on identifying the distribution network QR code. However, due to various factors such as lens hardware limitations and image distortion, the recognition accuracy and network identification efficiency It is difficult to satisfy users.
发明内容Contents of the invention
针对上述问题,本申请实例提供了一种智能设备的配网方法,使得智能设备通过终端设备展示的动态配网码获取配网信息,采用多帧图像轮播的方式,减小单帧图像的信息承载量,降低识别难度,降低了智能设备的硬件要求,从而提高识别准确度和识别配网效率。In response to the above problems, this application example provides a network distribution method for smart devices, which enables the smart device to obtain network distribution information through the dynamic network distribution code displayed by the terminal device, and uses a multi-frame image carousel method to reduce the number of single-frame images. The information carrying capacity reduces the difficulty of identification and reduces the hardware requirements of smart devices, thereby improving identification accuracy and identification and distribution network efficiency.
为实现上述目的,第一方面,本申请实施例提供了一种智能设备的配网方法,应用于智能设备,该方法包括:获取终端设备展示的第一动态配网码,第一动态配网码包括轮播的多张子配网码;解析多张子配网码得到第一动态配网码对应的配网信息;根据配网信息接入无线接入点。In order to achieve the above purpose, in the first aspect, embodiments of the present application provide a network distribution method for smart devices, which is applied to smart devices. The method includes: obtaining a first dynamic network distribution code displayed by a terminal device, and a first dynamic network distribution code. The code includes a plurality of carousel sub-distribution network codes; parsing the multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code; and accessing the wireless access point according to the distribution network information.
结合第一方面,在一种可能的实施例中,该方法还包括:接收来自终端设备发送的连接请求,根据连接请求与终端设备建立连接;向终端设备发送密钥信息,密钥信息用于终端设备对配网信息进行加密得到加密信息;解析多张子配网码得到第一动态配网码对应的配网信息,包括:解析多张子配网码得到加密信息,并根据密钥信息解密加密信息得到配网信息。With reference to the first aspect, in a possible embodiment, the method further includes: receiving a connection request sent from the terminal device, establishing a connection with the terminal device according to the connection request; sending key information to the terminal device, and the key information is used to The terminal device encrypts the distribution network information to obtain encrypted information; parses multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code, including: parsing multiple sub-distribution network codes to obtain encrypted information, and based on the key information Decrypt the encrypted information to obtain the distribution network information.
在本申请实施例中,可以看出通过短距离无线网络技术使智能设备与终端设备建立连接;智能设备生成密钥信息,将加密方式和密钥发送至终端设备;终端设备根据智能设备指定的加密方式和密钥将配网信息进行加密后,生成第一动态配网码。保证了用于的配网信息的传输安全性。In the embodiment of this application, it can be seen that the smart device and the terminal device are connected through short-distance wireless network technology; the smart device generates key information and sends the encryption method and key to the terminal device; the terminal device specifies the After the encryption method and key encrypt the network distribution information, a first dynamic network distribution code is generated. This ensures the security of the transmission of distribution network information.
结合第一方面,在一种可能的实施例中,解析多张子配网码得到加密信息,并根据密钥信息解密加密信息得到配网信息,包括:解析第一动态配网码的图像数据得到各个子配网码对应的加密信息,并确定各个子配网码对应的加密信息携带数据量大小;根据子配网码对应的加密信息携带数据量大小,以及数据量大小与子配网码顺序编号的预设关系,确定每张子配网码的合并顺序;根据每张子配网码的合并顺序对每张子配网码对应的加密信息进行合并得到加密信息;根据密钥信息解密加密信息得到配网信息。Combined with the first aspect, in one possible embodiment, parsing multiple sub-distribution network codes to obtain encrypted information, and decrypting the encrypted information according to key information to obtain distribution network information includes: parsing the image data of the first dynamic distribution network code Obtain the encrypted information corresponding to each sub-distribution network code, and determine the amount of data carried by the encrypted information corresponding to each sub-distribution network code; according to the amount of data carried by the encrypted information corresponding to the sub-distribution network code, and the size of the data and the sub-distribution network code The preset relationship of the sequence number determines the merging order of each sub-distribution network code; the encrypted information corresponding to each sub-distribution network code is merged according to the merging order of each sub-distribution network code to obtain the encrypted information; decrypted according to the key information Encrypt the information to obtain the distribution network information.
在本申请实施例中,通过每张子配网码对应的加密信息携带数据量大小,以及数据量大小与子配网码顺序编号的预设关系,确定每张子配网码的合并顺序。将可能存在乱序的加密信息进行重新排列合并,在保证识别配网效率的前提下,提高了用户数据的安全降低了被截获破解的风险。In the embodiment of this application, the merging order of each sub-distribution network code is determined based on the size of the data carried by the encrypted information corresponding to each sub-distribution network code, and the preset relationship between the size of the data and the sequence number of the sub-distribution network code. Rearranging and merging the encrypted information that may be out of order improves the security of user data and reduces the risk of interception and cracking while ensuring the efficiency of identification and distribution network.
结合第一方面,在一种可能的实施例中,获取终端设备展示的第一动态配网码,包括:接收终端设备发送的开启扫描模式指令,若在开启扫描模式后第一预设时长内未扫描到第一动态配网码中的任意一张子配网码,则关闭扫描模式;若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长;其中,第一动态配网码的展示时长为第三预设时长,第三预设时长大于第二预设时长;在第二预设时长内持续扫描终端设备展示的第一动态配网码。Combined with the first aspect, in a possible embodiment, obtaining the first dynamic configuration network code displayed by the terminal device includes: receiving an instruction to enable the scan mode sent by the terminal device. If the scan mode is enabled within a first preset time period, If any sub-distribution network code in the first dynamic configuration network code is not scanned, the scanning mode is turned off; if any sub-distribution network code in the first dynamic configuration network code is scanned within the first preset time after turning on the scanning mode configuration code, then the duration of the scanning mode is extended to the second preset duration, and the second preset duration is greater than the first preset duration; wherein, the display duration of the first dynamic configuration code is the third preset duration, and the second preset duration is longer than the first preset duration. The third preset time period is longer than the second preset time period; the first dynamic network configuration code displayed by the terminal device is continuously scanned within the second preset time period.
在本申请实施例中,可以看出,根据第一预设时长的扫描,在智能设备获取得到任意一张子配网码后,再在第二预设时长内对展示时长为第三预设时长的第一动态配网码进行扫描。其中第一预设时长小于第二预设时长,第二预设时长小于第三预设时长。通过第一预设时长的扫描确定了智能设备满足第一动态配网码的显示时长,信息复杂度和识别难度等要求,在第二预设时长内可以扫描得到完整的所有子配网码。从而提高识别准确度和识别配网效率。In the embodiment of this application, it can be seen that according to the scanning of the first preset duration, after the smart device obtains any sub-distribution network code, the display duration is the third preset within the second preset duration. The first dynamic configuration network code of the duration is scanned. The first preset time length is less than the second preset time length, and the second preset time length is less than the third preset time length. Through the scanning of the first preset time period, it is determined that the smart device meets the requirements of the display time, information complexity and identification difficulty of the first dynamic distribution network code, and all sub-distribution network codes can be scanned within the second preset time period. Thereby improving the identification accuracy and identification distribution network efficiency.
结合第一方面,在一种可能的实施例中,若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长,包括:获取在第一预设时长内扫描到的任意一张子配网码对应的加密信息,任意一张子配网码对应的加密信息包括第一动态配网码的子配网码总数;根据子配网码总数确定第二预设时长,子配网码总数越大第二预设时长越长。In connection with the first aspect, in a possible embodiment, if any sub-distribution network code in the first dynamic configuration network code is scanned within the first preset time period after the scanning mode is turned on, the continuation of the scanning mode will be The time is extended to the second preset duration, which is longer than the first preset duration, including: obtaining the encrypted information corresponding to any sub-distribution network code scanned within the first preset duration, any sub-network code The encrypted information corresponding to the distribution network code includes the total number of sub-distribution network codes of the first dynamic distribution network code; the second preset duration is determined based on the total number of sub-distribution network codes. The larger the total number of sub-distribution network codes, the longer the second preset duration.
在本申请实施例中,可以看出,智能设备根据获取得到的子配网码的加密信息,得到该子配网码的编号和总编号等信息,智能设备根据子配网码的编号和总编号等信息可以计算得到对应的第二预设时长,通过该方法提高了智能设备的识别效率。进而提高了智能设备的配网效率。In the embodiment of this application, it can be seen that the intelligent device obtains information such as the number and total number of the sub-distribution network code based on the obtained encrypted information of the sub-distribution network code, and the intelligent device obtains information such as the number and total number of the sub-distribution network code. The number and other information can be calculated to obtain the corresponding second preset duration. This method improves the identification efficiency of the smart device. This further improves the distribution network efficiency of smart devices.
结合第一方面,在一种可能的实施例中,若在开启扫描模式后第一预设时长内未扫描到动态配网码中的任意一张子配网码,则关闭扫描模式之后,该方法还包括:向终端设备发送扫描失败信息,扫描失败信息用于指示终端设备生成第二动态配网码,第二动态配网码包括多张循环播放的子配网码,第二动态配网码的每张循环播放的子配网码的持续展示时长长于第一动态配网码的每张循环播放的子配网码的持续展示时长;再次开启扫描模式扫描终端设备展示的第二动态配网码。In connection with the first aspect, in a possible embodiment, if any sub-distribution network code in the dynamic configuration network code is not scanned within the first preset time period after the scanning mode is turned on, then after the scanning mode is turned off, the The method also includes: sending scanning failure information to the terminal device. The scanning failure information is used to instruct the terminal device to generate a second dynamic network configuration code. The second dynamic network configuration code includes multiple sub-network configuration codes that are played in a loop. The second dynamic network configuration code The continuous display time of each sub-distribution network code that is played in a loop is longer than the continuous display time of each sub-distribution network code that is played in a loop in the first dynamic configuration code; turn on the scanning mode again to scan the second dynamic configuration displayed by the terminal device. Netcode.
在本申请实施例中,可以看出,当智能设备在第一预设时长内未扫描到动态配网码中的任意一张子配网,则证明智能设备的图像扫描硬件无法在第一预设时长内识别出任意一张子配网码,因此智能设备向终端设备发送扫描失败信息指示终端设备生成第二动态配网码。指示终端设备生成识别难度更低,每张子配网码携带信息量更少的第二动态配网码。通过减小单帧图像的信息承载量,降低识别难度,适配了更多的智能设备的硬件要求,进而提高识别准确度和识别配网效率。In the embodiment of this application, it can be seen that when the smart device does not scan any sub-distribution network in the dynamic distribution network code within the first preset time period, it proves that the image scanning hardware of the smart device cannot scan the sub-distribution network in the first preset time period. Assume that any sub-distribution network code is recognized within the time period, so the smart device sends a scanning failure message to the terminal device to instruct the terminal device to generate a second dynamic distribution network code. Instruct the terminal device to generate a second dynamic distribution network code that is less difficult to identify and each sub-distribution network code carries less information. By reducing the information carrying capacity of a single frame image, the recognition difficulty is reduced, and the hardware requirements of more intelligent devices are adapted, thereby improving the recognition accuracy and the efficiency of the identification distribution network.
结合第一方面,在一种可能的实施例中,若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长,包括:获取第一预设时长内扫描到的任意一张子配网码的显示频率,根据任意一张子配网码的显示频率确定扫描频率,扫描频率为子配网码的显示频率的至少两倍;在扫描模式延长的第二预设时长内,根据扫描频率扫描第一动态配网码。In connection with the first aspect, in a possible embodiment, if any sub-distribution network code in the first dynamic configuration network code is scanned within the first preset time period after the scanning mode is turned on, the continuation of the scanning mode will be The time is extended to the second preset duration, which is longer than the first preset duration, including: obtaining the display frequency of any sub-configuration network code scanned within the first preset duration, and based on any sub-configuration The display frequency of the network code determines the scanning frequency, and the scanning frequency is at least twice the display frequency of the sub-distribution network code; within the second preset time extended by the scanning mode, the first dynamic distribution network code is scanned according to the scanning frequency.
在本申请实施例中,可以看出通过在该子配网码携带的加密信息,或者该子配网码在第一预设时长内被智能设备获取得到的次数确定子配网码的显示频率,将在第二预设时长内智能设备的扫描频率确定为子配网码的显示频率的两倍以上,保证了扫描的成功率和扫描得到的加密信息的完整度,从而提高识别准确度和识别配网效率。In the embodiment of this application, it can be seen that the display frequency of the sub-distribution network code is determined by the encrypted information carried in the sub-distribution network code, or the number of times the sub-distribution network code is obtained by the smart device within the first preset time period. , determine the scanning frequency of the smart device within the second preset time period to be more than twice the display frequency of the sub-distribution network code, ensuring the success rate of scanning and the integrity of the encrypted information obtained by scanning, thereby improving the recognition accuracy and Identify distribution network efficiency.
第二方面本申请实施例提供了一种智能设备,用于执行智能设备的配网方法,该智能设备包括:In the second aspect, embodiments of the present application provide an intelligent device for executing a network distribution method of the intelligent device. The intelligent device includes:
获取单元:获取终端设备展示的第一动态配网码,第一动态配网码包括轮播的多张子配网码;Acquisition unit: obtains the first dynamic distribution network code displayed by the terminal device. The first dynamic distribution network code includes multiple sub-distribution network codes in a carousel;
解析单元:用于解析多张子配网码得到第一动态配网码对应的配网信息;Parsing unit: used to parse multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code;
接入单元:用于根据配网信息接入无线接入点。Access unit: used to access wireless access points based on network distribution information.
第三方面,本申请实施例提供了一种智能设备,包括处理器、存储器、通信接口,以及一个或多个程序,一个或多个程序被存储在存储器中,并且被配置由处理器执行,一条或多条指令适于由处理器加载并执行如第一方面的方法的部分或者全部。In a third aspect, embodiments of the present application provide an intelligent device, including a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. The one or more instructions are adapted to be loaded by the processor and executed as part or all of the method of the first aspect.
第四方面,本申请实施例提供了一种计算机可读存储介质,其存储用于电子数据交换的计算机程序,其中,计算机程序使得计算机执行如第一方面的方法的部分或者全部。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium that stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute part or all of the method of the first aspect.
第五方面,本申请实施例提供了一种配网系统,配网系统包括智能设备和终端设备;终端设备用于向智能设备展示第一动态配网码,第一动态配网码包括轮播的多张子配网码;智能设备用于获取终端设备展示的第一动态配网码,并解析多张子配网码得到第一动态配网码对应的配网信息;智能设备还用于根据配网信息接入无线接入点。In the fifth aspect, embodiments of the present application provide a network distribution system. The network distribution system includes a smart device and a terminal device; the terminal device is used to display a first dynamic network distribution code to the smart device, and the first dynamic network distribution code includes a carousel. Multiple sub-distribution network codes; the smart device is used to obtain the first dynamic distribution network code displayed by the terminal device, and parse the multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code; the smart device is also used to Access the wireless access point based on the distribution network information.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present application or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1为本申请实施例提供的一种智能设备的配网方法的应用场景结构示意图;Figure 1 is a schematic structural diagram of an application scenario of a network distribution method for smart devices provided by an embodiment of the present application;
图2为本申请实施例提供的一种智能设备的配网方法流程示意图;Figure 2 is a schematic flow chart of a network distribution method for smart devices provided by an embodiment of the present application;
图3A为本申请实施例提供的一种子配网码的显示示意图;Figure 3A is a schematic diagram showing a sub-distribution network code provided by an embodiment of the present application;
图3B为本申请实施例提供的另一种子配网码的显示示意图;Figure 3B is a schematic diagram showing another sub-distribution network code provided by an embodiment of the present application;
图4A为本申请实施例提供的一种子配网码的加密信息获取顺序示意图;Figure 4A is a schematic diagram of the encrypted information acquisition sequence of a sub-distribution network code provided by an embodiment of the present application;
图4B为本申请实施例提供的一种子配网码的加密信息和合并后的顺序排列示意图;Figure 4B is a schematic diagram of the encrypted information and the merged sequence of a sub-distribution network code provided by an embodiment of the present application;
图5为本申请实施例提供的一种配网系统的交互示意图;Figure 5 is an interactive schematic diagram of a distribution network system provided by an embodiment of the present application;
图6为本申请实施例提供的一种第二智能设备的结构示意图;Figure 6 is a schematic structural diagram of a second smart device provided by an embodiment of the present application;
图7为本申请实施例提供的一种第三智能设备的结构示意图。Figure 7 is a schematic structural diagram of a third smart device provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those in the technical field to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only These are part of the embodiments of this application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than describing a specific sequence. Furthermore, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes Other steps or units inherent to such processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art understand, both explicitly and implicitly, that the embodiments described herein may be combined with other embodiments.
下面结合附图对本申请的实施例进行描述。The embodiments of the present application are described below with reference to the accompanying drawings.
目前已有的智能设备配网方式存在需要用户手动输入配网数据,或者通过特殊的硬件例如成像硬件或者收音硬件等实现主动配网,在现有技术中实施场景较为狭窄并且安全性较差容易泄露用户隐私。Existing smart device network distribution methods require users to manually input network distribution data, or implement active network distribution through special hardware such as imaging hardware or radio hardware. In the existing technology, the implementation scenarios are relatively narrow and the security is poor and easy. Disclosure of user privacy.
针对上述问题,本申请提出一种智能设备的配网方法及相关装置,下面结合附图进行说明。In response to the above problems, this application proposes a network distribution method for intelligent equipment and related devices, which will be described below with reference to the accompanying drawings.
请参见图1,图1为本申请实施例提供的一种智能设备的配网方法的应用场景结构示意图,如图1所示该智能设备的配网方法的应用场景100包括智能设备101,终端设备102,路由器103。这里的智能设备101是指需要接入路由器103生成的无线接入点以实现完整功能的各种设备,或称智慧物联网设备,可以通过无线连接的方式接收和发送数据,并且带有图像输入硬件的设备,例如无线摄像头,带有摄像头的电子门铃等设备,智能设备101用于扫描终端设备102展示的动态配网码,根据动态配网码获取得到对应的配网信息,并根据配网信息连接至路由器103生成的无线接入点最终连接至外网的服务器等设备。这里的终端设备102,是带有显示功能和无线收发功能的移动设备,例如智能手机,平板电脑等设备。终端设备102用于通过短距离无线通信技术与智能设备101链接,例如通过蓝牙或者移动热点与智能设备101链接,获取智能设备101发送的密钥信息,根据密钥信息对配网信息进行加密生成动态配网码。路由器103用于生成无线接入点与智能设备101和终端设备102建立连接。Please refer to Figure 1. Figure 1 is a schematic structural diagram of an application scenario of a network distribution method for smart devices provided by an embodiment of the present application. As shown in Figure 1, an application scenario 100 of the network distribution method for smart devices includes a smart device 101, a terminal Device 102, router 103. The smart device 101 here refers to various devices that need to access the wireless access point generated by the router 103 to achieve complete functions, or smart Internet of Things devices, which can receive and send data through wireless connections and have image input. Hardware equipment, such as wireless cameras, electronic doorbells with cameras and other equipment, the smart device 101 is used to scan the dynamic distribution network code displayed by the terminal device 102, obtain the corresponding network distribution information based on the dynamic network distribution code, and obtain the corresponding network distribution network information according to the network distribution code. The information is connected to the wireless access point generated by the router 103 and finally connected to the server and other devices on the external network. The terminal device 102 here is a mobile device with a display function and a wireless transceiver function, such as a smart phone, a tablet computer, and other devices. The terminal device 102 is used to link with the smart device 101 through short-range wireless communication technology, such as connecting to the smart device 101 through Bluetooth or mobile hotspot, obtain the key information sent by the smart device 101, and encrypt and generate the distribution network information according to the key information. Dynamic network configuration code. The router 103 is used to generate a wireless access point to establish connections with the smart device 101 and the terminal device 102.
请参见图2,图2为本申请实施例提供的一种智能设备的配网方法流程示意图,包括步骤S201-S203:Please refer to Figure 2. Figure 2 is a schematic flow chart of a network distribution method for smart devices provided by an embodiment of the present application, including steps S201-S203:
S201:获取终端设备展示的第一动态配网码,第一动态配网码包括轮播的多张子配网码。S201: Obtain the first dynamic configuration network code displayed by the terminal device. The first dynamic configuration network code includes multiple sub-configuration network codes in a carousel.
具体地,终端设备将第一动态配网码通过显示屏,显示器等硬件向智能设备展示,智能设备则通过摄像头等硬件获取终端设备展示的第一动态配网码。动态配网码,是轮播的多个子配网码。一方面,动态配网码是由多个子配网码组成的。多个子配网码分别携带部分信息,多个子配网码携带的信息可以组成得到配网信息,可能还携带顺序标号以使智能设备按照顺序标号组合多个子配网码携带的信息。另一方面,多个子配网码是轮播的;这里的轮播是指多个子配网码由终端设备按照预设方式轮流展示至少一次,可选的,多个子配网码可以按照预设方式循环展示,直到终端设备停止展示第一动态配网码。这里的动态展示的方式有多种,单次依次展示,单次随机展示,多次循环展示等。Specifically, the terminal device displays the first dynamic network configuration code to the smart device through hardware such as a display screen and display, and the smart device obtains the first dynamic network configuration code displayed by the terminal device through hardware such as a camera. Dynamic network configuration code is a carousel of multiple sub-network configuration codes. On the one hand, the dynamic distribution network code is composed of multiple sub-distribution network codes. Multiple sub-distribution network codes each carry part of the information. The information carried by the multiple sub-distribution network codes can be combined to obtain the distribution network information. They may also carry sequential labels so that the intelligent device can combine the information carried by the multiple sub-distribution network codes according to the sequential labels. On the other hand, multiple sub-distribution network codes are rotated; carousel here means that multiple sub-distribution network codes are displayed in turn by the terminal device at least once in a preset manner. Optionally, multiple sub-distribution network codes can be displayed in a preset manner. The method is displayed in a loop until the terminal device stops displaying the first dynamic configuration network code. There are many ways of dynamic display here, such as single sequential display, single random display, multiple loop display, etc.
示例性地,若第一动态配网码包括第一子配网码,第二子配网码,第三子配网码。终端设备将按照顺序分别展示第一子配网码,第二子配网码,第三子配网码。在第三子配网码首次展示结束后,再重新以第一子配网码,第二子配网码,第三子配网码的顺序展示上述三张子配网码。For example, if the first dynamic network configuration code includes a first sub-network code, a second sub-network code, and a third sub-network code. The terminal device will display the first sub-distribution network code, the second sub-distribution network code, and the third sub-distribution network code in order. After the first display of the third sub-network code is completed, the above three sub-network codes are displayed again in the order of the first sub-network code, the second sub-network code, and the third sub-network code.
这里的子配网码可以是条形码,二维码或者带有颜色、时间维度等可携带信息的类型的图像。第一动态配网码中包括的多张子配网码可以轮流在终端设备的显示屏上显示不同时长或者固定时长,例如每张展示200ms、300ms或者第一张子配网码展示300ms,第二张子配网码展示500ms等。这里的多张子配网码还可以是一个连续的视频信息中的单帧图像,也即是说此时的第一动态配网码属于视频,当多张子配网码动态展示时可以展示出一个完整的视频图像。The sub-distribution network code here can be a barcode, a QR code or an image with color, time dimensions and other types of information that can carry it. Multiple sub-distribution network codes included in the first dynamic distribution network code can be displayed on the display screen of the terminal device for different durations or fixed durations in turn, for example, each sub-distribution network code is displayed for 200ms or 300ms or the first sub-distribution network code is displayed for 300ms. The two sub-distribution network codes are displayed for 500ms, etc. The multiple sub-distribution network codes here can also be single-frame images in a continuous video information, which means that the first dynamic distribution network code at this time belongs to the video, and can be displayed when multiple sub-distribution network codes are dynamically displayed. Out a complete video image.
智能设备还可以获取本智能设备的设备信息,匹配得到本设备支持的图像识别类型;生成动态配网码类型指令,向终端设备发送动态配网码类型指令以指示终端设备根据指令生成对应类型的动态配网码。The smart device can also obtain the device information of the smart device, match the image recognition type supported by the device; generate a dynamic network configuration code type instruction, and send the dynamic network configuration code type instruction to the terminal device to instruct the terminal device to generate the corresponding type according to the instruction. Dynamic network configuration code.
示例性地,请参见图3A,图3A为本申请实施例提供的一种子配网码的显示示意图,请参见图3B,图3B为本申请实施例提供的另一种子配网码的显示示意图。如图3A和图3B所示,在本示例中子配网码为两个不同的携带信息的二维码,其中图3A中的子配网码携带的信息为对应的无线网络的SSID,图3B中的子配网码携带的信息为对应的无线网络的密码。两个子配网码分别轮流在终端设备的显示屏幕上显示预定时长,例如2000ms,5000ms等。Exemplarily, please refer to Figure 3A. Figure 3A is a schematic diagram showing a sub-distribution network code provided by an embodiment of the present application. Please refer to Figure 3B. Figure 3B is a schematic diagram showing another sub-distribution network code provided by an embodiment of the present application. . As shown in Figure 3A and Figure 3B, in this example, the sub-distribution network code is two different QR codes carrying information. The information carried by the sub-distribution network code in Figure 3A is the SSID of the corresponding wireless network. Figure The information carried by the sub-distribution network code in 3B is the password of the corresponding wireless network. The two sub-distribution network codes take turns to be displayed on the display screen of the terminal device for a predetermined time, such as 2000ms, 5000ms, etc.
在一种可能的实施例中,该方法还包括:接收来自终端设备发送的连接请求,根据连接请求与终端设备建立连接;向终端设备发送密钥信息,密钥信息用于终端设备对配网信息进行加密得到加密信息;解析多张子配网码得到第一动态配网码对应的配网信息,包括:解析多张子配网码得到加密信息,并根据密钥信息解密加密信息得到配网信息。In a possible embodiment, the method further includes: receiving a connection request sent from the terminal device, establishing a connection with the terminal device according to the connection request; sending key information to the terminal device, the key information being used for the terminal device pairing network The information is encrypted to obtain the encrypted information; parsing multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code, including: parsing multiple sub-distribution network codes to obtain the encrypted information, and decrypting the encrypted information according to the key information to obtain the configuration network information.
具体地,智能设备在扫描终端设备展示的动态配网码之前,可以与终端设备通过蓝牙或者移动热点与终端设备连接,智能设备与终端设备建立连接后,向终端设备发送密钥信息,该密钥信息用于智能设备对配网信息进行加密,智能设备在根据动态配网码得到加密信息后也可以通过相同密钥信息进行解密。Specifically, before scanning the dynamic configuration network code displayed by the terminal device, the smart device can connect to the terminal device through Bluetooth or mobile hotspot. After the smart device establishes a connection with the terminal device, it sends key information to the terminal device. The key information is used by the smart device to encrypt the distribution network information. After the smart device obtains the encrypted information based on the dynamic distribution network code, it can also decrypt it using the same key information.
智能设备扫描终端设备根据加密信息生成第一动态配网码,这里的加密信息是根据对应的配网信息和密钥生成的。这里的配网信息可以为终端设备目前连接的无线路由器生成的无线网络对应的服务集标识(Service Set Identifier,SSID)和密码。示例性地,这里的配网信息还可以为非终端设备目前连接中的其他网络,智能设备扫描的终端设备根据加密信息生成第一动态配网码还可以是根据用于在终端设备上输入其他智能设备可以连接到的任意一个无线路由器对应的配网信息。The smart device scans the terminal device to generate a first dynamic distribution network code based on the encrypted information, where the encrypted information is generated based on the corresponding network distribution information and key. The network configuration information here may be the Service Set Identifier (SSID) and password corresponding to the wireless network generated by the wireless router currently connected to the terminal device. For example, the network configuration information here can also be other networks that the non-terminal device is currently connected to. The terminal device scanned by the smart device can generate the first dynamic network configuration code based on the encrypted information. It can also be based on the input of other networks on the terminal device. The configuration information corresponding to any wireless router that the smart device can connect to.
在一种可能的实施例中,若智能设备不支持蓝牙或者移动热点等短距离无线网络技术或者其他原因无法与终端设备进行连接,智能设备扫描终端设备展示的动态配网码;这里的动态配网码是终端设备根据配网信息生成的;其中密钥信息为服务器发送给终端设备。In a possible embodiment, if the smart device does not support short-range wireless network technologies such as Bluetooth or mobile hotspots or cannot connect to the terminal device for other reasons, the smart device scans the dynamic configuration network code displayed by the terminal device; the dynamic configuration here The network code is generated by the terminal device based on the network configuration information; the key information is sent by the server to the terminal device.
在本申请实施例中,可以看出通过等短距离无线网络技术使智能设备与终端设备建立连接;智能设备生成密钥信息,将加密方式和密钥发送至终端设备;终端设备根据智能设备指定的加密方式和密钥将配网信息进行加密后,生成第一动态配网码。保证了用于的配网信息的传输安全性。In the embodiment of this application, it can be seen that the smart device and the terminal device are connected through short-distance wireless network technology; the smart device generates key information and sends the encryption method and key to the terminal device; the terminal device specifies according to the smart device After encrypting the network distribution information using the encryption method and key, the first dynamic network distribution code is generated. This ensures the security of the transmission of distribution network information.
在一种可能的实施例中,解析多张子配网码得到加密信息,并根据密钥信息解密加密信息得到配网信息,包括:解析第一动态配网码的图像数据得到各个子配网码对应的加密信息,并确定各个子配网码对应的加密信息携带数据量大小;根据子配网码对应的加密信息携带数据量大小,以及数据量大小与子配网码顺序编号的预设关系,确定每张子配网码的合并顺序;根据每张子配网码的合并顺序对每张子配网码对应的加密信息进行合并得到加密信息;根据密钥信息解密加密信息得到配网信息。In a possible embodiment, parsing multiple sub-distribution network codes to obtain encrypted information, and decrypting the encrypted information according to key information to obtain distribution network information includes: parsing the image data of the first dynamic distribution network code to obtain each sub-distribution network The encrypted information corresponding to the code, and determine the amount of data carried by the encrypted information corresponding to each sub-distribution network code; the amount of data carried by the encrypted information corresponding to the sub-distribution network code, and the preset size of the data amount and the sequence number of the sub-distribution network code relationship, determine the merging order of each sub-distribution network code; merge the encrypted information corresponding to each sub-distribution network code according to the merging order of each sub-distribution network code to obtain the encrypted information; decrypt the encrypted information according to the key information to obtain the distribution network information.
具体地,在对第一动态铺网码中的所有自配网码的数据进行解密前,还需要对动态配网码进行排序。示例性地,请参见图4A,图4A为本申请实施例提供的一种子配网码的加密信息获取顺序示意图,由于子配网码的展示是按顺序循环展示的,因此如果从智能设备从中途开始获取得到子配网码,子配网码的顺序则可能为图4A中所示的乱序排列,从上到下为获取该加密信息对应的子配网码的顺序。此时则需要对所有子配网码的加密信息进行排序。根据每张子配网码对应的加密信息携带数据量大小,以及数据量大小与子配网码顺序编号的预设关系,可以确定每张子配网码的合并顺序。这里的预设关系可以是数据量从大到小对应顺序编号从小到大,也可以为数据量从小到大对应顺序编号从小到大。在本示例中子配网码的数据量大小与子配网码顺序编号的预设关系为数据量从小到大对应顺序编号从小到大。Specifically, before decrypting the data of all self-configured network codes in the first dynamic networking code, the dynamic network configuration codes also need to be sorted. Exemplarily, please refer to Figure 4A. Figure 4A is a schematic diagram of the encrypted information acquisition sequence of a sub-distribution network code provided by an embodiment of the present application. Since the sub-distribution network code is displayed in a sequential cycle, if the smart device is The sub-distribution network codes are obtained midway. The order of the sub-distribution network codes may be the disordered arrangement shown in Figure 4A. From top to bottom is the order of obtaining the sub-distribution network codes corresponding to the encrypted information. At this time, you need to sort the encrypted information of all sub-distribution network codes. According to the amount of data carried by the encrypted information corresponding to each sub-distribution network code, and the preset relationship between the size of the data and the sequence number of the sub-distribution network code, the merging order of each sub-distribution network code can be determined. The preset relationship here can be that the data amount is from large to small, corresponding to the sequence number from small to large, or it can be that the data amount is from small to large, and the sequence number is from small to large. In this example, the preset relationship between the data size of the sub-distribution network code and the sequence number of the sub-distribution network code is that the data amount corresponds to the sequence number from small to large.
请参见图4B,图4B为本申请实施例提供的一种子配网码的加密信息和合并后的顺序排列示意图。在本示例中,子配网码的数据量大小与子配网码顺序编号的预设关系为,数据量从小到大对应顺序编号从小到大。则根据每个子配网码对应的加密信息的数据量大小将子配网码对应的加密信息从小到大进行排序,再根据排列顺序将每张子配网码的加密信息合并,以得到图4B所示的完整的加密信息。图4B中的加密信息是根据正确顺序从上到下排列的。智能设备根据该加密信息进行解密可以得到最终的配网信息。Please refer to FIG. 4B. FIG. 4B is a schematic diagram of the encrypted information and the merged sequence of a sub-distribution network code provided by an embodiment of the present application. In this example, the preset relationship between the data size of the sub-distribution network code and the sequence number of the sub-distribution network code is that the data amount from small to large corresponds to the sequence number from small to large. Then sort the encrypted information corresponding to the sub-distribution network codes from small to large according to the data size of the encrypted information corresponding to each sub-distribution network code, and then merge the encrypted information of each sub-distribution network code according to the order to obtain Figure 4B The complete encrypted information shown. The encrypted information in Figure 4B is arranged from top to bottom according to the correct order. The smart device decrypts the encrypted information to obtain the final distribution network information.
在本申请实施例中,通过每张子配网码对应的加密信息携带数据量大小,以及数据量大小与子配网码顺序编号的预设关系,确定每张子配网码的合并顺序。将可能存在乱序的加密信息进行重新排列合并,在保证识别配网效率的前提下,提高了用户数据的安全降低了被截获破解的风险。In the embodiment of this application, the merging order of each sub-distribution network code is determined based on the size of the data carried by the encrypted information corresponding to each sub-distribution network code, and the preset relationship between the size of the data and the sequence number of the sub-distribution network code. Rearranging and merging the encrypted information that may be out of order improves the security of user data and reduces the risk of interception and cracking while ensuring the efficiency of identification and distribution network.
在一种可能的实施例中,获取终端设备展示的第一动态配网码,包括:接收终端设备发送的开启扫描模式指令,若在开启扫描模式后第一预设时长内未扫描到第一动态配网码中的任意一张子配网码,则关闭扫描模式;若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长;其中,第一动态配网码的展示时长为第三预设时长,第三预设时长大于第二预设时长;在第二预设时长内持续扫描终端设备展示的第一动态配网码。In a possible embodiment, obtaining the first dynamic configuration network code displayed by the terminal device includes: receiving an instruction to enable the scan mode sent by the terminal device. If the first dynamic configuration code is not scanned within the first preset time period after the scan mode is enabled, If any sub-distribution network code in the dynamic distribution network code is scanned, the scanning mode is turned off; if any sub-distribution network code in the first dynamic distribution network code is scanned within the first preset time after the scanning mode is turned on, then The duration of the scanning mode is extended to a second preset duration, and the second preset duration is greater than the first preset duration; wherein, the display duration of the first dynamic network configuration code is a third preset duration, and the third preset duration is greater than The second preset time period; continuously scan the first dynamic network configuration code displayed by the terminal device within the second preset time period.
具体地,智能设备在扫描第一动态配网码时若在第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则再持续扫描第二预设时长,在第二预设时长内可以获取得到第一动态配网码中的所有子配网码。其中第一动态配网码在终端设备上的展示时长为第三预设时长。其中第一预设时长小于第二预设时长,第二预设时长小于第三预设时长。Specifically, when the smart device scans the first dynamic distribution network code, if it scans any sub-distribution network code in the first dynamic distribution network code within the first preset time period, it will continue to scan the second preset time period. All sub-configuration network codes in the first dynamic network configuration code can be obtained within the second preset time period. The display duration of the first dynamic network configuration code on the terminal device is the third preset duration. The first preset time length is less than the second preset time length, and the second preset time length is less than the third preset time length.
示例性地,智能设备在500ms内扫描得到第一动态配网码中的任意一张子配网码,则再扫描1500ms获取得到第一动态配网码中的所有子配网码,在本示例中,第一动态配网码中包括三张子配网码,每张子配网码轮流展示200ms。智能设备在5000ms内轮流展示多次。因此智能设备则可以在1500ms内获取得到所有的三张子配网码。本示例仅为举例说明,不应视为对本申请实施例的限制。For example, if the smart device scans and obtains any sub-distribution network code in the first dynamic distribution network code within 500ms, then it scans for another 1500ms to obtain all sub-distribution network codes in the first dynamic distribution network code. In this example , the first dynamic distribution network code includes three sub-distribution network codes, and each sub-distribution network code is displayed in turn for 200ms. Smart devices take turns to display multiple times within 5000ms. Therefore, the smart device can obtain all three sub-distribution network codes within 1500ms. This example is only for illustration and should not be regarded as a limitation on the embodiments of the present application.
在本申请实施例中,可以看出,根据第一预设时长的扫描,在智能设备获取得到任意一张子配网码后,再在第二预设时长内对展示时长为第三预设时长的第一动态配网码进行扫描。其中第一预设时长小于第二预设时长,第二预设时长小于第三预设时长。通过第一预设时长的扫描确定了智能设备满足第一动态配网码的显示时长,信息复杂度和识别难度等要求,在第二预设时长内可以扫描得到完整的所有子配网码。从而提高识别准确度和识别配网效率。In the embodiment of this application, it can be seen that according to the scanning of the first preset duration, after the smart device obtains any sub-distribution network code, the display duration is the third preset within the second preset duration. The first dynamic configuration network code of the duration is scanned. The first preset time length is less than the second preset time length, and the second preset time length is less than the third preset time length. Through the scanning of the first preset time period, it is determined that the smart device meets the requirements of the display time, information complexity and identification difficulty of the first dynamic distribution network code, and all sub-distribution network codes can be scanned within the second preset time period. Thereby improving the identification accuracy and identification distribution network efficiency.
在一种可能的实施例中,若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,包括:获取在第一预设时长内扫描到的任意一张子配网码对应的加密信息,任意一张子配网码对应的加密信息包括第一动态配网码的子配网码总数;根据子配网码总数确定第二预设时长,子配网码总数越大第二预设时长越长。In a possible embodiment, if any sub-configuration network code in the first dynamic configuration network code is scanned within the first preset time period after the scanning mode is turned on, the duration of the scanning mode is extended to the second The preset duration includes: obtaining the encrypted information corresponding to any sub-distribution network code scanned within the first preset time period. The encrypted information corresponding to any sub-distribution network code includes the sub-configuration of the first dynamic distribution network code. The total number of network codes; the second preset duration is determined based on the total number of sub-distribution network codes. The larger the total number of sub-distribution network codes, the longer the second preset duration.
具体地,在第一预设时长的扫描中,智能设备若获取得到第一动态配网码中的任意一张子配网码,则再持续扫描第二预设时长。在第一预设时长的扫描中智能设备可以获取得到的子配网码的加密信息,又根据子配网码的加密信息得到可以包括该子配网码的编号和总编号等信息,例如本张子配网码为第2张总数为5张等,这里的编号和总编号等信息可以是通过解密加密信息得到的,也可以是直接通过识别解析子配网码得到的。根据上述信息智能设备可以获知得到第一动态配网码中包括的子配网码的总数,以及每张子配网码展示的时长,智能设备则可以根据这些信息进一步确定第二预设时长扫描的具体时间。Specifically, during the first preset time period of scanning, if the smart device obtains any sub-distribution network code among the first dynamic network configuration codes, it will continue to scan for the second preset time period. During the first preset period of scanning, the smart device can obtain the encrypted information of the sub-distribution network code, and obtain information based on the encrypted information of the sub-distribution network code, which may include the number and total number of the sub-distribution network code. For example, this The sub-distribution network code is the second one, the total number is 5, etc. The number and total number and other information here can be obtained by decrypting the encrypted information, or can be obtained directly by identifying and analyzing the sub-distribution network code. Based on the above information, the smart device can learn the total number of sub-distribution network codes included in the first dynamic distribution network code and the display duration of each sub-distribution network code. The smart device can further determine the second preset duration scanning based on this information. specific time.
示例性地,若智能设备在第一预设时长内扫描得到的子配网码的加密信息解密得到第一动态配网码的子配网码总数为3张,单张子配网码显示时长200ms,则可以根据该信息确定第二为子配网码总数×单张显示时长+固定时长得到第二预设时长,在本示例中的第二预设时长则为3×200ms+100ms得到700ms的第二预设时长,智能设备在700ms内可以获取得到第一动态配网码中的每张子配网码,进而得到第一动态配网码携带的完整加密信息。For example, if the smart device decrypts the encrypted information of the sub-distribution network code scanned within the first preset time period and obtains the first dynamic distribution network code. The total number of sub-distribution network codes is 3, and the display time of a single sub-distribution network code is 200ms, you can determine based on this information that the second is the total number of sub-distribution network codes x single display duration + fixed duration to get the second preset duration. In this example, the second preset duration is 3 x 200ms + 100ms to get 700ms Within the second preset time period, the smart device can obtain each sub-distribution network code in the first dynamic distribution network code within 700ms, and then obtain the complete encrypted information carried by the first dynamic distribution network code.
在本申请实施例中,可以看出,智能设备根据获取得到的子配网码的加密信息,得到该子配网码的编号和总编号等信息,智能设备根据子配网码的编号和总编号等信息可以计算得到对应的第二预设时长,通过该方法提高了智能设备的识别效率。进而提高了智能设备的配网效率。In the embodiment of this application, it can be seen that the intelligent device obtains information such as the number and total number of the sub-distribution network code based on the obtained encrypted information of the sub-distribution network code, and the intelligent device obtains information such as the number and total number of the sub-distribution network code. The number and other information can be calculated to obtain the corresponding second preset duration. This method improves the identification efficiency of the smart device. This further improves the distribution network efficiency of smart devices.
在一种可能的实施例中,若在开启扫描模式后第一预设时长内未扫描到动态配网码中的任意一张子配网码,则关闭扫描模式之后,该方法还包括:向终端设备发送扫描失败信息,扫描失败信息用于指示终端设备生成第二动态配网码,第二动态配网码包括多张循环播放的子配网码,第二动态配网码的每张循环播放的子配网码的持续展示时长长于第一动态配网码的每张循环播放的子配网码的持续展示时长;再次开启扫描模式扫描终端设备展示的第二动态配网码。In a possible embodiment, if any sub-configuration network code among the dynamic network configuration codes is not scanned within the first preset time period after the scanning mode is turned on, then after the scanning mode is turned off, the method further includes: The terminal device sends scanning failure information. The scanning failure information is used to instruct the terminal device to generate a second dynamic configuration network code. The second dynamic configuration network code includes multiple sub-configuration network codes that are played in a loop. Each of the second dynamic configuration network codes is looped. The continuous display duration of the played sub-distribution network code is longer than the continuous display time of each looped sub-distribution network code of the first dynamic distribution network code; turn on the scanning mode again to scan the second dynamic distribution network code displayed by the terminal device.
具体地,若智能设备在第一预设时长内未扫描到动态配网码中的任意一张子配网,则证明智能设备的图像扫描硬件无法在第一预设时长内识别出任意一张子配网码,因此智能设备向终端设备发送扫描失败信息指示终端设备生成第二动态配网码。第二配网在第一配网码的基础上延长了第三预设时长和多张子配网码中每张子配网码显示的时长。终端设备重新生成第二动态配网码后,智能设备则可以重新扫描更容易扫描获取的第二动态配网码。Specifically, if the smart device does not scan any sub-distribution network in the dynamic distribution network code within the first preset time period, it proves that the image scanning hardware of the smart device cannot identify any sub-network within the first preset time period. sub-configuration network code, so the smart device sends a scan failure message to the terminal device to instruct the terminal device to generate a second dynamic configuration network code. The second distribution network extends the third preset duration and the display duration of each sub-distribution network code in the multiple sub-distribution network codes based on the first distribution network code. After the terminal device regenerates the second dynamic network configuration code, the smart device can rescan the second dynamic network configuration code that is easier to scan and obtain.
在本申请实施例中,可以看出,当智能设备在第一预设时长内未扫描到动态配网码中的任意一张子配网,则证明智能设备的图像扫描硬件无法在第一预设时长内识别出任意一张子配网码,因此智能设备向终端设备发送扫描失败信息指示终端设备生成第二动态配网码。指示终端设备生成识别难度更低,每张子配网码携带信息量更少的第二动态配网码。通过减小单帧图像的信息承载量,降低识别难度,适配了更多的智能设备的硬件要求,进而提高识别准确度和识别配网效率。In the embodiment of this application, it can be seen that when the smart device does not scan any sub-distribution network in the dynamic distribution network code within the first preset time period, it proves that the image scanning hardware of the smart device cannot scan the sub-distribution network in the first preset time period. Assume that any sub-distribution network code is recognized within the time period, so the smart device sends a scanning failure message to the terminal device to instruct the terminal device to generate a second dynamic distribution network code. Instruct the terminal device to generate a second dynamic distribution network code that is less difficult to identify and each sub-distribution network code carries less information. By reducing the information carrying capacity of a single frame image, the recognition difficulty is reduced, and the hardware requirements of more intelligent devices are adapted, thereby improving the recognition accuracy and the efficiency of the identification distribution network.
在一种可能的实施例中,第二动态配网码包括多张循环播放的子配网码,其中多张自配网的数量大于第一动态配网码中包括的多张循环播放的子配网码的数量。第二动态配网码的每张循环播放的子配网码的持续展示时长长于第一动态配网码的每张循环播放的子配网码的持续展示时长。In a possible embodiment, the second dynamic network configuration code includes a plurality of sub-network configuration codes that are played in a loop, and the number of the self-distribution network codes is greater than the number of sub-network codes that are played in a loop. The number of distribution network codes. The continuous display duration of each looped sub-configuration network code of the second dynamic distribution network code is longer than the continuous display time of each loop-played sub-distribution network code of the first dynamic distribution network code.
具体地,在本申请实施例中通过增加第二动态配网码中多张子配网码的数量,降低每张配网码携带的数据量,从而可以降低第二动态配网码中多张子配网码的复杂程度,同时增加配网码中多张子配网码的显示时长。使智能设备可以更容易获取得到第二动态配网码中携带的数据。Specifically, in the embodiment of the present application, by increasing the number of multiple sub-distribution network codes in the second dynamic distribution network code, the amount of data carried by each sub-distribution network code can be reduced, thereby reducing the number of sub-distribution network codes in the second dynamic distribution network code. The complexity of the sub-distribution network code increases the display time of multiple sub-distribution network codes in the distribution network code. This makes it easier for the smart device to obtain the data carried in the second dynamic distribution network code.
在一种可能的实施例中,若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长,包括:获取第一预设时长内扫描到的任意一张子配网码的显示频率,根据任意一张子配网码的显示频率确定扫描频率,扫描频率为子配网码的显示频率的至少两倍;在扫描模式延长的第二预设时长内,根据扫描频率扫描第一动态配网码。In a possible embodiment, if any sub-configuration network code in the first dynamic configuration network code is scanned within the first preset time period after the scanning mode is turned on, the duration of the scanning mode is extended to the second The preset duration, the second preset duration is longer than the first preset duration, including: obtaining the display frequency of any sub-distribution network code scanned within the first preset time period, according to the display frequency of any sub-distribution network code Determine the scanning frequency, which is at least twice the display frequency of the sub-distribution network code; scan the first dynamic distribution network code according to the scanning frequency within a second preset time extended by the scanning mode.
具体地,智能设备通过在第一预设时长内通扫描得到的任意一张子配网码,可以通过在该子配网码携带的加密信息,或者该子配网码在第一预设时长内被智能设备获取得到的次数确定子配网码的显示频率,根据奈奎斯特采样定理(Sampling Theory)在进行模拟/数字信号的转换过程中,当采样频率fs.max大于信号中最高频率fmax的2倍时(fs.max>2fmax),采样之后的数字信号完整地保留了原始信号中的信息。在获取得到第一动态配网码的显示频率后,智能设备的扫描频率将被确定为第一动态配网码的显示频率的两倍以上。Specifically, the smart device can pass the encrypted information carried in the sub-distribution network code by scanning any sub-distribution network code within the first preset time period, or the sub-distribution network code can be scanned within the first preset time period. The number of times it is acquired by smart devices determines the display frequency of the sub-distribution network code. According to the Nyquist Sampling Theorem (Sampling Theory), during the conversion process of analog/digital signals, when the sampling frequency fs.max is greater than the highest frequency in the signal When fmax is 2 times (fs.max>2fmax), the digital signal after sampling completely retains the information in the original signal. After obtaining the display frequency of the first dynamic network configuration code, the scanning frequency of the smart device will be determined to be more than twice the display frequency of the first dynamic network configuration code.
示例性地,若第一动态配网码中被智能设备在第一预设时长内获取得到的任意一张子配网码的显示频率为24HZ,而第一预设时长内的智能设备的扫描频率为30HZ。且第一动态配网码中每张子配网码的显示时长为1s,则在第一预设时长内智能设备在1s内获取得到24张相同子配网码的图像和6张无信息图像,则可以确定第一动态配网码的显示频率为24HZ,因此则可以确定在第二预设时长内对第一动态配网码的扫描频率为48HZ以上。此处仅为举例说明不应理解为对本申请实施例的限制。For example, if the display frequency of any sub-distribution network code in the first dynamic distribution network code obtained by the smart device within the first preset time period is 24HZ, and the scanning frequency of the smart device within the first preset time period The frequency is 30HZ. And the display time of each sub-distribution network code in the first dynamic distribution network code is 1s, then within the first preset time period, the smart device obtains 24 images of the same sub-distribution network code and 6 images with no information within 1s. , it can be determined that the display frequency of the first dynamic network distribution code is 24HZ, so it can be determined that the scanning frequency of the first dynamic network distribution code within the second preset time period is above 48HZ. These are only examples and should not be construed as limitations to the embodiments of the present application.
在本申请实施例中,可以看出通过在该子配网码携带的加密信息,或者该子配网码在第一预设时长内被智能设备获取得到的次数确定子配网码的显示频率,将在第二预设时长内智能设备的扫描频率确定为子配网码的显示频率的两倍以上,保证了扫描的成功率和扫描得到的加密信息的完整度,从而提高识别准确度和识别配网效率。In the embodiment of this application, it can be seen that the display frequency of the sub-distribution network code is determined by the encrypted information carried in the sub-distribution network code, or the number of times the sub-distribution network code is obtained by the smart device within the first preset time period. , determine the scanning frequency of the smart device within the second preset time period to be more than twice the display frequency of the sub-distribution network code, ensuring the success rate of scanning and the integrity of the encrypted information obtained by scanning, thereby improving the recognition accuracy and Identify distribution network efficiency.
S202:解析多张子配网码得到第一动态配网码对应的配网信息。S202: Parse multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code.
具体地,这里的多张子配网码分别包括第一动态配网码对应的部分配网信息,智能设备在获取得到所有的子配网码后,合并多张子配网码对应的配网信息以得到第一动态配网码对应的配网信息。Specifically, the multiple sub-distribution network codes here respectively include part of the distribution network information corresponding to the first dynamic distribution network code. After obtaining all the sub-distribution network codes, the smart device merges the distribution networks corresponding to the multiple sub-distribution network codes. information to obtain the distribution network information corresponding to the first dynamic distribution network code.
在一种可能的实施例中,根据第一动态配网码的图像数据得到加密信息,包括:根据多张子配网码的扫描结果得到每张子配网码对应的加密信息,每张子配网码携带的加密信息中包括对应的每张子配网码的顺序编号;根据顺序编号将每张配网码对应的加密信息按照编号顺序合并得到加密信息。In a possible embodiment, obtaining the encrypted information based on the image data of the first dynamic distribution network code includes: obtaining the encryption information corresponding to each sub-distribution network code based on the scanning results of multiple sub-distribution network codes. The encrypted information carried by the distribution network code includes the corresponding sequence number of each sub-distribution network code; according to the sequence number, the encrypted information corresponding to each distribution network code is combined in the order of numbers to obtain the encrypted information.
具体地,在每张子配网码的加密信息中包括子配网码的顺序编号和子配网总数量,例如某一子配网码中包括信息“4/5”代表本子配网码为第4张总包括5张。其中顺序编号和子配网总数量的信息可以是通过密钥信息加密后的,智能设备在对子配网码的加密信息进行解密后对多张子配网码进行排序。当密钥信息包括的加密方式需要智能设备将多个加密信息进行合并后再解密时则多张子配网码的加密信息则通过未加密的字段记录顺序编号和子配网总数量。智能设备可以在对多张子配网码的加密信息进行排序后在解密。Specifically, the encrypted information of each sub-distribution network code includes the sequence number of the sub-distribution network code and the total number of sub-distribution networks. For example, a certain sub-distribution network code includes the information "4/5", which means that the sub-distribution network code is the 4 sheets total including 5 sheets. The information on the sequence number and the total number of sub-distribution networks can be encrypted through key information, and the intelligent device sorts multiple sub-distribution network codes after decrypting the encrypted information of the sub-distribution network codes. When the encryption method included in the key information requires the smart device to combine multiple encrypted information and then decrypt, the encrypted information of multiple sub-distribution network codes will record the sequence number and total number of sub-distribution networks through unencrypted fields. The smart device can decrypt the encrypted information of multiple sub-distribution network codes after sorting it.
S203:根据配网信息接入无线接入点。S203: Access the wireless access point according to the network configuration information.
具体地,根据配网信息可以接入对应的无线接入点,若配网信息被加密,还需要智能设备对加密信息进行解密,得到对应的配网信息后,再接入对应的无线接入点。Specifically, the corresponding wireless access point can be accessed according to the distribution network information. If the distribution network information is encrypted, the smart device also needs to decrypt the encrypted information. After obtaining the corresponding distribution network information, the corresponding wireless access point can then be accessed. point.
这里的加密信息根据智能设备的密钥信息进行解密可以得到对应的配网信息,智能设备通过配网信息链接至对应的路由器后通过互联网可以连接至无线接入点,进而可以接入外网中的服务器等设备。根据智能设备的类型不同将与服务器进行不同的数据交互。示例性地,若智能设备的类型为无线摄像头则需要将采集到的图像数据上传至服务器。若智能设备的类型为电子门铃则需要将开关门时间数据上传至服务器,或者接受服务器发送的开关门指令等。The encrypted information here can be decrypted according to the key information of the smart device to obtain the corresponding distribution network information. The smart device is linked to the corresponding router through the distribution network information and can be connected to the wireless access point through the Internet, and then can be connected to the external network. servers and other equipment. Depending on the type of smart device, different data interactions will be performed with the server. For example, if the smart device is a wireless camera, the collected image data needs to be uploaded to the server. If the smart device is an electronic doorbell, it needs to upload the door opening and closing time data to the server, or accept the door opening and closing instructions sent by the server.
在一种可能的实施例中,加密信息的加密方式为对称加密,这里的解密的密钥信息可以是发送给终端设备的同一个密钥。若加密信息的加密方式为非对称加密,则这里的解密的密钥信息为与发送给终端设备的密钥信息的对称密钥,此处仅为举例说明,不应认为是对本申请实施例的限制。In a possible embodiment, the encryption method of the encrypted information is symmetric encryption, and the decrypted key information here may be the same key sent to the terminal device. If the encryption method of the encrypted information is asymmetric encryption, the decrypted key information here is a symmetric key with the key information sent to the terminal device. This is only an example and should not be considered as a limitation of the embodiments of the present application. limit.
通过实施本申请实施例中的方法,扫描终端设备展示的第一动态配网码,第一动态配网码中包括多张循环播放的子配网码。采用多帧图像轮播的方式,减小单帧图像的信息承载量,降低识别难度,降低了智能设备的硬件要求。根据多张子配网码的扫描结果获取第一动态配网码对应的加密信息;解密加密信息得到配网信息,通过配网信息连接至服务器。使得智能设备通过终端设备展示的动态配网码获取配网信息,需要通过密钥信息对加密信息进行解密,同时还需要通过约定的排序方式对获取得到的多张子配网码进行排序,保证了用户数据的安全,减少了用户的配网信息被截获的可能性,最终提高了智能设备的配网效率和信息安全。By implementing the method in the embodiment of the present application, the first dynamic distribution network code displayed on the terminal device is scanned. The first dynamic network distribution code includes multiple sub-distribution network codes that are played in a loop. The multi-frame image carousel method is used to reduce the information carrying capacity of a single frame image, reduce the difficulty of recognition, and reduce the hardware requirements of smart devices. Obtain the encrypted information corresponding to the first dynamic distribution network code based on the scanning results of multiple sub-distribution network codes; decrypt the encrypted information to obtain the distribution network information, and connect to the server through the distribution network information. In order for smart devices to obtain distribution network information through the dynamic distribution network code displayed by the terminal device, the encrypted information needs to be decrypted through key information. At the same time, the obtained multiple sub-distribution network codes need to be sorted through the agreed sorting method to ensure It improves the security of user data, reduces the possibility of users' distribution network information being intercepted, and ultimately improves the distribution network efficiency and information security of smart devices.
请参见图5,图5为本申请实施例提供的一种配网系统的交互示意图,配网系统包括智能设备和终端设备,该配网系统包括智能设备和终端设备。S501:终端设备用于向智能设备展示第一动态配网码,第一动态配网码包括轮播的多张子配网码;S502:智能设备用于获取终端设备展示的第一动态配网码,并解析多张子配网码得到第一动态配网码对应的配网信息;S503:智能设备还用于根据配网信息接入无线接入点。Please refer to Figure 5. Figure 5 is an interactive schematic diagram of a distribution network system provided by an embodiment of the present application. The distribution network system includes intelligent equipment and terminal equipment. The distribution network system includes intelligent equipment and terminal equipment. S501: The terminal device is used to display the first dynamic network configuration code to the smart device. The first dynamic network configuration code includes multiple sub-network configuration codes in a carousel; S502: The smart device is used to obtain the first dynamic network configuration displayed by the terminal device. code, and parses multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code; S503: The smart device is also used to access the wireless access point based on the distribution network information.
在一种可能的实施例中,智能设备还用于接收来自终端设备发送的连接请求,根据连接请求与终端设备建立连接;智能设备还用于向终端设备发送密钥信息,密钥信息用于终端设备对配网信息进行加密得到加密信息;智能设备还用于解析多张子配网码得到第一动态配网码对应的配网信息,包括:智能设备解析多张子配网码得到加密信息,并根据密钥信息解密加密信息得到配网信息。In a possible embodiment, the smart device is also configured to receive a connection request sent from the terminal device, and establish a connection with the terminal device according to the connection request; the smart device is also configured to send key information to the terminal device, and the key information is used to The terminal device encrypts the distribution network information to obtain encrypted information; the smart device is also used to parse multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code, including: the smart device parses multiple sub-distribution network codes to obtain encryption information, and decrypts the encrypted information according to the key information to obtain the distribution network information.
在一种可能的实施例中,智能设备解析多张子配网码得到加密信息,并根据密钥信息解密加密信息得到配网信息,包括:智能设备用于解析第一动态配网码的图像数据得到各个子配网码对应的加密信息,并确定各个子配网码对应的加密信息携带数据量大小;根据子配网码对应的加密信息携带数据量大小,以及数据量大小与子配网码顺序编号的预设关系,确定每张子配网码的合并顺序;智能设备还用于根据每张子配网码的合并顺序对每张子配网码对应的加密信息进行合并得到加密信息;根据密钥信息解密加密信息得到配网信息。In a possible embodiment, the smart device parses multiple sub-distribution network codes to obtain encrypted information, and decrypts the encrypted information according to the key information to obtain the distribution network information, including: the smart device is used to parse the image of the first dynamic distribution network code The data obtains the encrypted information corresponding to each sub-distribution network code, and determines the amount of data carried by the encrypted information corresponding to each sub-distribution network code; according to the amount of data carried by the encrypted information corresponding to the sub-distribution network code, and the size of the data and the sub-distribution network The preset relationship between code sequence numbers determines the merging order of each sub-distribution network code; the smart device is also used to merge the encrypted information corresponding to each sub-distribution network code according to the merging order of each sub-distribution network code to obtain the encrypted information ;Decrypt the encrypted information based on the key information to obtain the distribution network information.
在一种可能的实施例中,智能设备获取终端设备展示的第一动态配网码,包括:终端设备还用于向智能设备发送的开启扫描模式指令;智能设备还用于若在开启扫描模式后第一预设时长内未扫描到第一动态配网码中的任意一张子配网码,则关闭扫描模式;智能设备还用于若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长;其中,第一动态配网码的展示时长为第三预设时长,第三预设时长大于第二预设时长;在第二预设时长内持续扫描终端设备展示的第一动态配网码。In a possible embodiment, the smart device obtains the first dynamic configuration network code displayed by the terminal device, including: the terminal device is also used to send an instruction to enable the scan mode to the smart device; the smart device is also used to enable the scan mode if If any sub-distribution network code in the first dynamic configuration network code is not scanned within the first preset time period, the scanning mode is turned off; the smart device is also used to scan a sub-distribution network code within the first preset time period after turning on the scanning mode. Any sub-network code in the first dynamic configuration code will extend the duration of the scanning mode to the second preset duration, and the second preset duration is greater than the first preset duration; wherein, the first dynamic configuration code The display duration of the code is the third preset duration, and the third preset duration is longer than the second preset duration; the first dynamic network configuration code displayed by the terminal device is continuously scanned within the second preset duration.
在一种可能的实施例中,智能设备若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长,智能设备还用于获取在第一预设时长内扫描到的任意一张子配网码对应的加密信息,任意一张子配网码对应的加密信息包括第一动态配网码的子配网码总数;智能设备还用于根据子配网码总数确定第二预设时长,子配网码总数越大第二预设时长越长。In a possible embodiment, if the smart device scans any sub-configuration network code in the first dynamic configuration network code within the first preset time period after turning on the scanning mode, then the duration of the scanning mode is extended to The second preset time period is longer than the first preset time period. The smart device is also used to obtain the encrypted information corresponding to any sub-distribution network code scanned within the first preset time period. The encrypted information corresponding to the distribution network code includes the total number of sub-distribution network codes of the first dynamic distribution network code; the smart device is also used to determine the second preset time period based on the total number of sub-distribution network codes. The larger the total number of sub-distribution network codes, the second preset time The longer the duration.
在一种可能的实施例中,智能设备若在开启扫描模式后第一预设时长内未扫描到动态配网码中的任意一张子配网码,则关闭扫描模式之后,智能设备还用于向终端设备发送扫描失败信息;终端设备还用于生成第二动态配网码,第二动态配网码包括多张循环播放的子配网码,第二动态配网码的每张循环播放的子配网码的持续展示时长长于第一动态配网码的每张循环播放的子配网码的持续展示时长;智能设备还用于再次开启扫描模式扫描终端设备展示的第二动态配网码。In a possible embodiment, if the smart device does not scan any sub-configuration network code in the dynamic configuration network code within the first preset time period after turning on the scanning mode, then after turning off the scanning mode, the smart device also uses to send scanning failure information to the terminal device; the terminal device is also used to generate a second dynamic distribution network code. The second dynamic distribution network code includes multiple sub-distribution network codes that are played in a loop. Each of the second dynamic network distribution codes is played in a loop. The continuous display time of the sub-distribution network code is longer than the continuous display time of each looped sub-distribution network code of the first dynamic distribution network code; the smart device is also used to turn on the scanning mode again to scan the second dynamic distribution network displayed by the terminal device. code.
在一种可能的实施例中,若智能设备在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长,包括:智能设备还用于获取第一预设时长内扫描到的任意一张子配网码的显示频率,根据任意一张子配网码的显示频率确定扫描频率,扫描频率为子配网码的显示频率的至少两倍;智能设备还用于在扫描模式延长的第二预设时长内,根据扫描频率扫描第一动态配网码。In a possible embodiment, if the smart device scans any sub-configuration network code in the first dynamic configuration network code within the first preset time period after turning on the scanning mode, the duration of the scanning mode is extended to The second preset duration, which is longer than the first preset duration, includes: the smart device is also used to obtain the display frequency of any sub-distribution network code scanned within the first preset duration. According to any The display frequency of the sub-distribution network code determines the scanning frequency, and the scanning frequency is at least twice the display frequency of the sub-distribution network code; the smart device is also used to scan the first dynamic according to the scanning frequency within the second preset time extended by the scanning mode. Distribute network code.
通过实施上述申请实施例中的方法,智能设备扫描终端设备展示的第一动态配网码,减小单帧图像的信息承载量,降低识别难度,降低了智能设备的硬件要求。根据多张子配网码的扫描结果获取第一动态配网码对应的加密信息;解密加密信息得到配网信息,通过配网信息接入无线接入点。保证了用户数据的安全,减少了用户的配网信息被截获的可能性,最终提高了智能设备的配网效率和信息安全。By implementing the method in the above application embodiment, the smart device scans the first dynamic distribution network code displayed by the terminal device, reducing the information carrying capacity of a single frame image, reducing the difficulty of recognition, and reducing the hardware requirements of the smart device. Obtain the encrypted information corresponding to the first dynamic distribution network code based on the scanning results of multiple sub-distribution network codes; decrypt the encrypted information to obtain the distribution network information, and access the wireless access point through the distribution network information. It ensures the security of user data, reduces the possibility of users' distribution network information being intercepted, and ultimately improves the distribution network efficiency and information security of smart devices.
基于上述配置方法实施例的描述,本申请还提供一种第二智能设备600,该第二智能设备600可以是运行于终端中的一个计算机程序(包括程序代码)。该第二智能设备600可以是图1所示的智能设备101。该第二智能设备600可以执行图1、图2所示的方法。请参见图6,图6为本申请实施例提供的一种第二智能设备的结构示意图,该第二智能设备600包括:Based on the description of the above configuration method embodiment, this application also provides a second smart device 600. The second smart device 600 may be a computer program (including program code) running in the terminal. The second smart device 600 may be the smart device 101 shown in FIG. 1 . The second smart device 600 can perform the methods shown in Figures 1 and 2. Please refer to Figure 6. Figure 6 is a schematic structural diagram of a second smart device provided by an embodiment of the present application. The second smart device 600 includes:
获取单元601:获取终端设备展示的第一动态配网码,第一动态配网码包括轮播的多张子配网码;Obtaining unit 601: Obtains the first dynamic configuration network code displayed by the terminal device. The first dynamic configuration network code includes multiple sub-configuration network codes in a carousel;
解析单元602:用于解析多张子配网码得到第一动态配网码对应的配网信息;Parsing unit 602: used to parse multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code;
接入单元603:用于根据配网信息接入无线接入点。Access unit 603: used to access wireless access points according to network distribution information.
在一种可能的实施例中,接收来自终端设备发送的连接请求,根据连接请求与终端设备建立连接;向终端设备发送密钥信息,密钥信息用于终端设备对配网信息进行加密得到加密信息;在解析多张子配网码得到第一动态配网码对应的配网信息方面,解析单元602还具体用于:解析多张子配网码得到加密信息,并根据密钥信息解密加密信息得到配网信息。In a possible embodiment, a connection request sent from the terminal device is received, a connection is established with the terminal device according to the connection request, and key information is sent to the terminal device, and the key information is used by the terminal device to encrypt the distribution network information to obtain encryption. information; in terms of parsing multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code, the parsing unit 602 is also specifically used to: parse multiple sub-distribution network codes to obtain encrypted information, and decrypt the encryption based on the key information. Information to obtain distribution network information.
在一种可能的实施例中,在解析多张子配网码得到加密信息,并根据密钥信息解密加密信息得到配网信息方面,解析单元602还具体用于:解析第一动态配网码的图像数据得到各个子配网码对应的加密信息,并确定各个子配网码对应的加密信息携带数据量大小;根据子配网码对应的加密信息携带数据量大小,以及数据量大小与子配网码顺序编号的预设关系,确定每张子配网码的合并顺序;根据每张子配网码的合并顺序对每张子配网码对应的加密信息进行合并得到加密信息;根据密钥信息解密加密信息得到配网信息。In a possible embodiment, in terms of parsing multiple sub-distribution network codes to obtain encrypted information, and decrypting the encrypted information according to key information to obtain distribution network information, the parsing unit 602 is also specifically used to: parse the first dynamic distribution network code Obtain the encrypted information corresponding to each sub-distribution network code from the image data, and determine the amount of data carried by the encrypted information corresponding to each sub-distribution network code; according to the amount of data carried by the encrypted information corresponding to the sub-distribution network code, and the data amount and sub-distribution network code The preset relationship of the distribution network code sequence number determines the merging order of each sub-distribution network code; according to the merging order of each sub-distribution network code, the encrypted information corresponding to each sub-distribution network code is merged to obtain the encrypted information; according to the password The key information decrypts the encrypted information to obtain the distribution network information.
在一种可能的实施例中,在获取终端设备展示的第一动态配网码方面,获取单元601还具体用于:接收终端设备发送的开启扫描模式指令,若在开启扫描模式后第一预设时长内未扫描到第一动态配网码中的任意一张子配网码,则关闭扫描模式;若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长;其中,第一动态配网码的展示时长为第三预设时长,第三预设时长大于第二预设时长;在第二预设时长内持续扫描终端设备展示的第一动态配网码。In a possible embodiment, in terms of obtaining the first dynamic configuration network code displayed by the terminal device, the obtaining unit 601 is also specifically configured to: receive an instruction to enable the scan mode sent by the terminal device. If the first preset code is obtained after the scan mode is enabled, If any sub-distribution network code in the first dynamic configuration network code is not scanned within the time period, the scanning mode is turned off; if any sub-distribution network code in the first dynamic configuration network code is scanned within the first preset time period after the scanning mode is turned on A sub-configuration network code will extend the duration of the scanning mode to the second preset duration, and the second preset duration is greater than the first preset duration; among them, the display duration of the first dynamic configuration code is the third preset duration Duration, the third preset duration is longer than the second preset duration; continuously scan the first dynamic network configuration code displayed by the terminal device within the second preset duration.
在一种可能的实施例中,若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长,解析单元602还具体用于:获取在第一预设时长内扫描到的任意一张子配网码对应的加密信息,任意一张子配网码对应的加密信息包括第一动态配网码的子配网码总数;根据子配网码总数确定第二预设时长,子配网码总数越大第二预设时长越长。In a possible embodiment, if any sub-configuration network code in the first dynamic configuration network code is scanned within the first preset time period after the scanning mode is turned on, the duration of the scanning mode is extended to the second The preset duration, the second preset duration is longer than the first preset duration, and the parsing unit 602 is also specifically used to: obtain the encrypted information corresponding to any sub-distribution network code scanned within the first preset duration, any one The encrypted information corresponding to the sub-distribution network code includes the total number of sub-distribution network codes of the first dynamic distribution network code; the second preset time period is determined based on the total number of sub-distribution network codes. The larger the total number of sub-distribution network codes, the longer the second preset time period.
在一种可能的实施例中,若在开启扫描模式后第一预设时长内未扫描到动态配网码中的任意一张子配网码,则关闭扫描模式之后,解析单元602还具体用于:向终端设备发送扫描失败信息,扫描失败信息用于指示终端设备生成第二动态配网码,第二动态配网码包括多张循环播放的子配网码,第二动态配网码的每张循环播放的子配网码的持续展示时长长于第一动态配网码的每张循环播放的子配网码的持续展示时长;再次开启扫描模式扫描终端设备展示的第二动态配网码。In a possible embodiment, if any sub-configuration network code in the dynamic configuration network code is not scanned within the first preset time period after the scanning mode is turned on, then after the scanning mode is turned off, the parsing unit 602 specifically uses In: sending scanning failure information to the terminal device. The scanning failure information is used to instruct the terminal device to generate a second dynamic configuration network code. The second dynamic configuration network code includes multiple sub-configuration network codes that are played in a loop. The second dynamic configuration network code The continuous display time of each looped sub-distribution network code is longer than the continuous display time of each loop-played sub-distribution network code of the first dynamic distribution network code; turn on the scanning mode again to scan the second dynamic distribution network code displayed by the terminal device .
在一种可能的实施例中,若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长,解析单元602还具体用于:获取第一预设时长内扫描到的任意一张子配网码的显示频率,根据任意一张子配网码的显示频率确定扫描频率,扫描频率为子配网码的显示频率的至少两倍;在扫描模式延长的第二预设时长内,根据扫描频率扫描第一动态配网码。In a possible embodiment, if any sub-configuration network code in the first dynamic configuration network code is scanned within the first preset time period after the scanning mode is turned on, the duration of the scanning mode is extended to the second The preset duration, the second preset duration is longer than the first preset duration, and the parsing unit 602 is also specifically used to: obtain the display frequency of any sub-distribution network code scanned within the first preset duration, according to any sub-distribution network code The display frequency of the distribution network code determines the scanning frequency, and the scanning frequency is at least twice the display frequency of the sub-distribution network code; within the second preset time extended by the scanning mode, the first dynamic distribution network code is scanned according to the scanning frequency.
需要说明的是,上述各模块(获取单元601和解析单元602等)用于执行上述方法的相关步骤。比如获取单元601用于执行步骤S201的相关内容,解析单元602用于执行S202的相关内容。It should be noted that each of the above modules (obtaining unit 601, parsing unit 602, etc.) is used to execute relevant steps of the above method. For example, the acquisition unit 601 is used to execute the relevant content of step S201, and the parsing unit 602 is used to execute the relevant content of step S202.
基于上述方法实施例和装置实施例的描述,请参见图7,图7为本申请实施例提供的一种第三智能设备的结构示意图,本实施例中所描述的第三智能设备700可以为图1中所示的智能设备101,如图7所示,该第三智能设备700包括处理器701、存储器702、通信接口703以及一个或多个程序,处理器701可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。存储器702可以是只读存储器(read-Only Memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器702可以是独立存在,通过总线与处理器701相连接。存储器702也可以和处理器701集成在一起。通信接口703,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。该第三智能设备700还可以包括麦克风,摄像头等硬件。上述一个或多个程序通过程序代码的形式被存储在上述存储器中,并且被配置由上述处理器执行,本申请实施例中,上述程序包括用于执行以下步骤的指令:Based on the description of the above method embodiments and device embodiments, please refer to Figure 7. Figure 7 is a schematic structural diagram of a third smart device provided by an embodiment of the present application. The third smart device 700 described in this embodiment can be The smart device 101 shown in Figure 1, as shown in Figure 7, the third smart device 700 includes a processor 701, a memory 702, a communication interface 703 and one or more programs. The processor 701 can be a general central processing unit ( CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits used to control program execution of the above scheme. The memory 702 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory (RAM)) or other type that can store information and instructions. The dynamic storage device can also be Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other optical disk storage, optical disk storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be used by a computer Any other medium for access, but not limited to this. The memory 702 may exist independently and be connected to the processor 701 through a bus. Memory 702 may also be integrated with processor 701. Communication interface 703 is used to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc. The third smart device 700 may also include hardware such as a microphone and a camera. The above-mentioned one or more programs are stored in the above-mentioned memory in the form of program codes, and are configured to be executed by the above-mentioned processor. In this embodiment of the present application, the above-mentioned program includes instructions for performing the following steps:
获取终端设备展示的第一动态配网码,第一动态配网码包括轮播的多张子配网码;解析多张子配网码得到第一动态配网码对应的配网信息;根据配网信息接入无线接入点。Obtain the first dynamic distribution network code displayed by the terminal device. The first dynamic distribution network code includes multiple sub-distribution network codes in a carousel; parse the multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code; according to The distribution network information is accessed from the wireless access point.
在一种可能的实施例中,该方法还包括:接收来自终端设备发送的连接请求,根据连接请求与终端设备建立连接;向终端设备发送密钥信息,密钥信息用于终端设备对配网信息进行加密得到加密信息;解析多张子配网码得到第一动态配网码对应的配网信息,包括:解析多张子配网码得到加密信息,并根据密钥信息解密加密信息得到配网信息。In a possible embodiment, the method further includes: receiving a connection request sent from the terminal device, establishing a connection with the terminal device according to the connection request; sending key information to the terminal device, the key information being used for the terminal device pairing network The information is encrypted to obtain the encrypted information; parsing multiple sub-distribution network codes to obtain the distribution network information corresponding to the first dynamic distribution network code, including: parsing multiple sub-distribution network codes to obtain the encrypted information, and decrypting the encrypted information according to the key information to obtain the configuration network information.
在一种可能的实施例中,解析多张子配网码得到加密信息,并根据密钥信息解密加密信息得到配网信息,包括:解析第一动态配网码的图像数据得到各个子配网码对应的加密信息,并确定各个子配网码对应的加密信息携带数据量大小;根据子配网码对应的加密信息携带数据量大小,以及数据量大小与子配网码顺序编号的预设关系,确定每张子配网码的合并顺序;根据每张子配网码的合并顺序对每张子配网码对应的加密信息进行合并得到加密信息;根据密钥信息解密加密信息得到配网信息。In a possible embodiment, parsing multiple sub-distribution network codes to obtain encrypted information, and decrypting the encrypted information according to key information to obtain distribution network information includes: parsing the image data of the first dynamic distribution network code to obtain each sub-distribution network The encrypted information corresponding to the code, and determine the amount of data carried by the encrypted information corresponding to each sub-distribution network code; the amount of data carried by the encrypted information corresponding to the sub-distribution network code, and the preset size of the data amount and the sequence number of the sub-distribution network code relationship, determine the merging order of each sub-distribution network code; merge the encrypted information corresponding to each sub-distribution network code according to the merging order of each sub-distribution network code to obtain the encrypted information; decrypt the encrypted information according to the key information to obtain the distribution network information.
在一种可能的实施例中,获取终端设备展示的第一动态配网码,包括:接收终端设备发送的开启扫描模式指令,若在开启扫描模式后第一预设时长内未扫描到第一动态配网码中的任意一张子配网码,则关闭扫描模式;若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长;其中,第一动态配网码的展示时长为第三预设时长,第三预设时长大于第二预设时长;在第二预设时长内持续扫描终端设备展示的第一动态配网码。In a possible embodiment, obtaining the first dynamic configuration network code displayed by the terminal device includes: receiving an instruction to enable the scan mode sent by the terminal device. If the first dynamic configuration code is not scanned within the first preset time period after the scan mode is enabled, If any sub-distribution network code in the dynamic distribution network code is scanned, the scanning mode is turned off; if any sub-distribution network code in the first dynamic distribution network code is scanned within the first preset time after the scanning mode is turned on, then The duration of the scanning mode is extended to a second preset duration, and the second preset duration is greater than the first preset duration; wherein, the display duration of the first dynamic network configuration code is a third preset duration, and the third preset duration is greater than The second preset time period; continuously scan the first dynamic network configuration code displayed by the terminal device within the second preset time period.
在一种可能的实施例中,若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长,包括:获取在第一预设时长内扫描到的任意一张子配网码对应的加密信息,任意一张子配网码对应的加密信息包括第一动态配网码的子配网码总数;根据子配网码总数确定第二预设时长,子配网码总数越大第二预设时长越长。In a possible embodiment, if any sub-configuration network code in the first dynamic configuration network code is scanned within the first preset time period after the scanning mode is turned on, the duration of the scanning mode is extended to the second The preset time period, the second preset time period is longer than the first preset time period, including: obtaining the encrypted information corresponding to any sub-distribution network code scanned within the first preset time period, and obtaining the encrypted information corresponding to any sub-distribution network code scanned within the first preset time period. The encrypted information includes the total number of sub-distribution network codes of the first dynamic distribution network code; the second preset duration is determined based on the total number of sub-distribution network codes. The larger the total number of sub-distribution network codes, the longer the second preset duration.
在一种可能的实施例中,若在开启扫描模式后第一预设时长内未扫描到动态配网码中的任意一张子配网码,则关闭扫描模式之后,该方法还包括:向终端设备发送扫描失败信息,扫描失败信息用于指示终端设备生成第二动态配网码,第二动态配网码包括多张循环播放的子配网码,第二动态配网码的每张循环播放的子配网码的持续展示时长长于第一动态配网码的每张循环播放的子配网码的持续展示时长;再次开启扫描模式扫描终端设备展示的第二动态配网码。In a possible embodiment, if any sub-configuration network code among the dynamic network configuration codes is not scanned within the first preset time period after the scanning mode is turned on, then after the scanning mode is turned off, the method further includes: The terminal device sends scanning failure information. The scanning failure information is used to instruct the terminal device to generate a second dynamic configuration network code. The second dynamic configuration network code includes multiple sub-configuration network codes that are played in a loop. Each of the second dynamic configuration network codes is looped. The continuous display duration of the played sub-distribution network code is longer than the continuous display time of each looped sub-distribution network code of the first dynamic distribution network code; turn on the scanning mode again to scan the second dynamic distribution network code displayed by the terminal device.
在一种可能的实施例中,若在开启扫描模式后第一预设时长内扫描到第一动态配网码中的任意一张子配网码,则将扫描模式的持续时间延长至第二预设时长,第二预设时长大于第一预设时长,包括:获取第一预设时长内扫描到的任意一张子配网码的显示频率,根据任意一张子配网码的显示频率确定扫描频率,扫描频率为子配网码的显示频率的至少两倍;在扫描模式延长的第二预设时长内,根据扫描频率扫描第一动态配网码。In a possible embodiment, if any sub-configuration network code in the first dynamic configuration network code is scanned within the first preset time period after the scanning mode is turned on, the duration of the scanning mode is extended to the second The preset duration, the second preset duration is longer than the first preset duration, including: obtaining the display frequency of any sub-distribution network code scanned within the first preset time period, according to the display frequency of any sub-distribution network code Determine the scanning frequency, which is at least twice the display frequency of the sub-distribution network code; scan the first dynamic distribution network code according to the scanning frequency within a second preset time extended by the scanning mode.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the sake of simple description, the foregoing method embodiments are expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with this application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily necessary for this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, each embodiment is described with its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, It includes several instructions to cause a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable memory. The memory can include: a flash disk. , read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disk, etc.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still make the foregoing technical solutions. The technical solutions described in each embodiment may be modified, or some of the technical features may be equivalently replaced; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to depart from the scope of the technical solutions in each embodiment of the present application.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311333092.0A CN117202185A (en) | 2023-10-13 | 2023-10-13 | Network distribution method of intelligent equipment and related device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311333092.0A CN117202185A (en) | 2023-10-13 | 2023-10-13 | Network distribution method of intelligent equipment and related device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117202185A true CN117202185A (en) | 2023-12-08 |
Family
ID=89003541
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311333092.0A Pending CN117202185A (en) | 2023-10-13 | 2023-10-13 | Network distribution method of intelligent equipment and related device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117202185A (en) |
-
2023
- 2023-10-13 CN CN202311333092.0A patent/CN117202185A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10212595B2 (en) | Mobile handset extension to a device | |
| CN107612909B (en) | Information interaction method, device and device for Internet of Things devices | |
| EP2753108B1 (en) | Wireless local area network authentication method and mobile terminal | |
| CN108495112B (en) | Data transmission method and terminal, and computer storage medium | |
| CN104137618A (en) | Shared network access via a peer-to-peer link | |
| CN109699019B (en) | Broadcast scanning method, device, electronic equipment and storage medium | |
| CN109996260B (en) | Configuration system, client device, embedded device configuration method and storage medium | |
| CN112346751B (en) | Application program installation method and device, electronic equipment and storage medium | |
| CN114765743B (en) | Bluetooth communication method, electronic device and storage medium | |
| CN113141671A (en) | Communication method and device of wifi device and computer readable storage medium | |
| CN109871189A (en) | A method and device for multi-terminal screen sharing based on network file system | |
| CN104919863B (en) | Subchannel for wireless data communication detects | |
| CN110719526A (en) | Video playing method and device | |
| CN110324413A (en) | The synchronous method, apparatus of special efficacy and storage medium | |
| CN111182532B (en) | Wireless local area network connection method, device, system, equipment and storage medium | |
| CN117202185A (en) | Network distribution method of intelligent equipment and related device | |
| CN114124891B (en) | Network request processing method and device, storage medium and electronic device | |
| CN106850862B (en) | Method and device for migrating data from sending end to receiving end | |
| KR101491638B1 (en) | Method and apparatus for providing contents according to network type | |
| CN117202184A (en) | Intelligent network distribution method of intelligent equipment and related device | |
| US12317368B2 (en) | Emergency call method and apparatus, storage medium, and terminal | |
| CN115915019B (en) | Device discovery method and apparatus | |
| CN117412402A (en) | Screen projection method, device, storage medium and screen projector | |
| CN117615428A (en) | Data processing method, data acquisition method, device, terminal and storage medium | |
| HK40038732A (en) | Method and device for installing application program, electronic apparatus 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 |