An intelligent system network access configuration method and system based on MKLan

Through the MKLan-based intelligent system network access configuration method, 62-bit binary encoding and wireless communication are used to solve the problem of cumbersome and abnormal network access in smart home systems, and efficient and accurate network access is achieved.

CN120050169BActive Publication Date: 2025-07-11CHANGSHA DANDELION INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510522501.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2025-07-11
Estimated Expiration
2045-04-24

AI Technical Summary

Technical Problem

The process of accessing terminal equipment in existing smart home systems is cumbersome and time-consuming, and it is prone to abnormal access to the network of equipment in different households, especially in large apartments or villas.

Method used

The intelligent system network access configuration method based on MKLan is adopted, and the host key and device key are generated and sent through handheld configuration devices. The 62-bit binary encoding is used to distinguish different buildings, units and door numbers, so as to achieve regional matching between the smart terminal device and the smart host, and efficient network access is carried out through MKLan wireless communication.

Benefits of technology

It realizes batch and efficient network access of smart home terminal devices, avoids chaos and abnormal network access, and improves network access efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050169B_ABST
    Figure CN120050169B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for network access configuration of an intelligent system based on MKLan. The method includes: a handheld configuration device configures a host key according to the characteristics of the input intelligent host, and the host key is sent to the intelligent host for storage; the handheld configuration device configures a device key, and the device key is sent to the intelligent terminal device for storage; the intelligent terminal device sends a network access request to the intelligent host according to the stored key information, the intelligent host extracts part of the information in the network access request, and performs area matching with the host key information. If the matching is successful, the intelligent terminal device information and the automatically assigned intelligent terminal device information type and attributes in the network access request are stored; the intelligent host also sends a network access response containing the host key information to the intelligent terminal device; the intelligent terminal device receives the network access response, extracts the host key in the network access response signal, and performs area matching with the device key. If the matching is successful, the intelligent terminal device stores the host device information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical fields of Internet of Things technology and smart home technology, and specifically provides a method and system for configuring the access of an intelligent system based on MKLan. Background Art

[0002] Smart home refers to the interconnection of various devices in a home (such as household appliances, security systems, lighting, entertainment devices, etc.) through Internet of Things technology to achieve remote control, automated management, and collaborative work across devices.

[0003] With the development of wireless technology, more and more devices communicate with each other through wireless communication methods to achieve automatic control and intelligent scenario linkage control of various devices. There are mainly two existing smart home access modes: manual configuration and automatic search. Manual configuration for access requires inputting the host network information for each device to be accessed one by one and operating for access. This method has a cumbersome and time-consuming access process and relatively low efficiency. For automatic search access, the devices to be accessed automatically search for hosts within the wireless range and access them. The main problems with this method are: for large-sized houses or villas, there may be multiple hosts for regional separate control. In the case of automatic search access, access anomalies or incorrect access may occur, and if the same smart devices are also used in adjacent houses, there may be a phenomenon of chaotic access of smart devices in different houses. The problems existing in the above two methods are particularly serious for the access of smart homes installed in batches during real estate fine decoration projects.

[0004] The present invention solves the problems of cumbersome and time-consuming access process of terminal devices in a smart home system and the easy occurrence of abnormal access of devices in different households, and can efficiently complete the batch and efficient access of smart home terminal devices. Summary of the Invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art; for this purpose, the present invention proposes a method and system for configuring the access of an intelligent system based on MKLan to solve the technical problems of cumbersome and time-consuming access process of terminal devices and the easy occurrence of abnormal access of devices in different households in the prior art.

[0006] To achieve the above object, the present invention provides a method for configuring the access of a smart home system, including:

[0007] The handheld configuration device configures a host key according to the characteristics of the input smart host, and the host key is sent to the smart host for storage;

[0008] The handheld configuration device also configures a device key according to the characteristic information of the input smart terminal device, and the device key is sent to the smart terminal device for storage;

