CN112615683B - Communication module function detection system and method - Google Patents

Communication module function detection system and method Download PDF

Info

Publication number
CN112615683B
CN112615683B CN202011494046.5A CN202011494046A CN112615683B CN 112615683 B CN112615683 B CN 112615683B CN 202011494046 A CN202011494046 A CN 202011494046A CN 112615683 B CN112615683 B CN 112615683B
Authority
CN
China
Prior art keywords
communication device
tested
bluetooth
wifi
current
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.)
Active
Application number
CN202011494046.5A
Other languages
Chinese (zh)
Other versions
CN112615683A (en
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.)
Changhong Meiling Xinhua Technology Co ltd
Original Assignee
Sichuan Hongmei Intelligent Technology 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 Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN202011494046.5A priority Critical patent/CN112615683B/en
Publication of CN112615683A publication Critical patent/CN112615683A/en
Application granted granted Critical
Publication of CN112615683B publication Critical patent/CN112615683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/15Performance testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/29Performance testing
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a system and a method for detecting the function of a communication module, wherein the system comprises: the system comprises an intelligent terminal, at least one intelligent device, at least one communication device to be tested and a router, wherein each communication device to be tested is connected with one intelligent device; the communication device to be tested is used for starting a Bluetooth hotspot with the Bluetooth name of the physical address of the communication device to be tested after the connected intelligent equipment is powered on, and establishing communication connection with the router; the intelligent terminal is used for acquiring a target physical address of the current communication device to be tested and establishing Bluetooth communication connection with the current communication device to be tested; sending the target physical address to the communication device to be tested through Bluetooth; the current communication device to be tested is used for determining a Bluetooth software test result and a WiFi test result and sending the Bluetooth software test result and the WiFi test result to the intelligent terminal through Bluetooth; and the intelligent terminal is also used for determining the detection result of the current communication device to be detected. The invention can shorten the detection time.

Description

