CN114567916A - Production test method, device, equipment and medium based on WiFi furniture - Google Patents

Production test method, device, equipment and medium based on WiFi furniture Download PDF

Info

Publication number
CN114567916A
CN114567916A CN202210194396.2A CN202210194396A CN114567916A CN 114567916 A CN114567916 A CN 114567916A CN 202210194396 A CN202210194396 A CN 202210194396A CN 114567916 A CN114567916 A CN 114567916A
Authority
CN
China
Prior art keywords
furniture
wifi
test
server
router
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
CN202210194396.2A
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.)
Dewertokin Technology Group Co Ltd
Original Assignee
Dewertokin Technology Group 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 Dewertokin Technology Group Co Ltd filed Critical Dewertokin Technology Group Co Ltd
Priority to CN202210194396.2A priority Critical patent/CN114567916A/en
Publication of CN114567916A publication Critical patent/CN114567916A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a production test method, a device, equipment and a medium based on WiFi furniture, wherein the method comprises the following steps: after a test starting instruction is sent to the WiFi furniture, a router connection signal output by the WiFi furniture is obtained; determining the router connection state of the WiFi furniture and the test router according to the router connection signal; acquiring the server connection signal output by the WiFi furniture; and determining the server connection state of the WiFi furniture and the test server according to the server connection signal. By adopting the embodiment, the connection state of the WiFi furniture and the test router and the connection state of the WiFi furniture and the test server can be determined; the test APP is not required to be downloaded, the name and the password of the test router are not required to be input, and the configuration information of the test server is not required to be input, the test result can be obtained only through the router connection signal and the server connection signal, the test flow is simplified, and the test efficiency is greatly improved.

Description

