Gateway network distribution test system and gateway network distribution test method

By designing a gateway network configuration testing system, the system automates the network configuration connection testing between the gateway and the wireless router, solving the problem of repetitive manual operations in gateway development and testing, and achieving efficient automated testing.

CN121077940APending Publication Date: 2025-12-05VAILLANT WUXI HEATING EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511333824.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-09
Publication Date
2025-12-05

AI Technical Summary

Technical Problem

During the gateway development and testing process, it is necessary to perform network configuration tests with each of the mainstream wireless router brands on the market, resulting in a large amount of repetitive manual operations.

Method used

Design a gateway network configuration test system. Utilize a network configuration test device to automatically complete the network configuration connection test between the gateway and the wireless router through a control driver circuit board and a mobile terminal APP. This includes starting the router, resetting the gateway, establishing connections between the terminal and the router and gateway, and recording the test results.

Benefits of technology

Network configuration testing of gateways and multiple wireless routers can be performed without manual intervention, saving a lot of repetitive manual operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121077940A_ABST
    Figure CN121077940A_ABST
Patent Text Reader

Abstract

The invention provides a gateway network distribution test system and a gateway network distribution test method. The gateway network distribution test system is used for realizing network distribution test of a gateway and a plurality of wireless routers, and comprises a mobile terminal, the gateway, a plurality of wireless routers to be tested, a driving circuit board and a network distribution test device. The distribution network testing device communicates with the driving circuit board and the mobile terminal; and the testing module is provided with a distribution network testing processing module and is used for testing the distribution network connection between the plurality of wireless routers to be tested and the gateway one by one by controlling the driving circuit board and operating the APP on the mobile terminal. By arranging the gateway network distribution test system, the gateway and the plurality of wireless routers can be subjected to network distribution test one by one without manual operation, so that a large amount of repeated manual operation can be saved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of communication technology, and in particular to a gateway network configuration testing system and method. BACKGROUND

[0002] With the development of Internet of Things technology, today's home appliances can communicate wirelessly with the user's terminal device, such as a mobile phone, and thereby the user can control the home appliances or query the running status of the appliances through the user terminal without the aid of a dedicated remote control. A gateway is a device that can enable networking between different home appliances within a home and interconnection between the home internal network and an external network. During the development and testing of a gateway, the manufacturer needs to perform network configuration testing on the gateway in terms of adaptability with each of the mainstream brands of wireless routers on the market, i.e., the gateway can successfully connect with these wireless routers to realize the networking function of the home appliances. However, there are dozens or even hundreds of mainstream brands of wireless routers on the market, and therefore, when testing each gateway, the tester needs to perform repetitive network configuration connection operations dozens or even hundreds of times in the APP for controlling the home appliances on the terminal device, such as a mobile phone. SUMMARY

[0003] To overcome the problems in the background art, the present disclosure provides a gateway network configuration testing system and method, which do not require human operation and thus can save a large amount of repetitive manual operation.

[0004] A first aspect of the embodiments of the present disclosure provides a gateway network configuration testing system for implementing network configuration testing of a gateway and a plurality of wireless routers. The system includes a mobile terminal, a gateway, a plurality of wireless routers to be tested, a driving circuit board, and a network configuration testing device. The mobile terminal is installed with an APP for controlling a specific home appliance. The gateway is used to connect the specific home appliance to realize the networking of the specific home appliance. The driving circuit board is provided with a plurality of stations, each station being connected with a switch to control the power supply and power-off of the station; the gateway and the plurality of wireless routers to be tested are connected to the corresponding stations. The network configuration testing device communicates with the driving circuit board and the mobile terminal; it has a network configuration testing processing module for testing the network configuration connection of the plurality of wireless routers to be tested and the gateway one by one by controlling the driving circuit board and operating the APP on the mobile terminal.

[0005] In some embodiments, the network configuration testing device communicates with the driving circuit board through the RS485 communication protocol.

[0006] In some embodiments, the network configuration testing device communicates with the mobile terminal through WiFi.

