Method and system for realizing bus protocol configuration for intelligent terminal panel
The bus protocol configuration method for smart terminal panels addresses communication issues by automating protocol configuration, reducing labor and storage costs, and enhancing integration efficiency.
Patent Information
- Application Number
- CN202310741379.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2024-12-24
AI Technical Summary
Existing smart home systems face communication challenges due to different communication protocols used by devices from various manufacturers, leading to increased workload and integration costs for panel manufacturers.
A method and system for bus protocol configuration that allows a host computer to automatically configure intelligent terminal panels using benchmark protocols, enabling connection via wired or wireless means, and includes modules for data communication, processing, and bus communication to streamline the process.
Reduces labor costs and storage pressure for manufacturers by allowing efficient configuration of smart terminal panels with required functions and protocols, thereby simplifying integration and reducing warehousing needs.
Smart Images

Figure CN119182657A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart homes, and in particular to the field of smart terminal panels, and specifically refers to a method and system for implementing bus protocol configuration for smart terminal panels. Background Art
[0002] As users' demands for living environment continue to increase, more and more families choose to install smart home systems. Wired smart home has always attracted much attention as the most stable smart home solution, but smart devices need to communicate and cooperate with each other to complete various tasks. However, devices from different manufacturers generally use different communication protocols. Even different models of the same device from the same manufacturer may adopt different protocol formats. This inevitably brings certain communication problems. The existing solutions require panel manufacturers to develop terminal panel products that integrate different protocols according to the equipment of different equipment manufacturers, which increases the workload and integration costs of manufacturers. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method and system for realizing bus protocol configuration for intelligent terminal panels which has low labor cost, small storage pressure and a wide range of applications.
[0004] In order to achieve the above objectives, the method and system for implementing bus protocol configuration for intelligent terminal panels of the present invention are as follows: The method for implementing bus protocol configuration for an intelligent terminal panel is mainly characterized in that the method comprises the following steps: (1) Establish a connection between the host computer and the terminal smart panel. The host computer automatically puts the terminal smart panel into configuration mode and waits for relevant configuration; (2) The host computer configures the functions of the smart panel according to actual usage requirements, and the host computer configures the required functions into the smart panel through the benchmark protocol; (3) Configure the messages used for specific functions, and the host computer transmits the user's target message to the terminal smart panel through the benchmark protocol; (4) The host computer automatically controls the smart panel to exit the configuration mode. The smart panel automatically runs according to the state after the configuration is completed. The host computer will automatically save the current configuration file and generate a configuration library.
[0005] Preferably, the connection in step (1) can be selectively established by wired means or wireless means; the wired means can be selectively RS485 or CAN bus, and the wireless means can be selectively Bluetooth or Wifi; the host computer can be selectively a PC, a mobile phone or a tablet computer.
[0006] Preferably, the function of step (2) can be selectively to adjust a certain parameter and configure the relevant display interface through a long or short press of a button or a power on / off action.
[0007] Preferably, the specific functions of step (3) include relevant configuration of the specific status query message, control message, message sending cycle or interval of the function.
[0008] The main feature of the system for implementing the bus protocol configuration for the intelligent terminal panel for implementing the above method is that the system includes an intelligent panel and a host computer, and the intelligent panel includes: A data communication module is connected to the host computer. The data communication module can be selectively a Bluetooth communication module, which is connected to the host computer via Bluetooth; A data processing module, connected to the data communication module, for performing data processing through the transmitted information; The display and key module is connected to the data processing module and is used for the smart panel to automatically display relevant parameters and corresponding key actions according to the configuration requirements after the protocol and function configuration; The bus communication module is connected to the data processing module and is used to send the configured corresponding message to the device through the bus.
[0009] Preferably, the host computer includes a processor and a data communication module, the processor and the data communication module are connected, and the data communication module is connected to the data communication module of the smart panel; the host computer obtains relevant configuration data from the processor and sends it to the smart panel for relevant configuration. The method and system of the present invention for realizing bus protocol configuration for intelligent terminal panels involve products such as fresh air switches, thermostats and bus switches. The above products can be configured with the functions and protocols required by the target through this method, thereby reducing the manufacturer's labor costs and warehousing pressure. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 The present invention is a device block diagram of an embodiment of a method for implementing bus protocol configuration for an intelligent terminal panel.
[0011] Figure 2 The present invention is a flow chart of a method for implementing bus protocol configuration for an intelligent terminal panel.
[0012] Figure 3 It is a schematic diagram of an embodiment of a system for implementing bus protocol configuration for an intelligent terminal panel according to the present invention. Implementation
[0013] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.
[0014] The method for implementing bus protocol configuration for the intelligent terminal panel of the present invention comprises the following steps: (1) Establish a connection between the host computer and the terminal smart panel. The host computer automatically puts the terminal smart panel into configuration mode and waits for relevant configuration; (2) The host computer configures the functions of the smart panel according to actual usage requirements, and the host computer configures the required functions into the smart panel through the benchmark protocol; (3) Configure the messages used for specific functions, and the host computer transmits the user's target message to the terminal smart panel through the benchmark protocol; (4) The host computer automatically controls the smart panel to exit the configuration mode. The smart panel automatically runs according to the state after the configuration is completed. The host computer will automatically save the current configuration file and generate a configuration library.
[0015] As a preferred embodiment of the present invention, the connection in step (1) can be selectively established by wired means or wireless means; the wired means can be selectively RS485 or CAN bus, and the wireless means can be selectively Bluetooth or Wifi; the host computer can be selectively a PC, a mobile phone or a tablet computer.
[0016] As a preferred embodiment of the present invention, the function of step (2) can be selectively to adjust a certain parameter and configure the relevant display interface through a long or short press of a button or a power on / off action.
[0017] As a preferred implementation mode of the present invention, the specific functions of step (3) include the relevant configuration of the specific status query message, control message, message sending cycle or interval of the function.
[0018] The system for implementing the above method to realize bus protocol configuration for the intelligent terminal panel, wherein the system includes an intelligent panel and a host computer, and the intelligent panel includes: A data communication module is connected to the host computer. The data communication module can be selectively a Bluetooth communication module, which is connected to the host computer via Bluetooth; A data processing module, connected to the data communication module, for performing data processing through the transmitted information; The display and key module is connected to the data processing module and is used for the smart panel to automatically display relevant parameters and corresponding key actions according to the configuration requirements after the protocol and function configuration; The bus communication module is connected to the data processing module and is used to send the configured corresponding message to the device through the bus.
[0019] As a preferred embodiment of the present invention, the host computer includes a processor and a data communication module, the processor and the data communication module are connected, and the data communication module is connected to the data communication module of the smart panel; the host computer obtains relevant configuration data from the processor and sends it to the smart panel for relevant configuration. In a specific embodiment of the present invention, Figure 2 As shown, a bus protocol configuration method of the present invention comprises the following specific steps: Step 1: Establish a connection with the smart panel. The user establishes a connection between the host computer and the smart terminal panel and puts the smart terminal panel into configuration mode, waiting for relevant configuration. The connection can be established through wired methods such as RS485, CAN bus, etc., or better, through wireless methods such as Bluetooth, Wifi, etc. The host computer is a PC; the better host computer can be a mobile phone, tablet computer and other devices; Step 2: Send function configuration to the smart panel: After the effective connection is established, the user configures the function of the panel through the host computer according to the actual use requirements. The host computer will configure the required functions of the panel into the panel through the reference protocol; the function can be a long and short press action of a button, a power on and off action, and adjustment of a certain parameter; Step 3: Send message configuration to the smart panel: After the user completes the function configuration, the user can configure the message used for the specific function. The host computer transmits the user's target message to the smart terminal panel through the benchmark protocol, including the specific status query message of the function, control message, message sending cycle, interval, etc. Step 4: Complete the configuration and upload related parameters: After completing the function configuration and message configuration, the host computer automatically controls the panel to exit the configuration mode, and the panel automatically runs according to the state after the configuration is completed. At the same time, the host computer will automatically save the current configuration file and generate a configuration library.
[0020] A specific embodiment of the present invention is Figure 3 As shown, a host computer S1 includes a processor S1.1 and a data communication module S1.2, wherein S1.2 may be a Bluetooth communication module connected to the processor S1.1, and may obtain relevant configuration data from the processor and send it to the panel for relevant configuration.
[0021] An intelligent panel S2 includes a data communication module S2.1, a display and button module S2.2, a data processing module S2.3 and a bus communication module S2.4.
[0022] Among them, the data communication module S2.1 can cooperate with the upper computer data communication module S1.2 for the Bluetooth communication module to complete the product's protocol machine function configuration work; S2.2 is a display and button module. After the protocol and function configuration, the smart panel automatically displays relevant parameters and corresponding button actions according to the configuration requirements. Taking the configuration of the fresh air switch as an example, the display screen here can display relevant information such as wind speed, power on / off status, mode, etc. At the same time, the buttons can control the panel's power on / off action, wind speed, mode, etc.; The RS485 bus communication module S2.4 can send the configured corresponding message to the fresh air host to realize the control and status synchronization of the fresh air host.
[0023] The hardware involved in the bus protocol configuration method of the intelligent terminal panel of the present invention is as follows Figure 1 As shown, including: Bus data module: used to send and receive target messages and communicate with smart home devices. This bus can be RS485 bus or CAN bus. Protocol configuration module: used to configure the functions of the smart panel, communication parameters and required target messages; Human-computer interaction module: used to complete the human-computer interaction work of the smart panel; Main control module: used to integrate the functions of each module, and the control panel makes corresponding feedback.
[0024] On the other hand, the present invention also provides a bus protocol configuration method, where the smart panel configures the functions and protocols required by the product through a set of reference protocols.
[0025] It mainly includes the following steps: configure the smart terminal panel support functions according to the required functions and configure the smart terminal panel protocol according to the docking product protocol. After the configuration is completed, the database is uploaded and stored in the cloud according to the functional characteristics and protocol characteristics.
[0026] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.
[0027] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.
[0028] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.
[0029] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0030] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0031] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the corresponding program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.
[0032] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0033] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0034] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0035] The method and system of the present invention for realizing bus protocol configuration for intelligent terminal panels involve products such as fresh air switches, thermostats and bus switches. The above products can be configured with the functions and protocols required by the target through this method, thereby reducing the manufacturer's labor costs and warehousing pressure.
[0036] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.
Claims
1. A method for implementing bus protocol configuration for an intelligent terminal panel, characterized in that: The method comprises the following steps: (1) Establish a connection between the host computer and the terminal smart panel. The host computer automatically puts the terminal smart panel into configuration mode and waits for relevant configuration; (2) The host computer configures the functions of the smart panel according to actual usage requirements, and the host computer configures the required functions into the smart panel through the benchmark protocol; (3) Configure the messages used for specific functions, and the host computer transmits the user's target message to the terminal smart panel through the benchmark protocol; (4) The host computer automatically controls the smart panel to exit the configuration mode. The smart panel automatically runs according to the state after the configuration is completed. The host computer will automatically save the current configuration file and generate a configuration library.
2. The method for implementing bus protocol configuration for an intelligent terminal panel according to claim 1, characterized in that: The connection in step (1) can be selectively established by wired means or wireless means; the wired means can be selectively RS485 or CAN bus, and the wireless means can be selectively Bluetooth or Wifi; the host computer can be selectively a PC, a mobile phone or a tablet computer.
3. The method for implementing bus protocol configuration for an intelligent terminal panel according to claim 1, characterized in that: The function of step (2) can be optionally to adjust a certain parameter and configure the relevant display interface through a long or short press of a button or a power on / off action.
4. The method for implementing bus protocol configuration for an intelligent terminal panel according to claim 1, characterized in that: The specific functions of step (3) include the relevant configuration of the specific status query message, control message, message sending cycle or interval of the function.
5. A system for implementing bus protocol configuration for an intelligent terminal panel to implement the method of claim 1, characterized in that: The system includes an intelligent panel and a host computer, and the intelligent panel includes: A data communication module is connected to the host computer. The data communication module can be selectively a Bluetooth communication module, which is connected to the host computer via Bluetooth; A data processing module, connected to the data communication module, for performing data processing through the transmitted information; The display and key module is connected to the data processing module and is used for the smart panel to automatically display relevant parameters and corresponding key actions according to the configuration requirements after the protocol and function configuration; The bus communication module is connected to the data processing module and is used to send the configured corresponding message to the device through the bus.
6. The system for implementing bus protocol configuration for intelligent terminal panels according to claim 5, characterized in that: The host computer includes a processor and a data communication module, the processor and the data communication module are connected, and the data communication module is connected to the data communication module of the smart panel; the host computer obtains relevant configuration data from the processor and sends it to the smart panel for relevant configuration.