Production test method, device, equipment and medium based on WiFi furniture
Technical Field
The invention relates to the technical field of production test, in particular to a production test method, a production test device, production test equipment and a production test medium based on WiFi furniture.
Background
With the continuous development of human consumption demand and the internet, intelligent furniture has richer contents, and the system configuration is more and more complex. The intelligent furniture comprises the functions of network access, remote control and the like. Because home equipment is highly related to daily life of people, the requirement on performance indexes of the home equipment is very high, and the performance indexes of a distribution network become one of important competitive indexes of intelligent furniture equipment.
At present, the furniture test with the network connection function generally needs to download an APP (application) and register for login, an intelligent furniture is set to be in a distribution network mode, the name and the password of a router are input, and configuration information is sent to the intelligent furniture, so that the intelligent furniture can be connected with a server. In the test process, the router password needs to be input and the distribution network information needs to be sent, so that the test time is long, and the test efficiency is low.
Disclosure of Invention
The invention provides a production test method, a production test device, production test equipment and a production test medium based on WiFi furniture, and aims to solve the problem of low production test efficiency of the WiFi furniture.
According to an aspect of the present invention, there is provided a WiFi furniture-based production testing method, including:
after a test starting instruction is sent to the WiFi furniture, a router connection signal output by the WiFi furniture is obtained; after the WiFi furniture receives the test starting instruction, the WiFi furniture is connected with the test router, and a router connection signal is output;
determining the router connection state of the WiFi furniture and the test router according to the router connection signal; the router connection state comprises successful connection between the WiFi furniture and the test router and failed connection between the WiFi furniture and the test router; when the WiFi furniture is successfully connected with the test router, the WiFi furniture is connected with a test server, and a server connection signal is output;
acquiring the server connection signal output by the WiFi furniture;
determining the server connection state of the WiFi furniture and the test server according to the server connection signal; the server connection state comprises successful connection between the WiFi furniture and the test server and failed connection between the WiFi furniture and the test server.
Optionally, after determining the server connection state between the WiFi furniture and the test server according to the server connection signal, the method further includes:
and if the WiFi furniture is successfully connected with the test server, controlling the WiFi furniture to restore to a factory leaving mode.
Optionally, after determining the server connection state between the WiFi furniture and the test server according to the server connection signal, the method further includes:
and if the WiFi furniture is successfully connected with the test server, outputting a successful production test signal of the WiFi furniture.
Optionally, when the WiFi furniture fails to connect to the test router and/or the test server, the method further includes:
and outputting a production test failure signal of the WiFi furniture.
Optionally, after determining the router connection state of the WiFi furniture and the test router according to the router connection signal, the method further includes:
if the connection between the WiFi furniture and the test router fails, returning to the step of sending a test starting instruction to the WiFi furniture until the number of times of returning to the step of sending the test starting instruction to the WiFi furniture reaches a first threshold value.
Optionally, after determining the server connection status of the WiFi furniture and the test server according to the server connection signal, the method includes:
if the connection between the WiFi furniture and the test server fails, returning to the step of sending a test starting instruction to the WiFi furniture until the number of times of returning to the step of sending the test starting instruction to the WiFi furniture reaches a second threshold value.
Optionally, when the step of sending the test start instruction to the WiFi furniture is returned, the method further includes:
and outputting a production test failure signal of the WiFi furniture.
Optionally, the method further includes:
acquiring the connection times of the WiFi furniture and the test router, and/or acquiring the connection times of the WiFi furniture and the test server;
judging whether the connection times reach preset connection times or not;
if so, counting the times of connection failure between the WiFi furniture and the test router and/or the times of connection failure between the WiFi furniture and the test server, and outputting a counting result;
if not, returning to the step of sending a test starting instruction to the WiFi furniture.
According to another aspect of the present invention, there is provided a WiFi furniture based production testing device, comprising:
the first signal acquisition module is used for acquiring a router connection signal output by the WiFi furniture after sending a test starting instruction to the WiFi furniture; after the WiFi furniture receives the test starting instruction, the WiFi furniture is connected with the test router, and a router connection signal is output;
the first state determining module is used for determining the router connection state of the WiFi furniture and the test router according to the router connection signal; the router connection state comprises successful connection between the WiFi furniture and the test router and failed connection between the WiFi furniture and the test router; when the WiFi furniture is successfully connected with the test router, the WiFi furniture is connected with a test server, and a server connection signal is output;
the second signal acquisition module is used for acquiring the server connection signal output by the WiFi furniture;
the second state determining module is used for determining the server connection state of the WiFi furniture and the test server according to the server connection signal; the server connection state comprises successful connection between the WiFi furniture and the test server and failed connection between the WiFi furniture and the test server.
According to another aspect of the present invention, there is provided a WiFi furniture based production test apparatus, the production test apparatus comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the WiFi furniture based production testing method of any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the WiFi furniture based production testing method according to any one of the embodiments of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, the connection state of the WiFi furniture and the test router can be determined by sending the test starting instruction to the WiFi furniture and acquiring the router connection signal output by the WiFi furniture; the connection state of the WiFi furniture and the test server can be determined by acquiring a server connection signal output by the WiFi furniture; so, can obtain the production test result based on wiFi furniture to need not to download test APP, also need not to input the name of test router, password and test server's configuration information, only connect signal and server through the router and connect the signal can the test result, simplified the flow of test, also improved efficiency of software testing greatly.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a WiFi furniture-based production testing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a WiFi furniture-based production testing method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a WiFi furniture-based production testing method according to a third embodiment of the present invention;
fig. 4 is a flowchart of a WiFi furniture-based production testing method according to a fourth embodiment of the present invention;
fig. 5 is a flowchart of a WiFi furniture-based production testing method according to a fifth embodiment of the present invention;
fig. 6 is a flowchart of a WiFi furniture-based production testing method according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a production testing device based on WiFi furniture according to a seventh embodiment of the present invention;
FIG. 8 shows a schematic structural diagram of a WiFi furniture-based production test equipment that can be used to implement an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a WiFi furniture-based production test method according to an embodiment of the present invention, where the present embodiment is applicable to a production test stage of WiFi furniture, where a name and a password of a test router and an address of a test server are embedded in the WiFi furniture, and the method may be executed by a WiFi furniture-based production test device, where the WiFi furniture-based production test device may be implemented in a form of hardware and/or software, and the WiFi furniture-based production test device may be configured in a WiFi furniture-based production test device. As shown in fig. 1, the method includes:
s1001, after a test starting instruction is sent to the WiFi furniture, a router connection signal output by the WiFi furniture is obtained.
The WiFi furniture is intelligent furniture which can be connected with WiFi and can be remotely controlled. The test starting instruction refers to an instruction which can enable the WiFi furniture to enter a production test and is sent to the WiFi furniture by the production test device based on the WiFi furniture. For example, the WiFi furniture may enter a production test mode after receiving a test start instruction sent by a production test device based on the WiFi furniture, where the WiFi furniture has fixed configuration information built in during a production process, and the fixed configuration information includes information such as a name and a password of a test router and an address of a test server. The WiFi furniture is firstly connected with the test router after entering a production test mode. The router connection signal is a signal for indicating the connection state of the WiFi furniture and the router of the test router, if the WiFi furniture is successfully connected with the test router, the high-level router connection signal can be output, and if the WiFi furniture is failed to be connected with the test router, the low-level router connection signal can be output. Illustratively, the router connection signal further comprises a router connection indicator light, and when the WiFi furniture is successfully connected with any router, the corresponding router connection indicator light is turned on, so that a user can check the router connection state of the WiFi furniture and the home router in time when using the WiFi furniture to connect the home router.
S1002, determining the router connection state of the WiFi furniture and the test router according to the router connection signal.
The router connection state comprises successful connection between the WiFi furniture and the test router and failed connection between the WiFi furniture and the test router. For example, the router connection state of the WiFi furniture and the test router may be determined according to the high/low potential of the router connection signal.
And S1003, acquiring a server connection signal output by the WiFi furniture.
Illustratively, after the connection between the WiFi furniture and the test router is established and the connection between the WiFi furniture and the test router is successful, the connection is established with the test server. The server connection signal is a signal used for indicating the connection state of the WiFi furniture and the server of the test server, if the WiFi furniture is successfully connected with the test server, the high-level server connection signal can be output, and if the WiFi furniture is failed to be connected with the test router, the low-level server connection signal can be output. Illustratively, the server connection signal further comprises a server connection indicator light, and when the connection between the WiFi furniture and any server is successfully established, the corresponding server connection indicator light is turned on, so that a user can check the server connection state between the WiFi furniture and the server in time when using the WiFi furniture to connect the server.
And S1004, determining the server connection state of the WiFi furniture and the test server according to the server connection signal.
The server connection state comprises successful connection between the WiFi furniture and the test server and failed connection between the WiFi furniture and the test server. For example, the server connection state of the WiFi furniture and the test server may be determined according to the high/low potential of the server connection signal.
Illustratively, WiFi furniture is subjected to production test after production and before delivery, a production test device based on the WiFi furniture sends a test starting instruction to the WiFi furniture, so that the WiFi furniture enters a production test mode after receiving the test starting instruction, the WiFi furniture entering the production test mode is firstly connected with a test router and outputs a router connection signal, the production test device based on the WiFi furniture can determine whether the connection between the WiFi furniture and the test router is successful through the router connection signal, when the connection between the WiFi furniture and the test router is successful, the WiFi furniture can be connected with the test server and outputs a server connection signal, and the production test device based on the WiFi furniture can determine whether the connection between the WiFi furniture and the test server is successful through the router connection signal.
According to the embodiment of the invention, the connection state of the WiFi furniture and the test router can be determined by sending the test starting instruction to the WiFi furniture and acquiring the router connection signal output by the WiFi furniture; the connection state of the WiFi furniture and the test server can be determined by acquiring a server connection signal output by the WiFi furniture; so, can obtain the production test result based on wiFi furniture to need not to download test APP, also need not to input the name of test router, password and test server's configuration information, only connect signal and server through the router and connect the signal can the test result, simplified the flow of test, also improved efficiency of software testing greatly.
Example two
Fig. 2 is a flowchart of a WiFi furniture-based production testing method according to a second embodiment of the present invention, and this embodiment adds a step after determining a server connection state between WiFi furniture and a testing server according to a server connection signal, compared with the above embodiments. As shown in fig. 2, the method includes:
s2001, after the test starting instruction is sent to the WiFi furniture, the router connection signal output by the WiFi furniture is obtained.
And S2002, determining the router connection state of the WiFi furniture and the test router according to the router connection signal.
And S2003, acquiring a server connection signal output by the WiFi furniture.
And S2004, determining the server connection state of the WiFi furniture and the test server according to the server connection signal.
And S2005, if the WiFi furniture is successfully connected with the test server, controlling the WiFi furniture to restore to a factory leaving mode.
For example, the WiFi furniture is subjected to production testing after production and before delivery, the production testing device based on the WiFi furniture can determine whether the connection between the WiFi furniture and the testing server is successful through the production testing method based on the WiFi furniture, and when the connection between the WiFi furniture and the testing server is successful, the production testing device based on the WiFi furniture can control the WiFi furniture to return to a delivery mode.
Optionally, when the connection between the WiFi furniture and the test router and/or the test server fails, a production test failure signal of the WiFi furniture may also be output. The production test success signal is a signal for indicating that the connection between the WiFi furniture and the test router and/or the test server fails, and indicates that the production test of the WiFi furniture fails. Exemplarily, the production test device based on the WiFi furniture comprises a test result determining module, a production test indicator lamp and a display device, wherein the test result determining module of the production test device based on the WiFi furniture outputs a production test failure signal to the production test indicator lamp after determining that the connection between the WiFi furniture and the test server fails, and the production test indicator lamp is in a red state when the production test of the WiFi furniture is successfully completed so as to prompt a tester that the production test based on the WiFi furniture fails; the test result determining module can also output a production test failure signal to the display device after determining that the connection between the WiFi furniture and the test server fails, and the display device can display the model of the WiFi furniture and the information of the connection failure between the WiFi furniture and the test router and/or the test server when the production test of the WiFi furniture fails. It should be noted that the fact that the production test device based on the WiFi furniture includes the test result determination module, the production test indicator light, and the connection of the production test device and the display device is merely an exemplary illustration for easy understanding, and is not a limitation to the embodiments of the present invention, and the production test indicator light and the production test device may be disposed outside the production test device based on the WiFi furniture and connected thereto.
For example, the WiFi furniture is subjected to production testing after production and before delivery, the production testing device based on the WiFi furniture can determine whether the connection between the WiFi furniture and the testing server is successful through the production testing method based on the WiFi furniture, and when the connection between the WiFi furniture and the testing server fails, output a production testing failure signal of the WiFi furniture to the display device, and the display device can display the model of the WiFi furniture and information of the connection failure between the WiFi furniture and the testing router and/or the testing server when the production testing of the WiFi furniture fails. Therefore, the tester can timely know the information of the production test failure of the WiFi furniture, so that the tester can timely make a response, and the production test efficiency is improved.
According to the embodiment of the invention, when the WiFi furniture is successfully connected with the test server, the WiFi furniture is controlled to be restored to the factory leaving mode. The production test based on the WiFi furniture can be completed as soon as possible, the WiFi furniture can meet the delivery conditions, and the production test efficiency is improved.
EXAMPLE III
Fig. 3 is a flowchart of a WiFi furniture-based production testing method according to a third embodiment of the present invention, and compared with the above embodiments, this embodiment adds a step after determining a server connection state between WiFi furniture and a test server according to a server connection signal. As shown in fig. 3, the method includes:
s3001, after the test starting instruction is sent to the WiFi furniture, the router connection signal output by the WiFi furniture is obtained.
S3002, according to the router connection signal, determining the router connection state of the WiFi furniture and the test router.
And S3003, acquiring the server connection signal output by the WiFi furniture.
S3004, according to the server connection signal, determining the server connection state of the WiFi furniture and the test server.
S3005, if the WiFi furniture is successfully connected with the test server, outputting a successful production test signal of the WiFi furniture.
The production test success signal is a signal for indicating that the WiFi furniture is successfully connected with the test router and the test server, and indicates that the production test of the WiFi furniture is successfully completed. Exemplarily, the production test device based on the WiFi furniture comprises a test result determining module, a production test indicator lamp and a display device, wherein the test result determining module of the production test device based on the WiFi furniture outputs a production test success signal to the production test indicator lamp after determining that the WiFi furniture is successfully connected with the test server, and the production test indicator lamp is in a green state when the production test of the WiFi furniture is successfully completed so as to prompt a tester that the production test based on the WiFi furniture is successful; the test result determining module can also output a successful production test signal to the display device after determining that the WiFi furniture is successfully connected with the test server, and the display device can display the model of the WiFi furniture and information that the WiFi furniture is successfully connected with the test router and the test server when the production test of the WiFi furniture is successfully completed. It should be noted that the fact that the production test device based on the WiFi furniture includes the test result determination module, the production test indicator light, and the connection of the production test device and the display device is merely an exemplary illustration for easy understanding, and is not a limitation to the embodiments of the present invention, and the production test indicator light and the production test device may be disposed outside the production test device based on the WiFi furniture and connected thereto.
Illustratively, the production test of the WiFi furniture is performed after production and before delivery, the production test device based on the WiFi furniture can determine whether the connection between the WiFi furniture and the test server is successful through the production test method based on the WiFi furniture, and when the connection between the WiFi furniture and the test server is successful, a production test success signal of the WiFi furniture is output to the display device, and the display device can display the model of the WiFi furniture and information that the connection between the WiFi furniture and the test router and the test server is successful when the production test of the WiFi furniture is successfully completed. Optionally, when the connection between the WiFi furniture and the test router and/or the test server fails, a production test failure signal of the WiFi furniture may also be output. Therefore, the tester can timely know the information of the production test failure of the WiFi furniture, so that the tester can timely make a response, and the production test efficiency is improved.
According to the embodiment of the invention, when the WiFi furniture is successfully connected with the test server, the production test success signal of the WiFi furniture is output, so that the tester can timely know the production test success information of the WiFi furniture, the next production test and/or the next production test stage of the WiFi furniture can be timely started, and the production test efficiency is improved.
Example four
Fig. 4 is a flowchart of a WiFi furniture-based production testing method according to a fourth embodiment of the present invention, and compared with the foregoing embodiments, this embodiment adds a step after determining a router connection state between WiFi furniture and a test router according to a router connection signal. As shown in fig. 4, the method includes:
s4001, after the test starting instruction is sent to the WiFi furniture, the router connection signal output by the WiFi furniture is obtained.
S4002, determining the router connection state of the WiFi furniture and the test router according to the router connection signal.
S4003, if the connection between the WiFi furniture and the test router fails, returning to the step of sending the test starting instruction to the WiFi furniture until the number of times of returning to the step of sending the test starting instruction to the WiFi furniture reaches a first threshold value.
The first threshold value is an upper limit value of the number of times of returning to the initial step (sending a test starting instruction to the WiFi furniture) after the connection between the WiFi furniture and the test router fails.
S4004, if the WiFi furniture is successfully connected with the test router, acquiring a server connection signal output by the WiFi furniture.
S4005, determining the server connection state of the WiFi furniture and the test server according to the server connection signal.
For example, the first threshold is 5. When the initial connection between the WiFi furniture and the test router fails, returning to the initial step, if the connection between the WiFi furniture and the test router is established again and the router is successfully connected, establishing connection between the WiFi furniture and the test server, and entering the next step by the production test device based on the WiFi furniture to acquire a server connection signal output by the WiFi furniture; and if the WiFi furniture is failed to be connected with the test router again and the WiFi furniture is failed to be connected with the test router for five times continuously, the initial step is not returned, and the production test based on the WiFi furniture is stopped. Optionally, when the connection between the WiFi furniture and the test router and/or the test server fails, a production test failure signal of the WiFi furniture may also be output. Therefore, the tester can timely know the information of the production test failure of the WiFi furniture, so that the tester can timely make a response, and the production test efficiency is improved.
According to the embodiment of the invention, by returning the step of sending the test starting instruction to the WiFi furniture when the connection between the WiFi furniture and the test router fails, the next production test based on the WiFi furniture can be timely started when the connection between the WiFi furniture and the test router fails, the contingency in the production test process is reduced, and the production test efficiency is improved.
EXAMPLE five
Fig. 5 is a flowchart of a production test method based on WiFi furniture according to a fifth embodiment of the present invention, and compared with the foregoing embodiments, this embodiment adds a step after determining a server connection state between WiFi furniture and a test server according to a server connection signal. As shown in fig. 5, the method includes:
s5001, after the test starting instruction is sent to the WiFi furniture, obtaining a router connection signal output by the WiFi furniture.
S5002, determining the router connection state of the WiFi furniture and the test router according to the router connection signal.
S5003, obtaining a server connection signal output by the WiFi furniture.
S5004, determining the server connection state of the WiFi furniture and the test server according to the server connection signal.
S5005, if the connection between the WiFi furniture and the test server fails, returning to the step of sending the test starting instruction to the WiFi furniture until the number of times of returning to the step of sending the test starting instruction to the WiFi furniture reaches a second threshold value.
The second threshold value is an upper limit value of the number of times of returning to the initial step (sending a test starting instruction to the WiFi furniture) after the connection between the WiFi furniture and the test server fails. It should be noted that the first threshold and the second threshold may be the same or different, and the embodiment of the present invention is not limited in particular.
For example, the second threshold is 5. When the initial connection between the WiFi furniture and the test server fails, returning to the initial step, and if the connection between the WiFi furniture and the test server is established again and the connection between the WiFi furniture and the test server is successful, smoothly completing the production test based on the WiFi furniture; and if the WiFi furniture is failed to be connected with the test server again and the WiFi furniture is failed to be connected with the test server for five times continuously, the initial step is not returned, and the production test based on the WiFi furniture is stopped.
According to the embodiment of the invention, by returning the step of sending the test starting instruction to the WiFi furniture when the connection between the WiFi furniture and the test server fails, the next production test based on the WiFi furniture can be timely started when the connection between the WiFi furniture and the test server fails, the contingency in the production test process is reduced, and the production test efficiency is improved. Optionally, when the step of sending the test starting instruction to the WiFi furniture is returned, a production test failure signal of the WiFi furniture may also be output. Therefore, the tester can timely know the information of the production test failure of the WiFi furniture, so that the tester can timely make a response, and the production test efficiency is improved.
EXAMPLE six
Fig. 6 is a flowchart of a WiFi furniture-based production test method according to a sixth embodiment of the present invention, and compared with the foregoing embodiments, this embodiment adds content about performing a WiFi furniture-based repetitive production test and counting the number of times of connection failures between WiFi furniture and a test router, and/or the number of times of connection failures between WiFi furniture and a test server. As shown in fig. 6, the method includes:
s6001, after a test starting instruction is sent to the WiFi furniture, a router connection signal output by the WiFi furniture is obtained.
S6002, according to the router connection signal, determining the router connection state of the WiFi furniture and the test router.
And S6003, acquiring a server connection signal output by the WiFi furniture.
And S6004, determining the server connection state of the WiFi furniture and the test server according to the server connection signal.
S6005, the connection times of the WiFi furniture and the test router are obtained, and/or the connection times of the WiFi furniture and the test server are obtained.
And S6006, judging whether the connection times reach preset connection times. If yes, executing S6007; if not, returning to the step of sending a test starting instruction to the WiFi furniture.
The preset connection times refer to the times of repetitive tests which need to be carried out in the production test process of the same WiFi furniture.
S6007, counting the connection failure times of the WiFi furniture and the test router and/or the connection failure times of the WiFi furniture and the test server, and outputting a counting result.
Wherein, the statistical result includes but is not limited to the number of times of unsuccessful connection of the WiFi furniture to the test router, and/or the number of times of unsuccessful connection of the WiFi furniture to the test server.
Illustratively, the preset connection times are 10 times. The production test of the WiFi furniture is carried out for 10 times continuously after production and before leaving factory, after each production test is finished, namely after the step of determining the connection state of the WiFi furniture and the server of the test server is executed, the production test device based on the WiFi furniture establishes connection times with the test router through the WiFi furniture, and/or the connection times of the WiFi furniture and the test server is obtained, so that whether the times of the repetitive tests reach 10 times can be judged. If the number of the production tests does not reach 10 times, returning to the initial step, namely returning to the step of sending a test starting instruction to the WiFi furniture, and automatically entering the next production test based on the WiFi furniture; if the number of the production test failures reaches 10 times, counting the number of the production test failures of 10 continuous times, outputting a counting result to the display equipment, and enabling a tester to know information such as which test failures and which link test failures of the type of the WiFi furniture are achieved through the display equipment.
According to the embodiment of the invention, the WiFi furniture can be subjected to production test of the preset times by acquiring the connection times of the connection between the WiFi furniture and the test router and/or acquiring the connection times of the connection between the WiFi furniture and the test server and judging whether the connection times reach the preset connection times or not; through counting the connection failure times of the WiFi furniture and the test router and/or the connection failure times of the WiFi furniture and the test server and outputting the counting result, the tester can obtain corresponding test data, so that the next process can be carried out, and the production test efficiency is improved.
EXAMPLE seven
Based on the same invention concept, fig. 7 is a schematic structural diagram of a production testing device based on WiFi furniture according to a seventh embodiment of the present invention, where the device is applied to WiFi furniture with a built-in name and password of a testing router and a built-in address of a testing server. As shown in fig. 7, the apparatus includes:
the first signal acquisition module 710 is configured to acquire a router connection signal output by the WiFi furniture after sending a test start instruction to the WiFi furniture; after the WiFi furniture receives the test starting instruction, the WiFi furniture is connected with the test router, and a router connection signal is output;
the first state determining module 720, determining the router connection state between the WiFi furniture and the test router according to the router connection signal; the router connection state comprises successful connection between the WiFi furniture and the test router and failed connection between the WiFi furniture and the test router; when the WiFi furniture is successfully connected with the test router, the WiFi furniture is connected with a test server, and a server connection signal is output;
the second signal acquisition module 730, configured to acquire the server connection signal output by the WiFi furniture;
the second state determining module 740 determines the server connection state between the WiFi furniture and the test server according to the server connection signal; the server connection state comprises successful connection between the WiFi furniture and the test server and failed connection between the WiFi furniture and the test server.
The production test device based on the WiFi furniture provided by the embodiment of the invention can execute the production test method based on the WiFi furniture provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example eight
FIG. 8 shows a schematic diagram of a WiFi furniture-based production test facility that may be used to implement embodiments of the present invention. The WiFi furniture-based production test equipment 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 8, the WiFi furniture-based production test apparatus 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM)12, a Random Access Memory (RAM)13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM)12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the WiFi furniture-based production test apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the WiFi furniture based production test equipment 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as WiFi furniture-based production testing.
In some embodiments, method XXX may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of method XXX described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform method XXX by any other suitable means (e.g., by way of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A production test method based on WiFi furniture is characterized by comprising the following steps:
after a test starting instruction is sent to the WiFi furniture, a router connection signal output by the WiFi furniture is obtained; after the WiFi furniture receives the test starting instruction, the WiFi furniture is connected with the test router, and a router connection signal is output;
determining the router connection state of the WiFi furniture and the test router according to the router connection signal; the router connection state comprises successful connection between the WiFi furniture and the test router and failed connection between the WiFi furniture and the test router; when the WiFi furniture is successfully connected with the test router, the WiFi furniture is connected with a test server, and a server connection signal is output;
acquiring the server connection signal output by the WiFi furniture;
determining the server connection state of the WiFi furniture and the test server according to the server connection signal; the server connection state comprises successful connection between the WiFi furniture and the test server and failed connection between the WiFi furniture and the test server.
2. The WiFi furniture based production testing method according to claim 1, further comprising after determining the server connection status of the WiFi furniture with the test server according to the server connection signal:
and if the WiFi furniture is successfully connected with the test server, controlling the WiFi furniture to restore to a factory leaving mode.
3. The WiFi furniture based production testing method according to claim 1, further comprising after determining the server connection status of the WiFi furniture with the test server according to the server connection signal:
and if the WiFi furniture is successfully connected with the test server, outputting a production test success signal of the WiFi furniture.
4. The WiFi furniture based production test method according to any of claims 1-3, characterized by that when the WiFi furniture fails to connect with the test router and/or the test server, further comprising:
and outputting a production test failure signal of the WiFi furniture.
5. The WiFi furniture based production testing method according to claim 1, further comprising after determining the router connection status of the WiFi furniture and the testing router according to the router connection signal:
if the connection between the WiFi furniture and the test router fails, returning to the step of sending a test starting instruction to the WiFi furniture until the number of times of returning to the step of sending the test starting instruction to the WiFi furniture reaches a first threshold value.
6. The WiFi furniture based production test method according to claim 1, after determining the server connection status of the WiFi furniture and the test server according to the server connection signal, comprising:
if the connection between the WiFi furniture and the test server fails, returning to the step of sending a test starting instruction to the WiFi furniture until the number of times of returning to the step of sending the test starting instruction to the WiFi furniture reaches a second threshold value.
7. The WiFi furniture based production test method according to any of claims 5-6, further comprising, upon returning to the step of sending a test start instruction to the WiFi furniture:
and outputting a production test failure signal of the WiFi furniture.
8. The WiFi furniture-based production testing method of claim 1, further comprising:
acquiring the connection times of the WiFi furniture and the test router, and/or acquiring the connection times of the WiFi furniture and the test server;
judging whether the connection times reach preset connection times or not;
if so, counting the times of connection failure between the WiFi furniture and the test router and/or the times of connection failure between the WiFi furniture and the test server, and outputting a counting result;
if not, returning to the step of sending a test starting instruction to the WiFi furniture.
9. A production testing device based on WiFi furniture, characterized by comprising:
the first signal acquisition module is used for acquiring a router connection signal output by the WiFi furniture after a test starting instruction is sent to the WiFi furniture; after the WiFi furniture receives the test starting instruction, the WiFi furniture is connected with the test router, and a router connection signal is output;
the first state determining module is used for determining the router connection state of the WiFi furniture and the test router according to the router connection signal; the router connection state comprises successful connection between the WiFi furniture and the test router and failed connection between the WiFi furniture and the test router; when the WiFi furniture is successfully connected with the test router, the WiFi furniture is connected with a test server, and a server connection signal is output;
the second signal acquisition module is used for acquiring the server connection signal output by the WiFi furniture;
the second state determining module is used for determining the server connection state of the WiFi furniture and the test server according to the server connection signal; the server connection state comprises successful connection between the WiFi furniture and the test server and failed connection between the WiFi furniture and the test server.
10. A production test device based on WiFi furniture, characterized in that, production test device includes:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the WiFi furniture based production testing method of any one of claims 1-8.
11. A computer readable storage medium storing computer instructions for causing a processor to implement the WiFi furniture based production testing method of any one of claims 1-8 when executed.
CN202210194396.2A 2022-03-01 2022-03-01 Production test method, device, equipment and medium based on WiFi furniture Pending CN114567916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210194396.2A CN114567916A (en) 2022-03-01 2022-03-01 Production test method, device, equipment and medium based on WiFi furniture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210194396.2A CN114567916A (en) 2022-03-01 2022-03-01 Production test method, device, equipment and medium based on WiFi furniture

Publications (1)

Publication Number Publication Date
CN114567916A true CN114567916A (en) 2022-05-31

Family

ID=81716601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210194396.2A Pending CN114567916A (en) 2022-03-01 2022-03-01 Production test method, device, equipment and medium based on WiFi furniture

Country Status (1)

Country Link
CN (1) CN114567916A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115394071A (en) * 2022-07-11 2022-11-25 佛山市厦欣科技有限公司 WIFI module production control method for air conditioner

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111541502A (en) * 2020-04-29 2020-08-14 四川虹美智能科技有限公司 System and method for testing WiFi module
CN111781848A (en) * 2020-07-15 2020-10-16 北京自如信息科技有限公司 Server connection method, device and system based on intelligent household equipment
CN112566156A (en) * 2020-11-18 2021-03-26 深圳数联天下智能科技有限公司 Method for automatically testing compatibility of WiFi module and electronic equipment
CN112601211A (en) * 2020-12-23 2021-04-02 青岛海信电子产业控股股份有限公司 Intelligent household appliance control equipment, mobile terminal and testing method
CN113326068A (en) * 2021-07-02 2021-08-31 佛山市淇特科技有限公司 Cloud testing method, device, equipment and storage medium on intelligent household equipment
CN113472611A (en) * 2021-07-26 2021-10-01 东莞市金锐显数码科技有限公司 Method and device for acquiring WiFi signal strength and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111541502A (en) * 2020-04-29 2020-08-14 四川虹美智能科技有限公司 System and method for testing WiFi module
CN111781848A (en) * 2020-07-15 2020-10-16 北京自如信息科技有限公司 Server connection method, device and system based on intelligent household equipment
CN112566156A (en) * 2020-11-18 2021-03-26 深圳数联天下智能科技有限公司 Method for automatically testing compatibility of WiFi module and electronic equipment
CN112601211A (en) * 2020-12-23 2021-04-02 青岛海信电子产业控股股份有限公司 Intelligent household appliance control equipment, mobile terminal and testing method
CN113326068A (en) * 2021-07-02 2021-08-31 佛山市淇特科技有限公司 Cloud testing method, device, equipment and storage medium on intelligent household equipment
CN113472611A (en) * 2021-07-26 2021-10-01 东莞市金锐显数码科技有限公司 Method and device for acquiring WiFi signal strength and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115394071A (en) * 2022-07-11 2022-11-25 佛山市厦欣科技有限公司 WIFI module production control method for air conditioner
CN115394071B (en) * 2022-07-11 2023-11-24 佛山市厦欣科技有限公司 WIFI module production control method for air conditioner

Similar Documents

Publication Publication Date Title
CN112819187B (en) Management method and system for shared instrument
CN114567916A (en) Production test method, device, equipment and medium based on WiFi furniture
CN113238930A (en) Software system testing method and device, terminal equipment and storage medium
CN111010308B (en) KVM service test method and device
CN114331446B (en) Method, device, equipment and medium for realizing out-of-chain service of block chain
CN116431522A (en) Automatic test method and system for low-code object storage gateway
CN115952098A (en) Performance test tuning scheme recommendation method and system
CN114693116A (en) Method and device for detecting code review validity and electronic equipment
CN114706370A (en) Vehicle production line electric detection system, method, device and storage medium
CN112965745A (en) System access method, device, equipment and computer readable medium
CN113836016B (en) Writing interface storage quality testing method, system, electronic equipment and storage medium
CN115190008B (en) Fault processing method, fault processing device, electronic equipment and storage medium
US11663552B2 (en) Dynamically customizing a workflow separate from domain logic
CN114095394B (en) Network node fault detection method and device, electronic equipment and storage medium
CN116594914B (en) Method, device, equipment and storage medium for generating test data
CN114996157A (en) Method, device, equipment and storage medium for identifying risk of changing code
CN116483769A (en) Multi-U-shield check-in-free testing method and device
CN115730167A (en) Test platform, method, system, electronic equipment and storage medium
CN116149709A (en) Firmware upgrading method, device, equipment and medium
CN117520195A (en) Method, apparatus, device, storage medium and program product for testing interface
CN117640358A (en) System pre-inspection method, device, computer equipment and storage medium
CN116150024A (en) Method and device for evaluating program to be tested and electronic equipment
CN117609087A (en) Code processing method, device, equipment and medium
CN115994088A (en) Project detection method, device, electronic equipment and storage medium
CN116467195A (en) Test task distribution method and device, electronic equipment, storage medium and product

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