[0007] In some embodiments, the network configuration test processing module is configured to: start the wireless router under test by closing a switch of a station where the wireless router under test is located; reset the gateway by controlling a switch of a station where the gateway is located; execute the network configuration test steps by operating an APP on the mobile terminal; record the network configuration test result information; and turn off the wireless router under test by opening the switch of the station where the wireless router under test is located.

[0008] In some embodiments, the executing the network configuration test steps comprises: establishing a connection between the wireless router under test and the mobile terminal through WiFi; establishing a connection between the gateway and the mobile terminal through Bluetooth; and establishing a connection between the wireless router under test and the gateway through the mobile terminal.

[0009] In some embodiments, the step of establishing a connection between the wireless router under test and the mobile terminal through WiFi comprises: operating the APP to select the wireless router under test and input a WiFi password to establish a connection between the mobile terminal and the wireless router under test, so that the mobile terminal obtains SSID and password information of the wireless router under test.

[0010] In some embodiments, the step of establishing a connection between the wireless router under test and the gateway comprises: the gateway receiving the SSID and password information of the wireless router under test through the mobile terminal, and establishing a WiFi connection with the wireless router under test using the SSID and password information after successful parsing.

[0011] In some embodiments, the network configuration test result information comprises information of successful network configuration and information of failed network configuration.

[0012] In some embodiments, the executing the network configuration test steps further comprises: after the wireless router under test establishes a connection with the gateway, the gateway connects to the cloud through the wireless router under test to realize registration of the specific home appliance device on the cloud.

[0013] Another aspect of the embodiments of the present disclosure provides a gateway network configuration test method performed by using the above test system, and the method comprises:

[0014] S1 starting the wireless router under test;

[0015] S2 resetting the gateway;

[0016] S3 establishing a connection between the wireless router under test and the mobile terminal;

[0017] S4 establishing a connection between the gateway and the mobile terminal;

[0018] S5 establishing a connection between the wireless router under test and the gateway through the mobile terminal;

[0019] S6 recording the network configuration test result information;

[0020] S7 turning off the wireless router under test;

[0021] S8 starts the next to-be-tested wireless router and repeats steps S2-S7.

[0022] In some embodiments, the method further comprises: after the to-be-tested wireless router establishes a connection with the gateway, the gateway further connects to the cloud through the to-be-tested wireless router to realize the registration of the specific home appliance device on the cloud.

[0023] The technical solution provided by one or more embodiments of the present disclosure can include the following beneficial effects: by setting the gateway network configuration testing system, the gateway can be tested for network configuration with multiple wireless routers one by one without human operation, thereby saving a large amount of repetitive manual operation. BRIEF DESCRIPTION OF DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0025] Figure 1 is a principle block diagram of the gateway network configuration testing system in an embodiment of the present disclosure;

[0026] Figure 2 is a principle block diagram of a specific home appliance device connected to a communication network system in an embodiment of the present disclosure;

[0027] Figure 3 is Figure 1 The gateway network configuration testing system shown in FIG. 1 is a flowchart of the process of the gateway testing network configuration with a to-be-tested wireless router in an embodiment.

[0028] Figure 4 is Figure 3 The flowchart shown in FIG. 2 is a flowchart of the specific steps of performing network configuration. DETAILED DESCRIPTION

[0029] The embodiments shown will be described in detail below with reference to the accompanying drawings. However, these embodiments do not represent all the embodiments consistent with the present disclosure, and the changes in structure, method, or function made by those skilled in the art based on these embodiments are included in the scope of protection requested by the appended claims.

[0030] First, refer to FIG. 1 Figure 2The communication network system in the embodiment of the present disclosure is shown, which includes a specific home appliance 30, a gateway 40, a wireless router 50, a cloud 60, and a mobile terminal 70. The specific home appliance 30 can be a gas water heater, a gas wall-hanging stove, a heat pump, etc. The specific home appliance 30 has a control component and a communication interface. In some embodiments, the communication interface can be an electrical connector arranged on a circuit board, which can realize wired connection with external devices through a communication bus conforming to a specific industrial communication protocol, such as eBUS, RS232, RS422, or RS485, etc.

