CN117614764A - Distribution network testing method, system, equipment and storage medium for intelligent household appliances - Google Patents

Distribution network testing method, system, equipment and storage medium for intelligent household appliances Download PDF

Info

Publication number
CN117614764A
CN117614764A CN202311549873.3A CN202311549873A CN117614764A CN 117614764 A CN117614764 A CN 117614764A CN 202311549873 A CN202311549873 A CN 202311549873A CN 117614764 A CN117614764 A CN 117614764A
Authority
CN
China
Prior art keywords
distribution network
intelligent household
network
household appliance
intelligent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311549873.3A
Other languages
Chinese (zh)
Inventor
麻长存
周淑艳
杨荣祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202311549873.3A priority Critical patent/CN117614764A/en
Publication of CN117614764A publication Critical patent/CN117614764A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2814Exchanging control software or macros for controlling appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • H04L12/2827Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality
    • H04L12/2829Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality involving user profiles according to which the execution of a home appliance functionality is automatically triggered
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application relates to the technical field of equipment testing, and provides a distribution network testing method, a system, equipment and a storage medium for intelligent household appliances. Responding to the test signal, and sending out a distribution network instruction; the network allocation instruction is used for triggering the intelligent household appliance to enter a network state to be allocated; scanning and analyzing broadcast signals sent by the intelligent household appliances after entering the network state to be matched to obtain analysis results; establishing a communication channel with the intelligent household appliance according to the analysis result; transmitting the distribution network information to the intelligent household appliance through a communication channel; the distribution network information comprises router information and cloud addresses; and receiving a cloud feedback result sent by the intelligent household appliance. By the mode, the full automation of the intelligent household appliance distribution network testing process can be realized; and the intelligent household appliance can test the operation of the distribution network during the research and development test, does not need to depend on the development progress of application programs or applets, and greatly improves the research and development and test efficiency.

Description