Communication module function detection system and method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a system and a method for detecting a function of a communication module.
Background
At present, most intelligent devices integrate dual functions of Wireless-Fidelity (Wi-Fi) and bluetooth, so as to improve the user experience of the intelligent devices. Therefore, in order to ensure that the Wi-Fi and bluetooth functions are normal when the user uses the smart device, the WiFi and bluetooth functions need to be detected during the production of the smart device.
For example, a chinese application patent with application number 201210090190.1 discloses a bluetooth chip rapid detection system which uses a hardware detection method to achieve rapid detection of functions of a plurality of bluetooth chips to be detected, but the system cannot test the bluetooth functions during production of an intelligent device.
In the detection method in the prior art, the bluetooth function and the WiFi function need to be detected respectively for each piece of intelligent equipment, for example, the testing equipment needs to detect the WiFi function after completing the detection of the bluetooth function, which results in long detection time.
Disclosure of Invention
The embodiment of the invention provides a communication module function detection system and a communication module function detection method, which can shorten the detection time.
In a first aspect, an embodiment of the present invention provides a system for detecting a function of a communication module, including: an intelligent terminal, at least one intelligent device, at least one communication device to be tested and a router,
each communication device to be tested is communicated with one intelligent device;
the communication device to be tested is used for starting a Bluetooth hotspot with the Bluetooth name of the physical address of the communication device to be tested after the connected intelligent equipment is powered on, and establishing communication connection with the router;
the intelligent terminal is used for acquiring a target physical address of the current communication device to be tested and establishing Bluetooth communication connection with the current communication device to be tested; sending the target physical address to the communication device to be tested through Bluetooth;
the current communication device to be tested is used for determining a Bluetooth software test result according to the target physical address and the physical address of the current communication device to be tested; determining a WiFi test result by utilizing the communication connection between the current intelligent equipment connected with the communication device to be tested and the router; sending the Bluetooth software test result and the WiFi test result to the intelligent terminal through Bluetooth;
the intelligent terminal is further used for determining the detection result of the current communication device to be detected according to a preset threshold value, the Bluetooth software test result and the WiFi test result.
In one possible design of the system, the system may be,
the current communication device to be tested is specifically used for sending target serial port data to the current intelligent equipment according to a preset period;
the current intelligent device is used for returning serial port data after receiving the target serial port data;
the current communication device to be tested is further used for judging whether the received serial port data is the same as the target serial port data or not, if so, the information that the serial port communication detection is passed is supplemented in the WiFi test result, and if not, the information that the serial port communication detection is not passed is supplemented in the WiFi test result.
In one possible design of the system, the system may be,
the current communication device to be tested is further used for acquiring the WiFi signal intensity of the current communication device to be tested through a preset interface function when the serial port data is the same as the target serial port data, and supplementing the WiFi signal intensity into the WiFi test result;
the intelligent terminal is further used for judging whether the WiFi signal strength is smaller than a WiFi strength threshold value in the preset threshold values, if so, information that WiFi detection fails is supplemented in the detection result, and otherwise, information that WiFi detection passes is supplemented in the detection result.
In one possible design of the system, the system may be,
the intelligent terminal is further used for judging whether the Bluetooth software test result and the WiFi test result are received within a preset time range after the target physical address is obtained, if so, information that the Bluetooth test is passed is added into the test result, and if not, information that the Bluetooth test is not passed is added into the test result.
In one possible design, the communication module function detection system further includes: a signal testing device;
the intelligent terminal is further used for sending the target physical address to the signal testing device after the target physical address is obtained;
the signal testing device is used for acquiring a unit intensity value of the communication device to be tested corresponding to the target physical address, outputting the Bluetooth signal intensity of the communication device to be tested at each testing distance according to at least one preset testing distance and a pre-stored signal intensity model, and sending the Bluetooth signal intensity to the intelligent terminal, wherein the testing distance is used for representing the distance between the signal testing device and the communication device to be tested;
the signal strength model comprises:
R BT =-log 10 d-log 10 k-1-R
wherein d is used for representing the current test distance R between the signal test device and the communication device to be tested BT For characterizing the current test distanceThe signal testing device receives a signal intensity value of a Bluetooth signal sent by the communication device to be tested, k is used for representing an environment attenuation factor, and R is used for representing the unit intensity value;
and the intelligent terminal is further used for determining a Bluetooth hardware detection result of the current communication device to be tested according to the preset threshold value and the Bluetooth signal strength under at least one test distance, and supplementing the Bluetooth hardware detection result into the test result.
In one of the possible designs, the first and second,
the intelligent terminal is further used for acquiring a product serial number of the current intelligent equipment and sending the product serial number to the current communication device to be tested;
and the current communication device to be tested writes the product serial number into the communication device to be tested when the target physical address is determined to be the same as the physical address of the current communication device to be tested.
In a second aspect, an embodiment of the present invention further provides a method for detecting a function of a communication module, where the method is implemented based on the first aspect or any implementation possible implementation manner of the first aspect, and the method includes:
after the intelligent equipment connected with the communication device to be tested is powered on, starting a Bluetooth hotspot with the Bluetooth name of the physical address of the communication device to be tested, and establishing communication connection with the router;
the intelligent terminal acquires a target physical address of a current communication device to be tested and establishes Bluetooth communication connection with the current communication device to be tested;
the intelligent terminal sends the target physical address to the communication device to be tested through Bluetooth;
the current communication device to be tested determines a Bluetooth software test result according to the target physical address and the physical address of the current communication device to be tested;
the current communication device to be tested determines a WiFi test result according to the communication connection between the current intelligent equipment connected with the communication device to be tested and the router;
the current communication device to be tested sends the Bluetooth software test result and the WiFi test result to the intelligent terminal through Bluetooth;
and the intelligent terminal determines the detection result of the current communication device to be detected according to a preset threshold value, the Bluetooth software test result and the WiFi test result.
In one possible implementation, the determining, by the current communication device to be tested, a WiFi test result according to a communication connection between the current intelligent device connected to the communication device to be tested and the router includes:
the current communication device to be tested sends target serial port data to the current intelligent equipment according to a preset period;
the current intelligent equipment returns serial port data after receiving the target serial port data;
and the current communication device to be tested judges whether the received serial port data is the same as the target serial port data, if so, the information that the serial port communication detection is passed is supplemented in the WiFi test result, and if not, the information that the serial port communication detection is not passed is supplemented in the WiFi test result.
In a possible implementation, after the current communication device under test determines whether the received serial port data is the same as the target serial port data, the method further includes:
when the serial port data is the same as the target serial port data, the current communication device to be tested acquires the WiFi signal intensity of the current communication device to be tested through a preset interface function, and the WiFi signal intensity is supplemented in the WiFi test result;
and the intelligent terminal judges whether the WiFi signal strength is smaller than a WiFi strength threshold value in the preset threshold values, if so, information that WiFi detection fails is supplemented in the detection result, and otherwise, information that WiFi detection passes is supplemented in the detection result.
In a possible implementation, after the intelligent terminal obtains the target physical address of the current communication device to be tested, the method further includes:
after the intelligent terminal acquires the target physical address, judging whether the Bluetooth software test result and the WiFi test result are received within a preset time range;
if yes, supplementing the information that the Bluetooth test passes in the detection result;
if not, the information that the Bluetooth test fails is supplemented in the detection result.
According to the technical scheme, each communication device to be tested is connected with one intelligent device, and the physical address of each communication device to be tested is used as the Bluetooth name of the Bluetooth hotspot. After the intelligent terminal establishes Bluetooth communication connection with the current communication device to be tested, the communication device to be tested receives a target physical address of the communication device to be tested sent by the intelligent terminal through Bluetooth, a Bluetooth software test result is determined according to the target physical address and the physical address of the communication device to be tested, a WiFi test result is determined according to communication connection between intelligent equipment connected with the communication device to be tested and a router, and the test result is sent to the intelligent terminal through Bluetooth, so that the intelligent terminal determines a detection result of the communication device to be tested. By the above, the Bluetooth function of the test of the communication module to be tested is detected by receiving and sending the Bluetooth data, and meanwhile, the detection result of the WiFi function can be sent to the intelligent terminal together, namely, the double detection of the Bluetooth and the WiFi functions of the test of the communication module to be tested is realized simultaneously, and the Bluetooth and the WiFi functions do not need to be tested independently, so that the test time is shortened.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a communication module function detection system according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for detecting a function of a communication module according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a communication module function detection system, including: an intelligent terminal 101, at least one intelligent device 102, at least one communication device under test 103 and a router 104,
each communication device to be tested 103 is connected with one intelligent device 102;
the communication device to be tested 103 is used for starting a bluetooth hotspot with a bluetooth name of a physical address of the communication device to be tested 103 after the connected intelligent equipment 102 is powered on, and establishing communication connection with the router 104;
the intelligent terminal 101 is used for acquiring a target physical address of the current communication device 103 to be tested and establishing Bluetooth communication connection with the current communication device 103 to be tested; sending the target physical address to the communication device to be tested 103 through bluetooth;
the current communication device to be tested 103 is used for determining a Bluetooth software test result according to the target physical address and the physical address of the current communication device to be tested; determining a WiFi test result by utilizing the communication connection between the current intelligent equipment 102 and the router 104 connected with the communication device 103 to be tested; sending the Bluetooth software test result and the WiFi test result to the intelligent terminal 101 through Bluetooth;
the intelligent terminal 101 is further configured to determine a detection result of the current communication device 103 to be detected according to a preset threshold, a bluetooth software test result, and a WiFi test result.
In the embodiment of the present invention, each communication device under test 103 is connected to one smart device 102, and each communication device under test 103 uses its own physical address as the bluetooth name of the bluetooth hot spot. After the intelligent terminal 101 establishes bluetooth communication connection with the current communication device to be tested 103, the communication device to be tested 103 receives a target physical address of the communication device to be tested 103 sent by the intelligent terminal 101 through bluetooth, determines a bluetooth software test result according to the target physical address and the physical address of the communication device to be tested, determines a WiFi test result according to communication connection between the intelligent device 102 and the router 104 connected to the communication device to be tested 103, and sends the test result to the intelligent terminal 101 through bluetooth, so that the intelligent terminal 101 determines a detection result of the communication device to be tested 103. By the above, the Bluetooth function of the test of the communication module to be tested is detected by receiving and sending the Bluetooth data, and meanwhile, the detection result of the WiFi function can be sent to the intelligent terminal together, namely, the double detection of the Bluetooth and the WiFi functions of the test of the communication module to be tested is realized simultaneously, and the Bluetooth and the WiFi functions do not need to be tested independently, so that the test time is shortened.
It should be understood that the current communication device under test refers to the communication device under test that is being tested. The intelligent terminal may obtain the target physical address of the current communication device to be tested in the following manner, for example, by using a code scanning device, or may obtain the target physical address by using the intelligent terminal by using a two-dimensional code scanning manner, which is not specifically limited in the embodiment of the present invention.
It is understood that, in the embodiment of the present invention, the current communication device under test determines the bluetooth software test result according to the acquired target physical address and the physical address of the current communication device under test. If the target physical address is the same as the physical address of the communication device, the communication device to be tested can normally acquire Bluetooth data through Bluetooth connection, and the acquired Bluetooth data is correct, so that the Bluetooth software function of the communication device to be tested is determined to be normal. If the communication device to be tested cannot acquire the target physical address or the target physical address is different from the physical address of the communication device to be tested, the communication device to be tested cannot acquire the Bluetooth data normally through Bluetooth connection, and therefore the Bluetooth software function of the communication device to be tested is determined to be abnormal.
It should be understood that, in the embodiment of the present invention, the smart terminal 101 may be, for example, a fixed device or a mobile device. Further, the execution subject in the embodiment of the present invention may specifically be an application installed on a device.
It should be noted that, in the embodiment of the present invention, a bluetooth communication connection manner between the intelligent terminal and the current communication module to be tested is not specifically limited.
In one embodiment of the present invention, the,
the current communication device to be tested 103 is specifically configured to send target serial port data to the current intelligent device 102 according to a preset cycle;
the current intelligent device 102 is configured to return serial port data after receiving the target serial port data;
the current communication device 103 to be tested is further used for judging whether the received serial port data is the same as the target serial port data, if so, the information that the serial port communication detection passes is supplemented in the WiFi test result, and if not, the information that the serial port communication detection fails is supplemented in the WiFi test result.
In the embodiment of the present invention, the communication device to be tested 103 sends target serial data to the smart device 102 connected to the communication device to be tested 103, if the communication device to be tested 103 can receive serial data from the smart device 102 and the serial data is the same as the target serial data, it is determined that serial communication is normal, and if the communication device to be tested 103 does not receive serial data from the smart device 102 or receives serial data from the smart device 102 but the serial data is different from the target serial data, it is determined that serial communication is abnormal, so that serial communication of the communication device to be tested can be detected.
For example, sending target serial port data to the intelligent device is 10 01 11 00, and if the serial port data returned by the intelligent device is 10 01 11 00, determining that the communication device to be tested and the intelligent device can normally communicate through the serial port; and if the serial port data returned by the intelligent equipment is not received or the received serial port data is not 10 01 11 00 01, determining that the communication device to be tested and the intelligent equipment cannot normally carry out serial port communication.
In one embodiment of the present invention, the first and second electrodes are,
the current communication device to be tested 103 is further configured to obtain WiFi signal strength of the current communication device to be tested 103 through a preset interface function when the serial port data is the same as the target serial port data, and supplement the WiFi signal strength in a WiFi test result;
the intelligent terminal 101 is further configured to determine whether the WiFi signal strength is smaller than a WiFi strength threshold in a preset threshold, if so, supplement information that the WiFi detection fails in the detection result, otherwise, supplement information that the WiFi detection passes in the detection result.
In the embodiment of the present invention, when the current communication device to be tested 103 and the intelligent device 102 connected to the communication device to be tested 103 can perform serial port communication normally, the communication device to be tested 103 obtains the WiFi signal strength of the router 104 connected to the communication device to be tested 103 through a preset interface function, so that the intelligent terminal 101 can determine the WiFi signal strength function according to a preset WiFi strength threshold, thereby further determining whether the WiFi function of the communication device to be tested 103 is normal.
It should be noted that, in an embodiment of the present invention, if the current communication device to be detected determines that the bluetooth receiving function is abnormal, the information about the abnormal bluetooth receiving function may be directly sent to the intelligent terminal through bluetooth, and the serial communication detection and the WiFi signal strength detection are not required to be performed, so that the detection duration may be further shortened, and the detection efficiency may be further improved.
For example, in an embodiment of the present invention, the intelligent terminal acquires the physical address a of the communication device a to be tested in a code scanning manner, and sends bluetooth data carrying the physical address a to the communication device a to be tested after establishing bluetooth communication connection with the communication device a to be tested. After receiving the Bluetooth data, the communication device A to be tested judges whether the physical address a is the same as the physical address of the communication device A to be tested, if the physical address a is the same as the physical address of the communication device A to be tested, the Bluetooth receiving function of the communication device to be tested is determined to be normal, and if the Bluetooth data is not received within a preset time range or the physical address a is different from the physical address of the communication device A to be tested, the Bluetooth receiving function of the communication device to be tested is determined to be abnormal. During this period, the communication device a to be tested detects whether the serial communication is normal. And if the serial communication is abnormal, sending the test result of the Bluetooth software (the Bluetooth receiving function is normal or the Bluetooth receiving function is abnormal) and the test result of the serial communication abnormal to the intelligent terminal through Bluetooth. If the serial communication is normal, the WiFi signal intensity of the router connected with the communication device A to be tested is further acquired through a preset interface function, and the Bluetooth software test result (the Bluetooth receiving function is normal or abnormal), the serial communication is normal and the WiFi signal intensity are sent to the intelligent terminal through Bluetooth.
It should be noted that, in the embodiment of the present invention, the router information (the router account and the password) is written into the test program of the communication module to be tested in advance, and the communication module to be tested is actively connected to the router after being powered on.
In one embodiment of the present invention, the,
the intelligent terminal 101 is further configured to determine whether a bluetooth software test result and a WiFi test result are received within a preset time range after the target physical address is obtained, if yes, supplement information that a bluetooth test passes in the test result, and if not, supplement information that a bluetooth test fails in the test result.
In the embodiment of the present invention, the intelligent terminal 101 starts timing after acquiring the target physical address of the current communication device 103 to be tested, and if the bluetooth software test result and the WiFi test result returned by the communication device 103 to be tested are received within a preset time range, it is determined that the bluetooth transmission function is normal, otherwise, it is determined that the bluetooth transmission function is abnormal. By the above, set up the overtime mechanism, can avoid sending the function exception and can't return the long-time waiting that bluetooth data leads to because of the bluetooth to can further shorten test time, improve detection efficiency, can also reduce the influence that the test brought to smart machine production simultaneously, and then improve production efficiency.
It should be noted that, in an embodiment of the present invention, the timing manner of the intelligent terminal may be, for example, to start timing after establishing a bluetooth communication connection with the current testing apparatus, to start timing when sending bluetooth data to the current testing apparatus, or to start timing at a certain time point in a testing process.
For example, the intelligent terminal starts timing after acquiring the physical address of the current communication device to be tested, and if the bluetooth information returned by the communication device to be tested is not received within 8s, it indicates that the bluetooth sending function of the communication device to be tested is abnormal. And if the Bluetooth information returned by the communication device to be detected is received within 8s, analyzing the Bluetooth information, determining the detection result of the communication device to be detected, and displaying the detection result to a detector.
In the communication module function detecting system shown in fig. 1, in an embodiment of the present invention, the communication module function detecting system further includes: a signal testing device;
the intelligent terminal 101 is further configured to send the target physical address to the signal testing device after the target physical address is obtained;
the signal testing device is used for acquiring a unit intensity value of the communication device 103 to be tested corresponding to the target physical address, outputting the Bluetooth signal intensity of the communication device 103 to be tested at each testing distance according to at least one preset testing distance and a pre-stored signal intensity model, and sending the Bluetooth signal intensity to the intelligent terminal 101, wherein the testing distance is used for representing the distance between the signal testing device and the communication device 103 to be tested;
the signal strength model includes:
R BT =-log 10 d-log 10 k-1-R
wherein d is used to characterize the current test distance, R, between the signal testing device and the communication device under test 103 BT The device is used for representing the signal strength value of the Bluetooth signal received by the signal testing device at the current testing distance from the communication device to be tested 103, k is used for representing the environmental attenuation factor, and R is used for representing the unit strength value;
the intelligent terminal 101 is further configured to determine a bluetooth hardware detection result of the current communication device 103 to be tested according to the preset threshold and the bluetooth signal strength at the at least one test distance, and supplement the result in the test result.
In the embodiment of the present invention, the signal testing device obtains a unit intensity value of the current communication device to be tested, and outputs the bluetooth signal intensities of the communication device to be tested at different testing distances according to a plurality of preset testing distances and a pre-stored signal intensity model, so that the intelligent terminal 101 determines a bluetooth hardware detection result according to a preset bluetooth intensity threshold.
It should be understood that the greater the signal strength value of the bluetooth signal sent by the communication device under test, the better the bluetooth transmission quality is. When the Bluetooth signal intensity value of the equipment to be tested does not meet the threshold value, determining that the Bluetooth hardware is abnormal in function, and needing to return the equipment to be tested to a factory for repairing and assembling again. And when the Bluetooth signal intensity values of the equipment to be tested all meet the threshold value, determining that the Bluetooth hardware functions are normal. Furthermore, the Bluetooth signal intensity of the communication device to be tested at different test distances can be judged, so that the Bluetooth hardware detection result can be determined more comprehensively.
It should be noted that, because different signal testing apparatuses have different capacities of receiving bluetooth signals, before constructing the signal strength model, the signal testing apparatus further uses a plurality of test results representing a correspondence between the test distance and the bluetooth signal strength value, where the plurality of test result signal testing apparatuses are tested to determine the environmental attenuation factor, thereby constructing the signal strength model.
It should be noted that, in an embodiment of the present invention, the bluetooth signal strength may also be obtained according to a preset conversion method according to a power value of the bluetooth signal sent by the communication device to be tested.
It should be understood that, in the embodiment of the present invention, after determining the detection result of the communication device to be detected, the intelligent terminal may further display the detection result, so that the detection personnel can know the test condition of each communication device to be detected in time according to the displayed detection result. Further, in an embodiment of the present invention, if the intelligent terminal determines that the information for characterizing the bluetooth and/or WiFi abnormal function exists in the detection result, the intelligent terminal may further send out an early warning message to prompt the detection personnel to timely return the device to be detected to the factory for repair and assembly, thereby further improving the production efficiency of the intelligent device.
In one embodiment of the present invention, the first and second electrodes are,
the intelligent terminal 101 is further configured to obtain a product serial number of the current intelligent device 102, and send the product serial number to the current communication device 103 to be tested;
when the current communication device under test 103 determines that the target physical address is the same as the physical address of the current communication device under test, the product serial number is written into the communication device under test 103.
In the embodiment of the present invention, the intelligent terminal 101 obtains the product serial number of the intelligent device 102 connected to the current communication device under test 103, and sends the product serial number to the communication device under test 103 through bluetooth, and the communication device under test 103 writes the product serial number into the communication device under test 103 when the bluetooth receiving function is normal. Therefore, the product production process of the intelligent equipment, the tracking of material inventory, the after-sale service of the product and other information can be traced through the product serial number. And realize the write-in to product serial number at the in-process that carries out bluetooth and wiFi function detection to communication device, need not carry out product serial number's write-in alone in process of production to production efficiency has further been improved.
It should be understood that the smart terminal may obtain the product serial number by, for example, scanning the two-dimensional code, and may also obtain the product serial number by a code scanning device, which is not particularly limited in the embodiment of the present invention.
It should be noted that, the time when the intelligent terminal obtains the product serial number and the time when the obtained product serial number is sent to the communication device to be tested are not specifically limited in the embodiment of the present invention, for example, the intelligent terminal may obtain the physical address of the current communication device to be tested and the product serial number of the intelligent device connected to the communication device to be tested at the same time, and send the physical address and the product serial number to the communication device to be tested through bluetooth.
As shown in fig. 2, an embodiment of the present invention provides a communication module function detection method of a communication module function detection system provided in any of the foregoing embodiments, where the method may include the following steps:
step 201: after the intelligent equipment connected with the communication device to be tested is powered on, starting a Bluetooth hotspot with the Bluetooth name of the physical address of the communication device to be tested, and establishing communication connection with the router;
step 202: the intelligent terminal acquires a target physical address of the current communication device to be tested and establishes Bluetooth communication connection with the current communication device to be tested;
step 203: the intelligent terminal sends the target physical address to the communication device to be tested through Bluetooth;
step 204: the current communication device to be tested determines a Bluetooth software test result according to the target physical address and the physical address of the current communication device to be tested;
step 205: the current communication device to be tested determines a WiFi test result according to the communication connection between the current intelligent equipment connected with the communication device to be tested and the router;
step 206: the current communication device to be tested sends a Bluetooth software test result and a WiFi test result to the intelligent terminal through Bluetooth;
step 207: and the intelligent terminal determines the detection result of the current communication device to be detected according to a preset threshold value, a Bluetooth software test result and a WiFi test result.
In an embodiment of the present invention, step 205 may specifically include the following steps:
step 2051: the current communication device to be tested sends target serial port data to the current intelligent equipment according to a preset period;
step 2052: the current intelligent equipment returns serial port data after receiving the target serial port data;
step 2053: the current communication device to be tested judges whether the received serial port data is the same as the target serial port data, if so, the information passing the serial port communication detection is supplemented in the WiFi test result, and if not, the information failing the serial port communication detection is supplemented in the WiFi test result.
In an embodiment of the present invention, after determining that the serial port data is the same as the target serial port data in step 2051, the method further includes the following steps:
the current communication device to be tested acquires the WiFi signal intensity of the current communication device to be tested through a preset interface function, and the WiFi signal intensity is supplemented in a WiFi test result;
the intelligent terminal judges whether the WiFi signal strength is smaller than a WiFi strength threshold value in a preset threshold value, if yes, information that WiFi detection fails is supplemented in a detection result, and if not, information that WiFi detection passes is supplemented in the detection result.
In an embodiment of the present invention, after the intelligent terminal obtains the target physical address of the current communication device to be tested, step 202 may further include the following steps:
after the intelligent terminal acquires the target physical address, judging whether a Bluetooth software test result and a WiFi test result are received within a preset time range;
if yes, supplementing the information that the Bluetooth test passes in the detection result;
if not, the information that the Bluetooth test fails is supplemented in the detection result.
In an embodiment of the present invention, after the intelligent terminal obtains the target physical address of the current communication device to be tested, step 202 may further include the following steps:
the intelligent terminal sends the target physical address to the signal testing device;
the signal testing device obtains a unit intensity value of the communication device to be tested corresponding to the target physical address; the signal testing device outputs the Bluetooth signal intensity of the communication device to be tested at each testing distance according to at least one preset testing distance and a pre-stored signal intensity model, and sends the Bluetooth signal intensity to the intelligent terminal, wherein the testing distance is used for representing the distance between the signal testing device and the communication device to be tested;
the signal strength model includes:
R BT =-log 10 d-log 10 k-1-R
wherein d is used for representing the current test distance, R, between the signal test device and the communication device to be tested BT The device is used for representing the signal strength value of the Bluetooth signal sent by the communication device to be tested and received by the signal testing device at the current testing distance, k is used for representing an environment attenuation factor, and R is used for representing a unit strength value;
and the intelligent terminal determines the Bluetooth hardware detection result of the current communication device to be detected according to the preset threshold value and the Bluetooth signal intensity under at least one test distance, and supplements the Bluetooth hardware detection result in the test result.
Based on the method for detecting the function of the communication module described in fig. 2, in an embodiment of the present invention, the method may further include the following steps:
the intelligent terminal acquires a product serial number of the current intelligent equipment and sends the product serial number to the current communication device to be tested;
and when the current communication device to be tested determines that the target physical address is the same as the physical address of the current communication device to be tested, writing the product serial number into the communication device to be tested.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution sequence of the steps is not fixed and can be adjusted according to the needs. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware module may be implemented mechanically or electrically. For example, a hardware module may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. A hardware module may also include programmable logic or circuitry (e.g., a general-purpose processor or other programmable processor) that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
While the invention has been particularly shown and described with reference to the preferred embodiments and drawings, it is not intended to be limited to the specific embodiments disclosed, and it will be understood by those skilled in the art that various other combinations of code approval means and various embodiments described above may be made, and such other embodiments are within the scope of the present invention.