[0031] The gateway 40 is a device for realizing networking between different devices inside a home, and interconnection between the internal network of the home and the external network. In some embodiments, the gateway 40 is wiredly connected with the communication interface of the specific home appliance through the above-mentioned communication bus, typically an RS485 communication bus. The gateway 40 is also provided with a wireless communication module, which can realize wireless communication with other devices through short-range wireless communication technologies, such as WiFi, ZigBee, or Bluetooth, etc. For example, the wireless communication module can realize wireless communication between the gateway 40 and the wireless router 50 through a wireless local area network communication protocol (i.e. WiFi) such as 802.11n, or realize wireless communication between the gateway 40 and the mobile terminal 70 through a Bluetooth communication protocol.

[0032] The wireless router 50 is communicatively connected with the cloud 60 via the Internet. The cloud 60 can be a single server, or a centralized data center composed of a large server cluster, which can provide various services including computing, storage, database, network, and analysis, etc. through the Internet. The mobile terminal 70 can be a smartphone, a notebook computer, a personal computer, a tablet computer, etc., which can be communicatively connected with the cloud 60 through the Internet, can communicate with the wireless router 50 through WiFi, and can communicate with the gateway 40 through Bluetooth. The mobile terminal 70 is also installed with an APP (application program) for controlling specific home appliances, such as a gas water heater, a gas wall-hanging stove, a heat pump, etc. When used for the first time, the user can select products such as a gas wall-hanging stove and the model of the gateway in the APP, and then the mobile terminal 70 realizes connection with the gateway 40 through Bluetooth. In addition, by turning on WiFi in the APP and inputting the WiFi password, the mobile terminal 70 and the wireless router 50 can establish a secure connection. Thus, the gateway 40 and the wireless router 50 establish connection through WiFi via the mobile terminal 70, and then the gateway 40 can be connected to the cloud 60, so that products such as the gas wall-hanging stove can be connected to the cloud service.

[0033] Cooperative reference Figure 1As shown, in some embodiments, the gateway network configuration test system is used to implement network configuration test of a gateway and a plurality of wireless routers, which includes a mobile terminal 70, a gateway 40, a plurality of wireless routers 51, 52, a drive circuit board 21, 22, and a network configuration test device 10. The mobile terminal 70 is installed with an APP for controlling specific household appliances, such as gas water heaters, gas wall-mounted furnaces, heat pumps, etc. The gateway 40 can be connected with these specific household appliances through a communication bus, such as RS485. The drive circuit board is provided with a plurality of stations, each of which is connected with a switch to control power supply and power-off of the station. In some embodiments, the gateway and the plurality of wireless routers are connected on the corresponding stations, and the control switch can be a relay or other forms of electronic switch. For example, Figure 1 As shown, the gateway 40 is arranged on the drive circuit board 21, which can be powered by 24V DC power supplied to the circuit board at the same time and controlled by the switch 2121; a plurality of wireless routers 51, 52 to be tested are arranged on the corresponding stations of the circuit board and are respectively controlled by the corresponding switches 2122, 2123; when the number of wireless routers is large, a drive circuit board, such as the drive circuit board 22, can be added, and these wireless routers are all powered by the mains.

[0034] The network configuration testing device 10 comprises a network configuration testing processing module 11 and a communication unit 12. The network configuration testing processing module 11 is configured to test the network configuration connection of each wireless router 51, 52 and the gateway 40 one by one by controlling the driving circuit boards 21, 22 and operating the APP on the mobile terminal 70. The driving circuit boards 21, 22 can be a control circuit comprising a processor and a memory, and a plurality of electronic elements connected in a certain wiring manner. The processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The memory can be used to store the instructions of any application program or method operated on the processor, and various types of data. The processor realizes the network configuration testing function by running or executing the programs or instructions stored in the memory, and calling the data stored in the memory. The memory can comprise any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (PROM), magnetic memory, flash memory, solid-state memory, magnetic disk or optical disk, etc. In some embodiments, the corresponding instructions can be developed using Python language and modbus protocol. The communication unit 12 is configured to realize communication with the mobile terminal 70 and the driving circuit boards 21, 22. In some embodiments, the RS485 interfaces 211, 212 are arranged on the driving circuit boards 21, 22, so that the network configuration testing device 10 realizes communication with the driving circuit boards 211, 212 through the RS485 communication protocol via the communication unit 12. In some embodiments, the network configuration testing device 10 realizes communication with the mobile terminal 70 through WiFi via the communication unit 12.