[0009] The intelligent terminal device sends an access request to the intelligent host according to the stored key information. The intelligent host extracts some information in the access request and performs a region match with the host key information. If the match is successful, it stores the intelligent terminal device information in the access request and automatically assigns the information type and attributes of the intelligent terminal device. The intelligent host also sends an access response containing the host key information to the intelligent terminal device.

[0010] The intelligent terminal device receives the access response, extracts the host key in the access response signal, and performs a region match with the device key. If the match is successful, the intelligent terminal device stores the host device information.

[0011] Further: The specific configuration method of the host key is as follows:

[0012] Input the characteristic information of the intelligent host in the handheld configuration device.

[0013] The characteristic information of the intelligent host includes: host device location information and host device information. The host device location information includes: the building where the host device is installed, the unit where the host device is installed, and the house number where the host device is installed. The host device information includes: the wireless communication address of the host device, the channel of the host device, and the token number of the host device.

[0014] Configure the host key, and the rules are as follows:

[0015] The building where the host device is installed is represented by 8-bit binary, and the range is 1~256.

[0016] The unit where the host device is installed is represented by 3-bit binary, and the range is 1~8.

[0017] The house number where the host device is installed is represented by 7-bit binary, and the range is 1~128.

[0018] The wireless communication address of the host device is represented by 32-bit binary, and the range is 1~4294967296.

[0019] The channel of the host device is represented by 4-bit binary, and the range is 1-16.

[0020] The token number of the host device is represented by 8-bit binary, and the range is 1~256.

[0021] Form a 62-bit binary host key in the above order.

[0022] Among them, since wireless signals have the ability to penetrate and transmit over long distances, in order to distinguish the main units in different buildings, different units, or different apartment types, the present invention uses the building number, unit number, and house number information as part of the main unit key for identifying the apartment type of the main unit, facilitating subsequent network access matching, and also facilitating after-sales to accurately locate the position of the main unit. Considering that there are multiple main units in large apartment types or villas, in order to distinguish different main units under the same household, the present invention designs a unique wireless communication number, that is, a wireless communication address, for each main unit and stores this number as part of the key. Since each main unit manages a large number of intelligent terminal devices, a wireless communication channel and a device token number are assigned to each main unit. In subsequent network access and interaction processes, only when the main unit and the intelligent terminal device are under the same wireless channel and device token number can wireless communication be carried out. And all information is encoded in binary format, using a smaller storage space to store more information, and also facilitating various operations of the embedded processor, such as arithmetic, reading, and storage.

[0023] Further: The specific configuration method of the device key is as follows:

[0024] Input the feature information of the intelligent terminal device in the handheld configuration device;

[0025] The feature information of the intelligent terminal device includes: the location information of the intelligent terminal device and the information of the intelligent terminal device; the location information of the intelligent terminal device includes: the building where the intelligent terminal device is installed, the unit where the intelligent terminal device is installed, and the house number where the intelligent terminal device is installed; the information of the intelligent terminal device includes: the wireless communication address of the intelligent terminal device, the channel of the intelligent terminal device, and the number of the intelligent terminal device.

[0026] Configure the device key, and the rules are as follows:

[0027] The building where the intelligent terminal device is installed is represented by 8-bit binary, with a range of 1 to 256;

[0028] The unit where the intelligent terminal device is installed is represented by 3-bit binary, with a range of 1 to 8;

[0029] The house number where the intelligent terminal device is installed is represented by 7-bit binary, with a range of 1 to 128;

[0030] The wireless communication address of the intelligent terminal device is represented by 32-bit binary, with a range of 1 to 4294967296;

[0031] The channel of the intelligent terminal device is represented by 4-bit binary, with a range of 1 - 16;

[0032] The number of the intelligent terminal device is represented by 8-bit binary, with a range of 1 to 256;

[0033] A 62-bit binary device key is formed in the above order successively.

[0034] Further: The specific manner of performing area matching with the host key information is as follows:

[0035] Mask the wireless communication addresses of the host device and the intelligent terminal device in the host key, and only match the building where the host device is installed, the unit where the host device is installed, the house number where the host device is installed, the channel of the host device, the building where the intelligent terminal device is installed, the unit where the intelligent terminal device is installed, the house number where the intelligent terminal device is installed, and the channel of the intelligent terminal device, that is, only match the first 18 bits and the last 4 bits of binary data in the host key and the device key;