Claims (10)

1. A communication module function detection system, comprising: an intelligent terminal, at least one intelligent device, at least one communication device to be tested and a router,
each communication device to be tested is communicated with one intelligent device;
the communication device to be tested is used for starting a Bluetooth hotspot with the Bluetooth name of the physical address of the communication device to be tested after the connected intelligent equipment is powered on, and establishing communication connection with the router;
the intelligent terminal is used for acquiring a target physical address of the current communication device to be tested and establishing Bluetooth communication connection with the current communication device to be tested; sending the target physical address to the communication device to be tested through Bluetooth;
the current communication device to be tested is used for determining a Bluetooth software test result according to the target physical address and the physical address of the current communication device to be tested; determining a WiFi test result by utilizing the communication connection between the current intelligent equipment connected with the communication device to be tested and the router; sending the Bluetooth software test result and the WiFi test result to the intelligent terminal through Bluetooth;
the intelligent terminal is further used for determining the detection result of the current communication device to be detected according to a preset threshold value, the Bluetooth software test result and the WiFi test result.
2. The system of claim 1,
the current communication device to be tested is specifically used for sending target serial port data to the current intelligent equipment according to a preset period;
the current intelligent device is used for returning serial port data after receiving the target serial port data;
the current communication device to be tested is further used for judging whether the received serial port data is the same as the target serial port data or not, if so, the information that the serial port communication detection is passed is supplemented in the WiFi test result, and if not, the information that the serial port communication detection is not passed is supplemented in the WiFi test result.
3. The system of claim 2,
the current communication device to be tested is further used for acquiring the WiFi signal intensity of the current communication device to be tested through a preset interface function when the serial port data is the same as the target serial port data, and supplementing the WiFi signal intensity into the WiFi test result;
the intelligent terminal is further used for judging whether the WiFi signal strength is smaller than a WiFi strength threshold value in the preset threshold values, if so, information that WiFi detection fails is added into the detection result, and otherwise, information that WiFi detection passes is added into the detection result.
4. The system of claim 1,
the intelligent terminal is further used for judging whether the Bluetooth software test result and the WiFi test result are received within a preset time range after the target physical address is obtained, if so, information that the Bluetooth test is passed is added into the test result, and if not, information that the Bluetooth test is not passed is added into the test result.
5. The system of claim 1, further comprising: a signal testing device;
the intelligent terminal is further used for sending the target physical address to the signal testing device after the target physical address is obtained;
the signal testing device is used for acquiring a unit intensity value of the communication device to be tested corresponding to the target physical address, outputting the Bluetooth signal intensity of the communication device to be tested at each testing distance according to at least one preset testing distance and a pre-stored signal intensity model, and sending the Bluetooth signal intensity to the intelligent terminal, wherein the testing distance is used for representing the distance between the signal testing device and the communication device to be tested;
the signal strength model includes:
R BT =-log 10 d-log 10 k-1-R
wherein d is used for representing the current test distance R between the signal test device and the communication device to be tested BT The signal testing device is used for representing the signal intensity value of the Bluetooth signal sent by the communication device to be tested, which is received by the signal testing device under the current testing distance, k is used for representing an environment attenuation factor, and R is used for representing the unit intensity value;
and the intelligent terminal is further used for determining a Bluetooth hardware detection result of the current communication device to be tested according to the preset threshold value and at least one Bluetooth signal strength under the test distance, and supplementing the Bluetooth hardware detection result into the test result.
6. The system of any one of claims 1-5,
the intelligent terminal is further used for acquiring a product serial number of the current intelligent equipment and sending the product serial number to the current communication device to be tested;
and the current communication device to be tested writes the product serial number into the communication device to be tested when the target physical address is determined to be the same as the physical address of the current communication device to be tested.
7. A method for detecting the function of a communication module, the method being implemented based on the system for detecting the function of a communication module as claimed in any one of claims 1 to 6, the method comprising:
after the intelligent equipment connected with the communication device to be tested is powered on, starting a Bluetooth hotspot with the Bluetooth name of the physical address of the communication device to be tested, and establishing communication connection with the router;
the intelligent terminal acquires a target physical address of a current communication device to be tested and establishes Bluetooth communication connection with the current communication device to be tested;
the intelligent terminal sends the target physical address to the communication device to be tested through Bluetooth;
the current communication device to be tested determines a Bluetooth software test result according to the target physical address and the physical address of the current communication device to be tested;
the current communication device to be tested determines a WiFi test result according to the communication connection between the current intelligent equipment connected with the communication device to be tested and the router;
the current communication device to be tested sends the Bluetooth software test result and the WiFi test result to the intelligent terminal through Bluetooth;
and the intelligent terminal determines the detection result of the current communication device to be detected according to a preset threshold value, the Bluetooth software test result and the WiFi test result.
8. The method of claim 7, wherein the determining, by the current communication device under test, the WiFi test result according to the communication connection between the current smart device connected to the communication device under test and the router comprises:
the current communication device to be tested sends target serial port data to the current intelligent equipment according to a preset period;
the current intelligent equipment returns serial port data after receiving the target serial port data;
and the current communication device to be tested judges whether the received serial port data is the same as the target serial port data, if so, the information that the serial port communication detection is passed is supplemented in the WiFi test result, and if not, the information that the serial port communication detection is not passed is supplemented in the WiFi test result.
9. The method according to claim 8, wherein after the current communication device under test determines whether the received serial port data is the same as the target serial port data, the method further comprises:
when the serial port data is the same as the target serial port data, the current communication device to be tested acquires the WiFi signal intensity of the current communication device to be tested through a preset interface function, and the WiFi signal intensity is supplemented in the WiFi test result;
and the intelligent terminal judges whether the WiFi signal strength is smaller than a WiFi strength threshold value in the preset threshold values, if so, information that the WiFi detection fails is supplemented in the detection result, and otherwise, the information that the WiFi detection passes is supplemented in the detection result.
10. The method according to any one of claims 7-9, wherein after the intelligent terminal obtains the target physical address of the current communication device under test, the method further comprises:
after the intelligent terminal acquires the target physical address, judging whether the Bluetooth software test result and the WiFi test result are received within a preset time range;
if yes, supplementing the information that the Bluetooth test passes in the detection result;
and if not, supplementing the information that the Bluetooth test fails in the detection result.
CN202011494046.5A 2020-12-17 2020-12-17 Communication module function detection system and method Active CN112615683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011494046.5A CN112615683B (en) 2020-12-17 2020-12-17 Communication module function detection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011494046.5A CN112615683B (en) 2020-12-17 2020-12-17 Communication module function detection system and method