Distribution network testing method, system, equipment and storage medium for intelligent household appliances
Technical Field
The application relates to the technical field of equipment testing, in particular to a distribution network testing method, a distribution network testing system, distribution network testing equipment and a storage medium of intelligent household appliances.
Background
With the popularization of the internet of things technology on home appliances, more and more home appliances become intelligent home appliances, and the first step of the intelligent home appliances entering home and networking control is to perform network distribution on the intelligent home appliances through intelligent appliances APP (Application) or applets corresponding to products, so that the network distribution function is very important during the research and development test of the intelligent home appliances, and great effort is required to ensure the stability and the robustness of the function.
During research and development testing of intelligent home appliances, a large number of tests are required to be carried out on distribution network operation, however, the efficiency of distribution network testing of the intelligent home appliances at present is low, and the research and development requirements of the intelligent home appliances cannot be met.
Disclosure of Invention
The present application aims to solve at least one of the technical problems existing in the related art. Therefore, the intelligent household appliance distribution network testing method can realize full automation of the intelligent household appliance distribution network testing process, does not need to depend on development progress of application programs or applets, and greatly improves research and development and testing efficiency.
The application also provides a distribution network test system of the intelligent household appliance, electronic equipment and a storage medium.
According to an embodiment of the first aspect of the application, the network allocation test method for the intelligent household appliance is applied to raspberry pie and comprises the following steps: responding to the test signal, and sending out a distribution network instruction; the network allocation instruction is used for triggering the intelligent household appliance to enter a network state to be allocated; scanning and analyzing broadcast signals sent by the intelligent household appliances after entering the network state to be matched to obtain analysis results; establishing a communication channel with the intelligent household appliance according to the analysis result; transmitting the distribution network information to the intelligent household appliance through a communication channel; the distribution network information comprises router information and cloud addresses; and receiving a cloud feedback result sent by the intelligent household appliance.
According to the distribution network testing method of the intelligent household appliance, full automation of the distribution network testing flow of the intelligent household appliance can be achieved through the application of the raspberry pie, development progress of application programs or small programs is not needed, and research and development and testing efficiency is greatly improved.
According to one embodiment of the present application, in response to a test signal, a network allocation instruction is issued, including: responding to the test signal, triggering the infrared module to send out an infrared signal distribution network instruction; thereby realizing triggering the intelligent household appliance to enter the network state to be matched through the infrared mode.
According to one embodiment of the present application, in response to a test signal, a network allocation instruction is issued, including: responding to the test signal, triggering an input/output pin connected with a distribution network key of the intelligent household appliance to send out a distribution network instruction; thereby realizing triggering the intelligent household appliance to enter the network state to be matched by a key-press mode.
According to an embodiment of the application, a broadcast signal sent by an intelligent household appliance after entering a network state to be matched is scanned and analyzed to obtain an analysis result, and a communication channel is established with the intelligent household appliance according to the analysis result, and the method comprises the following steps: when the intelligent household appliance enters a network state to be configured, scanning Bluetooth broadcast signals or WIFI broadcast signals sent by the intelligent household appliance and analyzing the Bluetooth broadcast signals or the WIFI broadcast signals to obtain an analysis result; establishing a Bluetooth communication channel or a WIFI communication channel with the intelligent household appliance according to the analysis result; thereby realized being connected with intelligent household electrical appliances through bluetooth or WIFI's mode.
According to one embodiment of the present application, sending the distribution network information to the intelligent home appliance through the communication channel includes: transmitting the distribution network information to the intelligent household appliance through a Bluetooth communication channel or a WIFI communication channel; therefore, the distribution network information is sent to the intelligent household appliance through the Bluetooth communication channel or the WIFI communication channel.
According to one embodiment of the application, receiving a cloud feedback result sent by an intelligent household appliance includes: after the intelligent household appliance completes connection with the cloud, receiving a cloud feedback result sent by the intelligent household appliance through Bluetooth or WIFI; therefore, the successful operation of the distribution network is determined in a Bluetooth or WIFI mode.
According to a second aspect of the present application, a method for testing a distribution network of an intelligent home appliance is applied to the intelligent home appliance, and includes: receiving a network allocation instruction; responding to a network allocation instruction, and switching to a network to be allocated state; in the network state to be allocated, sending out a broadcast signal and establishing a communication channel with the raspberry group; receiving distribution network information through a communication channel; the distribution network information comprises router information and cloud addresses; switching from a network state to be distributed to a connection state based on the distribution network information, and connecting with a router according to the router information; after the router is successfully connected with the router, cloud connection operation is carried out according to the cloud address; and sending the cloud feedback result to the raspberry.
According to the distribution network testing method of the intelligent household appliance, full automation of the distribution network testing flow of the intelligent household appliance can be realized through interaction with the raspberry pie, development progress of application programs or applets is not needed, and research and development and testing efficiency is greatly improved.
According to one embodiment of the present application, receiving a network allocation instruction includes: receiving an infrared signal distribution network instruction through an infrared signal receiver; thereby realizing the entrance into the network state to be matched in an infrared mode.
According to one embodiment of the present application, receiving a network allocation instruction includes: receiving a network distribution instruction through a network distribution key connected with an input/output pin of the raspberry group; thereby realizing the entry into the network to be matched in a key manner.
According to one embodiment of the present application, in a to-be-provisioned network state, a broadcast signal is sent out, and a communication channel is established with a raspberry group, including: in a network state to be allocated, a Bluetooth broadcast signal or a WIFI broadcast signal is sent; establishing a Bluetooth communication channel or a WIFI communication channel with the raspberry group; thereby realizing the connection with the raspberry group by means of Bluetooth or WIFI.
According to one embodiment of the present application, receiving distribution network information over a communication channel includes: receiving distribution network information through a Bluetooth communication channel or a WIFI communication channel; therefore, the network distribution information is received through the Bluetooth communication channel or the WIFI communication channel.
According to one embodiment of the present application, sending cloud feedback results to raspberries includes: after the connection with the cloud is completed, sending a cloud connection feedback result through Bluetooth or WIFI; thereby realizing feedback result to raspberry group by Bluetooth or WIFI mode.
According to the third aspect of the application, the intelligent household appliance distribution network test system comprises a raspberry group and an intelligent household appliance; the raspberry group is used for executing the network allocation test method of any intelligent household appliance in the first aspect; the intelligent home appliance is configured to perform the network allocation testing method of any one of the above second aspects.
An electronic device according to an embodiment of a fourth aspect of the present application includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements a network allocation testing method of an intelligent home appliance as any one of the first aspect or the second aspect when executing the program.
A non-transitory computer readable storage medium according to an embodiment of the fifth aspect of the present application has stored thereon a computer program which, when executed by a processor, implements a distribution network testing method for a smart home appliance as any one of the first aspect or the second aspect.
The above technical solutions in the embodiments of the present application have at least one of the following technical effects:
the full automation of the intelligent household appliance distribution network testing process is realized by means of the raspberry pie, the research, development and manual operation of testers are not needed, and the testing efficiency is improved;
the intelligent household appliance can test the operation of the distribution network during the research and development test without depending on the development progress of application programs or applets.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are required to be used in the embodiments or the related technical descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for a person having ordinary skill in the art.
Fig. 1 is one of flow diagrams of a method for testing a distribution network of an intelligent home appliance according to an embodiment of the present application;
fig. 2 is a schematic topology diagram of a connection between a raspberry group and an external device according to an embodiment of the present application;
fig. 3 is a functional architecture diagram of a raspberry group according to an embodiment of the present application;
fig. 4 is a functional architecture connection schematic of a raspberry group according to an embodiment of the present application;
fig. 5 is a second flowchart of a method for testing a distribution network of an intelligent home appliance according to an embodiment of the present application;
fig. 6 is a signaling interaction schematic diagram of a method for testing a distribution network of an intelligent home appliance according to an embodiment of the present application;
fig. 7 is a schematic entity structure of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in further detail below with reference to the accompanying drawings and examples. The following examples are illustrative of the present application but are not intended to limit the scope of the present application.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the embodiments of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
At present, after the development of the intelligent household appliance is finished, the intelligent household appliance can be subjected to network allocation test after the development of the intelligent equipment APP or the applet is finished, so that the network allocation test is limited by the development progress of the intelligent equipment APP or the applet on one hand, and the intelligent equipment APP and the applet are difficult to automatically control on the other hand, so that the network allocation test is a great obstacle to the test efficiency.
Based on the above, the distribution network testing method, system, equipment and storage medium for the intelligent household appliances can effectively solve the problems of excessive dependence and low testing efficiency among research and development teams, can realize the full automation of the distribution network testing flow of the intelligent household appliances, does not need to depend on the development progress of application programs or applets, and greatly improves the research and development and testing efficiency.
An embodiment of the present application provides a method for testing a distribution network of an intelligent home appliance, refer to fig. 1, and fig. 1 is one of flow diagrams of the method for testing a distribution network of an intelligent home appliance provided in the embodiment of the present application. The network allocation testing method of the intelligent household appliance is applied to raspberry pie and comprises steps 110 to 150, wherein the steps are as follows:
step 110: and responding to the test signal, and sending out a distribution network instruction.
Raspberry Pi (RPi) is a portable computer, which uses SD/MicroSD card as memory hard disk, and comprises multiple input/output pins, which can be connected with multiple external devices.
The intelligent household appliance refers to intelligent household appliance equipment, and is a household appliance formed by introducing a microprocessor, a sensor technology and a network communication technology into the household appliance equipment, and comprises, but is not limited to, an intelligent refrigerator, an intelligent sound box, an intelligent air conditioner, an intelligent socket, an intelligent electric cooker and the like.
Specifically, the raspberry group may be preset with a control program for an automated distribution network. When the distribution network test is required, the control program of the automatic distribution network of the raspberry group is called by the local computer or the remote computer, so that the automatic distribution network test flow can be started without manual operation of test or research personnel.
Alternatively, remote control may be implemented using a Secure Shell protocol (SSH) connection provided by the raspberry group.
When the automatic distribution network testing process is started, the raspberry group responds to a testing signal sent by a local computer or a remote computer to send out a distribution network instruction. The network allocation instruction is used for triggering the intelligent household appliance to enter a network state to be allocated.
Optionally, the network allocation instruction may trigger the intelligent home appliance to enter the network to be allocated in various manners, for example, an infrared signal or a key, etc.
Step 120: and scanning and analyzing broadcast signals sent by the intelligent household appliances after the intelligent household appliances enter the network state to be matched, and obtaining analysis results.
The intelligent household appliance can enter a network state to be allocated in response to the network allocation instruction, and a broadcast signal can be sent out when the intelligent household appliance enters the network state to be allocated. Therefore, the raspberry pie can scan and find the broadcast signals sent by the intelligent household appliances and analyze the broadcast signals, so that analysis results are obtained.
Step 130: and establishing a communication channel with the intelligent household appliance according to the analysis result.
The raspberry group can be in communication connection with the intelligent home appliance according to the analysis result obtained in the step 120, and a communication channel can be established between the raspberry group and the intelligent home appliance after the communication connection is successful.
In one embodiment, the communication channel is a unidirectional communication channel, the raspberry group is used as a transmitting end of the communication channel, and the intelligent home appliance is used as a receiving end of the communication channel.
Step 140: and sending the distribution network information to the intelligent household appliance through a communication channel.
The raspberry group can carry out information transmission with intelligent household appliances through a communication channel. Specifically, the raspberry group can send the distribution network information to the intelligent home appliance through a communication channel. The distribution network information may include router information and a cloud address.
Optionally, the router information may include a router service set identification (Service Set Identifier, SSID) and a router password.
Step 150: and receiving a cloud feedback result sent by the intelligent household appliance.
The intelligent household appliance can be switched from the network waiting state to the connection state after receiving the network allocation information.
Optionally, after the intelligent home appliance is switched from the to-be-allocated network state to the connection state, the communication channel established between the intelligent home appliance and the raspberry group disappears, and at this time, the intelligent home appliance and the raspberry group can perform communication interaction in a broadcast signal manner. The raspberry pie can continuously monitor the broadcast information of the intelligent household appliance and determine the cloud feedback result of the intelligent household appliance according to the broadcast information.
Specifically, after the intelligent home appliance is switched to the connection state, the intelligent home appliance can determine a target router to be connected according to the SSID of the router, send a connection application and a router password to the target router, and agree to connect after the target router verifies that the password is correct, so that the intelligent home appliance and the target router are successfully connected.
And then, performing cloud connection operation on the intelligent household appliances according to the cloud addresses, namely determining a target cloud according to the cloud addresses, sending a connection application to the target cloud, enabling the target cloud to agree to connect, enabling the intelligent household appliances to be successfully connected with the target cloud, and completing network distribution. The intelligent household appliance can send cloud feedback results to the intelligent household appliance in a broadcasting mode.
In some embodiments, the cloud feedback result may feed back a successful result of the distribution network, or may feed back an unsuccessful result of the distribution network. For example, due to network/information errors, equipment faults and the like, the connection between the intelligent household appliance and the target cloud end fails, and at this time, the intelligent household appliance can send a cloud connection feedback result of network distribution failure to the intelligent household appliance in a broadcasting mode.
Optionally, the cloud connection feedback result of the network allocation failure may further include a reason of the network allocation failure, so as to analyze a problem existing in the intelligent home appliance or a problem existing in the test environment. If the problems exist in the test environment, the intelligent household appliance is subjected to network allocation test again after the problems are solved; if the intelligent household appliance has the problems, judging that the distribution network test of the intelligent household appliance is not passed, and further analyzing the reason that the distribution network test of the intelligent household appliance is not passed.
Above, the embodiment of the present application provides a network allocation test method applied to an intelligent home appliance of a raspberry group, where the raspberry group responds to a test signal and sends out a network allocation instruction; the network allocation instruction is used for triggering the intelligent household appliance to enter a network state to be allocated; scanning and analyzing broadcast signals sent by the intelligent household appliances after entering the network state to be matched to obtain analysis results; establishing a communication channel with the intelligent household appliance according to the analysis result; transmitting the distribution network information to the intelligent household appliance through a communication channel; the distribution network information comprises router information and cloud addresses; receiving a cloud feedback result sent by the intelligent household appliance; according to the embodiment of the application, the full automation of the intelligent household appliance distribution network testing process can be realized by applying the raspberry pie, the development progress of an application program or an applet is not required to be relied on, and the research and development efficiency and the testing efficiency are greatly improved.
Based on the above embodiment, in response to the test signal, issuing the network allocation instruction may include:
step 111: and responding to the test signal, triggering the infrared module to send out an infrared signal distribution network instruction.
Optionally, in order to realize control of the infrared module, an infrared control program may be preset in the raspberry group.
In this embodiment, the raspberry group may be externally connected with an infrared module to transmit and receive an infrared command, so as to switch the intelligent home appliance to a network state to be matched in an infrared signal manner.
Referring to fig. 2, fig. 2 is a schematic topology diagram of a connection between a raspberry group and an external device according to an embodiment of the present application.
The external devices in fig. 2 include an infrared module, a router, and a cloud. The raspberry group and the infrared module can be connected through pins, the router and the raspberry group can be connected through wireless, and the raspberry group and the cloud can also be connected through wireless.
It should be noted that, the raspberry group can obtain the distribution network information in the intelligent household appliance distribution network test process through the connection with the router.
Based on the above embodiment, in response to the test signal, issuing the network allocation instruction may include:
step 112: and responding to the test signal, triggering an input/output pin connected with a distribution network key of the intelligent household appliance to send out a distribution network instruction.
The Input/Output pin may be a General-Purpose Input/Output (GPIO) pin of a raspberry group.
Optionally, in order to realize the control of the GPIO pin, a GPIO control program may be preset in the raspberry group.
In this embodiment, the input/output pins of the raspberry group are connected with the distribution network key of the intelligent household appliance, so that the intelligent household appliance is switched to a network state to be distributed in a key manner.
The two embodiments described above provide two ways of sending the distribution network instruction: infrared signals and keys. In the specific application of the raspberry group, the method for sending the network allocation instruction can be selected appropriately according to the hardware equipment of the intelligent household appliance:
when the hardware equipment of the intelligent household appliance comprises an infrared signal receiver and the intelligent household appliance supports the infrared signal distribution network, the raspberry group can switch the intelligent household appliance to a network state to be distributed in an infrared signal mode; when the hardware equipment of the intelligent household appliance comprises a distribution network key, and the intelligent household appliance supports key distribution network, the raspberry group can switch the intelligent household appliance to a network state to be distributed in a key mode.
It should be noted that, when the hardware device of the intelligent home appliance includes an infrared signal receiver and a network distribution key, and supports both the infrared signal network distribution and the key network distribution, the network distribution test needs to be performed on the infrared signal network distribution function and the key network distribution function of the intelligent home appliance.
Based on the above embodiment, scanning and analyzing a broadcast signal sent by an intelligent household appliance after entering a network state to be configured to obtain an analysis result, and establishing a communication channel with the intelligent household appliance according to the analysis result, including:
step 121: when the intelligent household electrical appliance enters a network state to be configured, a Bluetooth broadcast signal or a WIFI broadcast signal sent by the intelligent household electrical appliance is scanned and analyzed, and an analysis result is obtained.
Step 122: and establishing a Bluetooth communication channel or a WIFI communication channel with the intelligent household appliance according to the analysis result.
In this embodiment, when the intelligent home appliance enters the network state to be configured, a bluetooth broadcast signal can be sent out through a bluetooth module of the intelligent home appliance, or a WIFI broadcast signal can be sent out through a WIFI module of the intelligent home appliance. Raspberry pie can connect the bluetooth or the WIFI of intelligent household electrical appliances through bluetooth or WIFI.
When the intelligent household appliance sends out a Bluetooth broadcast signal, the raspberry group can establish a Bluetooth communication channel with the intelligent household appliance; when the intelligent household appliance sends out a WIFI broadcast signal, the raspberry group can establish a WIFI communication channel with the intelligent household appliance.
Based on the above embodiment, sending the distribution network information to the intelligent home appliance through the communication channel includes:
step 131: and sending the distribution network information to the intelligent household appliance through the Bluetooth communication channel or the WIFI communication channel.
In this embodiment, the raspberry group may send the distribution network information to the intelligent home appliance through a bluetooth communication channel or a WIFI communication channel.
Based on the above embodiment, receiving a cloud feedback result sent by an intelligent home appliance includes:
step 151: after the intelligent household appliance is connected with the cloud, a cloud feedback result sent by the intelligent household appliance through Bluetooth or WIFI is received.
In this embodiment, the raspberry group can accept the cloud feedback result sent by the intelligent home appliance through the bluetooth broadcast or the WIFI broadcast after the intelligent home appliance completes the connection with the cloud.
Optionally, a WIFI chip and a BLE (Bluetooth Low Energy ) chip may be provided on the raspberry serving. In order to realize the control of the WIFI chip and the BLE chip, a WIFI control program and a Bluetooth control program can be preset in the raspberry group.
The WIFI chip and the BLE chip on the raspberry party are utilized, so that the intelligent household appliance can be subjected to equipment scanning, bluetooth connection, distribution network information sending and cloud feedback monitoring through the WIFI communication channel, and distribution network operation of the intelligent household appliance can be finally realized.
Referring to fig. 3-4, fig. 3 is a schematic functional architecture diagram of a raspberry group according to an embodiment of the present application; fig. 4 is a functional architecture connection schematic of a raspberry group according to an embodiment of the present application.
The raspberry group may include an automated distribution network control program, a bluetooth control program, an infrared control program, a WIFI control program, and a GPIO control program. The automatic distribution network control program is used as a total control program and is respectively connected with the Bluetooth control program, the infrared control program, the WIFI control program and the GPIO control program so as to control each sub-control program.
The infrared control program and the GPIO control program are mainly responsible for sending out a network allocation instruction and switching the intelligent household appliance to a network to be allocated state; the bluetooth control program and the WIFI control program are mainly responsible for performing device scanning, bluetooth connection, sending distribution network information, broadcasting monitoring, and the like on the intelligent home appliances.
Referring to fig. 5, fig. 5 is a second flowchart of a network configuration testing method for an intelligent home appliance according to an embodiment of the present application. The network allocation testing method of the intelligent household appliance is applied to the intelligent household appliance and comprises the following steps 510 to 570:
step 510: and receiving a network allocation instruction.
Step 520: and responding to the network allocation instruction, and switching to a network to be allocated state.
Step 530: and in the network waiting state, sending out a broadcast signal and establishing a communication channel with the raspberry group.
Step 540: and receiving distribution network information through a communication channel.
The distribution network information comprises router information and cloud addresses.
Step 550: and switching from the network state to be distributed to the connection state based on the network distribution information, and connecting with the router according to the router information.
Step 560: and after the router is successfully connected with the router, carrying out cloud connection operation according to the cloud address.
Step 570: and sending the cloud feedback result to the raspberry.
The embodiment of the present application provides a network allocation testing method for an intelligent home appliance, which is substantially the same as the network allocation testing method for an intelligent home appliance of raspberry group, and specific steps and procedures are described in detail in the above embodiment, and are not repeated here.
In the distribution network testing method of the intelligent household appliance, the intelligent household appliance receives a distribution network instruction; responding to a network allocation instruction, and switching to a network to be allocated state; in the network state to be allocated, sending out a broadcast signal and establishing a communication channel with the raspberry group; receiving distribution network information through a communication channel; the distribution network information comprises router information and cloud addresses; switching from a network state to be distributed to a connection state based on the distribution network information, and connecting with a router according to the router information; after the router is successfully connected with the router, cloud connection operation is carried out according to the cloud address; and sending the cloud feedback result to the raspberry. The embodiment can realize the full automation of the intelligent household appliance distribution network testing process through interaction with the raspberry pie, does not need to depend on development progress of application programs or applets, and greatly improves research and development and testing efficiency.
Based on the above embodiment, receiving a network allocation instruction includes:
step 511: and receiving the distribution network instruction of the infrared signal through an infrared signal receiver.
Based on the above embodiment, receiving a network allocation instruction includes:
step 512: and receiving a distribution network instruction through a distribution network key connected with an input/output pin of the raspberry group.
Based on the above embodiment, in the to-be-allocated network state, a broadcast signal is sent out, and a communication channel is established with the raspberry group, including:
step 531: and in the network waiting state, sending out a Bluetooth broadcast signal or a WIFI broadcast signal.
Step 532: and establishing a Bluetooth communication channel or a WIFI communication channel with the raspberry group.
Based on the above embodiment, receiving the distribution network information through the communication channel includes:
step 541: and receiving the distribution network information through a Bluetooth communication channel or a WIFI communication channel.
Based on the above embodiment, sending cloud feedback results to raspberries includes:
step 571: after connection with the cloud is completed, a cloud feedback result is sent out through Bluetooth or WIFI.
Referring to fig. 6, fig. 6 is a signaling interaction schematic diagram of a network configuration testing method of an intelligent home appliance according to an embodiment of the present application. The specific flow in this embodiment includes:
0. the connection is maintained.
The raspberry group and the router are in communication connection, and the router and the cloud are in communication connection.
1. Triggering an automatic distribution network process.
The remote computer invokes an automated distribution control program of the raspberry group, which triggers an automated distribution process.
2. The infrared/key triggers the household appliance to enter a network state to be matched.
The automatic distribution network control program of the raspberry pie invokes an infrared control program, and an infrared signal instruction triggering the intelligent household appliance to enter a to-be-distributed network state is sent out through an external infrared module, so that the intelligent household appliance is switched to the to-be-distributed network state in an infrared mode.
Or, the GPIO pin of the raspberry group is connected with the distribution network key of the intelligent household appliance, and the automatic distribution network control program of the raspberry group calls the GPIO control program to switch the intelligent household appliance to the to-be-distributed network state in a key manner.
3. And broadcasting the Bluetooth/WIFI hot spot outwards.
The intelligent household appliances broadcast through bluetooth or WIFI antennas.
4. And connecting the household appliances through the Bluetooth/WIFI hot spot.
The automatic distribution network control program of the raspberry group calls a Bluetooth control program or a WIFI control program, and finds out a broadcast signal sent by the intelligent household appliance through scanning and analyzes the broadcast signal. After analysis is completed, the automatic distribution network control program of the raspberry group calls a Bluetooth control program or a WIFI control program to initiate communication connection with the intelligent household appliance through Bluetooth or WIFI.
5. And sending the distribution network information to the household appliance through Bluetooth/WIFI.
After the connection is successful, the automatic distribution network control program of the raspberry group calls a Bluetooth control program or a WIFI control program, and distribution network information comprising the router SSID, the password and the cloud address is sent to the intelligent household appliance through Bluetooth or WIFI.
6. And monitoring Bluetooth/WIFI broadcasting.
And after receiving the network allocation information, the intelligent household appliance exits the network to be allocated state, enters a connection state, and the raspberry group monitors Bluetooth/WIFI broadcasting.
7. The intelligent household appliance is connected with the router.
And in the connection state, the intelligent household appliance uses the received SSID and the password to connect the router.
8. The connection router succeeds.
After the router verifies that the password is correct, the router returns an agreement message of the connection application, and the intelligent household appliance and the router are successfully connected.
9. The intelligent household electrical appliances are connected with the cloud.
And after the intelligent household appliance is successfully connected with the router, performing cloud connection operation according to the received cloud address.
10. And (5) connecting the cloud end successfully and completing the network distribution.
And the cloud returns an agreement message of the connection application, the intelligent household appliance is successfully connected with the cloud, and the distribution network is completed.
11. The network distribution is successful through Bluetooth/WIFI broadcasting.
After the intelligent household electrical appliance is connected with the cloud, broadcasting is performed through Bluetooth or WIFI.
12. And feeding back an automatic distribution network result.
And the automatic distribution network control program of the raspberry pie calls a Bluetooth control program or a WIFI control program, and after receiving a message of successful cloud connection of the intelligent household appliance, the raspberry pie exits the distribution network flow and feeds back an automatic distribution network result to a remote computer.
According to the distribution network testing method for the intelligent household appliances, provided by the embodiment, development progress of intelligent equipment APP or an applet is not required to be relied on, and after the intelligent household appliances are developed, the distribution network functions of the intelligent household appliances can be tested in full quantity, so that the development progress is guaranteed. And an automatic control interface is provided, so that the research and development and testing efficiency is greatly improved. The method is convenient for research and development and testers to debug and accept all relevant processes of the distribution network function.
On the other hand, the embodiment of the application also provides a distribution network test system of the intelligent household appliance, which comprises a raspberry group and the intelligent household appliance; both raspberry pie and smart home appliances are used to perform the network deployment test method for any of the smart home appliances described above.
Illustratively, the network allocation test method of the intelligent household appliance executed by the raspberry group can comprise the following steps:
responding to the test signal, and sending out a distribution network instruction; the network allocation instruction is used for triggering the intelligent household appliance to enter a network state to be allocated; scanning and analyzing broadcast signals sent by the intelligent household appliances after entering the network state to be matched to obtain analysis results; establishing a communication channel with the intelligent household appliance according to the analysis result; transmitting the distribution network information to the intelligent household appliance through a communication channel; the distribution network information comprises router information and cloud addresses; and receiving a cloud feedback result sent by the intelligent household appliance.
For example, the method for testing the distribution network of the intelligent home appliance, which is executed by the intelligent home appliance, may include:
receiving a network allocation instruction; responding to a network allocation instruction, and switching to a network to be allocated state; in the network state to be allocated, sending out a broadcast signal and establishing a communication channel with the raspberry group; receiving distribution network information through a communication channel; the distribution network information comprises router information and cloud addresses; switching from a network state to be distributed to a connection state based on the distribution network information, and connecting with a router according to the router information; after the router is successfully connected with the router, cloud connection operation is carried out according to the cloud address; and sending the cloud feedback result to the raspberry.
In yet another aspect, an embodiment of the present application further provides an electronic device. Referring to fig. 7, fig. 7 is a schematic physical structure of an electronic device according to an embodiment of the present application. The electronic device may include: processor 710, communication interface (Communications Interface) 720, memory 730, and communication bus 740, wherein processor 710, communication interface 720, memory 730 communicate with each other via communication bus 740. Processor 710 may invoke logic instructions in memory 730 to perform the following method of network testing of the intelligent appliance:
responding to the test signal, and sending out a distribution network instruction; the network allocation instruction is used for triggering the intelligent household appliance to enter a network state to be allocated; scanning and analyzing broadcast signals sent by the intelligent household appliances after entering the network state to be matched to obtain analysis results; establishing a communication channel with the intelligent household appliance according to the analysis result; transmitting the distribution network information to the intelligent household appliance through a communication channel; the distribution network information comprises router information and cloud addresses; receiving a cloud feedback result sent by the intelligent household appliance;
or receiving a distribution network instruction; responding to a network allocation instruction, and switching to a network to be allocated state; in the network state to be allocated, sending out a broadcast signal and establishing a communication channel with the raspberry group; receiving distribution network information through a communication channel; the distribution network information comprises router information and cloud addresses; switching from a network state to be distributed to a connection state based on the distribution network information, and connecting with a router according to the router information; after the router is successfully connected with the router, cloud connection operation is carried out according to the cloud address; and sending the cloud feedback result to the raspberry.
Further, the logic instructions in the memory 730 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In still another aspect, embodiments of the present application further provide a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program is implemented when executed by a processor to perform the method for testing a distribution network of an intelligent home appliance provided in the foregoing embodiments, for example, includes:
responding to the test signal, and sending out a distribution network instruction; the network allocation instruction is used for triggering the intelligent household appliance to enter a network state to be allocated; scanning and analyzing broadcast signals sent by the intelligent household appliances after entering the network state to be matched to obtain analysis results; establishing a communication channel with the intelligent household appliance according to the analysis result; transmitting the distribution network information to the intelligent household appliance through a communication channel; the distribution network information comprises router information and cloud addresses; receiving a cloud feedback result sent by the intelligent household appliance;
or receiving a distribution network instruction; responding to a network allocation instruction, and switching to a network to be allocated state; in the network state to be allocated, sending out a broadcast signal and establishing a communication channel with the raspberry group; receiving distribution network information through a communication channel; the distribution network information comprises router information and cloud addresses; switching from a network state to be distributed to a connection state based on the distribution network information, and connecting with a router according to the router information; after the router is successfully connected with the router, cloud connection operation is carried out according to the cloud address; and sending the cloud feedback result to the raspberry.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on such understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the related art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that the above embodiments are only for illustrating the present application, and are not limiting of the present application. While the present application has been described in detail with reference to the embodiments, those skilled in the art will understand that various combinations, modifications, or equivalents of the technical solutions of the present application may be made without departing from the spirit and scope of the technical solutions of the present application, and all such modifications are intended to be covered by the claims of the present application.