[0036] After successful matching, the host device stores the wireless communication address, the channel of the intelligent terminal device, the number of the intelligent terminal device, and the firmware version of the intelligent terminal device in the device key;

[0037] The host device automatically allocates the type and attributes of the intelligent terminal device in a preset script manner according to the network access order of the intelligent terminal device.

[0038] For the convenience of subsequent communication and management, when the intelligent host (host device) receives the network access information of the intelligent terminal device, it is necessary to determine whether the intelligent terminal device comes from the same building, the same unit, and the same household type, and whether the communication channel is the same as that in the host, that is, match the first 18 bits and the last 4 bits of binary data in the host key and the device key; only when the matching is successful, the intelligent terminal device is allowed to register to the wireless network managed by the host, store the relevant information in the intelligent terminal key, and use the preset script program to automatically allocate and set the device type and attributes according to the network access order of the intelligent terminal device. The preset script manner automatically allocates the types of intelligent terminal devices including: the types of intelligent terminal devices are: wall switches, curtains, infrared transceivers, human body detectors, etc., and the attributes include: the location, name, function definition, etc. of the intelligent terminal device; for example, after a three-way intelligent switch terminal device accesses the network, the host marks this terminal as a three-way intelligent switch according to the preset script program, determines the location of the switch (such as the living room), and allocates control functions for each circuit of the switch, including lighting control (main light, downlight, light strip, etc.), linkage control (two-way control, multi-way control, etc.), and scene control (going home scene, leaving home scene, etc.).

[0039] Further: The specific manner of performing area matching with the device key information is as follows:

[0040] Match the first 18 bits of the host key with the first 18 bits of the device key, extract the host device communication address and the host device token number contained in the host key information in the response signal, and match them with the smart terminal device wireless communication address and the smart terminal device number stored locally in the smart terminal device. After all matches are successful, the smart terminal device stores the host device wireless communication address, the host device channel, the host device token number, and the smart host firmware version information contained in the host key;

[0041] The matching operation in this step is similar to the matching operation in the smart host, that is, the smart terminal device also only accepts the registration response information from the host under the same building, the same unit, and the same household type. Only after the matching is successful, the smart terminal device finally confirms to join the wireless network managed by the host.

[0042] Furthermore: The information interaction between the handheld configuration device, the smart terminal device, and the smart host is all wirelessly transmitted, and the wireless transmission uses the MKLan wireless method;

[0043] MKLan is a smart home Internet of Things communication protocol based on the low frequency band, with characteristics such as long transmission distance, strong penetration ability, and high transmission stability.

[0044] Furthermore: The MKLan wireless method includes: an air monitoring mechanism, data whitening coding, a forward error correction mechanism, wireless communication data packet format setting, a mechanism to improve communication success rate, and a designed relay forwarding mechanism.

[0045] The present invention also provides a smart home system network access configuration system, including: a handheld configuration device, a smart host, and a smart terminal device;

[0046] The handheld configuration device, the smart host, and the smart terminal device all perform wireless communication through the MKLan wireless module.

[0047] Furthermore: The handheld configuration device and the smart terminal device each have at least one microprocessor, one MKLan wireless module, and one storage unit, and the handheld configuration device also includes at least one mobile terminal, and the smart terminal device also includes at least one service module;

[0048] The microprocessor uses STM32F031, the microprocessor is connected to the MKLan wireless module through the SPI interface, and the microprocessor is connected to the storage unit through the IIC interface;

[0049] In the smart terminal device, the microprocessor is connected to the service module in the IO port direct drive mode;

[0050] In the handheld configuration device, the microprocessor is connected to the mobile terminal through the Type C interface;

[0051] The storage unit in the handheld configuration device is used to store the device information of the handheld configuration device and the embedded software program of the handheld configuration device. The embedded software program of the handheld configuration device runs on the microprocessor in the handheld configuration device;

