Search

CN-121985014-A - Dynamic multi-protocol gateway system and method with end cloud cooperation

CN121985014ACN 121985014 ACN121985014 ACN 121985014ACN-121985014-A

Abstract

The application relates to a dynamic multi-protocol gateway system and a method for end cloud cooperation, wherein the system comprises a cloud module and a local gateway module, the cloud module is used for analyzing received user intention instructions to generate equipment control instructions corresponding to the user intention instructions, and the local gateway module is used for transparently transmitting the equipment control instructions issued by the cloud module to Internet of things equipment or transparently transmitting equipment state information uploaded by the Internet of things equipment to the cloud module. According to the method and the device, the purpose that the cloud end completes command analysis, protocol selection and final command assembly in a unified mode is achieved, and the local gateway is only used as a transparent transmission execution layer, so that the efficiency of dynamic multi-communication protocol control of the Internet of things equipment is improved, and the problem of how to improve the communication efficiency of the Internet of things equipment in a multi-protocol communication scene is solved.

Inventors

  • WANG HAO
  • KANG HAIYANG
  • LIU ZONGRU
  • LI ZHIWEI

Assignees

  • 杭州博联智能科技股份有限公司

Dates

Publication Date
20260505
Application Date
20251225

Claims (10)

  1. 1. The dynamic multi-protocol gateway system with the end cloud cooperation is characterized by comprising a cloud module and a local gateway module; The cloud module is used for analyzing the received user intention command to generate a device control command corresponding to the user intention command; the local gateway module is used for transparently transmitting the equipment control instruction issued by the cloud module to the Internet of things equipment or transparently transmitting the equipment state information uploaded by the Internet of things equipment to the cloud module.
  2. 2. The system of claim 1, wherein the cloud module comprises an parsing sub-module, a matching sub-module, and a generating sub-module; The analysis submodule is used for receiving the user intention instruction and analyzing the equipment type information and the control action information of the Internet of things equipment from the user intention instruction; The matching submodule is used for matching the equipment capability information of the Internet of things equipment from an equipment capability model library according to the equipment type information; The generation sub-module is used for generating a device control instruction corresponding to the user intention instruction according to the control action information and the device capability information.
  3. 3. The system of claim 2, wherein the device type information is device two-dimensional code information; and the matching submodule is used for matching the equipment capability information of the Internet of things equipment from an equipment capability model library according to the equipment two-dimensional code information, wherein the equipment capability information comprises communication protocol capability and equipment controllable parameters.
  4. 4. The system of claim 3, wherein the generation sub-module is configured to generate a control action instruction corresponding to the user intent instruction based on the control action information, the communication protocol capability, and the device controllable parameter.
  5. 5. The system of claim 4, wherein the generation sub-module is configured to generate a control action instruction corresponding to the user intent instruction based on the control action information, the communication protocol capability, and the device controllable parameter: If the communication protocol capability of the Internet of things equipment is WiFi communication, a WiFi forwarding head is added in the generated control action instruction, if the communication protocol capability of the Internet of things equipment is Bluetooth communication, a Bluetooth forwarding head is added in the generated control action instruction, and if the communication protocol capability of the Internet of things equipment is infrared communication, the generated control action instruction is mapped into an infrared code and the infrared forwarding head is added.
  6. 6. The system of claim 1, wherein the local gateway module comprises a WiFi communication sub-module, a bluetooth communication sub-module, and an infrared transceiver sub-module; The WiFi communication sub-module is used for executing WiFi communication between the local gateway module and the cloud module, executing WiFi communication between the local gateway module and the Internet of things equipment and supporting TCP protocol, HTTP protocol and MQTT protocol; The Bluetooth communication sub-module is used for executing Bluetooth communication between the local gateway module and the Internet of things equipment and supporting a GATT protocol and a Mesh protocol; The infrared receiving and transmitting sub-module is used for executing infrared communication between the local gateway module and the Internet of things equipment.
  7. 7. The system of claim 1, further comprising an internet of things device comprising a WiFi internet of things device, a bluetooth internet of things device, and an infrared internet of things device.
  8. 8. The system of claim 7, wherein if the internet of things device is a bluetooth internet of things device, the cloud module automatically selects an optimal relay node from the bluetooth internet of things device according to a Mesh topology of the bluetooth internet of things device to broadcast a Mesh data packet, and the local gateway module is only responsible for transparently transmitting an instruction issued by the cloud module and does not participate in calculation.
  9. 9. The system of claim 7, wherein if the internet of things device package is an infrared internet of things device, the local gateway device transparently transmits an infrared waveform returned by the infrared internet of things device to the cloud module, and the cloud module deduces a device state of the infrared internet of things device according to the infrared waveform and sends the device state back to the local gateway device.
  10. 10. A dynamic multi-protocol gateway method of end-cloud collaboration, wherein the execution of the method is based on the system of any of claims 1 to 9, the method comprising: analyzing the received user intention command to generate a device control command corresponding to the user intention command; And the device control instruction issued by the cloud module is transmitted to the Internet of things device in a transparent mode, or the device state information uploaded by the Internet of things device is transmitted to the cloud module in a transparent mode.