[0035] Figure 3 The steps of the method for testing the network configuration of the gateway by the network configuration testing system are shown, and the following detailed description is made with respect to the network configuration testing processing module 11 performing the steps of the method.

[0036] The switch 2122 of the station where the to-be-tested wireless router 51 is located is closed to start the to-be-tested wireless router (step 801). The switch 2121 of the station where the gateway 40 is located is controlled to be turned on for 10 seconds and then turned off to reset the gateway (step 802). Then, the APP on the mobile terminal 70 is operated to perform the network configuration test step (step 803), which will be described in detail with reference to FIG. 8. Figure 4

[0037] First, the to-be-tested wireless router 51 is connected with the mobile terminal 70 through WiFi (step 8031). The network configuration test processing module 11 sends an instruction to the mobile terminal 70 through the communication unit 12 to simulate a user logging in the APP, selecting the brand and model of the current to-be-tested wireless router 51, and inputting the WiFi password, so that the mobile terminal 70 is connected with the to-be-tested wireless router 51 to obtain the SSID (Service Set Identifier) and password of the to-be-tested wireless router and other information required for network configuration. Then, the gateway 40 is connected with the mobile terminal 70 through Bluetooth (step 8032). The switch 2121 of the station where the gateway 40 is located is controlled to restart the gateway 40, and the mobile terminal 70 searches for the gateway 40 that is broadcasting and establishes a connection through Bluetooth. Then, the to-be-tested wireless router 51 is connected with the gateway 40 through WiFi via the mobile terminal 70 (step 8033). The mobile terminal 70 sends the encrypted SSID and password information of the to-be-tested wireless router to the gateway 40, and the gateway 40 accepts and parses the information successfully and then uses the SSID and password information to establish a connection with the to-be-tested wireless router. If the connection is successful, the network configuration is successful; otherwise, the network configuration fails. Subsequently, the network configuration test result information is recorded (step 804), such as “network configuration success” or “network configuration failure”. In some embodiments, after the to-be-tested wireless router is connected with the gateway, the gateway 40 is connected with the cloud 60 through the to-be-tested wireless router 51 to realize the registration of a specific home appliance device on the cloud.

[0038] Next, the switch 2122 of the station where the to-be-tested wireless router 51 is located is turned off to stop the current to-be-tested wireless router (step 805), that is, the network configuration test of the current to-be-tested wireless router 51 and the gateway 40 is completed, and then the next to-be-tested wireless router is automatically tested, that is, the to-be-tested wireless router 52 is started, and the above steps are repeated. After all the to-be-tested wireless routers are tested, a list of all the test results can be output. By setting the gateway network configuration test system, the gateway and multiple wireless routers can be tested one by one without manual operation, thereby saving a large amount of repetitive manual operation.

[0039] ​All or part of the steps in the method of the above disclosed embodiments can be instructed by a computer program to relevant hardware to complete. The computer program can be stored in a computer readable storage medium, and the computer program can implement the steps of each method embodiment described above when executed by a processor. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate forms, etc. The readable storage medium can include any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (PROM), magnetic storage, flash memory, solid state memory, magnetic disk or optical disk, etc.

[0040] It should be understood that the methods and devices disclosed in the above disclosure can be implemented in other ways. For example, the above-described device embodiments are only illustrative, such as the division of units in the controller, which is only a logical division, and actual implementation can have another division manner, for example, multiple units can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the connection between the components, elements, units discussed above can be electrical, mechanical, or other connection forms; can be direct connection, or indirect connection through some interface, etc.; can be wired connection, or wireless communication.

[0041] In addition, the units described above as separate components can or can not be physically separated, and the components displayed as units can or can not be physical units; part or all of the units can be selected according to actual needs to achieve the purpose of the disclosed embodiment scheme. In addition, each functional unit in each embodiment described above can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of hardware plus software functional unit.

[0042] It should be understood that although the present specification is described in terms of embodiments, each embodiment does not contain only one independent technical solution, and the description manner of the specification is only for clarity. The skilled person should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that the skilled person can understand.

Claims

1. A gateway network configuration testing system, used to perform network configuration testing on a gateway and several wireless routers, characterized in that, The system comprises: a mobile terminal on which an APP for controlling a specific home appliance is installed; a gateway for connecting the specific home appliance to implement networking of the specific home appliance; a plurality of wireless routers to be tested; a driving circuit board provided with a plurality of stations, each station being connected with a switch to control power supply and power-off of the station; the gateway and the plurality of wireless routers to be tested are connected to corresponding stations; a network configuration testing device in communication with the driving circuit board and the mobile terminal; the network configuration testing device has a network configuration testing processing module for testing the network configuration connection of the plurality of wireless routers to be tested with the gateway one by one by controlling the driving circuit board and operating the APP on the mobile terminal.

2. The gateway commissioning test system of claim 1, wherein: The network configuration testing device realizes communication with the driving circuit board through an RS485 communication protocol.

3. The gateway commissioning test system of claim 1, wherein: The network configuration testing device realizes communication with the mobile terminal through WiFi.

4. The gateway commissioning test system of claim 1, wherein: The network configuration testing processing module is configured to start a wireless router to be tested by closing a switch of a station where the wireless router to be tested is located; reset the gateway by controlling a switch of a station where the gateway is located; execute a network configuration testing step by operating the APP on the mobile terminal; record network configuration testing result information; and turn off the wireless router to be tested by opening the switch of the station where the wireless router to be tested is located.

5. The gateway commissioning test system of claim 4, wherein: The execution of the network configuration testing step comprises: establishing a connection between the wireless router to be tested and the mobile terminal through WiFi; establishing a connection between the gateway and the mobile terminal through Bluetooth; and establishing a connection between the wireless router to be tested and the gateway through the mobile terminal.

6. The gateway commissioning test system of claim 5, wherein: The step of establishing a connection between the wireless router to be tested and the mobile terminal through WiFi comprises: operating the APP to select the wireless router to be tested and inputting a WiFi password to establish a connection between the mobile terminal and the wireless router to be tested, so that the mobile terminal acquires SSID and password information of the wireless router to be tested.

7. The gateway commissioning test system of claim 6, wherein: The step of establishing a connection between the wireless router to be tested and the gateway comprises: the gateway receiving the SSID and password information of the wireless router to be tested through the mobile terminal, and establishing a WiFi connection with the wireless router to be tested using the SSID and password information after successful parsing.

8. The gateway commissioning test system of claim 5, wherein: The network configuration testing result information comprises information of successful network configuration and information of failed network configuration.

9. The gateway commissioning test system of any one of claims 5-8, wherein: The execution of the network configuration testing step further comprises: after the wireless router to be tested establishes a connection with the gateway, the gateway connects to a cloud through the wireless router to be tested to implement registration and registration of the specific home appliance on the cloud.

10. A gateway commissioning test method performed by using the test system according to any one of claims 1 to 9, characterized in that, The method comprises: S1 starting a wireless router to be tested; S2 resetting a gateway; S3 establishing a connection between the wireless router to be tested and a mobile terminal; S4 establishing a connection between the gateway and the mobile terminal; S5 establishing a connection between the wireless router to be tested and the gateway through the mobile terminal; S6 recording network configuration testing result information; S7 turning off the wireless router to be tested; S8 starting a next wireless router to be tested and repeating steps S2-S7.

11. The gateway commissioning test method of claim 10, wherein: The method further comprises: after the wireless router to be tested establishes a connection with the gateway, the gateway also connects to a cloud through the wireless router to be tested to implement registration and registration of the specific home appliance on the cloud.