A matter-based low-power long-range wireless communication method, system and device
By introducing LoRa terminal devices into the Matter network, the low power consumption and long-range characteristics of LoRa are utilized to solve the communication problem between Matter devices and wide area network devices, realizing low power long-range communication and secure encryption, expanding the coverage area, and making it suitable for scenarios such as smart parks and street light networks.
Patent Information
- Application Number
- CN202311227982.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-21
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2043-09-21
AI Technical Summary
In existing technologies, there is a lack of effective methods for long-distance communication and interconnection between Matter devices and WAN devices, and cloud platform solutions have issues with data transmission latency, security, and privacy. NAT traversal solutions require technical knowledge and increase security risks.
By supporting Matter and LoRa through the gateway, LoRa terminal devices can access the Matter network. Leveraging LoRa's low power consumption and long-range characteristics, combined with AES or DES encryption algorithms, data interoperability between LoRaWAN and LoRa self-organizing network devices can be achieved, enhancing device interoperability and coverage.
It enables low-power, long-distance communication between Matter devices and WAN devices, expanding coverage, enhancing device interoperability and security, and is suitable for scenarios such as smart parks and smart streetlights.
Smart Images

Figure CN117278985B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of wireless communication, and particularly relates to a low-power long-distance wireless communication method, system and device based on Matter. BACKGROUND
[0002] The key technology of the Internet of Things is connection and transmission. With the development of the Internet of Things technology, a large number of communication technologies have emerged. These communication technologies promote the application of the Internet of Things technology in various industries, but at the same time, they also bring about the diversity of device communication methods and the complexity of communication technologies, increasing the difficulty of interconnection between devices. How to integrate multiple communication technologies to realize the interconnection between devices has become a technical problem to be solved in the field of the Internet of Things.
[0003] On the one hand, LoRa (Long Range Radio) technology is becoming mature, and domestic LoRa chips are also rapidly emerging. LoRa has been widely used in wide area network communication due to its low power consumption and long transmission distance. On the other hand, the Connectivity Standards Alliance (CSA) released the Matter 1.0 standard in October 2022. After a year of development, the CSA released Matter 1.1 in May 2023. Matter, as an open-source standard, aims to connect devices from different ecosystems together. Any smart device can use it to create a more seamless smart experience. The emergence of the Matter standard is beneficial to breaking down the barriers between different smart devices, thereby realizing the interconnection between devices. However, it is mainly designed for local area networks. How to solve the problem of interconnection between Matter devices and wide area network devices, and realize long-distance communication, is still lacking an ideal method.
[0004] There are mainly the following solutions: First, register Matter devices on the cloud, use the API, protocol or cloud service provided by the cloud platform to realize communication between Matter devices and wide area network devices. However, this method may cause problems in data transmission delay and availability. In addition, using a cloud platform may involve data privacy and security issues, and the security and compliance of the cloud platform need to be ensured. Second, use network address translation (NAT) penetration technology to expose Matter devices to the public network, so that they can directly communicate with wide area network devices. By configuring network devices and firewall rules, data can be transmitted between public and private networks. However, NAT penetration may involve network settings and firewall rule adjustments, which require certain technical knowledge and operational capabilities. In addition, opening the public network access of the device may increase the security risk. Therefore, a method is needed to solve the use demand of Matter device remote or cross-network communication. SUMMARY
[0005] The present application aims to overcome the defects of the prior art and provides a low-power long-distance wireless communication method, system and device based on Matter, which realizes the interconnection of Matter devices and wide area network devices, and enhances the interoperability, device communication range and coverage of Internet of Things devices.
[0006] The object of the present application can be achieved by the following technical solutions:
[0007] The present application provides a low-power long-distance wireless communication method based on Matter, comprising the following steps:
[0008] Gateway configuration is performed, and the gateway supports Matter and LoRa;
[0009] Matter terminal devices are connected to the Matter network;
[0010] LoRa terminal devices are connected to the Matter network through the gateway, and the data of LoRa terminal devices and the data of Matter terminal devices are interconnected.
[0011] Further, the LoRa terminal device includes LoRaWAN devices and LoRa ad hoc network devices, and data is transmitted to LoRaWAN and LoRa ad hoc network, respectively.
[0012] Further, the LoRa ad hoc network is compatible with LoRaWAN.
[0013] Further, connecting the LoRa terminal device to the Matter network comprises the following steps:
[0014] Determine whether the access device is a LoRaWAN device, if yes, obtain the LoRaWAN device through BLE or LoRa, and update the LoRaWAN device list; if not, the access device is a LoRa ad hoc network device, receive the network access request periodically sent by the LoRa ad hoc network device, and allocate a unique ID for the LoRa ad hoc network device;
[0015] After the gateway obtains the LoRaWAN device list or the network access request of the LoRa ad hoc network device, the LoRa terminal device is connected to the Matter network.
[0016] Further, the data of the LoRa terminal device and the data of the Matter terminal device are interconnected, comprising the following steps:
[0017] 1) Determine whether it is data sent by a Matter terminal device, if yes, perform data analysis and go to step 2), if not, it is data sent by a LoRa terminal device, and go to step 4);
[0018] 2) judging whether the target device of data transmission is a Matter terminal device, if yes, transmitting to the monitoring center; if no, the target device of transmission is a LoRa terminal device, entering step 3);
[0019] 3) judging whether the received data needs relay transmission, if yes, adding the data frame to the relay information and performing relay transmission through LoRa; if no, converting the data frame and sending to the target device to realize data interaction;
[0020] 4) judging whether the data type belongs to LoRaWAN device data or LoRa ad hoc network device data, respectively performing pre-data processing and entering step 3).
[0021] Further, the relay information includes a relay path and a target address.
[0022] Further, when the Matter terminal device accesses the Matter network, authentication is performed through DCL.
[0023] Further, when the LoRa terminal device accesses the Matter network, encryption is performed through an AES algorithm or a DES algorithm.
[0024] The application also provides a low-power long-distance wireless communication system based on Matter, comprising a Matter subsystem, a LoRa subsystem, a gateway and a micro control unit,
[0025] The Matter subsystem is used for receiving and transmitting data of a Matter terminal device, and the Matter terminal device accesses a Matter network through the Matter subsystem;
[0026] The LoRa subsystem is used for receiving and transmitting data of a LoRa terminal device;
[0027] The gateway supports Matter and LoRa, and is used for connecting the LoRa terminal device to the Matter network, so that data of the LoRa terminal device and data of the Matter terminal device can be communicated with each other;
[0028] The micro control unit is connected with the Matter subsystem and the LoRa subsystem respectively, and is used for processing data of the Matter terminal device and data of the LoRa terminal device.
[0029] The application also provides a low-power long-distance wireless communication device based on Matter, comprising a memory, a processor and a program stored in the memory, and the processor implements the above method when executing the program.
[0030] Compared with the prior art, the application has the following beneficial effects:
[0031] 1. This invention connects LoRa terminal devices to the Matter network via a gateway that supports both Matter and LoRa, enabling data exchange between LoRa and Matter terminal devices. It allows control of LoRa terminal devices from the Matter terminal device side. Furthermore, the low power consumption and long communication distance of LoRa extend the coverage of Matter, allowing more smart devices to access the Matter network, making Matter applications more flexible, and enhancing interoperability between smart devices on different networks.
[0032] 2. In this invention, the LoRa terminal device includes a LoRaWAN device and a LoRa self-organizing network device, which transmit data to the LoRaWAN and the LoRa self-organizing network respectively. Compared with the standard networking method LoRaWAN, the LoRa self-organizing network does not rely on base stations and is more flexible in application. The LoRa self-organizing network is designed to be compatible with the official LoRaWAN, so that traditional LoRaWAN nodes and self-organizing network nodes can directly access the LoRa network.
[0033] 3. This invention can achieve data transmission relay through LoRa, thus enabling interconnection and interoperability between long-distance LAN devices for two different Matter networks, further expanding the communication range.
[0034] 4. In this invention, Matter terminal devices are authenticated through DCL based on blockchain technology when accessing the Matter network, and LoRa terminal devices are encrypted through AES or DES algorithms when accessing the LoRa network, which can ensure the security of device connection and data transmission. Attached Figure Description
[0035] Figure 1 This is a system architecture diagram of the present invention;
[0036] Figure 2 This is a schematic diagram of the hardware system of the present invention;
[0037] Figure 3 This is a schematic diagram of the network access process of the present invention;
[0038] Figure 4 This is a schematic diagram of the data interaction process of the present invention. Detailed Implementation
[0039] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. These embodiments are based on the technical solution of the present invention and provide detailed implementation methods and specific operating procedures. However, the scope of protection of the present invention is not limited to the following embodiments.
[0040] Example 1
[0041] The embodiment provides a low-power long-distance wireless communication method based on Matter, comprising the following steps:
[0042] Gateway configuration is performed, and the gateway supports Matter and LoRa;
[0043] Matter terminal equipment is connected to a Matter network;
[0044] LoRa terminal equipment is connected to a LoRa network;
[0045] The LoRa network and the Matter network are connected through the gateway, so that data of the LoRa terminal equipment and data of the Matter terminal equipment are interchanged.
[0046] The LoRa network comprises a LoRaWAN and a LoRa ad hoc network, and data of a LoRaWAN device and data of a LoRa ad hoc network device are received, respectively. The embodiment can realize autonomous analysis of LoRaWAN data and LoRa ad hoc network data, and can automatically identify whether the data is LoRaWAN data or ad hoc network data when receiving LoRa data. Compared with the official networking method LoRaWAN, the LoRa ad hoc network is more flexible and does not need to depend on a base station. When designing the LoRa ad hoc network, the official LoRaWAN is compatible, so that the traditional LoRaWAN node and the ad hoc network node can be directly connected to the system.
[0047] Preferably, when the Matter terminal equipment is connected to the Matter network, authentication is performed through DCL; and when the LoRa terminal equipment is connected to the LoRa network, encryption is performed through an AES algorithm or a DES algorithm. Through the fusion of the security mechanisms of the two, the security of device connection and transmission can be greatly improved.
[0048] Specifically, the connection of the LoRa network and the Matter network comprises the following steps, as shown in Figure 3
[0049] S101, installing a gateway supporting Matter and LoRa designed by the embodiment, and initializing a network;
[0050] S102, configuring Matter terminal equipment to access a Matter network;
[0051] S103, configuring LoRa terminal equipment to access a LoRa network;
[0052] S104, judging whether the LoRa terminal device is a LoRaWAN device, if yes, acquiring the LoRaWAN device through BLE or LoRa, updating the LoRaWAN device list; if no, it is a LoRa ad hoc network device, waiting for the LoRa ad hoc network device to be powered on, periodically sending a network access request, and after the gateway receives the network access request, assigning a unique ID to the LoRa ad hoc network device for subsequent device management;
[0053] S105, after the gateway acquires the LoRaWAN device list or the LoRa ad hoc network device network access request, the connection between the LoRa network and the Matter network is established through multiple data interactions (parameter transmission), realizing the access of the LoRa terminal device to the Matter network.
[0054] Through the established network connection, the data interaction between the LoRa terminal device and the Matter terminal device can be realized. After the gateway receives the data of the Matter terminal device, the message is preprocessed, converted into data recognizable by LoRa, and then sent to the LoRa terminal device. In this way, the LoRa terminal device can be controlled on the Matter terminal device side, and the coverage of Matter is further expanded through the characteristics of low power consumption and long communication distance of LoRa. In particular in the scenarios of smart park and smart street lamp, the application range of Matter network is wider, more smart devices can be connected to the Matter network, making the application scenarios of Matter more flexible, and enhancing the interoperability between smart devices in different networks.
[0055] In addition, in the Matter standard protocol, the system can only perform network configuration through BLE. Through data processing and protocol conversion, the information required by the Matter network, such as secret keys, can be sent to the terminal by LoRa, so that the device can be accessed remotely.
[0056] In a preferred embodiment, the present application can realize the relay function through LoRa in the gateway. The gateway can transmit the data in the Matter network received by the gateway through LoRa in the gateway. After the relay gateway receives the data, it decides the direction of the next transmission according to the protocol field, so as to realize multiple relays, thereby greatly expanding the coverage of Matter, so that Matter technology can be applied in street lamp network, village lamp network and other scenarios.
[0057] The specific process is as shown in Figure 4 The specific process is as shown in
[0058] S201, judging whether it is data sent by a standard Matter terminal device, if yes, entering step S202, if no, it is data sent by a LoRa terminal device, entering step S204;
[0059] S202, data analysis is performed to determine whether the target device of data transmission is a Matter terminal device, if yes, transmission to the monitoring center; if not, the target device of transmission is a LoRa terminal device, step S203 is entered;
[0060] S203, it is determined whether the received data needs relay transmission, if yes, the data frame is added to the relay information and relay transmission is performed through LoRa; if not, the data frame is converted and the data is sent to the target device to realize data interaction;
[0061] S204, it is determined whether the data type belongs to standard LoRaWAN device data or LoRa ad hoc network device data, and pre-data processing is performed respectively, step S203 is entered.
[0062] Embodiment 2
[0063] The embodiment provides a low-power long-distance wireless communication system based on Matter, which comprises a Matter subsystem, a LoRa subsystem, a gateway and a micro control unit,
[0064] The Matter subsystem is used for transmitting and receiving data of a Matter terminal device, and the Matter terminal device accesses a Matter network through the Matter subsystem;
[0065] The LoRa subsystem is used for transmitting and receiving data of a LoRa terminal device;
[0066] The gateway supports Matter and LoRa, and is used for connecting the LoRa terminal device to the Matter network, so that the data of the LoRa terminal device and the data of the Matter terminal device can be communicated with each other;
[0067] The micro control unit is connected with the Matter subsystem and the LoRa subsystem respectively, and is used for processing data of the Matter terminal device and the LoRa terminal device
[0068] As shown in a system software architecture diagram, Figure 1 The system comprises a data link layer, a network layer, a service layer and an application layer, wherein the data link layer is used for collecting data of physical devices, the network layer is used for transmitting the data collected by the data link layer to the service layer, and is also responsible for transmitting the command issued by the service layer to the application layer, the service layer is used for processing and managing data, and the application layer provides control services of intelligent devices for users by using the analyzed and processed data.
[0069] Specifically, the data link layer of the bottom layer supports the Matter protocol stack, that is, supports Wi-Fi, Ethernet and Thread, and standard Matter devices can access the Matter network in the network layer through the design to realize the steps of scanning, establishing an encrypted channel, pairing, authentication and the like required for the onboarding of Matter devices. For LoRaWAN devices, the design first acquires terminal devices that need to join the Matter network through BLE or LoRa, and then updates the LoRaWAN device list to add the LoRaWAN terminal device to the Matter network; for LoRa ad hoc network devices, the terminal device periodically sends an onboarding request after power-on, and the gateway establishes its connection with the Matter network through multiple data interactions (parameter transmission) after receiving the onboarding request, and allocates a unique ID for it.
[0070] The LoRa terminal device interacts with the Matter network through the gateway of the application. After receiving data in the Matter network, the gateway converts the data into LoRa recognizable data after message preprocessing, and then sends the data to the LoRa terminal through the LoRa module of the gateway.
[0071] As shown in the hardware system, Figure 2 The system includes a power management module, a Matter subsystem, a LoRa subsystem and a micro control module. The Matter subsystem supports all Matter communication methods (Wi-Fi, Ethernet and Thread) in the link layer, and standard Matter devices can access the Matter network through the hardware to realize device control and management. The LoRa subsystem includes two LoRa modules, LoRa1 and LoRa2, one for receiving data and the other for sending data, and both support LoRaWAN and ad hoc LoRa (LoRaWAN is an official networking method, and ad hoc networking is a networking method designed in this embodiment, which is more flexible than the former). RF1 and RF2 are the antennas of LoRa1 and LoRa2, respectively, responsible for the transmission and reception of radio frequency signals. The micro control module MCU is used to process the data of the Matter subsystem and the LoRa subsystem, and to realize the communication between the LoRa network and the standard Matter devices in the Matter network. In addition, the system also supports 4G / 5G, BLE, RS232 and RS485 communication methods, so as to extend other communication type devices to access the network and promote the interconnection and intercommunication between devices of different communication methods.
[0072] The foregoing description of the embodiments has been presented for the purpose of illustration and description. It is not intended to be exhaustive or to limit the application to the precise form disclosed. Modifications and variations are possible in light of the above teachings or can be acquired from practice of the application. As well, the description is presented in the context of the preferred embodiments as a number of alternatives. It is not intended to limit the application to the precise form described.
Claims
1. A low-power, long-range wireless communication method based on Matter, characterized in that, Includes the following steps: Configure the gateway, which supports Matter and LoRa; Connect Matter terminal devices to the Matter network; The gateway connects the LoRa terminal device to the Matter network, enabling data exchange between the LoRa terminal device and the Matter terminal device. The data exchange between the LoRa terminal device and the Matter terminal device includes the following steps: 1) Determine if the data is from a Matter terminal device. If yes, perform data parsing and proceed to step 2). If no, the data is from a LoRa terminal device and proceed to step 4). 2) Determine whether the target device for data transmission is a Matter terminal device. If yes, transmit to the monitoring center; otherwise, the target device is a LoRa terminal device, proceed to step 3). 3) Determine whether the received data needs to be relayed. If so, add relay information to the data frame and relay it via LoRa. If not, convert the data frame and send it to the target device to achieve data interaction. 4) Determine whether the data type belongs to LoRaWAN device data or LoRa self-organizing network device data, perform pre-data processing accordingly, and proceed to step 3). The relay information includes the relay path and the destination address.
2. The low-power long-range wireless communication method based on Matter according to claim 1, characterized in that, The LoRa terminal device includes a LoRaWAN device and a LoRa self-organizing network device, which transmit data to the LoRaWAN and LoRa self-organizing network respectively.
3. The low-power long-range wireless communication method based on Matter according to claim 2, characterized in that, The LoRa self-organizing network is compatible with LoRaWAN.
4. The low-power long-range wireless communication method based on Matter according to claim 2, characterized in that, LoRa terminal devices accessing the Matter network include the following steps: Determine if the access device is a LoRaWAN device. If so, obtain the LoRaWAN device information via BLE or LoRa and update the LoRaWAN device list. If not, the access device is a LoRa self-organizing network device. Receive network access requests periodically sent by the LoRa self-organizing network device and assign a unique ID to the LoRa self-organizing network device. After obtaining the LoRaWAN device list or the LoRa self-organizing network device network access request, the gateway connects the LoRa terminal device to the Matter network.
5. A low-power long-range wireless communication method based on Matter according to claim 1, characterized in that, When the Matter terminal device accesses the Matter network, it is authenticated through DCL.
6. The low-power long-range wireless communication method based on Matter according to claim 1, characterized in that, When the LoRa terminal device accesses the Matter network, it is encrypted using either the AES or DES algorithm.
7. A low-power, long-range wireless communication system based on Matter, characterized in that, The system operates according to the method described in any one of claims 1-6, and includes a Matter subsystem, a LoRa subsystem, a gateway, and a microcontroller unit. The Matter subsystem is used to send and receive data from Matter terminal devices, which access the Matter network through the Matter subsystem. The LoRa subsystem is used to transmit and receive data from LoRa terminal devices; The gateway supports Matter and LoRa, and is used to connect LoRa terminal devices to the Matter network, enabling data exchange between LoRa terminal devices and Matter terminal devices. The microcontroller unit is connected to the Matter subsystem and the LoRa subsystem respectively, and is used to process data from the Matter terminal device and the LoRa terminal device.
8. A low-power, long-range wireless communication device based on Matter, characterized in that, The method includes a memory, a processor, and a program stored in the memory, characterized in that the processor executes the program to implement the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Equipment control method, intelligent gateway, electronic equipment and storage medium
CN116192978A