Claims (15)

1. The distribution network testing method of the intelligent household appliance is characterized by being applied to raspberry pie, and comprises the following steps of:
responding to the test signal, and sending out a distribution network instruction; the network allocation instruction is used for triggering the intelligent household appliance to enter a network state to be allocated;
scanning and analyzing broadcast signals sent by the intelligent household appliances after entering a network state to be matched to obtain analysis results;
establishing a communication channel with the intelligent household appliance according to the analysis result;
transmitting the distribution network information to the intelligent household appliance through the communication channel; the distribution network information comprises router information and cloud addresses;
and receiving a cloud feedback result sent by the intelligent household appliance.
2. The method for testing a distribution network of an intelligent home appliance according to claim 1, wherein the responding to the test signal, sending a distribution network instruction, comprises:
and responding to the test signal, triggering the infrared module to send out a distribution network instruction of the infrared signal.
3. The method for testing a distribution network of an intelligent home appliance according to claim 1, wherein the responding to the test signal, sending a distribution network instruction, comprises:
and responding to the test signal, triggering an input/output pin connected with a distribution network key of the intelligent household appliance to send out the distribution network instruction.
4. The network allocation testing method of any one of claims 1 to 3, wherein the scanning the broadcast signal sent by the intelligent appliance after entering the network to be allocated state and analyzing the broadcast signal to obtain an analysis result, and establishing a communication channel with the intelligent appliance according to the analysis result, includes:
when the intelligent household appliance enters a network state to be allocated, scanning Bluetooth broadcast signals or WIFI broadcast signals sent by the intelligent household appliance and analyzing the Bluetooth broadcast signals or the WIFI broadcast signals to obtain an analysis result;
and establishing a Bluetooth communication channel or a WIFI communication channel with the intelligent household appliance according to the analysis result.
5. The method for testing the distribution network of the intelligent home appliance according to claim 4, wherein the sending the distribution network information to the intelligent home appliance through the communication channel comprises:
and sending the distribution network information to the intelligent household appliance through the Bluetooth communication channel or the WIFI communication channel.
6. The method for testing the distribution network of the intelligent home appliance according to any one of claims 1 to 3, wherein the receiving the cloud feedback result sent by the intelligent home appliance includes:
after the intelligent household appliance is connected with the cloud, a cloud feedback result sent by the intelligent household appliance through Bluetooth or WIFI is received.
7. The distribution network testing method for the intelligent household appliances is characterized by being applied to the intelligent household appliances, and comprises the following steps of:
receiving a network allocation instruction;
responding to the network allocation instruction, and switching to a network to be allocated state;
under the state of the to-be-allocated network, sending out a broadcast signal and establishing a communication channel with the raspberry group;
receiving distribution network information through the communication channel; the distribution network information comprises router information and cloud addresses;
switching from a network state to be distributed to a connection state based on the distribution network information, and connecting with a router according to the router information;
after the router is successfully connected with the router, cloud connection operation is carried out according to the cloud address;
and sending cloud feedback results to the raspberry.
8. The method for testing a distribution network of an intelligent home appliance according to claim 7, wherein the receiving the distribution network instruction comprises:
and receiving the distribution network instruction of the infrared signal through an infrared signal receiver.
9. The method for testing a distribution network of an intelligent home appliance according to claim 7, wherein the receiving the distribution network instruction comprises:
and receiving a network distribution instruction through a network distribution key connected with the input and output pins of the raspberry group.
10. The method for testing a distribution network of an intelligent home appliance according to any one of claims 7 to 9, wherein in the to-be-distributed network state, a broadcast signal is sent out, and a communication channel is established with a raspberry group, comprising:
in a network state to be allocated, a Bluetooth broadcast signal or a WIFI broadcast signal is sent;
and establishing a Bluetooth communication channel or a WIFI communication channel with the raspberry group.
11. The method for testing a distribution network of an intelligent home appliance according to claim 10, wherein receiving the distribution network information through the communication channel comprises:
and receiving the distribution network information through the Bluetooth communication channel or the WIFI communication channel.
12. The method for testing a distribution network of an intelligent home appliance according to any one of claims 7 to 9, wherein the sending cloud feedback results to the raspberry dispatch includes:
and after the connection with the cloud is completed, sending out the cloud feedback result through Bluetooth or WIFI.
13. The distribution network test system of the intelligent household appliance is characterized by comprising a raspberry group and the intelligent household appliance;
the raspberry group is used for executing the network allocation test method of the intelligent household appliance according to any one of claims 1 to 6; the intelligent home appliance is used for executing the network allocation testing method of the intelligent home appliance according to any one of claims 7 to 12.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the network allocation test method of the intelligent home appliance of any one of claims 1 to 12 when executing the program.
15. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements a distribution network testing method of an intelligent appliance as claimed in any one of claims 1 to 12.
CN202311549873.3A 2023-11-20 2023-11-20 Distribution network testing method, system, equipment and storage medium for intelligent household appliances Pending CN117614764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311549873.3A CN117614764A (en) 2023-11-20 2023-11-20 Distribution network testing method, system, equipment and storage medium for intelligent household appliances

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311549873.3A CN117614764A (en) 2023-11-20 2023-11-20 Distribution network testing method, system, equipment and storage medium for intelligent household appliances