Publications (2)

Publication Number Publication Date
CN112615683A CN112615683A (en) 2021-04-06
CN112615683B true CN112615683B (en) 2023-04-07

Family

ID=75240038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011494046.5A Active CN112615683B (en) 2020-12-17 2020-12-17 Communication module function detection system and method

Country Status (1)

Country Link
CN (1) CN112615683B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727319B (en) * 2021-09-02 2023-06-27 德明通讯(上海)股份有限公司 Method and device for realizing multithreading test of Bluetooth equipment
CN113938943B (en) * 2021-10-20 2024-04-12 展讯半导体(成都)有限公司 Method, system, equipment and medium for testing coexistence performance of wireless communication
CN114390572B (en) * 2021-12-23 2024-01-23 上海庆科信息技术有限公司 Firmware detection method, device, storage medium, processor and equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3817531B2 (en) * 2003-07-22 2006-09-06 キヤノン株式会社 Control unit of radio communication device, radio communication device, and control method
CN102833021B (en) * 2012-09-11 2015-08-19 Tcl通力电子(惠州)有限公司 Bluetooth pairing method and system in test
CN103491526B (en) * 2013-09-18 2016-08-17 广东欧珀移动通信有限公司 The method of attachment of a kind of nfc apparatus and system
CN106028377B (en) * 2016-05-17 2019-04-12 Oppo广东移动通信有限公司 Terminals physical address detection method and device
CN107980233A (en) * 2017-03-06 2018-05-01 深圳大趋智能科技有限公司 Automatic test approach, the apparatus and system of Bluetooth POS terminal
CN108234635A (en) * 2017-12-29 2018-06-29 北京奇宝科技有限公司 The method, apparatus and communication system to communicate with Intelligent target equipment
KR101973790B1 (en) * 2018-05-31 2019-04-30 이원삼 Method for providing wifi searching and order placing service using data cluster based on wireless communication
CN110225462B (en) * 2019-07-19 2021-10-26 深圳市盛维智联科技有限公司 Method, system and device for preventing network congestion
CN111726795A (en) * 2020-06-30 2020-09-29 展讯通信(上海)有限公司 Method and equipment for testing intelligent terminal
CN112055316B (en) * 2020-07-28 2022-03-29 四川虹美智能科技有限公司 Production detection system and method of intelligent module and electronic equipment