Description

Dynamic multi-protocol gateway system and method with end cloud cooperation Technical Field The application relates to the technical field of the Internet of things, in particular to a dynamic multi-protocol gateway system and method for end-cloud cooperation. Background With the rapid popularization of internet of things (IoT) and smart home, various home appliances, sensors and control terminals widely adopt various communication protocols such as Infrared (IR), bluetooth (BLE/BLE Mesh) and Wi-Fi, which causes the following problems in the existing smart home system: 1. protocol cracking is severe and it is difficult to form a unified control link. If the infrared non-feedback state is realized, the Bluetooth distance is short, wiFi is sensitive to power consumption, and different equipment needs different control modes; 2. the traditional gateway needs to locally analyze all protocol instructions, needs to preset a huge instruction set, a drive library and brand model analysis logic, and causes large memory occupation, difficult updating and the like; 3. the multi-protocol state can not be fused, such as one-way IR state, two-way WiFi state and random update of Bluetooth Mesh state, so that the device states are inconsistent. At present, no effective solution is proposed for improving the communication efficiency of the internet of things equipment in a multi-protocol communication scene in the related technology. Disclosure of Invention The embodiment of the application provides a dynamic multi-protocol gateway system and a method for end-cloud cooperation, which at least solve the problem of how to improve the communication efficiency of internet of things equipment in a multi-protocol communication scene in the related technology. In a first aspect, an embodiment of the present application provides a dynamic multi-protocol gateway system with end-cloud collaboration, where the system includes a cloud module and a local gateway module; The cloud module is used for analyzing the received user intention command to generate a device control command corresponding to the user intention command; the local gateway module is used for transparently transmitting the equipment control instruction issued by the cloud module to the Internet of things equipment or transparently transmitting the equipment state information uploaded by the Internet of things equipment to the cloud module. In some embodiments, the cloud module includes an parsing sub-module, a matching sub-module, and a generating sub-module; The analysis submodule is used for receiving the user intention instruction and analyzing the equipment type information and the control action information of the Internet of things equipment from the user intention instruction; The matching submodule is used for matching the equipment capability information of the Internet of things equipment from an equipment capability model library according to the equipment type information; The generation sub-module is used for generating a device control instruction corresponding to the user intention instruction according to the control action information and the device capability information. In some embodiments, the device type information is device two-dimensional code information; and the matching submodule is used for matching the equipment capability information of the Internet of things equipment from an equipment capability model library according to the equipment two-dimensional code information, wherein the equipment capability information comprises communication protocol capability and equipment controllable parameters. In some of these embodiments, the generating sub-module is configured to generate a control action instruction corresponding to the user intention instruction according to the control action information, the communication protocol capability, and the device controllable parameter. In some of these embodiments, the generating sub-module is configured to generate a control action instruction corresponding to the user intention instruction according to the control action information, the communication protocol capability, and the device controllable parameter: If the communication protocol capability of the Internet of things equipment is WiFi communication, a WiFi forwarding head is added in the generated control action instruction, if the communication protocol capability of the Internet of things equipment is Bluetooth communication, a Bluetooth forwarding head is added in the generated control action instruction, and if the communication protocol capability of the Internet of things equipment is infrared communication, the generated control action instruction is mapped into an infrared code and the infrared forwarding head is added. In some embodiments, the local gateway module includes a WiFi communication sub-module, a bluetooth communication sub-module, and an infrared transceiver sub-module; The WiFi communication sub-module is used for exec