Publications (1)

Publication Number Publication Date
CN117614764A true CN117614764A (en) 2024-02-27

Family

ID=89954187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311549873.3A Pending CN117614764A (en) 2023-11-20 2023-11-20 Distribution network testing method, system, equipment and storage medium for intelligent household appliances

Country Status (1)

Country Link
CN (1) CN117614764A (en)

Similar Documents

Publication Publication Date Title
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
CN104579733B (en) Method, equipment and the system of fault diagnosis
CN113490218B (en) Pairing method, pairing device, bluetooth remote controller, intelligent device and storage medium
CN109495358B (en) Network distribution method and network distribution system for household appliances
CN107205239B (en) Method for detecting wireless network connection and detection equipment
CN105072012A (en) Quick network access method of intelligent device
JP2019537322A (en) Network connection method for home appliances, network connection method for home appliances and home systems
CN104902500A (en) Automatic connection method and system for wireless network device and wireless access device
CN110740460A (en) device network access method, device, network device and storage medium
CN104936266A (en) Network access method and network access device
CN108667699A (en) Interconnected method and device between a kind of terminal device and gateway device
CN108770008A (en) Configuration method, device and the storage medium that household appliance networks
CN109257795A (en) A kind of method and apparatus carrying out distribution
CN107820289A (en) A kind of WIFI network switching method, device, terminal and medium
CN105471678A (en) Method and system for detecting networking failure reason of household appliance and mobile terminal
CN113067738A (en) Network topology visualization function equipment compatibility testing method and system
CN105471677A (en) Testing system
CN117614764A (en) Distribution network testing method, system, equipment and storage medium for intelligent household appliances
CN205304831U (en) Testing system
CN109743347B (en) Automatic test method and system for reader-writer
CN105208574A (en) Method and device for detecting performance of wireless module of terminal
CN113709142B (en) Hot spot distribution network method and device, intelligent terminal and storage medium
CN114900385A (en) Household appliance binding method and device, electronic device and storage medium
CN114338464A (en) Fault diagnosis method, device, equipment and computer readable storage medium
CN114554466A (en) Equipment detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination