Software configuration method and system for smart home control screen
By establishing device connection and configuration main interface on the smart home control screen, and using MAC code verification and decryption processing, the problem of system information configuration of smart home control screen equipment is solved, and multi-device configuration and data security are improved.
Patent Information
- Application Number
- CN202411180212.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-29
AI Technical Summary
Existing software configuration tools are difficult to meet the customized needs of system information for smart home control screen equipment, and multiple online devices cannot be effectively configured.
By establishing a connection relationship between the smart home control screen and multiple online devices, select the device type in the configuration main interface, obtain the MAC code of the device, determine whether it is in the verification table, and if it exists, obtain the configuration information and configure it. Includes decryption and format conversion for easy configuration.
It realizes one-to-many software configuration for online devices of smart home control screens, which is convenient to operate and improves the security of data transmission.
Smart Images

Figure CN119045866A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software configuration, and in particular to a software configuration method and system for a smart home control screen. Background Art
[0002] In the production process, the configuration of device system information is a crucial link. With the customization of device system information, the configuration methods used by ordinary software configuration tools can no longer meet the needs, especially on smart home control screens. Summary of the invention
[0003] In view of this, an object of the present invention is to provide a software configuration method and system for a smart home control screen.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is: A software configuration method for a smart home control screen comprises the following steps: S1. Establishing a connection relationship between the smart home control screen and multiple online devices; S2. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning; S3. After selecting an online device information from all online device information that supports burning, the selected online device information is displayed on the configuration main interface; S4. Obtain the MAC code on the online device corresponding to the selected online device information, and determine whether the MAC code exists in the verification table with the MAC information. If so, obtain the configuration information corresponding to the online device information; S5. Configure the online device corresponding to the online device information according to the configuration information.
[0005] Furthermore, after step S5, the following steps are further included: S6. The online device decodes the received byte stream through base64 to obtain a ciphertext byte stream; decrypts the ciphertext byte stream through AES to obtain a plaintext byte stream; converts the plaintext byte stream into a recognizable coded byte stream in UTF-8 format; and converts the recognizable coded byte stream into a json string object for configuring the online device.
[0006] Furthermore, step S2 is specifically as follows: Log in to the software configuration management platform and enter the configuration main interface. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning.
[0007] Furthermore, the method further includes: importing a verification table with MAC information in the configuration main interface.
[0008] A software configuration system for a smart home control screen includes a processor and a memory, wherein the memory stores a program or an instruction, and when the program or the instruction is executed by the processor, the following steps are implemented: S1. Establishing a connection relationship between the smart home control screen and multiple online devices; S2. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning; S3. After selecting an online device information from all online device information that supports burning, the selected online device information is displayed on the configuration main interface; S4. Obtain the MAC code on the online device corresponding to the selected online device information, and determine whether the MAC code exists in the verification table with the MAC information. If so, obtain the configuration information corresponding to the online device information; S5. Configure the online device corresponding to the online device information according to the configuration information.
[0009] Furthermore, when the program or instruction is executed by the processor, the following steps are also implemented: S6. The online device decodes the received byte stream through base64 to obtain a ciphertext byte stream; decrypts the ciphertext byte stream through AES to obtain a plaintext byte stream; converts the plaintext byte stream into a recognizable coded byte stream in UTF-8 format; and converts the recognizable coded byte stream into a json string object for configuring the online device.
[0010] Furthermore, when the program or instruction is executed by the processor, the following steps are specifically implemented: Log in to the software configuration management platform and enter the configuration main interface. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning.
[0011] Furthermore, when the program or instruction is executed by the processor, the following steps are also implemented: importing a verification table with MAC information in the configuration main interface.
[0012] The beneficial effects of the present invention are: The present invention provides a software configuration method and system for a smart home control screen, which establishes a connection relationship between the smart home control screen and multiple online devices; selects the device type to be burned in the configuration main interface to obtain online device information supporting burning; after selecting one online device information from all online device information supporting burning, the selected online device information is displayed on the configuration main interface; obtains the MAC code on the online device corresponding to the selected online device information, and determines whether the MAC code exists in a verification table with MAC information, and if so, obtains configuration information corresponding to the online device information; configures the online device corresponding to the online device information according to the configuration information, thereby realizing software configuration of the online device that establishes a communication connection relationship with the smart home control screen, which can realize one-to-many configuration and is easy to operate. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 Shown is a flowchart of the steps of a software configuration method of a smart home control screen of the present invention; Figure 2 Shown is a structural block diagram of a software configuration system of a smart home control screen of the present invention; Figure 3 Shown is a schematic diagram of the configuration main interface of the present invention; Figure 4 Shown is a schematic diagram of the configuration main interface of the present invention; Figure 5 Shown is a schematic diagram of the configuration main interface of the present invention; Figure 6 The figure shows the online device information supporting burning in the configuration main interface of the present invention; Figure 7 Shown is a schematic diagram of importing a verification table with MAC information in the configuration main interface of the present invention; Figure 8 Shown is a schematic diagram of the configuration main interface of the present invention; Fig. 9 It is a schematic diagram showing successful verification of the configuration main interface of the present invention; Fig.10 Shown is a schematic diagram of the interactive interface of the configuration main interface of the present invention; Description of Figure Numbers: 1-Processor; 2-Memory. DETAILED DESCRIPTION
[0014] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments: like Figure 1 As shown, the software configuration method of a smart home control screen provided by the present invention comprises the following steps: S1. Establishing a connection relationship between the smart home control screen and multiple online devices; S2. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning; S3. After selecting an online device information from all online device information that supports burning, the selected online device information is displayed on the configuration main interface; S4. Obtain the MAC code on the online device corresponding to the selected online device information, and determine whether the MAC code exists in the verification table with the MAC information. If so, obtain the configuration information corresponding to the online device information; S5. Configure the online device corresponding to the online device information according to the configuration information.
[0015] From the above description, it can be seen that the present invention has the following beneficial effects: The present invention provides a software configuration method for a smart home control screen, which establishes a connection relationship between the smart home control screen and multiple online devices; selects the device type to be burned in the configuration main interface to obtain online device information supporting burning; after selecting one online device information from all online device information supporting burning, the selected online device information is displayed on the configuration main interface; obtains the MAC code on the online device corresponding to the selected online device information, and determines whether the MAC code exists in a verification table with MAC information, and if so, obtains configuration information corresponding to the online device information; configures the online device corresponding to the online device information according to the configuration information, thereby realizing software configuration of the online device that establishes a communication connection relationship with the smart home control screen, which can realize one-to-many configuration and is easy to operate.
[0016] Furthermore, after step S5, the following steps are further included: S6. The online device decodes the received byte stream through base64 to obtain a ciphertext byte stream; decrypts the ciphertext byte stream through AES to obtain a plaintext byte stream; converts the plaintext byte stream into a recognizable coded byte stream in UTF-8 format; and converts the recognizable coded byte stream into a json string object for configuring the online device.
[0017] From the above description, it can be seen that through the above method, the received byte stream is decrypted, format converted and other operations are performed to obtain data that can be used to configure the online device, thereby executing the configuration and improving the security of data transmission.
[0018] Furthermore, step S2 is specifically as follows: Log in to the software configuration management platform and enter the configuration main interface. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning.
[0019] From the above description, it can be seen that, through the above method, only by successfully entering the software configuration management platform can the software configuration of each online device be performed.
[0020] Furthermore, the method further includes: importing a verification table with MAC information in the configuration main interface.
[0021] From the above description, it can be seen that the above method is used to compare and judge with the MAC code on the online device obtained, so as to determine whether the MAC code exists in the verification table with MAC information. Only the MAC code in the verification table can be used for subsequent configuration.
[0022] See also Figure 2 The present invention provides a software configuration system for a smart home control screen, comprising a processor and a memory, wherein the memory stores a program or an instruction, and when the program or the instruction is executed by the processor, the following steps are implemented: S1. Establishing a connection relationship between the smart home control screen and multiple online devices; S2. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning; S3. After selecting an online device information from all online device information that supports burning, the selected online device information is displayed on the configuration main interface; S4. Obtain the MAC code on the online device corresponding to the selected online device information, and determine whether the MAC code exists in the verification table with the MAC information. If so, obtain the configuration information corresponding to the online device information; S5. Configure the online device corresponding to the online device information according to the configuration information.
[0023] From the above description, it can be seen that the present invention has the following beneficial effects: The software configuration system of a smart home control screen provided by the present invention establishes a connection relationship between the smart home control screen and multiple online devices; selects the device type to be burned in the configuration main interface to obtain the online device information supporting burning; after selecting one online device information from all the online device information supporting burning, the selected online device information is displayed on the configuration main interface; obtains the MAC code on the online device corresponding to the selected online device information, and determines whether the MAC code exists in a verification table with MAC information, and if so, obtains the configuration information corresponding to the online device information; configures the online device corresponding to the online device information according to the configuration information, thereby realizing software configuration of the online device that establishes a communication connection relationship with the smart home control screen, and can realize one-to-many configuration and is easy to operate.
[0024] Furthermore, when the program or instruction is executed by the processor, the following steps are also implemented: S6. The online device decodes the received byte stream through base64 to obtain a ciphertext byte stream; decrypts the ciphertext byte stream through AES to obtain a plaintext byte stream; converts the plaintext byte stream into a recognizable coded byte stream in UTF-8 format; and converts the recognizable coded byte stream into a json string object for configuring the online device.
[0025] From the above description, it can be seen that through the above method, the received byte stream is decrypted, format converted and other operations are performed to obtain data that can be used to configure the online device, thereby executing the configuration and improving the security of data transmission.
[0026] Furthermore, when the program or instruction is executed by the processor, the following steps are specifically implemented: Log in to the software configuration management platform and enter the configuration main interface. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning.
[0027] From the above description, it can be seen that, through the above method, only by successfully entering the software configuration management platform can the software configuration of each online device be performed.
[0028] Furthermore, when the program or instruction is executed by the processor, the following steps are also implemented: importing a verification table with MAC information in the configuration main interface.
[0029] From the above description, it can be seen that the above method is used to compare and judge with the MAC code on the online device obtained, so as to determine whether the MAC code exists in the verification table with MAC information. Only the MAC code in the verification table can be used for subsequent configuration.
[0030] Several preferred embodiments or application examples are listed below to help those skilled in the art better understand the technical content of the present invention and the technical contribution made by the present invention relative to the prior art: Preferred embodiment one: like Figure 1 As shown, the software configuration method of a smart home control screen provided by the present invention comprises the following steps: S1. Establishing a communication connection relationship between the smart home control screen and multiple online devices; S2. Log in to the software configuration management platform using the account and password provided by the issuing platform. After the account and password match successfully, you can enter the configuration main interface. Figure 3 shown.
[0031] The main interface is described in Table 1 below: Table 1 like Figure 4 As shown in the figure, by clicking the device type selection box, select the device type to be burned in the configuration main interface, and click the read button to obtain the online device information that supports burning; the online device information that supports burning can be sent to the information box, as shown in the figure. Figure 5 shown.
[0032] S3, such as Figure 6 As shown, after selecting an online device information from all online device information that supports burning, the selected online device information will be displayed on the configuration main interface; it should be noted that: during the reading operation, if there are multiple devices online, a device list box will pop up, and you can select one of the devices and display the information on the main area of the main interface. The burning operation is similar.
[0033] S4, such as Figure 7 As shown, click the "Select File" button on the configuration main interface to import the Excel table with MAC information, which is the verification table. Obtain the MAC code on the online device corresponding to the selected online device information by scanning the code with a barcode gun or manually entering the MAC code, and determine whether the MAC code exists in the verification table with MAC information. If so, obtain the configuration information corresponding to the online device information; In this embodiment, the MAC code formats support the following three types: 1. Six-segment hexadecimal value, such as: 0055520004CA; 2. Six segments of hexadecimal values, each segment is separated by an English colon, such as: 00:55:52:00:04:CA; 3. Six segments of hexadecimal values, each segment is separated by an English minus sign, such as: 00-55-52-00-04-CA; S5, such as Figures 8 to 10 As shown, click the burn button to enter the burning state, and configure the online device corresponding to the online device information according to the configuration information.
[0034] Among them, set the interactive interface as Fig.10 As shown; the function description is as shown in Table 2: Table 2 S6. The online device decodes the received byte stream through base64 to obtain a ciphertext byte stream; decrypts the ciphertext byte stream through AES to obtain a plaintext byte stream; converts the plaintext byte stream into a recognizable coded byte stream in UTF-8 format; and converts the recognizable coded byte stream into a json string object for configuring the online device.
[0035] At this time, the burning button switches to "Stop". Each time you complete burning, you can switch devices, scan a new QR code or manually enter the MAC code, and burning will start automatically without clicking buttons again until you click the stop button to terminate the cycle burning function.
[0036] Preferred embodiment 2: See also Figure 2 The present invention provides a software configuration system for a smart home control screen, comprising a processor 1 and a memory 2, wherein the memory 2 stores a program or instruction, and when the program or instruction is executed by the processor 1, the following steps are implemented: S1. Establishing a connection relationship between the smart home control screen and multiple online devices; S2. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning; S3. After selecting an online device information from all online device information that supports burning, the selected online device information is displayed on the configuration main interface; S4. Obtain the MAC code on the online device corresponding to the selected online device information, and determine whether the MAC code exists in the verification table with the MAC information. If so, obtain the configuration information corresponding to the online device information; S5. Configure the online device corresponding to the online device information according to the configuration information.
[0037] Furthermore, when the program or instruction is executed by the processor, the following steps are also implemented: S6. The online device decodes the received byte stream through base64 to obtain a ciphertext byte stream; decrypts the ciphertext byte stream through AES to obtain a plaintext byte stream; converts the plaintext byte stream into a recognizable coded byte stream in UTF-8 format; and converts the recognizable coded byte stream into a json string object for configuring the online device.
[0038] Furthermore, when the program or instruction is executed by the processor, the following steps are specifically implemented: Log in to the software configuration management platform and enter the configuration main interface. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning.
[0039] Furthermore, when the program or instruction is executed by the processor, the following steps are also implemented: importing a verification table with MAC information in the configuration main interface.
[0040] The present invention has been described by the above-mentioned relevant embodiments and drawings, but the above-mentioned embodiments are only examples for implementing the present invention. It must be pointed out that the disclosed embodiments do not limit the scope of the present invention. On the contrary, modifications and equivalent settings included in the spirit and scope of the claims are all included in the scope of the present invention.
Claims
1. A software configuration method for a smart home control screen, characterized in that: The following steps are involved: S1. Establishing a connection relationship between the smart home control screen and multiple online devices; S2. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning; S3. After selecting an online device information from all online device information that supports burning, the selected online device information is displayed on the configuration main interface; S4. Obtain the MAC code on the online device corresponding to the selected online device information, and determine whether the MAC code exists in the verification table with the MAC information. If so, obtain the configuration information corresponding to the online device information; S5. Configure the online device corresponding to the online device information according to the configuration information.
2. The software configuration method of a smart home control screen according to claim 1, characterized in that: After step S5, the following steps are also included: S6. The online device decodes the received byte stream through base64 to obtain a ciphertext byte stream; decrypts the ciphertext byte stream through AES to obtain a plaintext byte stream; converts the plaintext byte stream into a recognizable coded byte stream in UTF-8 format; and converts the recognizable coded byte stream into a json string object for configuring the online device.
3. The software configuration method of a smart home control screen according to claim 1, characterized in that: Step S2 is specifically as follows: Log in to the software configuration management platform and enter the main configuration interface. In the main configuration interface, select the device type to be burned and obtain the online device information that supports burning.
4. The software configuration method of a smart home control screen according to claim 1, characterized in that: Also includes: Import the authentication table with MAC information in the main configuration interface.
5. A software configuration system for a smart home control screen, characterized in that: The system comprises a processor and a memory, wherein the memory stores a program or an instruction, and when the program or the instruction is executed by the processor, the following steps are implemented: S1. Establishing a connection relationship between the smart home control screen and multiple online devices; S2. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning; S3. After selecting an online device information from all online device information that supports burning, the selected online device information is displayed on the configuration main interface; S4. Obtain the MAC code on the online device corresponding to the selected online device information, and determine whether the MAC code exists in the verification table with the MAC information. If so, obtain the configuration information corresponding to the online device information; S5. Configure the online device corresponding to the online device information according to the configuration information.
6. The software configuration system for a smart home control screen according to claim 5, characterized in that: When the program or instruction is executed by the processor, the following steps are also implemented: S6. The online device decodes the received byte stream through base64 to obtain a ciphertext byte stream; decrypts the ciphertext byte stream through AES to obtain a plaintext byte stream; and converts the plaintext byte stream into a recognizable coded byte stream through UTF-8 format; Converts a recognizable encoded byte stream into a JSON string object for configuring online devices.
7. The software configuration system for a smart home control screen according to claim 5, characterized in that: When the program or instruction is executed by the processor, the following steps are specifically implemented: Log in to the software configuration management platform and enter the configuration main interface. Select the device type to be burned in the configuration main interface to obtain the online device information that supports burning.
8. The software configuration system for a smart home control screen according to claim 5, characterized in that: When the program or instruction is executed by the processor, the following steps are also implemented: importing a verification table with MAC information into the configuration main interface.