[0052] The storage unit in the smart terminal device is used to store the smart terminal device key, the smart terminal device information, and the embedded software program of the smart terminal device. The embedded software program of the smart terminal device runs on the microprocessor in the smart terminal device;

[0053] The service module is used to control specific household electrical appliances.

[0054] Furthermore: The smart host includes: an embedded processor, a storage unit, a liquid crystal display screen, an MKLan wireless module, and a cloud server;

[0055] The embedded processor is used to run the host embedded software, is connected to the MKLan wireless module through the SPI interface, is connected to the storage unit through the IIC interface, is connected to the liquid crystal display screen through the MIPI interface, and is connected to the cloud server through the WIFI via a wireless wide area network;

[0056] The liquid crystal display screen is used to display the human-computer interaction interface of the host embedded software;

[0057] The MKLan wireless module is used to send and receive wireless MKLan signals;

[0058] The storage unit is used to store the host key, the host device information, and the embedded software program;

[0059] The cloud server provides an interface to facilitate users to remotely access the smart home system.

[0060] The beneficial effects of the present invention are: It solves the problems of cumbersome and time-consuming process in the network access process of terminal devices in the smart home system, and the problem of abnormal network access of devices of different households. It can efficiently complete the batch and efficient network access of smart home terminal devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present invention and the prior art, the following will briefly introduce the drawings required for the description of the embodiments and the prior art. Obviously, the drawings in the following description are only some embodiments recorded in the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0062] Figure 1 It is a schematic diagram of the network access configuration method of the present invention;

[0063] Figure 2 Schematic diagram of the smart home system of the present invention;

[0064] Figure 3 Schematic diagram of the intelligent host of the present invention;

[0065] Figure 4 Schematic diagram of the intelligent terminal device of the present invention;

[0066] Figure 5 Schematic diagram of the handheld configuration device of the present invention;

[0067] Figure 6 Smart home control interface of a specific embodiment provided by the present invention. Detailed implementation manners

[0068] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be described and explained below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments provided by the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

[0069] Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, the present invention can also be applied to other similar scenarios based on these drawings.

[0070] In addition, it can also be understood that although the efforts made in this development process may be complex and time-consuming, for those of ordinary skill in the art related to the content disclosed by the present invention, some design, manufacturing or production changes based on the technical content disclosed by the present invention are only conventional technical means and should not be understood as insufficient disclosure of the content of the present invention.

[0071] If there is no special description, all implementation manners and optional implementation manners of the present invention can be combined with each other to form new technical solutions.

[0072] Please refer to Figure 1 , schematic diagram of the network access configuration method of the present invention, including:

[0073] The handheld configuration device configures the host key according to the characteristics input into the intelligent host, and the host key is sent to the intelligent host for storage;

[0074] The handheld configuration device also configures the device key according to the characteristic information of the input intelligent terminal device, and the device key is sent to the intelligent terminal device for storage;

[0075] The intelligent terminal device sends an access request to the intelligent host according to the stored key information. The intelligent host extracts some information in the access request and performs area matching with the host key information. If the match is successful, it stores the intelligent terminal device information in the access request and automatically assigns the information type and attributes of the intelligent terminal device. The intelligent host also sends an access response containing the host key information to the intelligent terminal device.

[0076] The intelligent terminal device receives the access response, extracts the host key in the access response signal, and performs area matching with the device key. If the match is successful, the intelligent terminal device stores the host device information.

[0077] Specifically:

[0078] Since wireless signals have the ability to penetrate and transmit over long distances, and there are multiple hosts (intelligent hosts) in large apartments or villas, in order to distinguish hosts in different buildings, or different units, or different apartment types, or to distinguish different hosts under the same household, the present invention designs a unique wireless communication number for each host, that is, the building number, unit number, and house number information are used as the wireless communication address represented by the host key, and this wireless communication address number is stored as a part of the key; and to solve the problem that there are many intelligent terminal devices managed by each host and it is easy to get confused, the following configurations are made respectively according to the characteristic information of the intelligent host and the characteristic information of the intelligent terminal device:

[0079] The characteristic information of the intelligent host includes: host device location information and host device information; the host device location information includes: the building where the host device is installed, the unit where the host device is installed, and the house number where the host device is installed; the host device information includes: the wireless communication address of the host device, the host device channel, and the host device token number; the configuration rule of the host key is: the building where the host device is installed is represented by 8-bit binary, with a range of 1 to 256; the unit where the host device is installed is represented by 3-bit binary, with a range of 1 to 8; the house number where the host device is installed is represented by 7-bit binary, with a range of 1 to 128; the wireless communication address of the host device is represented by 32-bit binary, with a range of 1 to 4294967296; the host device channel is represented by 4-bit binary, with a range of 1 to 16; the host device token number is represented by 8-bit binary, with a range of 1 to 256; the 62-bit binary host key is formed in the above order.

[0080] The characteristic information of the intelligent terminal device includes: intelligent terminal device location information and intelligent terminal device information; the intelligent terminal device location information includes: the building where the intelligent terminal device is installed, the unit where the intelligent terminal device is installed, and the house number where the intelligent terminal device is installed; the intelligent terminal device information includes: the wireless communication address of the intelligent terminal device, the intelligent terminal device channel, and the intelligent terminal device number.

[0081] For the convenience of matching and verifying with the host key, the device key rules are configured as follows: The building where the intelligent terminal device is installed is represented by 8-bit binary, with a range of 1 to 256; the unit where the intelligent terminal device is installed is represented by 3-bit binary, with a range of 1 to 8; the house number where the intelligent terminal device is installed is represented by 7-bit binary, with a range of 1 to 128; the wireless communication address of the intelligent terminal device is represented by 32-bit binary, with a range of 1 to 4,294,967,296; the channel of the intelligent terminal device is represented by 4-bit binary, with a range of 1 to 16; the device number of the intelligent terminal device is represented by 8-bit binary, with a range of 1 to 256; the 62-bit binary device key is formed in the above order.

[0082] To determine whether the intelligent terminal devices are from the same building, the same unit, the same household type, and whether the communication channels are consistent with those in the host, the specific method for region matching of the host key information is as follows: Mask the host device wireless communication address and the intelligent terminal device wireless communication address in the host key, and only match the building where the host device is installed, the unit where the host device is installed, the house number where the host device is installed, the host device channel, the building where the intelligent terminal device is installed, the unit where the intelligent terminal device is installed, the house number where the intelligent terminal device is installed, the intelligent terminal device channel, and the intelligent terminal device number, that is, only match the first 18 bits and the last 4 bits of binary data in the host key and the device key; after successful matching, the host device stores the intelligent terminal device wireless communication address, the intelligent terminal device channel, the intelligent terminal device number, and the intelligent terminal device firmware version in the device key; according to the network access order of the intelligent terminal devices, the host device automatically assigns the types and attributes of the intelligent terminal devices in a preset script manner.

[0083] Then perform region matching on the device key information: Match the first 18 bits of the host key with the first 18 bits of the device key, extract the host device communication address and the host device order number included in the host key information in the response signal, and match them with the intelligent terminal device wireless communication address and the intelligent terminal device number stored locally in the intelligent terminal device. After all matches are successful, the intelligent terminal device stores the host device wireless communication address, the host device channel, the host device order number, and the intelligent host firmware version information included in the host key. This part of the matching operation is similar to the matching operation in the intelligent host, that is, the intelligent terminal device also only accepts the registration response information from the host in the same building, the same unit, and the same household type. Only after successful matching will the intelligent terminal device finally confirm to join the wireless network managed by the host.

[0084] The information interaction among the handheld configuration device, the intelligent terminal device, and the intelligent host is all wirelessly sent, and the wireless sending adopts the MKLan wireless method.

[0085] The MKLan wireless mode includes: an air monitoring mechanism, data whitening coding, a forward error correction mechanism, wireless communication packet format setting, a mechanism for improving communication success rate, and a designed relay forwarding mechanism.