Also Published As

Publication number Publication date
CN112615683A (en) 2021-04-06

Similar Documents

Publication Publication Date Title
CN112615683B (en) Communication module function detection system and method
CN108259890B (en) Information acquisition bridging device and image sensor quality automatic detection equipment
JP3651850B2 (en) Mobile communication terminal test equipment
CN111372232B (en) Method and system for first connection pairing of electric energy meter and Bluetooth circuit breaker
CN104811524B (en) A kind of terminal radio frequency performance test methods and its device
CN105100796A (en) Television test method, device and system
US20130023231A1 (en) Sim card expander, communication system, and method for using sim cards
CN111756412A (en) Bluetooth device detection method and device
CN108712751A (en) A kind of terminal communication of internet of things detection method, system and device
CN111726795A (en) Method and equipment for testing intelligent terminal
CN112903308A (en) Performance detection method and device for automobile equipment, electronic equipment and storage medium
CN111083018B (en) Production detection method and device for wireless equipment
CN107205241B (en) Wireless communication detection method and equipment thereof
CN113645360A (en) Test method and device for vehicle emergency call system and vehicle
CN112711495A (en) Display screen fault diagnosis method and device and computer readable storage medium
CN107612634B (en) Antenna fault detection method and system
CN113595656B (en) Testing method of intelligent antenna
CN110493247A (en) A kind of distribution terminal communication check method, system, equipment and computer media
CN109041011A (en) A kind of vehicle detection terminal and networking method, system, equipment, computer media
CN113645655B (en) Distribution network testing method, device and system for internet of things (IoT) module and terminal
CN117240738B (en) Method, device, equipment and storage medium for testing vehicle-mounted Ethernet
CN113438040B (en) Single carrier radio frequency performance test method, device and computer readable storage medium
US20230141053A1 (en) Mobile terminal test device and parameter setting method thereof
US20230155700A1 (en) Mobile terminal test device and band filter setting method thereof
CN117129823A (en) Vehicle-mounted sensor driving test method based on target identification

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240428

Address after: No.2 Tongji West Road, Nantou Town, Zhongshan City, Guangdong Province

Patentee after: Changhong Meiling Xinhua Technology Co.,Ltd.

Country or region after: China

Address before: 621050 No. 303 Jiuzhou Road, Fucheng District, Mianyang, Sichuan.

Patentee before: SICHUAN HONGMEI INTELLIGENT TECHNOLOGY Co.,Ltd.

Country or region before: China