Gateway sensor visualization method based on touch display
Through the gateway sensor visualization method based on touch display, the problems of network performance degradation and equipment abnormalities in smart homes are solved, and network performance maintenance and device interaction are visualized, ensuring timely data reception and fault location.
Patent Information
- Application Number
- CN202411234968.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In smart home scenarios, as the number of home devices increases, network performance declines, resulting in untimely reporting of data, making it difficult for users to know the abnormal equipment and its causes of failure in a timely manner, and it is difficult to conduct effective device interaction and supervision.
Through the gateway sensor visualization method based on touch display, gateway sensors are configured, home devices are connected to the home network as interactive units, and communication status is monitored in real time, device connection status is adjusted, network performance maintenance is achieved, and visual interaction is carried out through touch displays. Displays abnormal equipment and fault details.
It realizes the maintenance of home network performance, ensures timely data reception and efficient equipment supervision, and users can clearly understand the operation of the equipment, locate abnormal equipment and fault details, and realize interactive visualization and abnormal positioning.
Smart Images

Figure CN119182620A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visualization interaction technology, and in particular to a gateway sensor visualization method based on a touch display. Background Art
[0002] A gateway sensor is a sensor device that acts as a bridge in network communication. It can convert and transmit the data collected by various sensors through a certain protocol, enabling communication between different network systems or platforms. In short, a gateway sensor is a working device that connects sensors to the network.
[0003] With the continuous development of smart homes, the frequency of application of gateway sensors in smart home scenarios is also increasing. In smart home scenarios, when the number of home appliances connected to the smart home network reaches a certain number, the network performance will decline, which may lead to untimely reporting of the operating data of home appliances, and indirectly affect the control and supervision of home appliances in smart home scenarios. This is a problem that cannot be ignored. In addition, when abnormal home appliances appear in smart home scenarios, users often cannot know the location of the abnormal home appliances and the reasons for the abnormalities in time.
[0004] Therefore, how to visualize the link between each home device and the gateway sensor, and make changes to the connection of home devices so that the network performance of the home network is always maintained at a high level; how to visualize the real-time operation status of each home device to the user end, so that the user can clearly and intuitively understand the device operation status at the user end, and then interact with the home devices in order to obtain the faulty home devices and their fault details in time, these are all problems that need to be solved in the current field. Summary of the invention
[0005] In order to solve the above problems, an object of the present invention is to provide a gateway sensor visualization method based on a touch display.
[0006] The purpose of the present invention can be achieved by the following technical solution: A gateway sensor visualization method based on a touch display comprises the following steps:
[0007] Step S1: configure a gateway sensor, arrange several home appliances in the home scene, and use each home appliance as an interaction unit. Connect all interaction units to the home network corresponding to the current home scene through the gateway sensor, and then build a smart home scene.
[0008] Step S2: obtaining the real-time communication status value of the home network, setting a touch display, and connecting the touch display to the gateway sensor, visually displaying the gateway occupancy and connection status of each interactive unit in the smart home scene at the gateway sensor and the real-time communication status value of the home network on the touch display;
[0009] Step S3: determining whether the real-time communication status value meets a preset network maintenance threshold, and changing the connection status of each interactive unit according to the determination result and the gateway occupancy of each home device;
[0010] Step S4: The user performs visual interaction on each interactive unit connected to the home network on the touch display, and displays abnormal interactive units and fault details of the abnormal interactive units on the touch display.
[0011] Furthermore, the process of configuring the gateway sensor includes:
[0012] The configuration of the gateway sensor includes location deployment, gateway environment initialization, and gateway operation debugging;
[0013] Location deployment: Select an initial deployment point in the home scene, install a gateway sensor at the deployment point, and determine whether the communication coverage of the gateway sensor covers the boundary points in the home scene. If so, complete the location deployment of the gateway sensor. If not, change the deployment point and install the gateway sensor until the communication coverage covers all the boundary points in the home scene.
[0014] Gateway environment initialization: connect the gateway sensor to the home network built by the current home scene, build the network firewall corresponding to the gateway sensor, and configure the network parameters corresponding to the gateway sensor;
[0015] Gateway operation debugging: Start the gateway sensor, set a running period for the operation of the gateway sensor, record the external injection information collected by the gateway sensor during the running period into the firewall log corresponding to the network firewall, and the firewall log records the number of successful injections and the number of failed injections of the external injection information. According to the number of successful injections and the number of failed injections, the information filtering rate corresponding to the network firewall is obtained and recorded as η;
[0016] Set a judgment threshold and record it as μ. Determine the result of gateway operation and debugging according to the numerical relationship between η and μ. When η≥μ, the result of gateway operation and debugging is successful debugging, and the corresponding gateway sensor configuration is completed. When η<μ, the result of gateway operation and debugging is debugging failure. Re-initialize the gateway environment and reset a running time period to continue the gateway operation and debugging of the current gateway sensor until the debugging is successful.
[0017] Furthermore, several kinds of home appliances are arranged in the home scene, and each home appliance is used as an interaction unit. All the interaction units are connected to the home network corresponding to the current home scene through the gateway sensor, and the process of building a smart home scene includes:
[0018] Obtain the device identification code corresponding to each home device, treat each home device as an interaction unit, and build an interaction account of the corresponding interaction unit through the device identification code of each home device. Several interaction units in the home scene send network access requests to the gateway sensor. After approval by the gateway sensor, a network connection authorization code is returned to each interaction unit that sends a network access request, and the network connection authorization code is entered into the interaction account corresponding to each interaction unit;
[0019] Each interactive unit encrypts the network connection authorization code in its own interactive account and sends it to the gateway sensor, which decrypts each network connection authorization code and determines whether it is the network connection authorization code originally sent back by the gateway sensor for each interactive unit;
[0020] If yes, the corresponding interactive unit is connected to the home network corresponding to the current home scene, and the network speed of the connected interactive units is adjusted. When the network speed adjustment of all interactive units is completed, the current home scene is built into a smart home scene;
[0021] If not, the interaction account of the corresponding interaction unit will be temporarily included in the preset access blacklist until the interaction unit sends its correctly corresponding network connection authorization code to the gateway sensor, removes the interaction account from the access blacklist, and connects the interaction unit to the home network.
[0022] Furthermore, the process of obtaining the real-time communication status value of the home network includes:
[0023] Each home device corresponds to a device resource utilization in the home network. The device resource utilization of all home devices in the smart home scenario is summarized to generate the total resource utilization corresponding to the home network in the current smart home scenario, which is recorded as τ 总和 ;
[0024] Get the actual resource utilization in the home network corresponding to the current smart home scene, denoted as τ 实际 , according to the total resource utilization τ 总和 and actual resource utilization τ 实际 Get the real-time communication status value corresponding to the home network, and record the real-time communication status value as TX 实时 , there is TX 实时 =τ 实际 / τ 总和 .
[0025] Furthermore, the process of setting up a touch display and connecting the touch display to the gateway sensor includes:
[0026] Setting the touch display, obtaining the connection port of the touch display and the port number corresponding to the connection port, establishing data connection between the touch display and the gateway sensor according to the port number, having the gateway sensor send a test file to the touch display, and determining the reception completeness of the test file by the touch display. If the reception completeness is greater than or equal to a preset reception threshold, the one-way data connection configuration between the gateway sensor and the touch display is successful.
[0027] After the touch display receives the test file, it interacts with the test file, encapsulates the data information generated by the interaction into the test file, and returns the test file to the sensor gateway. If the sensor gateway successfully receives the test file including the newly generated data information, the one-way data connection configuration between the touch display and the gateway sensor is successful.
[0028] If the one-way data connection between the gateway sensor and the touch display is successfully configured, and the one-way data connection between the touch display and the gateway sensor is successfully configured, the touch display is successfully connected to the gateway sensor, otherwise, the result of the touch display connecting to the gateway sensor is failure.
[0029] Furthermore, the process of visually displaying the gateway occupancy, connection status and real-time communication status value of the home network of each interactive unit in the smart home scene on the touch display includes:
[0030] When the touch display is successfully connected to the gateway sensor, the interaction account synchronization data corresponding to each interaction unit in the smart home scene is associated with the touch display. The interaction account corresponding to each interaction unit is used to record the gateway occupancy of the corresponding interaction unit in the gateway sensor, as well as the connection status between each interaction unit and the gateway sensor;
[0031] The touch display is provided with a main display area and a secondary display area, and the real-time communication status value of the home network is visually displayed in the main display area, and the gateway occupancy and connection status of each interactive unit recorded by the interactive account are visually displayed in the secondary display area.
[0032] Further, judging whether the real-time communication status value meets the preset network maintenance threshold, and according to the judgment result and the gateway occupancy of each home device, changing the connection status of each interactive unit includes:
[0033] The network maintenance threshold of the home network corresponding to the smart home scene currently connected to several home devices is preset, and the network maintenance threshold is recorded as Net维持 ;
[0034] When TX 实时 ≤Net 维持 When , no operation is performed;
[0035] When TX 实时 >Net 维持 When the gateway occupancy status of each home device is obtained, the connection status of the corresponding interaction unit is changed according to the gateway occupancy status;
[0036] The gateway occupancy includes partial occupancy and full occupancy, and the connection state of the interactive unit includes standby state and interactive state. After the interactive unit is connected to the home network, the connection state of all interactive units is synchronized to the interactive state, and the connection state of all interactive units with partial occupancy of the gateway is changed from the interactive state to the standby state, thereby releasing the device resource utilization corresponding to the current interactive unit in the home network until the TX is satisfied. 实时 ≤Net 维持 ; Maintain the connection status of all interactive units whose gateway occupancy is fully occupied.
[0037] Furthermore, the user performs visual interaction on each interactive unit connected to the home network on the touch display, and displays abnormal interactive units and fault details of the abnormal interactive units on the touch display, including:
[0038] The touch display includes an editing touch area, a visual interaction touch area and a push touch area;
[0039] The user touches the touch display and decides whether to input the edit text in the editing touch area corresponding to the touch display;
[0040] If you do not choose to enter the edit text, all interactive units will be displayed in the visual interactive touch area;
[0041] If the user chooses to input the edit text, the user touches and inputs the device identification code of the interactive unit that needs to be visually interacted into the edit text, and submits the edit text to the visual interaction touch area, and displays each interactive unit recorded in the edit text in the form of a component on the display touch controller. When the user touches the displayed component, an interactive window corresponding to the touched component pops up, and the interactive command is input in the interactive window. Through the interactive command, each interactive unit connected to the home network is visually interacted, and the home device corresponding to the interactive unit is operated;
[0042] Touch in the push touch area, and then push and display the device operation status of each interactive unit corresponding to the home device on the touch display, and highlight the interactive unit with abnormal device operation status. When the user further touches the highlighted interactive unit, the fault details information of the home device corresponding to the abnormal interactive unit will pop up.
[0043] Compared with the prior art, the present invention has the following beneficial effects:
[0044] 1. Treat each of the several home appliances arranged in the home scene as an interaction unit, and connect all the interaction units to the home network of the current home scene through the configured gateway sensor, so as to build a smart home scene, judge whether the real-time communication status value of the home network meets the network maintenance threshold, and change the connection status of each interaction unit according to the judgment result and the gateway occupancy of each home appliance, so that the network performance of the home network is always maintained at a high level, ensuring the timely reception of the operating data reported by each home appliance in the current smart home scene, and realizing efficient and accurate supervision and control of home appliances.
[0045] 2. The user can perform visual interaction with each interactive unit connected to the home network on the touch display, and display the abnormal interactive units and fault details of the abnormal interactive units on the touch display. The touch display is used as the user's corresponding user terminal, and the user terminal can clearly and intuitively understand the equipment operation status of the home equipment corresponding to the interactive unit, thereby realizing the interaction with the home equipment, and locating the abnormal home equipment and the corresponding fault details of the abnormal home equipment, so as to achieve visualization of the interaction and timely location of the abnormality. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0047] like Figure 1 As shown, a gateway sensor visualization method based on a touch display comprises the following steps:
[0048] Step S1: configure a gateway sensor, arrange several home appliances in the home scene, and use each home appliance as an interaction unit. Connect all interaction units to the home network corresponding to the current home scene through the gateway sensor, and then build a smart home scene.
[0049] Step S2: obtaining the real-time communication status value of the home network, setting a touch display, and connecting the touch display to the gateway sensor, visually displaying the gateway occupancy and connection status of each interactive unit in the smart home scene at the gateway sensor and the real-time communication status value of the home network on the touch display;
[0050] Step S3: determining whether the real-time communication status value meets a preset network maintenance threshold, and changing the connection status of each interactive unit according to the determination result and the gateway occupancy of each home device;
[0051] Step S4: The user performs visual interaction on each interactive unit connected to the home network on the touch display, and displays abnormal interactive units and fault details of the abnormal interactive units on the touch display.
[0052] It should be further explained that, in the specific implementation process, the process of configuring the gateway sensor includes:
[0053] The configuration of the gateway sensor includes location deployment, gateway environment initialization and gateway operation debugging, selecting a gateway sensor, and selecting an adaptive communication protocol for the gateway sensor. The content of the location deployment is: selecting an initial deployment point in the home scene, installing the gateway sensor at the deployment point, and judging whether the communication coverage of the current gateway sensor can cover the boundary points in the home scene. If so, the location deployment of the gateway sensor is completed. If not, the initial deployment point is changed and the gateway sensor is installed until the communication coverage of the gateway sensor successfully covers all the boundary points in the current home scene.
[0054] The content of the gateway environment initialization is: connecting the gateway sensor to the home network built by the current home scene, building a network firewall corresponding to the gateway sensor, and configuring the network parameters corresponding to the gateway sensor, the network parameters including the network IP address, subnet mask and network communication strength;
[0055] The content of the gateway operation debugging is: start the gateway sensor, set a running time period, the gateway sensor runs in the running time period, and records the external injection information collected by the gateway sensor in the running time period to the firewall log corresponding to the network firewall. The firewall log records the number of successful injections and the number of failed injections of the external injection information, which are respectively recorded as N1 and N2, and then obtain the information filtering rate corresponding to the network firewall. The information filtering rate is recorded as η, and the formula of the information filtering rate is expressed as follows:
[0056]
[0057] Set a threshold for determining whether the operation and debugging are successful, and record the threshold as μ. Determine the result of the gateway operation and debugging based on the numerical relationship between η and μ.
[0058] When η≥μ, the result of the gateway operation debugging is successful, and the corresponding gateway sensor configuration is completed;
[0059] When η<μ, the result of the gateway operation debugging is debugging failure, then the gateway environment is re-initialized, and a running time period is reset to continue the gateway operation debugging of the current gateway sensor until the debugging is successful.
[0060] It should be noted that the external injection information is illegal information that the outside world uses to invade and attack the gateway sensor. When the external injection information invades and attacks, the network firewall corresponding to the gateway sensor defends against the external injection information, and then determines whether the external injection information is successfully injected based on whether the defense is successful. If the defense is successful, the external injection information corresponds to an injection failure. Otherwise, the external injection information corresponds to an injection success. The judgment threshold μ is the minimum limit value when the gateway operation debugging is successful. The boundary point is any point on the outer frame line of the house in the house space corresponding to the current home scene.
[0061] It should be further explained that, in the specific implementation process, several kinds of home appliances are arranged in the home scene, and each home appliance is used as an interaction unit. All the interaction units are connected to the home network corresponding to the current home scene through the gateway sensor, and the process of building a smart home scene includes:
[0062] Arrange several types of home appliances in a home scene, where the types of the several types of home appliances include refrigerators, washing machines, air conditioners, sweeping robots, electric curtains, lighting equipment, televisions, and smart door locks, etc., and obtain a device identification code corresponding to each home appliance, where the device identification code is a unique identity certificate for the home appliance;
[0063] Each home device is regarded as an interaction unit, and the interaction account of the corresponding interaction unit is constructed through the device identification code of each home device. Several interaction units in the home scene send network access requests to the gateway sensor. After approval by the gateway sensor, a network connection authorization code is returned to each interaction unit that sends the network access request, and the network connection authorization code is entered into the interaction account corresponding to each interaction unit;
[0064] Each interactive unit in the current home scene encrypts the network connection authorization code in its own interactive account and sends it to the gateway sensor, which decrypts each network connection authorization code and determines whether it is the network connection authorization code originally sent back by the gateway sensor for each interactive unit;
[0065] If yes, the corresponding interactive unit is connected to the home network corresponding to the current home scene, and the network speed of the connected interactive unit is adjusted;
[0066] If not, the interactive account of the corresponding interactive unit is temporarily included in the preset access blacklist until the interactive unit sends its correctly corresponding network connection authorization code to the gateway sensor, removes the interactive account from the access blacklist, and connects the interactive unit to the home network;
[0067] The content of the network speed control is: obtain the real-time communication network speed of each interactive unit after connecting to the home network, and record the real-time communication network speed as V 实时 , set the expected network speed interval, and record the expected network speed interval as Ω 期望网速 , there is Ω 期望网速 =[V-min, V-max], where V-min is the minimum expected network speed and V-max is the maximum expected network speed;
[0068] When V 实时 ∈Ω 期望网速 When , no operation is performed;
[0069] When V 实时 When V is less than V-min, the communication bandwidth of the interactive unit in the home network is increased, thereby increasing the real-time communication network speed corresponding to the current interactive unit until V is met. 实时 ∈Ω 期望网速 When the communication bandwidth is increased, stop increasing the communication bandwidth;
[0070] When V 实时 >V-max, reduce the communication bandwidth of the interactive unit in the home network, and then reduce the real-time communication network speed corresponding to the current interactive unit until V is met. 实时 ∈Ω 期望网速 When the communication bandwidth is reduced,
[0071] When the real-time communication network speed of each interactive unit connected to the home network corresponding to the current home scene is within the expected network speed range, the current home scene is constructed as a smart home scene.
[0072] It should be further explained that, in a specific implementation process, the process of obtaining the real-time communication status value of the home network, setting the touch display, and connecting the touch display to the gateway sensor includes:
[0073] Each home device in the current smart home scenario corresponds to a device resource utilization in the home network. The device resource utilization of all home devices in the smart home scenario is summarized to generate the total resource utilization corresponding to the home network in the current smart home scenario, and the total resource utilization is recorded as τ 总和 ;
[0074] Get the actual resource utilization in the home network corresponding to the current smart home scenario, and record the actual resource utilization as τ 实际 , wherein the actual resource utilization is a summary of the actual values of the resource utilization of each home device connected to the home network;
[0075] According to the total resource utilization τ 总和 and actual resource utilization τ 实际 Get the real-time communication status value corresponding to the home network, and record the real-time communication status value as TX 实时 , there is TX 实时 =τ 实际 / τ 总和 , the real-time communication status value is used to reflect the load of the real-time communication of the current home network;
[0076] Setting the touch display, obtaining the connection port of the touch display and the port number corresponding to the connection port, establishing data connection between the touch display and the gateway sensor according to the port number, having the gateway sensor send a test file to the touch display, and determining the reception completeness of the test file by the touch display. If the reception completeness is greater than or equal to a preset reception threshold, the one-way data connection configuration between the gateway sensor and the touch display is successful.
[0077] After receiving the test file, the touch display interacts with the test file, encapsulates the data information generated by the interaction into the test file, and returns the test file to the sensor gateway. If the sensor gateway successfully receives the test file including the newly generated data information, the one-way data connection configuration between the touch display and the gateway sensor is successful;
[0078] If the one-way data connection between the gateway sensor and the touch display is successfully configured, and the one-way data connection between the touch display and the gateway sensor is successfully configured, the touch display is successfully connected to the gateway sensor, otherwise, the result of the touch display connecting to the gateway sensor is failure.
[0079] It should be further explained that, in a specific implementation process, the process of visually displaying the gateway occupancy, connection status and real-time communication status value of the home network of each interactive unit in the smart home scene on the touch display includes:
[0080] When the touch display is successfully connected to the gateway sensor, the interaction account synchronization data corresponding to each interaction unit in the smart home scene is associated with the touch display. The interaction account corresponding to each interaction unit is used to record the gateway occupancy of the corresponding interaction unit in the gateway sensor, as well as the connection status between each interaction unit and the gateway sensor;
[0081] The touch display is provided with a main display area and a secondary display area. The display priority of the main display area is higher than that of the secondary display area. The real-time communication status value of the home network is visualized in the main display area, and the gateway occupancy and connection status of each interactive unit recorded by the interactive account are visualized in the secondary display area.
[0082] It should be further explained that, in the specific implementation process, whether the real-time communication status value meets the preset network maintenance threshold is determined, and according to the determination result and the gateway occupancy of each home device, the process of changing the connection status of each interactive unit includes:
[0083] The network maintenance threshold of the home network corresponding to the smart home scene currently connected to several home devices is preset. The network maintenance threshold is: when the current home network communicates with the home devices in real time, the maximum ratio of the actual resource utilization to the total resource utilization corresponding to the home network under normal load. The network maintenance threshold is recorded as Net 维持 ;
[0084] Determine whether the real-time communication status value of the home network in the current smart home scenario meets the network maintenance threshold. The judgment content is as follows:
[0085] When TX 实时 ≤Net 维持 When , the current home network meets the normal network performance and no operation is performed; at this time, the network performance of the home network can meet the normal data communication of all home devices in the current smart home scenario, that is, it can receive the corresponding operating data reported by each home device in a relatively timely manner;
[0086] When TX 实时 >Net 维持 When the current home network is in a network collapse state, its network performance can no longer meet the needs of timely receiving the operation data reported by the home devices in the smart home scenario, obtaining the gateway occupancy status of each home device, and changing the connection status of the corresponding interaction unit according to the gateway occupancy status;
[0087] The gateway occupancy includes partial occupancy and full occupancy, and the connection status of the interactive unit includes standby status and interactive status; after the interactive unit is connected to the home network, the connection status of all interactive units is synchronized to the interactive status;
[0088] Change the connection state of all the interactive units whose gateway occupancy is partially occupied from interactive state to standby state, thereby releasing the corresponding device resource utilization of the current interactive unit in the home network, so as to meet the TX 实时 ≤Net 维持 ;
[0089] The connection status of all interaction units whose gateway occupancy is fully occupied is maintained, that is, when the gateway occupancy of an interaction unit in the interactive state is fully occupied, the connection status of the current interaction unit is not changed.
[0090] It should be noted that when the interaction unit is in the interactive state or the standby state, the interaction unit still maintains a communication connection with the home network corresponding to the smart home scene. The difference is that the interaction unit in the standby state temporarily does not use the network resources of the home network to reduce the overall network load of the current home network and keep the network performance of the home network at a higher performance level.
[0091] It should be further explained that, in a specific implementation process, the user performs visual interaction on each interactive unit connected to the home network on the touch display, and the process of displaying abnormal interactive units and fault details of the abnormal interactive units on the touch display includes:
[0092] The touch display includes an editing touch area, a visual interaction touch area and a push touch area;
[0093] The user touches the touch display and decides whether to input the edit text in the editing touch area corresponding to the touch display;
[0094] If you do not choose to enter the edit text, all interactive units will be displayed in the visual interactive touch area;
[0095] If the user chooses to input the edited text, the user touches and inputs the device identification code of the interactive unit that needs to be visually interacted into the edited text, and submits the edited text to the visual interactive touch area. In the visual interactive touch area, each interactive unit corresponding to the record in the edited text is displayed in the form of a component. The interactive units are displayed on the display touch controller in the form of components displayed side by side. When the user touches the component displayed in the visual interactive touch area, an interactive window corresponding to the touched component pops up.
[0096] Input interactive instructions in the interactive window, and perform visual interaction with each interactive unit connected to the home network through the interactive instructions, so as to operate the home device corresponding to the interactive unit, wherein the interactive instructions are customized by the user, including but not limited to defining the operation time period and operation duration of the home device corresponding to each interactive unit in the current smart home scene, and the linkage conditions between the home devices;
[0097] Touch in the push touch area, and then push and display the device operation status of each interactive unit corresponding to the home device on the touch display, and highlight the interactive unit with abnormal device operation status. When the user further touches the highlighted interactive unit, the fault details of the home device corresponding to the abnormal interactive unit will pop up;
[0098] The user contacts the relevant equipment maintenance personnel, who then inspect and repair the abnormal home appliances and fix the faults in the home appliances.
[0099] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A gateway sensor visualization method based on a touch display, characterized in that: The following steps are involved: Step S1: configure a gateway sensor, arrange several home appliances in the home scene, and use each home appliance as an interaction unit. Connect all interaction units to the home network corresponding to the current home scene through the gateway sensor, and then build a smart home scene. Step S2: obtaining the real-time communication status value of the home network, setting a touch display, and connecting the touch display to the gateway sensor, visually displaying the gateway occupancy and connection status of each interactive unit in the smart home scene at the gateway sensor and the real-time communication status value of the home network on the touch display; Step S3: determining whether the real-time communication status value meets a preset network maintenance threshold, and changing the connection status of each interactive unit according to the determination result and the gateway occupancy of each home device; Step S4: The user performs visual interaction on each interactive unit connected to the home network on the touch display, and displays abnormal interactive units and fault details of the abnormal interactive units on the touch display.
2. A gateway sensor visualization method based on a touch display according to claim 1, characterized in that: The process of configuring a gateway sensor includes: The configuration of the gateway sensor includes location deployment, gateway environment initialization, and gateway operation debugging; Location deployment: Select an initial deployment point in the home scene, install a gateway sensor at the deployment point, and determine whether the communication coverage of the gateway sensor covers the boundary points in the home scene. If so, complete the location deployment of the gateway sensor. If not, change the deployment point and install the gateway sensor until the communication coverage covers all the boundary points in the home scene. Gateway environment initialization: connect the gateway sensor to the home network built by the current home scene, build the network firewall corresponding to the gateway sensor, and configure the network parameters corresponding to the gateway sensor; Gateway operation debugging: Start the gateway sensor, set a running period for the operation of the gateway sensor, record the external injection information collected by the gateway sensor during the running period into the firewall log corresponding to the network firewall, and the firewall log records the number of successful injections and the number of failed injections of the external injection information. According to the number of successful injections and the number of failed injections, the information filtering rate corresponding to the network firewall is obtained and recorded as η; Set a judgment threshold and record it as μ. Determine the result of gateway operation and debugging according to the numerical relationship between η and μ. When η≥μ, the result of gateway operation and debugging is successful debugging, and the corresponding gateway sensor configuration is completed. When η<μ, the result of gateway operation and debugging is debugging failure. Re-initialize the gateway environment and reset a running time period to continue the gateway operation and debugging of the current gateway sensor until the debugging is successful.
3. A gateway sensor visualization method based on a touch display according to claim 2, characterized in that: Arrange several kinds of home appliances in the home scene, and take each home appliance as an interaction unit. Connect all the interaction units to the home network corresponding to the current home scene through the gateway sensor, and then build a smart home scene. The process includes: Obtain the device identification code corresponding to each home device, treat each home device as an interaction unit, and build an interaction account of the corresponding interaction unit through the device identification code of each home device. Several interaction units in the home scene send network access requests to the gateway sensor. After approval by the gateway sensor, a network connection authorization code is returned to each interaction unit that sends a network access request, and the network connection authorization code is entered into the interaction account corresponding to each interaction unit; Each interactive unit encrypts the network connection authorization code in its own interactive account and sends it to the gateway sensor, which decrypts each network connection authorization code and determines whether it is the network connection authorization code originally sent back by the gateway sensor for each interactive unit; If yes, the corresponding interactive unit is connected to the home network corresponding to the current home scene, and the network speed of the connected interactive units is adjusted. When the network speed adjustment of all interactive units is completed, the current home scene is built into a smart home scene; If not, the interaction account of the corresponding interaction unit will be temporarily included in the preset access blacklist until the interaction unit sends its correctly corresponding network connection authorization code to the gateway sensor, removes the interaction account from the access blacklist, and connects the interaction unit to the home network.
4. A gateway sensor visualization method based on a touch display according to claim 3, characterized in that: The process of obtaining the real-time communication status value of the home network includes: Each home device corresponds to a device resource utilization in the home network. The device resource utilization of all home devices in the smart home scenario is summarized to generate the total resource utilization corresponding to the home network in the current smart home scenario, which is recorded as τ 总和 ; Get the actual resource utilization in the home network corresponding to the current smart home scene, denoted as τ 实际 , according to the total resource utilization τ 总和 and actual resource utilization τ 实际 Get the real-time communication status value corresponding to the home network, and record the real-time communication status value as TX 实时 , there is TX 实时 =τ 实际 / τ 总和 .
5. A gateway sensor visualization method based on a touch display according to claim 4, characterized in that: The process of setting up the touch display and connecting the touch display to the gateway sensor includes: Setting the touch display, obtaining the connection port of the touch display and the port number corresponding to the connection port, establishing data connection between the touch display and the gateway sensor according to the port number, having the gateway sensor send a test file to the touch display, and determining the reception completeness of the test file by the touch display. If the reception completeness is greater than or equal to a preset reception threshold, the one-way data connection configuration between the gateway sensor and the touch display is successful. After the touch display receives the test file, it interacts with the test file, encapsulates the data information generated by the interaction into the test file, and returns the test file to the sensor gateway. If the sensor gateway successfully receives the test file including the newly generated data information, the one-way data connection configuration between the touch display and the gateway sensor is successful. If the one-way data connection between the gateway sensor and the touch display is successfully configured, and the one-way data connection between the touch display and the gateway sensor is successfully configured, the touch display is successfully connected to the gateway sensor, otherwise, the result of the touch display connecting to the gateway sensor is failure.
6. A gateway sensor visualization method based on a touch display according to claim 5, characterized in that: The process of visually displaying the gateway occupancy, connection status, and real-time communication status value of the home network of each interactive unit in the smart home scene on the touch display includes: When the touch display is successfully connected to the gateway sensor, the interaction account synchronization data corresponding to each interaction unit in the smart home scene is associated with the touch display. The interaction account corresponding to each interaction unit is used to record the gateway occupancy of the corresponding interaction unit in the gateway sensor, as well as the connection status between each interaction unit and the gateway sensor; The touch display is provided with a main display area and a secondary display area, and the real-time communication status value of the home network is visually displayed in the main display area, and the gateway occupancy and connection status of each interactive unit recorded by the interactive account are visually displayed in the secondary display area.
7. A gateway sensor visualization method based on a touch display according to claim 6, characterized in that: The process of determining whether the real-time communication status value meets a preset network maintenance threshold and changing the connection status of each interactive unit according to the determination result and the gateway occupancy of each home device includes: The network maintenance threshold of the home network corresponding to the smart home scene currently connected to several home devices is preset, and the network maintenance threshold is recorded as Net 维持 ; When TX 实时 ≤Net 维持 When , no operation is performed; When TX 实时 >Net 维持 When the gateway occupancy status of each home device is obtained, the connection status of the corresponding interaction unit is changed according to the gateway occupancy status; The gateway occupancy includes partial occupancy and full occupancy, and the connection state of the interactive unit includes standby state and interactive state. After the interactive unit is connected to the home network, the connection state of all interactive units is synchronized to the interactive state, and the connection state of all interactive units with partial occupancy of the gateway is changed from the interactive state to the standby state, thereby releasing the device resource utilization corresponding to the current interactive unit in the home network until the TX is satisfied. 实时 ≤Net 维持 ; Maintain the connection status of all interactive units whose gateway occupancy is fully occupied.
8. The gateway sensor visualization method based on a touch display according to claim 7 is characterized in that: The process of visually interacting with each interactive unit connected to the home network by the user on the touch display, and displaying abnormal interactive units and fault details of the abnormal interactive units on the touch display includes: The touch display includes an editing touch area, a visual interaction touch area and a push touch area; The user touches the touch display and decides whether to input the edit text in the editing touch area corresponding to the touch display; If you do not choose to enter the edit text, all interactive units will be displayed in the visual interactive touch area; If the user chooses to input the edit text, the user touches and inputs the device identification code of the interactive unit that needs to be visually interacted into the edit text, and submits the edit text to the visual interaction touch area, and displays each interactive unit recorded in the edit text in the form of a component on the display touch controller. When the user touches the displayed component, an interactive window corresponding to the touched component pops up, and the interactive command is input in the interactive window. Through the interactive command, each interactive unit connected to the home network is visually interacted, and the home device corresponding to the interactive unit is operated; Touch in the push touch area, and then push and display the device operation status of each interactive unit corresponding to the home device on the touch display, and highlight the interactive unit with abnormal device operation status. When the user further touches the highlighted interactive unit, the fault details information of the home device corresponding to the abnormal interactive unit will pop up.
