A production testing method and system, electronic device
By obtaining standard parameters from wireless signal names for production testing, the problems of low testing efficiency and equipment dependence caused by different regional standard parameters are solved, and efficient and flexible production testing is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU JIEFENG TECH CO LTD
- Filing Date
- 2023-02-22
- Publication Date
- 2026-05-29
AI Technical Summary
Existing production testing methods require burning different configuration files for standard parameters in different regions, resulting in low testing efficiency. Furthermore, they require simultaneous development of the product and the host computer, increasing the development cycle and equipment requirements.
By obtaining standard parameters from the name of the wireless signal, the target wireless signal can be directly determined from the searched wireless signals for production testing, avoiding the need for pre-programmed configuration files and host computers.
It improved the efficiency of production testing, reduced development cycles and equipment requirements, and enhanced the accuracy and flexibility of testing.
Smart Images

Figure CN116112885B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of production testing, and more specifically, to a production testing method and system, and electronic equipment. Background Technology
[0002] Existing products often need to undergo production testing (also known as production testing) before leaving the factory to ensure that the products function properly.
[0003] Currently, there are two commonly used production testing methods. The first method involves pre-programming standard parameters such as rated voltage and rated current into the product using a configuration file, and then conducting production tests based on these programmed standard parameters. However, different regions may have different standard parameter requirements for the same product. For example, the rated voltage might be 220V (Chinese standard) or 110V (European standard). Therefore, for the same product, different configuration files need to be programmed for the standard parameters of different regions, resulting in low testing efficiency.
[0004] The second approach involves establishing a communication connection between a host computer and the product. The host computer sends specific commands to the product to control it during production testing. After the product returns the test results to the host computer, the host computer outputs the production test results. However, this approach requires the simultaneous development of both the product and the host computer, resulting in a longer development cycle. Furthermore, it requires a dedicated host computer for production testing, placing high demands on the supporting testing equipment. Summary of the Invention
[0005] This application provides a production testing method, system, and electronic device to solve the problem that production testing in the prior art requires burning different configuration files for standard parameters in different regions, resulting in low testing efficiency, or to solve the problem that the prior art requires the simultaneous development of the product and the host computer, resulting in a longer development cycle, and requires a host computer to carry out production testing, which places high demands on the supporting testing equipment.
[0006] In a first aspect, this application provides a production testing method applied to a device under test, the method comprising: determining a target wireless signal from at least one searched wireless signal; obtaining standard parameters contained in the name of the target wireless signal; and performing production testing based on the standard parameters.
[0007] In this embodiment, by obtaining standard parameters from the name of the target wireless signal, compared to the first production testing method in the prior art, this solution does not require pre-programming the standard parameters into the device under test. For standard parameters in different regions, only the name of the target wireless signal needs to be modified, which improves the efficiency of production testing.
[0008] Compared to the second production testing method in the existing technology, this solution does not require the device under test to be connected to the host computer, thus eliminating the need to develop a host computer, reducing the development cycle, and reducing the requirements for supporting testing equipment.
[0009] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, determining the target wireless signal from at least one searched wireless signal includes: filtering wireless signals that meet preset conditions from at least one searched wireless signal, wherein the preset conditions include the wireless signal name containing a preset field and / or the wireless signal name meeting a preset format; and determining the target wireless signal from the wireless signals that meet the preset conditions.
[0010] In this embodiment of the application, target wireless signals are filtered by including preset conditions such as the name of the wireless signal containing preset fields and / or the name of the wireless signal meeting preset formats. This allows for accurate identification of target wireless signals from the searched wireless signals, thereby improving the accuracy of the solution.
[0011] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, if there are multiple wireless signals that meet the preset conditions, the target wireless signal is the wireless signal with the strongest signal strength among the multiple wireless signals that meet the preset conditions.
[0012] In this embodiment of the application, during production testing, the signal source transmitting the target wireless signal should be close to the device under test. Therefore, among multiple wireless signals that meet the preset conditions, the wireless signal with the stronger signal strength should be closer to the device under test. Thus, using the wireless signal with the strongest signal strength among multiple wireless signals that meet the preset conditions as the target wireless signal can effectively improve the accuracy of the target wireless signal.
[0013] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, before filtering out wireless signals that meet preset conditions from at least one searched wireless signals, the method further includes: filtering out wireless signals with signal strength greater than a preset signal strength threshold from at least one searched wireless signals; correspondingly, filtering out wireless signals that meet preset conditions from at least one searched wireless signals includes: filtering out wireless signals that meet preset conditions from wireless signals with signal strength greater than the preset signal strength threshold.
[0014] In this embodiment of the application, by filtering out wireless signals with signal strength greater than a preset signal strength threshold from at least one searched wireless signal, the searched wireless signals can be initially filtered, reducing the time required to filter wireless signals that meet the preset conditions, thereby improving the efficiency of production testing.
[0015] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the name of the target wireless signal may also include a test type. Before conducting production testing based on the standard parameters, the method may further include: if the current production test is not the first time, determining that the test type of the previous production test is a repetitive production test type.
[0016] In this embodiment of the application, when the current production test is not the first time, it is necessary to determine that the test type of the previous production test is a repeat production test type, so as to prevent the test equipment that should not be repeated from being subjected to repeated production tests.
[0017] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the method further includes: issuing different prompt signals to characterize different stages of production testing at different stages of production testing.
[0018] In this embodiment of the application, by issuing different prompt signals to characterize different stages of production testing, staff can be reminded of the current production testing status, which facilitates them to take corresponding work strategies based on the current production testing status and improves user experience.
[0019] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, issuing different prompt signals to characterize different stages of production testing includes: issuing a prompt signal indicating the start of production testing when the target wireless signal is determined from at least one searched wireless signal; issuing a prompt signal indicating that production testing is in progress when production testing is conducted based on the standard parameters; and issuing a prompt signal indicating the end of production testing after production testing has been conducted based on the standard parameters.
[0020] Secondly, this application provides an electronic device, including: a wireless communication module and a processing module, wherein the wireless communication module is used to search for wireless signals; the processing module is connected to the wireless communication module, and the processing module is used to determine a target wireless signal from at least one searched wireless signal; obtain standard parameters contained in the name of the target wireless signal; and perform production testing based on the standard parameters.
[0021] In conjunction with the technical solution provided in the first aspect above, in some possible implementations, the electronic device further includes: a prompting module connected to the processing module, wherein the prompting module is used, under the control of the processing module, to issue different prompting signals to characterize different stages of production testing.
[0022] Thirdly, this application provides a production testing system, comprising: a signal source and a device under test, wherein the signal source is used to transmit a wireless signal, and the name of the wireless signal is configured to include standard parameters; the device under test is used to determine a target wireless signal from at least one searched wireless signal; and to obtain the standard parameters contained in the name of the target wireless signal; and to perform production testing based on the standard parameters. Attached Figure Description
[0023] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a schematic flowchart illustrating the first production testing method according to an embodiment of this application;
[0025] Figure 2 This is a schematic flowchart illustrating the second production testing method according to an embodiment of this application;
[0026] Figure 3 This is a schematic flowchart illustrating the third production testing method in an embodiment of this application;
[0027] Figure 4 This is a structural block diagram of an electronic device shown in an embodiment of this application;
[0028] Figure 5 This is a structural block diagram of a production testing system shown in an embodiment of this application. Detailed Implementation
[0029] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0030] It should be noted that similar reference numerals and letters in the following figures denote similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, relational terms such as "first," "second," etc., in the description of this application are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one…" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0031] Furthermore, the term "and / or" in this application is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0032] The technical solution of this application will now be described in detail with reference to the accompanying drawings.
[0033] Given the shortcomings of the two existing production testing methods, this application provides a production testing method that does not require pre-programming of a configuration file containing standard parameters, nor does it require a host computer for production testing. This production testing method is applied to the device under test, which has the ability to search for wireless signals. The device under test can be a Wi-Fi smart socket, which includes a metering chip that can statistically analyze the power consumption of electrical appliances after the socket is powered on.
[0034] Please see Figure 1 , Figure 1 This is a schematic flowchart illustrating a production testing method according to an embodiment of this application. The following will be combined with... Figure 1 The steps involved are explained.
[0035] S100: Identify the target wireless signal from at least one of the searched wireless signals.
[0036] It is understandable that wireless signals can be Wi-Fi signals, Bluetooth signals, etc., and the specific type of wireless signal is not limited to the above methods.
[0037] In one implementation, the specific process of determining the target wireless signal from at least one searched wireless signal may be as follows: first, wireless signals that meet preset conditions are selected from at least one searched wireless signals, and then the target wireless signal is determined from the wireless signals that meet the preset conditions.
[0038] The preset conditions can be implemented in the following three ways.
[0039] In the first implementation, the preset condition is that the name of the wireless signal contains a preset field. In this case, the process of filtering wireless signals that meet the preset condition from at least one searched wireless signal can be to filter wireless signals whose names include the preset field from at least one searched wireless signal.
[0040] The preset field can be a string composed of any one or more of the following: English letters, numbers, symbols, and Chinese characters. This example is for illustrative purposes only and should not be construed as a limitation of this application.
[0041] For ease of understanding, let's take the example of finding three wireless signals with the names 123, abc, and JFProT_rssi30, with the default field being JFProT. Matching 123, abc, and JFProT_rssi30 with JFProT will show that only JFProT_rssi30 contains the JFProT field. Therefore, the wireless signal that meets the default condition is the one corresponding to JFProT_rssi30. This example is for illustrative purposes only and should not be construed as limiting this application.
[0042] In the second implementation, the preset condition is that the name of the wireless signal meets a preset format. In this case, the process of filtering wireless signals that meet the preset condition from at least one searched wireless signal can be to filter wireless signals whose name format is the same as the preset format from at least one searched wireless signal.
[0043] For example, the preset format can be "* / * / *", where "*" can be a string composed of any number and type of characters, and the "*" in different positions may not be the same. In this case, let's take three wireless signals with the names 123, abc, and JFProT / rssi30 / 46A as an example. Since the names of wireless signals 123 and abc are different from the preset format "* / * / *", the wireless signals corresponding to 123 and abc do not meet the preset conditions. JFProT / rssi30 / 46A meets the preset format; therefore, the wireless signal corresponding to JFProT / rssi30 / 46A meets the preset conditions. This example is only for illustrative purposes and should not be considered a limitation of this application.
[0044] The specific format of the preset format can be set according to actual needs; there are no restrictions on the specific format of the preset format here.
[0045] In the third implementation, the preset conditions include the wireless signal name containing a preset field and the wireless signal name satisfying a preset format. The specific implementation method of the wireless signal name containing the preset field is the same as that in the first implementation described above, and the specific implementation method of the wireless signal name satisfying the preset format is the same as that in the second implementation described above. For the sake of brevity, it will not be repeated here.
[0046] After obtaining wireless signals that meet the preset conditions, if only one wireless signal meets the preset conditions, that wireless signal is taken as the target wireless signal. If there are multiple wireless signals that meet the preset conditions, it is necessary to determine the target wireless signal from among the multiple wireless signals that meet the preset conditions.
[0047] Optionally, a wireless signal may be randomly selected from multiple wireless signals that meet preset conditions as the target wireless signal.
[0048] During production testing, the signal source emitting the target wireless signal should be close to the device under test. Therefore, in one implementation, if multiple wireless signals meet preset conditions, the wireless signal with the strongest signal strength among these multiple wireless signals is selected as the target wireless signal. In this case, the target wireless signal is the wireless signal with the strongest signal strength among the multiple wireless signals that meet the preset conditions.
[0049] Among multiple wireless signals that meet the preset conditions, the wireless signal with the stronger signal strength should be closer to the device under test. Therefore, taking the wireless signal with the strongest signal strength among multiple wireless signals that meet the preset conditions as the target wireless signal can effectively improve the accuracy of the target wireless signal.
[0050] To reduce the time required to filter wireless signals that meet preset conditions, in one embodiment, before filtering wireless signals that meet the preset conditions from at least one searched wireless signals, wireless signals with signal strength greater than a preset signal strength threshold can be filtered first from the at least one searched wireless signals. Then, wireless signals that meet the preset conditions are filtered from the wireless signals with signal strength greater than the preset signal strength threshold.
[0051] By using a preset signal strength threshold to initially filter the searched wireless signals, the number of wireless signals that need to be filtered using preset conditions is reduced. This reduces the time spent filtering wireless signals that meet the preset conditions and improves the efficiency of production testing.
[0052] The signal strength threshold can be preset, or it can be determined in real time based on the strength of all the wireless signals found after at least one wireless signal is detected.
[0053] When the preset signal strength threshold is determined in real time based on the strength of all the searched wireless signals, it can be done by first obtaining the strength of each searched wireless signal, then calculating the average strength of all the searched wireless signals, and using this average value as the preset signal strength threshold.
[0054] To reduce the time required to filter wireless signals that meet preset conditions, in another implementation, before filtering out wireless signals that meet the preset conditions from at least one searched wireless signal, all searched wireless signals can be sorted according to signal strength, and then a preset number of wireless signals with the highest signal strength can be filtered out. Then, wireless signals that meet the preset conditions are filtered out from the preset number of filtered wireless signals.
[0055] For example, when 10 wireless signals are detected, they can be sorted according to their signal strength, and then the four with the strongest signal strength can be selected. Then, from these four strongest signals, wireless signals that meet preset conditions can be selected. This example is for illustrative purposes only and should not be construed as limiting the scope of this application.
[0056] The preset quantity can be set according to actual needs; there is no limit to the specific value of the preset quantity here.
[0057] S200: Obtain the standard parameters contained in the name of the target wireless signal.
[0058] Since the name of the target wireless signal contains standard parameters, these standard parameters can be obtained from the name of the target wireless signal.
[0059] In one implementation, the name of the target wireless signal can be set according to a preset format, and different types of parameters can be arranged in a preset order. After obtaining the name of the target wireless signal, all standard parameters can be obtained in the preset order.
[0060] Taking a standard parameter that includes rated voltage, rated current, and rated power, and whose preset order is rated current, rated voltage, and rated power as an example, if the name of the target wireless signal is "[A1.14V220W240]", then the name of this wireless signal indicates that the rated current is 1.14A, the rated voltage is 220V, and the rated power is 240W.
[0061] In this example, "A", "V", and "W" are used to separate different numbers, and these three letters are also the units of their corresponding numbers.
[0062] In addition to using units to separate different numbers, separators can also be used. For example, when the preset order is rated current, rated voltage, and rated power, and the name of the target wireless signal is "1.14 / 220 / 240", " / " is used as a separator to separate the three types of data. Therefore, "1.14" is the rated current, 220 is the rated voltage, and 240 is the rated power. In this case, the units of different parameters should be preset. After obtaining the value of each parameter, the specific value of each parameter can be determined by combining it with the preset units.
[0063] In this context, the setting method of standard parameters in the target wireless signal can also be used as the preset format in the second and third implementation methods of the above-mentioned preset conditions.
[0064] For example, the name of the target wireless signal is JFProT_rssi30Y[A1.14V220W240].
[0065] S300: Production testing is conducted based on standard parameters.
[0066] Once the standard parameters are obtained, production testing can be conducted based on these parameters. The production testing methods differ for different devices under test.
[0067] For example, when the device under test is a Wi-Fi smart socket, if the metering chip in the Wi-Fi smart socket needs to be calibrated for production testing, the current voltage, current, and power coefficient parameters P1 and P2 of the device under test can be obtained first. Then, based on the rated voltage U1 and rated current I1 in the standard parameters, the voltage and current obtained through the metering chip's SDK are U2 and I2, respectively. After calibration, the voltage, current, and power coefficient parameters of the metering chip are P1′ and P2′, where P1′ = P1 * U2 / U1 and P2′ = P2 * I2 / I1. Here, SDK refers to the development environment and API interfaces provided by the chip manufacturer for secondary development. Chip manufacturers typically encapsulate some interfaces based on the operating system, allowing users to manipulate the high and low levels of corresponding pins on the chip, or read the high and low levels of corresponding pins. These read high and low levels can be used to obtain binary data. By pulling high or low the level of a certain pin on the chip, binary data can be sent. Therefore, these API calls can be used to obtain sensor information or control peripherals.
[0068] The production testing process varies for different devices to be tested, and no restrictions are imposed on the production testing process for the devices to be tested here.
[0069] In one implementation, the name of the target wireless signal also includes the test type. When conducting production testing based on standard parameters, the corresponding production test process can be determined according to the test type, and then production testing can be conducted based on the standard parameters and the corresponding production test process.
[0070] The test type can be a preset field, with different fields representing different test types.
[0071] It is understood that the preset field representing the test type here can also be used as the preset field in the first and third implementations of the preset conditions mentioned above.
[0072] For example, the target wireless signal is named ProTRes_rssi30Y[A1.14V220W240], where "ProTRes" is a preset field. The presence of this preset field indicates that the wireless signal meets the preset conditions. Simultaneously, "ProTRes" also represents the repetitive production test type. When this field is detected in the target wireless signal, the system enters the production test mode corresponding to the repetitive production test type. The data in [A1.14V220W240] are, in order, rated current, rated voltage, and rated power.
[0073] Among them, "rssi30Y" represents a signal strength of 30.
[0074] Understandably, the field representing signal strength in a wireless signal can be used as a signal strength threshold. After a device detects a signal, if the signal strength is less than the field representing signal strength included in the signal, the signal is ignored.
[0075] For example, if the target wireless signal is named ProTRes_rssi30Y[A1.14V220W240], when the target wireless signal is detected, if its signal strength is less than 30, the signal is ignored. If the signal strength is greater than or equal to 30, the signal strength of the target wireless signal is determined to meet the condition, and further judgment can be made.
[0076] Alternatively, the target wireless signal may be named JFProT_rssi30Y[A1.14V220W240], where "JFProT" is a preset field. The presence of this preset field indicates that the wireless signal meets the preset conditions. "ProTRes" also represents the non-repeating production test type. When this field is detected in the target wireless signal, the system enters the production test mode corresponding to the non-repeating production test type. The data in [A1.14V220W240] are, in order, rated current, rated voltage, and rated power.
[0077] If the current production test is not the first time, before S300, it is also necessary to determine whether the previous production test was a repeatable production test. The test type includes both repeatable production test and non-repeatable production test types.
[0078] One possible approach is to first determine whether the current production test is the first time it has been conducted after identifying the target wireless signal. If so, proceed with steps S200 and S300.
[0079] If the current production test is not the first production test, then retrieve the test type of the previous production test. If the test type of the previous production test was a non-repeating production test type, then stop the production test process.
[0080] If the current production test is not the first production test, and the previous production test was a recurring production test, then record the test type of the current production test and continue to execute S200 and S300.
[0081] To facilitate staff in adopting corresponding work strategies based on the current production testing status and improve user experience, in one implementation, different prompt signals can be issued to characterize different stages of production testing.
[0082] For example, when the target wireless signal is identified from at least one of the searched wireless signals, a prompt signal indicating the start of production testing is issued.
[0083] When conducting production tests based on standard parameters, a prompt signal is issued to characterize the production test process.
[0084] After conducting production tests based on standard parameters, a prompt signal indicating the end of the production test is issued.
[0085] The prompts can be voice announcements, lights of a specified color, lights flashing at a specified frequency, etc. As long as there are distinguishable differences between the various prompts, they can be differentiated.
[0086] Taking a light with a specified flashing frequency as an example, when a target wireless signal is identified from at least one detected wireless signal, the light can remain constantly on; during production testing based on standard parameters, the light flashes at a fixed frequency; after the production test based on standard parameters, the light turns off. This example is for illustrative purposes only and should not be construed as limiting the scope of this application.
[0087] When the device under test is a Wi-Fi smart socket without a metering chip, since the production testing speed of this type of Wi-Fi smart socket is relatively fast (within 2 seconds), it can be set that at the beginning of the production test (e.g., when the target wireless signal is determined from at least one searched wireless signal), the indicator light of the Wi-Fi smart socket's relay turns on, and the relay also turns on, this process lasting 2 seconds. During production testing (e.g., when conducting production testing based on standard parameters), the indicator light of the relay turns off, and correspondingly, the relay also turns off, this process lasting 1 second. After the production test ends (e.g., after conducting production testing based on standard parameters), the network indicator light of the Wi-Fi smart socket remains on, or the indicator light of the relay can be turned off (in this case, the production test can be confirmed to be over when the relay indicator light is off for more than 4 seconds).
[0088] When the device under test is a Wi-Fi smart socket equipped with a metering chip, it can be configured to turn on the indicator light of the Wi-Fi smart socket's relay at the start of production testing (e.g., when the target wireless signal is identified from at least one detected wireless signal), and the relay itself will also be on. During production testing (e.g., when conducting production testing based on standard parameters), the relay indicator light will flash. After production testing ends (e.g., after conducting production testing based on standard parameters), the indicator light of the Wi-Fi smart socket's relay will turn off. Alternatively, both the Wi-Fi smart socket's relay indicator light and the network indicator light can be set to turn off.
[0089] The examples provided are for illustrative purposes only and should not be construed as limiting the scope of this application.
[0090] To further understand the production testing methods described above, please refer to [link / reference]. Figure 2 It should be noted that, Figure 2 The principle shown is one of many embodiments of the production testing method of this application; therefore, it cannot be used as a general guideline. Figure 2 The manner shown is to be understood as a limitation of this application.
[0091] like Figure 2 As shown, the device under test is first powered on, and then it is checked whether a network configuration exists. This network configuration can be Wi-Fi configuration, Bluetooth configuration, etc. If a network configuration exists, the device under test enters the normal working process.
[0092] If the device under test does not have a network configuration, it scans for wireless signals and selects those with a signal strength greater than a preset signal strength threshold from at least one detected wireless signal. If no wireless signal with a signal strength greater than the preset threshold is detected, the device under test enters normal operation. Then, it selects wireless signals that meet preset conditions from those with signal strength greater than the preset threshold.
[0093] Next, the target wireless signal is identified from the wireless signals that meet the preset conditions. Finally, the standard parameters contained in the name of the target wireless signal are obtained, and production testing is conducted based on these standard parameters.
[0094] Or, such as Figure 3 As shown, another approach is to scan for wireless signals and then filter out those that meet preset conditions. If no wireless signal meets the preset conditions, the device under test will enter its normal operating procedure.
[0095] If a wireless signal that meets the preset conditions exists, then that wireless signal is identified as the target wireless signal. If multiple wireless signals that meet the preset conditions exist, then the wireless signal with the strongest signal strength is selected as the target wireless signal from among the multiple wireless signals that meet the preset conditions.
[0096] Finally, the standard parameters contained in the name of the target wireless signal are obtained, and production testing is conducted based on these standard parameters.
[0097] Figure 2 and Figure 3 The specific implementation methods and principles of each step in the production testing method shown have been clearly described above, and will not be repeated here for the sake of brevity.
[0098] Based on the same inventive concept, this application also provides an electronic device 100 for performing the aforementioned production testing method. For example... Figure 4 As shown, the electronic device includes a wireless communication module 110 and a processing module 120.
[0099] Wireless communication module 110 is used to search for wireless signals.
[0100] The wireless communication module 110 can be a Wi-Fi module, a Bluetooth module, etc., and there are no restrictions on it here.
[0101] The processing module 120 is connected to the wireless communication module 110. The processing module 120 is used to determine the target wireless signal from at least one searched wireless signal; obtain the standard parameters contained in the name of the target wireless signal; and perform production testing based on the standard parameters.
[0102] The processing module 120 is specifically configured to filter wireless signals that meet preset conditions from at least one searched wireless signal, wherein the preset conditions include the wireless signal name containing preset fields and / or the wireless signal name meeting a preset format; and to determine the target wireless signal from the wireless signals that meet the preset conditions.
[0103] In one implementation, if there are multiple wireless signals that satisfy the preset conditions, the target wireless signal is the wireless signal with the strongest signal strength among the multiple wireless signals that satisfy the preset conditions.
[0104] The processing module 120 is further configured to, before selecting wireless signals that meet preset conditions from the at least one searched wireless signals, select wireless signals with signal strength greater than a preset signal strength threshold from the at least one searched wireless signals. The wireless signals that meet preset conditions are selected from the wireless signals with signal strength greater than the preset signal strength threshold.
[0105] The processing module 120 is further configured to, if the name of the target wireless signal also includes a test type, determine the test type of the previous production test as a repeat production test type before conducting the production test based on the standard parameters, if the current production test is not the first one.
[0106] The processing module 120 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or microprocessors.
[0107] In one embodiment, the electronic device 100 further includes a prompting module connected to the processing module 120. The prompting module is used to issue different prompting signals to characterize different stages of production testing under the control of the processing module 120.
[0108] The prompting module is specifically configured to issue a prompting signal indicating the start of production testing when the target wireless signal is determined from at least one searched wireless signal; issue a prompting signal indicating the progress of production testing when production testing is being conducted based on the standard parameters; and issue a prompting signal indicating the end of production testing after production testing has been conducted based on the standard parameters.
[0109] The prompting module can be a light that can flash at different frequencies, a group of lights including multiple colors, a buzzer, a display panel, etc., as long as it can emit a prompting signal. There are no restrictions on the specific type of prompting module.
[0110] The electronic device 100 provided in this application embodiment has the same implementation principle and technical effect as the aforementioned production testing method embodiment. For the sake of brevity, any parts not mentioned in the electronic device embodiment can be referred to the corresponding content in the aforementioned production testing method embodiment.
[0111] Based on the same inventive concept, this application also provides a production testing system 200. For example... Figure 5 As shown, the production testing system includes a signal source 210 and a device under test 220.
[0112] Signal source 210 is used to transmit wireless signals, the names of which are configured to include standard parameters.
[0113] The device under test 220 is used to determine the target wireless signal from at least one searched wireless signal; and to obtain standard parameters contained in the name of the target wireless signal; and to perform production testing based on the standard parameters. The implementation and principle of the device under test 220 are the same as those of the aforementioned electronic device 100, and will not be elaborated further here for brevity.
[0114] In actual production testing, the same production testing system 200 may include multiple devices 220 to be tested. These devices 220 require the same standard parameters, thus enabling simultaneous production testing of multiple devices 220 to be tested.
[0115] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A production testing method, characterized in that, Applied to the device under test, the method includes: Filter out wireless signals with a signal strength greater than a preset signal strength threshold from at least one wireless signal found; Wireless signals that meet preset conditions are selected from wireless signals whose signal strength is greater than the preset signal strength threshold; wherein, the preset conditions include the wireless signal name containing a preset field and / or the wireless signal name meeting a preset format; if there are multiple wireless signals that meet the preset conditions, the target wireless signal is the wireless signal with the strongest signal strength among the multiple wireless signals that meet the preset conditions. The target wireless signal is determined from the wireless signals that meet the preset conditions; Obtain the standard parameters and test type contained in the name of the target wireless signal; the name of the target wireless signal is set according to a preset format, and the parameters of different types are arranged in a preset order; wherein, the test type includes non-repeating test type and repeating test type; The corresponding production testing process is determined based on the test type included in the name of the target wireless signal; Production testing is conducted based on the aforementioned standard parameters and production testing procedures.
2. The method according to claim 1, characterized in that, The name of the target wireless signal also includes a test type, and the method further includes, prior to conducting production testing based on the standard parameters: If the current production test is not the first time, the test type of the previous production test is determined to be a recurring production test type.
3. The method according to claim 1, characterized in that, The method further includes: Different cue signals are issued at different stages of production testing to characterize each stage of the production testing process.
4. The method according to claim 3, characterized in that, The process involves issuing different prompt signals at different stages of production testing to characterize each stage, including: When the target wireless signal is identified from at least one of the searched wireless signals, a prompt signal indicating the start of production testing is issued. When conducting production testing based on the aforementioned standard parameters, a prompt signal characterizing the production testing process is issued. After the production test is conducted based on the standard parameters, a prompt signal indicating the end of the production test is issued.
5. An electronic device, characterized in that, include: Wireless communication module, used to search for wireless signals; A processing module, connected to the wireless communication module, is configured to: filter wireless signals with signal strength greater than a preset signal strength threshold from at least one searched wireless signal; filter wireless signals that meet preset conditions from the wireless signals with signal strength greater than the preset signal strength threshold; wherein the preset conditions include the wireless signal name containing preset fields and / or the wireless signal name meeting a preset format; if multiple wireless signals meet the preset conditions, the target wireless signal is the wireless signal with the strongest signal strength among the multiple wireless signals meeting the preset conditions; determine the target wireless signal from the wireless signals meeting the preset conditions; obtain the standard parameters and test type contained in the name of the target wireless signal; and perform production testing based on the standard parameters; wherein the name of the target wireless signal is set according to a preset format, different types of parameters are arranged in a preset order, and the test type includes a non-repeating test type and a repetitive test type.
6. The electronic device according to claim 5, characterized in that, The electronic device also includes: A prompting module, connected to the processing module, is used, under the control of the processing module, to issue different prompting signals to characterize different stages of production testing.
7. A production testing system, characterized in that, include: A signal source, the signal source being used to transmit a wireless signal, the name of which is configured to include standard parameters; The device under test is used to determine a target wireless signal from at least one wireless signal found; and to obtain standard parameters contained in the name of the target wireless signal. Production testing is performed based on the standard parameters; the device under test is used to perform the method as described in any one of claims 1-4.