[0086] Air monitoring mechanism: It is used for the normal sending and receiving of wireless data. Before each terminal sends a wireless signal, the terminal sets itself to the receiving state, reads the field strength value (RSSI) of the wireless signal in the air. If the RSSI value is greater than the set threshold (the threshold can be changed according to the specific environment), it stays in the receiving state and continuously monitors the RSSI value of the wireless signal in the air; if the read RSSI value is less than the set threshold, it sends a token wireless signal and monitors the RSSI value of the wireless signal in the air again. If it is less than the set threshold, it enters the normal data sending.

[0087] Data whitening coding: It is used to solve the problems that may occur in binary coding during the sending process, such as continuous 1s or 0s, uneven energy distribution of the radio frequency modulated signal in the air, weak anti-interference ability, poor transmission stability, and shortened distance. The object of data whitening coding is the data to be sent, and data whitening processing is carried out according to the correlation between the characteristics of the data to be sent; specifically, data with relatively low correlation between characteristics and all features having the same variance are selected to achieve the balance of the radio frequency modulated signal energy in the air, and improve the anti-interference and stability of the signal transmission process.

[0088] Forward error correction mechanism: It is used to judge and correct errors in the sent data. Specifically, convolutional technology is used. At the sending end, redundant coding is performed on the data to be sent to add error correction information; at the receiving end, through the corresponding decoding algorithm, according to the redundant error correction information.

[0089] Wireless communication packet format setting: It is used to improve wireless communication efficiency. Based on the data to be sent, relevant communication frame fields are added, specifically: start symbol + command + command complement + function code + function code complement + time sequence number + destination address + source address + data length + data + checksum + end symbol.

[0090] Mechanism for improving communication success rate: By designing a handshake + re-packet + response + retransmission mechanism, the purpose of improving communication success rate is achieved. Specifically: When any two wireless terminals need to communicate, first, a handshake mechanism needs to be established to inform both communication parties that they are ready; then, the sender starts to send wireless data. The receiver receives the wireless data packet and determines whether the source address has established a handshake mechanism and whether the destination address is the address of this terminal. Secondly, according to the time sequence number of this data packet, it determines whether this data packet is a re-packet; finally, the receiver sends a response signal to inform the sender of the situation of receiving the wireless information. If the sender does not receive a response signal within a certain period (which can be set according to the specific environment) after sending the data, the data packet will be retransmitted (the number of retransmissions can be set according to the specific environment).

[0091] Relay forwarding mechanism: It is used to increase the communication range. Each wireless terminal has this function and can configure the addresses of specific wireless terminal devices that need to be relayed, the uplink and downlink modes, etc.; For a wireless terminal with the relay function enabled, when receiving a wireless data packet in the air, according to the destination address in the data packet, it determines whether this data packet is a data packet sent to this device or a data packet that needs to be relayed. If it is a data packet sent to the local device, it enters the normal data parsing process. If it is a data packet that needs to be relayed, a relay flag is added to the data packet and it enters the sending process to wirelessly send this relayed data packet.

[0092] Thus, through the design and configuration of the host key and device key, as well as the communication and verification means between the two, the present invention solves the problems brought about by the application of Internet of Things technology in the field of smart home, which is usually in a high-density host environment and the smart device models of householders in the same area are the same. The problems are respectively: In the case of a large host density, the means of matching the host network information for operation and network access is to match one by one, resulting in slow network access efficiency; Network access chaos and errors caused by batch installation of smart devices or the same smart device models.

[0093] Such as Figure 2 、 Figure 3 、 Figure 4 and Figure 5 shown:

[0094] The entire smart home system is as Figure 2 shown, and only needs to be connected in the form of MKLan wireless communication between the smart host, the handheld device and the smart terminal device (such as the controlled smart home appliances, etc.);

[0095] The smart host is as Figure 3 shown, including: an embedded processor, a storage unit, a liquid crystal display screen, an MKLan wireless module, and a cloud server;

[0096] Among them, the embedded processor is used to run the host embedded software, and is connected to the MKLan wireless module through the SPI interface, connected to the storage unit through the IIC interface, connected to the liquid crystal display through the HDMI interface, and connected to the cloud server through the WIFI via the wireless wide area network; the liquid crystal display is used to display the human-computer interaction interface of the host embedded software; the MKLan wireless module is used to send and receive wireless MKLan signals.

[0097] The intelligent terminal device is as Figure 4 shown, and includes: a microprocessor, a service module, a storage unit, and an MKLan wireless module.

[0098] The handheld configuration device is as Figure 5 shown: including: a mobile terminal, a microprocessor, a storage unit, and an MKLan wireless module.

[0099] The key point of the present invention in terms of devices is that all adopt MKLan wireless communication, which has the characteristics of strong penetration ability and high transmission stability, and can meet the conditions for stably controlling smart home devices in complex building structures.

[0100] The smart home control interface of a specific embodiment provided by the present invention is as Figure 6 shown.

[0101] The above has given a very detailed application description of one or more embodiments of the present invention, but the content described is only a specific example of the present invention and cannot be considered as defining the scope of implementation of the present invention. Any other methods and changes proposed based on the content of the present invention shall fall within the scope of patent protection of the present invention.

Claims

1. An intelligent system network access configuration method based on MKLan, characterized in that, Including: The handheld configuration device configures a host key according to the characteristics of the input intelligent host, and the host key is sent to the intelligent host for storage; The handheld configuration device also configures a device key according to the characteristic information of the input intelligent terminal device, and the device key is sent to the intelligent terminal device for storage; The intelligent terminal device sends an access request to the intelligent host according to the stored key information. The intelligent host extracts some information in the access request and performs a region match with the host key information. If the match is successful, the intelligent terminal device information and the automatically assigned intelligent terminal device information type and attributes in the access request are stored. The intelligent host also sends an access response containing the host key information to the intelligent terminal device; The intelligent terminal device receives the access response, extracts the host key in the access response signal, and performs a region match with the device key. If the match is successful, the intelligent terminal device stores the host device information.

2. The intelligent system network access configuration method based on MKLan according to claim 1, wherein The specific configuration method of the host key is as follows: Input the characteristic information of the intelligent host in the handheld configuration device; The characteristic information of the intelligent host includes: host device location information and host device information; the host device location information includes: the building where the host device is installed, the unit where the host device is installed, and the house number where the host device is installed; the host device information includes: the wireless communication address of the host device, the host device channel, and the host device token number; Configure the host key, and the rules are as follows: The building where the host device is installed is represented by 8-bit binary, and the range is 1 to 256; The unit where the host device is installed is represented by 3-bit binary, and the range is 1 to 8; The house number where the host device is installed is represented by 7-bit binary, and the range is 1 to 128; The wireless communication address of the host device is represented by 32-bit binary, and the range is 1 to 4294967296; The host device channel is represented by 4-bit binary, and the range is 1 - 16; The host device token number is represented by 8-bit binary, and the range is 1 to 256; The 62-bit binary host key is formed in the above order.

3. A method for configuring network access of an intelligent system based on MKLan according to claim 1, characterized in that, The specific configuration method of the device key is as follows: Input the characteristic information of the intelligent terminal device in the handheld configuration device; The characteristic information of the intelligent terminal device includes: intelligent terminal device location information and intelligent terminal device information; the intelligent terminal device location information includes: the building where the intelligent terminal device is installed, the unit where the intelligent terminal device is installed, and the house number where the intelligent terminal device is installed; the intelligent terminal device information includes: the wireless communication address of the intelligent terminal device, the intelligent terminal device channel, and the intelligent terminal device number; Configure the device key, and the rules are as follows: The building where the intelligent terminal device is installed is represented by 8-bit binary, and the range is 1 to 256; The unit where the intelligent terminal device is installed is represented by 3-bit binary, and the range is 1 to 8; The house number where the intelligent terminal device is installed is represented by 7-bit binary, and the range is 1 to 128; The wireless communication address of the intelligent terminal device is represented by 32-bit binary, and the range is 1 to 4294967296; The intelligent terminal device channel is represented by 4-bit binary, and the range is 1 - 16; The intelligent terminal device number is represented by 8-bit binary, and the range is 1 to 256; Form a 62-bit binary device key in the above order.

4. A method for configuring network access of an intelligent system based on MKLan according to claim 1, characterized in that, The specific method for performing area matching with the host key information is as follows: Mask the host device wireless communication address and the smart terminal device wireless communication address in the host key, and only match the building where the host device is installed, the unit where the host device is installed, the house number where the host device is installed, the host device channel, the building where the smart terminal device is installed, the unit where the smart terminal device is installed, the house number where the smart terminal device is installed, and the smart terminal device channel, that is, only match the first 18 bits and the last 4 bits of binary data in the host key and the device key; After successful matching, the host device stores the smart terminal device wireless communication address, the smart terminal device channel, the smart terminal device number, and the smart terminal device firmware version in the device key; The host device automatically assigns the smart terminal device type and attributes in a preset script manner according to the smart terminal device network access order.

5. The intelligent system network access configuration method based on MKLan according to claim 1, wherein The specific method for performing area matching with the device key information is as follows: Match the first 18 bits of the host key with the first 18 bits of the device key, extract the host device communication address and the host device order number included in the host key information in the response signal, and match them with the smart terminal device wireless communication address and the smart terminal device number stored locally in the smart terminal device. After all matches are successful, the smart terminal device stores the host device wireless communication address, the host device channel, the host device order number, and the intelligent host firmware version information included in the host key.

6. The intelligent system network access configuration method based on MKLan according to claim 1, characterized in that, The information interaction between the handheld configuration device, the smart terminal device, and the smart host is all wirelessly transmitted, and the wireless transmission uses the MKLan wireless method.

7. A method for configuring the access of an intelligent system based on MKLan according to claim 6, characterized in that, The MKLan wireless method includes: an air monitoring mechanism, data whitening coding, a forward error correction mechanism, wireless communication data packet format setting, a mechanism for improving communication success rate, and a designed relay forwarding mechanism.

8. An intelligent system network access configuration system based on MKLan, characterized in that, The system is used to implement the method described in any one of claims 1 to 7; The system includes: a handheld configuration device, a smart host, and a smart terminal device; The handheld configuration device, the smart host, and the smart terminal device all perform wireless communication through the MKLan wireless module.

9. The intelligent system network access configuration system based on MKLan according to claim 8, characterized in that The handheld configuration device and the smart terminal device each have at least one microprocessor, one MKLan wireless module, and one storage unit. The handheld configuration device further includes at least one mobile terminal, and the smart terminal device further includes at least one service module; The microprocessor uses STM32F031. The microprocessor is connected to the MKLan wireless module through the SPI interface, and the microprocessor is connected to the storage unit through the IIC interface; In the smart terminal device, the microprocessor is connected to the service module in an IO port direct drive manner; In the handheld configuration device, the microprocessor is connected to the mobile terminal through the Type C interface; The storage unit in the handheld configuration device is used to store the handheld configuration device information and the handheld configuration device embedded software program, and the handheld configuration device embedded software program runs on the microprocessor in the handheld configuration device; The storage unit in the intelligent terminal device is used to store the intelligent terminal device key, intelligent terminal device information, and the intelligent terminal device embedded software program, and the intelligent terminal device embedded software program runs on the microprocessor in the intelligent terminal device; The service module is used to control specific household appliances.

10. An intelligent system network access configuration system based on MKLan according to claim 8, characterized in that, The intelligent host includes: an embedded processor, a storage unit, a liquid crystal display, an MKLan wireless module, and a cloud server; The embedded processor is used to run the host embedded software, connect to the MKLan wireless module through the SPI interface, connect to the storage unit through the IIC interface, connect to the liquid crystal display through the MIPI interface, and connect to the cloud server through the WIFI via the wireless wide area network; The liquid crystal display is used to display the human-computer interaction interface of the host embedded software; The MKLan wireless module is used to send and receive wireless MKLan signals; The storage unit is used to store the host key, host device information, and the embedded software program; The cloud server provides an interface to facilitate remote access of users to the smart home system.