CN113890635A - Detection tool, detection device, detection method and medium for intelligent product - Google Patents
Detection tool, detection device, detection method and medium for intelligent product Download PDFInfo
- Publication number
- CN113890635A CN113890635A CN202111148309.1A CN202111148309A CN113890635A CN 113890635 A CN113890635 A CN 113890635A CN 202111148309 A CN202111148309 A CN 202111148309A CN 113890635 A CN113890635 A CN 113890635A
- Authority
- CN
- China
- Prior art keywords
- detection
- wireless communication
- communication module
- intelligent product
- detected
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 172
- 230000006854 communication Effects 0.000 claims abstract description 217
- 238000004891 communication Methods 0.000 claims abstract description 216
- 238000012360 testing method Methods 0.000 claims abstract description 75
- 230000003993 interaction Effects 0.000 claims description 35
- 238000000034 method Methods 0.000 claims description 20
- 230000006978 adaptation Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 9
- 238000004519 manufacturing process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 238000011895 specific detection Methods 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a detection tool, a detection device, a detection method and a medium for an intelligent product, wherein the detection tool comprises: the serial port communication module is in serial port communication connection with the detection program end, receives and interprets a package protocol of the detection program end, and shares a detection result with the detection program end; the intelligent product testing system further comprises a plurality of parallel communication modules, wherein the communication modules are used for establishing communication connection with the wireless communication modules according to the read package protocol, sending an instruction for establishing test connection with the intelligent product to be tested to the wireless communication modules and receiving the test results of the wireless communication modules. The detection program end of the detection device is in serial port communication with the detection tool, and the wireless communication module connected with the detection tool receives and transmits WiFi, Bluetooth, infrared and other data of the intelligent product to be detected, so that the detection purpose is achieved. The device makes things convenient for the function detection of the different intelligent products of adaptation, effectively reduces among the prior art that detects to the configuration requirement of test computer end and outside test environment, effectively promotes whole detection reliability.
Description
Technical Field
The invention relates to the technical field of intelligent product function detection, in particular to a detection tool, a detection device, a detection method and a computer medium for an intelligent product.
Background
Household appliances are deeply integrated into daily life of people, and the internet, big data and artificial intelligence enable the household appliances to provide richer imagination for the future beautiful life of people. In the production detection process of the intelligent household appliance, the performances of WiFi, Bluetooth and the like of the intelligent household appliance generally need to be detected. Application No. 201710729410.3 discloses a method and apparatus for testing the production of an internet of things intelligent module, in which a WiFi module is used for UDP data communication in a detection process of an assembly line, i.e., a test end computer is required to repeatedly connect to a WiFi hotspot of an intelligent product to be tested, and the detection mode is greatly influenced by a test environment.
The currently used testing tools are mainly concentrated on a computer end, and testing software running on the testing computer end needs to be connected with hot spots such as WiFi and Bluetooth through a computer, acquire signal intensity values of the hot spots and further perform network data communication between the testing computer end software and an intelligent product to be tested. Fig. 1 depicts a prior art production detection device for smart products, wherein the detection scheme for WiFi products is depicted above the dotted line and the detection scheme for bluetooth products is depicted below the dotted line. Among them, there are two detection schemes currently available for WiFi products: the first scheme is that a test computer is directly connected with an AP hotspot of an intelligent module (the test computer acquires a WiFi signal intensity value of the intelligent module in the hotspot searching process), so that information interaction of a test command (sent by a PC (personal computer) end) and a test result (replied by the intelligent module) is realized through UDP (user datagram protocol) communication, the first scheme needs the test computer to repeatedly establish AP connection with different intelligent products to be tested, and certain requirements are configured on the network card performance and the network environment of the test computer (the hotspot searching and the hotspot acquiring signal intensity value are realized through a wireless network card); in the second scheme, after the test computer and the intelligent module are respectively connected to the same test router to form a local area network (the test computer is connected to the router and is also realized through a wireless network card in the process), the test computer and the intelligent product to be tested directly realize information interaction of a test command and a test result through UDP communication (the test computer obtains a WiFi signal intensity value which is searched by the intelligent module and is connected with the router in the communication process). The detection scheme of the Bluetooth product is as follows: the test computer directly searches for the bluetooth hot spot of the intelligent product to be tested (the search process of the bluetooth hot spot is actually completed through the bluetooth adapter, so the test computer needs to configure the relevant environment of the bluetooth adapter), obtains the signal intensity value of the bluetooth hot spot, and further establishes bluetooth communication with the intelligent module.
Therefore, the existing production detection device has certain requirements on the configuration of a test computer, the network card performance or the Bluetooth searching performance of the test computer directly determines the production detection rhythm of the whole intelligent product, and the test software and the environment configuration of the test computer are reset when the production of different types of intelligent products is switched; if the WiFi needs to be detected, the testing computer end needs to be configured with a wireless network card, and the installation position and the performance of the wireless network card can influence the WiFi communication; in the aspect of computer configuration, a firewall needs to be closed, and other useless network cards need to be forbidden to ensure that interaction of WiFi data is not interfered. If the Bluetooth equipment needs to be detected, the testing computer end needs to be reconfigured and switched to another set of testing software, and the compatibility of the testing system is poor.
Disclosure of Invention
A detection tool, a detection device, a detection method and a computer readable storage medium for an intelligent product are provided to solve the problems.
The invention provides a detection tool for an intelligent product, which comprises:
the serial communication module is used for establishing serial communication connection with a detection program end, receiving and interpreting a package protocol of the detection program end and sharing a received detection result with the detection program end; the group package protocol includes: detecting the type of a wireless communication module used by an intelligent product to be detected and a unique label of the intelligent product to be detected;
and the plurality of parallel communication modules are used for establishing communication connection with the wireless communication module according to the read group package protocol, sending an instruction for establishing test connection with the intelligent product to be tested to the wireless communication module and receiving a test result of the wireless communication module.
In some embodiments, preferably, the main structure of the detection tool is provided with a plurality of interfaces, and the interfaces include: the wireless communication system comprises a serial port communication interface and a plurality of parallel wireless communication module interfaces; the serial port communication interface is used for establishing serial port communication connection between the serial port communication module and the detection program end through a serial port line; the wireless communication module interface is used for connecting the parallel communication modules with more than one wireless communication module, and the wireless communication module is used for establishing wireless communication connection with the intelligent product to be tested.
In some embodiments, preferably, the detection tool further includes a wireless communication module, configured to receive an instruction of the communication module in the detection tool, establish a communication connection with the to-be-detected intelligent product having the unique tag according to the instruction, and perform data interaction to form a test result.
The invention also provides a detection device of the intelligent product, which comprises: the detection tool, the detection program end and more than one type of wireless communication module;
the detection program end loads a detection program and is used for determining a wireless communication module of an intelligent product to be detected for detection and determining a unique label of the intelligent product to be detected, so that a package protocol for communicating with the detection tool is formed;
the wireless communication module is used for receiving the instruction of the communication module in the detection tool, establishing communication connection with the intelligent product to be detected with the unique label according to the instruction, and performing data interaction to form a test result.
In some embodiments, preferably, the wireless communication module includes: the system comprises a Bluetooth module, a WIFI module and/or an infrared module;
the detection program end comprises: detecting a computer; and the detection program end is provided with a communication type input end of the intelligent product to be detected.
In some embodiments, preferably, the detection device further includes: the acquisition module is used for acquiring unique labels of the intelligent products to be detected.
The invention also provides a detection method of the detection device of the intelligent product, which comprises the following steps:
determining a package protocol according to the type of the wireless communication module used for detection;
determining a unique label of an intelligent product to be tested;
sending a serial port data command comprising the unique label to the wireless communication module for detection according to the group package protocol;
receiving a detection result of data interaction between the wireless communication module and the intelligent product to be detected;
and sharing the detection result with a detection program terminal.
In some embodiments, preferably, the wireless communication module includes: WiFi, the special label of the intelligent product that awaits measuring includes: a WiFi hotspot; then, the obtaining manner of the detection result includes: the WiFi is connected with the WiFi hotspot, the signal intensity value of the WiFi hotspot is obtained, data interaction is carried out on the WiFi hotspot and the intelligent product to be detected, and a detection result is obtained.
In some embodiments, preferably, the wireless communication module includes: and the infrared module is used for acquiring the detection result in a mode comprising: and the infrared module sends a dynamically changed data instruction to the control end of the intelligent product to be detected, and a detection result is determined according to the reaction of the intelligent product to be detected under the control.
In some embodiments, preferably, the wireless communication module includes: bluetooth, the intelligent product's that awaits measuring unique label includes: a Bluetooth hotspot; then, the obtaining manner of the detection result includes: and performing Bluetooth pairing on the Bluetooth and the intelligent product to be detected to which the Bluetooth hotspot belongs, acquiring a signal intensity value of the paired Bluetooth, and performing data interaction with the intelligent product to be detected to obtain a detection result.
In some embodiments, preferably, the obtaining manner of the type of the wireless communication module used for the detection includes: recognizing according to external input; or, a plurality of wireless communication modules are provided for selection.
The invention also provides a computer readable storage medium, which stores computer instructions, and the computer instructions, when executed by a processor, cause the processor to execute the detection method of the detection device of the intelligent product.
The invention also provides a detection method of the detection device of the intelligent product, which comprises the following steps:
determining a package protocol according to the type of the wireless communication module used for detection;
determining a unique label of an intelligent product to be tested;
sending a serial port data command comprising the unique label to the wireless communication module for detection according to the group package protocol;
receiving a detection result of data interaction between the wireless communication module and the intelligent product to be detected;
and sharing the detection result with a detection program terminal.
In some embodiments, preferably, the wireless communication module includes: WiFi, the special label of the intelligent product that awaits measuring includes: a WiFi hotspot; then, the obtaining manner of the detection result includes: the WiFi is connected with the WiFi hotspot, the signal intensity value of the WiFi hotspot is obtained, data interaction is carried out on the WiFi hotspot and the intelligent product to be detected, and a detection result is obtained.
In some embodiments, preferably, the wireless communication module includes: and the infrared module is used for acquiring the detection result in a mode comprising: and the infrared module sends a dynamically changed data instruction to the control end of the intelligent product to be detected, and a detection result is determined according to the reaction of the intelligent product to be detected under the control.
In some embodiments, preferably, the wireless communication module includes: bluetooth, the intelligent product's that awaits measuring unique label includes: a Bluetooth hotspot; then, the obtaining manner of the detection result includes: and performing Bluetooth pairing on the Bluetooth and the intelligent product to be detected to which the Bluetooth hotspot belongs, acquiring a signal intensity value of the paired Bluetooth, and performing data interaction with the intelligent product to be detected to obtain a detection result.
In some embodiments, preferably, the obtaining manner of the type of the wireless communication module used for the detection includes: recognizing according to external input; or, a plurality of wireless communication modules are provided for selection.
The invention also provides a computer readable storage medium, which stores a detection method for executing the detection device of the intelligent product.
The invention provides a detection tool, a detection device, a detection method and a medium for an intelligent product, wherein the detection tool comprises: the detection device comprises a serial communication module and a plurality of parallel communication modules, wherein the serial communication module is used for establishing serial communication connection with a detection program end, receiving and interpreting a package protocol of the detection program end and sharing a received detection result with the detection program end; the group package protocol includes: detecting the type of a wireless communication module used by an intelligent product to be detected and a unique label of the intelligent product to be detected; the plurality of parallel communication modules are used for establishing communication connection with the wireless communication module according to the read package protocol, sending an instruction for establishing test connection with the intelligent product to be tested to the wireless communication module and receiving a test result of the wireless communication module. . The detection tool is respectively connected with the wireless communication module and the detection program end (such as a detection computer), the wireless communication module is an independent element relative to the detection computer and is independent of various wireless communication structures of the detection computer, the wireless communication module of the detection device establishes wireless communication data interaction with an intelligent product to be detected, interaction results are uploaded to the detection tool, and the detection tool shares the detection results with the detection computer through a shared serial port line. The role of this in-process detection computer is more single for prior art's role, and the independence is stronger, no longer relies on the wireless communication structure of detection computer itself, and in this technique, the detection computer only need form the group package agreement that corresponds the baud rate according to the wireless communication module that detects the use, sends the detection frock, carries out data interaction by detection frock, wireless communication module and the intelligent product that awaits measuring. Therefore, in the detection device, the detection computer and the detection tool are in serial port communication, and the wireless communication module connected with the detection tool receives and transmits WiFi, Bluetooth, infrared and other data to the intelligent product to be detected, so that the detection purpose is achieved. The device not only makes things convenient for the different intelligent product of adaptation to use the function detection in the product production process, effectively reduces among the prior art that detects to the configuration requirement of test computer end and external test environment, has effectively promoted the reliability that wholly detects moreover, has fine application prospect in the future. And the structure is more stable, and the independence is stronger, and it is also more convenient to operate in the testing process, and detection efficiency improves.
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 prior art detection device for smart products;
fig. 2 is a schematic diagram of a smart product detection apparatus according to an embodiment of the present invention.
Detailed Description
The invention provides a detection tool for an intelligent product, which is used for detecting a communication intelligent module of the intelligent product. The detection tool comprises a serial communication module and a plurality of parallel communication modules, wherein the serial communication module is used for establishing serial communication connection with a detection program end, receiving and interpreting a package protocol of the detection program end and sharing a received detection result with the detection program end; the packaging protocol includes: detecting the type of a wireless communication module used by an intelligent product to be detected and a unique label of the intelligent product to be detected; and the plurality of parallel communication modules are used for establishing communication connection with the wireless communication module according to the read package protocol, sending an instruction for establishing test connection with the intelligent product to be tested to the wireless communication module and receiving a test result of the wireless communication module.
Its major structure sets up a plurality of interfaces, and the interface includes: the power interface is connected with a power supply through a power adapter; a serial communication interface, which is used for establishing serial communication connection between the serial communication module and the detection program end through a serial line and sharing the detection result to the detection program end (such as a detection computer); the wireless communication module interface comprises a plurality of parallel wireless communication module interfaces, wherein the interfaces are used for connecting the parallel communication modules with more than one wireless communication module, the number of the wireless communication module interfaces can be 1 under some special conditions, and in general, more than 2 wireless communication module interfaces can be arranged to increase wide applicability and connect the required wireless communication modules according to requirements. The wireless communication module is used for establishing wireless communication connection with the intelligent product to be tested, establishing connection with the intelligent product to be tested and generating data interaction.
In actual product design, after the detection tool is used for electrifying, the test program end carries out serial port data communication with the wireless communication module through the tool. The detection tool can be an independent hardware structure and comprises a main body structure provided with a plurality of interfaces and a power adapter. In other cases, the detection tool can also be incorporated into the wireless communication module, receive the instruction of the communication module in the detection tool, establish communication connection with the intelligent product to be detected with the unique tag according to the instruction, perform data interaction and form a test result. The data connection and data interaction supporting facilities are provided, and the applicability is improved.
This wireless communication module can choose for use: WiFi, bluetooth, infrared module, etc. except this can also expand other wireless communication modules according to the development of technique.
The invention also provides a detection device of an intelligent product, which comprises the detection tool, a detection program end and more than one type of wireless communication modules as shown in figure 2; the wireless communication module is used for establishing wireless communication connection with an intelligent product to be tested; and the detection program end loads the detection program.
Wherein, the detection frock of intelligent product for the detection of the communication intelligent object of intelligent product, its major structure sets up a plurality of interfaces, and the interface includes: the power interface is connected with a power supply through a power adapter; a serial communication interface, which establishes serial communication connection with the detection program end through a serial line and is used for sharing the detection result to the detection program end (such as a detection computer); the wireless communication module comprises a plurality of parallel wireless communication module interfaces, wherein the interfaces are used for connecting more than one wireless communication module, the number of the wireless communication module interfaces can be 1 under some special conditions, and in general, more than 2 wireless communication module interfaces can be arranged for increasing wide applicability, and the wireless communication modules are connected as required. The wireless communication module is used for establishing wireless communication connection with the intelligent product to be tested, establishing connection with the intelligent product to be tested and generating data interaction.
When detecting, select the wireless communication module who is suitable for as required to be connected it with detecting the frock. Or, a plurality of wireless communication modules are installed in the detection tool, and in data communication, the applicable wireless communication modules are connected in a default mode through data instructions sent by the detection program end. The data command is based on pre-selected or entered wireless communication module information.
In the detection device of this intelligent product, wireless communication module still includes: bluetooth module, WIFI module, and/or infrared module. The infrared module, the Bluetooth module and the WiFi module are respectively used for carrying out single infrared data interaction, single Bluetooth data interaction and single WiFi data interaction with an intelligent product to be tested; moreover, the wireless communication module can also be a combination form of WiFi + BT, and when the intelligent product to be detected has the detection requirements of both the WiFi function and the Bluetooth function, the WiFi + BT combined wireless communication module can be used for replacing the WiFi module and the Bluetooth module for detection.
The detection device replaces the traditional infrared remote controller with the infrared module, and is characterized in that the data content of the test instruction sent by the infrared module each time is dynamically changed. The compatibility of the detection device can be expanded by adding an infrared module.
The connection mode of the wireless communication modules and the detection tool is parallel connection, and each wireless communication module and the detection tool are connected in an independent data communication mode and are mutually independent in function. The operation mechanism of the infrared tool module is mainly used for packaging and sending infrared data, the Bluetooth tool module and the WiFi tool module are respectively used for searching a Bluetooth hotspot and a WiFi hotspot of an intelligent product to be detected and further can be respectively connected with the Bluetooth hotspot and the WiFi hotspot and perform data interaction, interactive data contents are automatically packaged by the Bluetooth tool module and the WiFi tool module and respectively share one set of data communication protocol with the intelligent product end to be detected.
However, the detection tool and the test program end (such as a test computer) are connected by a serial data line, that is, a serial data line is shared by the communication between the wireless communication modules and the test program end, and after the detection result is uploaded to the detection tool by each wireless communication module, the detection tool and the test program end all use the same serial data line for data interaction.
The detection program end comprises: and (5) detecting the computer. The test computer does not need to be configured with a network card, Bluetooth and the like, and is only used for serial data communication with the detection tool.
The detection program end needs to know the wireless communication module suitable for the communication type of the intelligent product to be connected in advance before communication so as to form a matched package protocol, therefore, the detection program end is provided with a communication type input end of the intelligent product to be detected, the input end can provide various wireless communication options for selection of a selection window, or identify the wireless communication type of character input for a character input window.
On the other hand, in order to establish an effective and accurate connection relationship between the wireless communication module and the intelligent product to be tested, the feature code of the intelligent product to be tested needs to be accurately acquired, and the feature code can be a wifi hotspot name, a bluetooth hotspot name and the like. From this, detection device still sets up collection module, and collection module is used for gathering the exclusive label of the intelligent product that awaits measuring. In some embodiments, the acquisition module may be a scan gun.
The invention also provides a detection method of the detection device of the intelligent product, which comprises the following steps:
step 110, determining a package protocol according to the type of the wireless communication module used for detection;
the group package protocol is preset in advance, and the group package protocol of each wireless communication module is different. After the wireless communication module used for detection is determined, the corresponding package protocol is immediately determined.
Step 120, determining a unique label of the intelligent product to be tested;
the method for determining the unique label of the intelligent product to be tested in an input or selection mode comprises the following steps: wifi focus, bluetooth hotspot etc. the label of unique is the label of discernment intelligent product that awaits measuring to reach accurate connection.
Step 130, sending a serial port data command comprising a unique label to the wireless communication module for detection according to a group package protocol;
step 140, receiving a detection result of data interaction between the wireless communication module and the intelligent product to be detected;
and 150, sharing the detection result with the detection program terminal.
The wireless communication module replaces the testing computer end to interact with the module to be tested, because the serial port communication between the testing computer end and the wireless communication module is reliable, and the connection and communication between the wireless communication module and the intelligent product to be tested are also reliable, the communication of the whole detection device is more reliable, and the testing environment is less configured.
In one embodiment, the specific detection method is as follows: firstly, selecting the type of the used wireless communication module in the test software of the test computer end, then, after the test computer scans the detection label (a unique label, which can be a label code) of the intelligent product to be tested, sending a serial port data command to the appointed wireless communication module according to a group package protocol of different wireless communication modules preset in advance.
The user firstly selects the wireless communication module in the test software of the test computer end, and the test computer end and different wireless communication modules adopt different baud rates to carry out serial communication. After a user sweeps in a unique label of an intelligent product to be tested by a code sweeping gun, a test computer distributes a unique label information serial port to a corresponding wireless communication module according to a preset selection, the wireless communication module executes a test case to perform data interaction with the intelligent product to be tested, finally, the wireless communication module returns a test result to the test computer through the serial port, and the test computer records and stores the test result;
various wireless communication modules are connected to the detection tool in parallel, a serial port line is multiplexed to carry out serial port data interaction with a test end computer, and different wireless communication modules are distinguished by different communication baud rates in the serial port data interaction process. Secondly, each wireless communication module has respective test case, take wiFi frock module as an example: when the WiFi module receives a test instruction (including a hot spot identification of the intelligent product to be tested) transmitted by the test computer terminal, the WiFi module actively connects the WiFi hot spot of the intelligent product to be tested, obtains a signal intensity value of the hot spot, performs UDP (user Datagram protocol) data interaction with the intelligent product to be tested, and finally returns a test result to the test computer through a serial port;
taking an infrared tool module as an example: the infrared tool module directly sends the data instruction to the electric control end of the intelligent product to be tested, and a user judges the test result according to the controlled reflection of the intelligent product to be tested. The infrared module is added, and the compatibility of the detection tool device can be expanded.
Take bluetooth module as an example: the unique label of the intelligent product to be tested comprises: a Bluetooth hotspot; the Bluetooth module is in Bluetooth pairing with a Bluetooth hotspot of the intelligent product to be detected, acquires a signal intensity value of the paired Bluetooth, and performs data interaction with the intelligent product to be detected to obtain a detection result.
According to experimental data, WiFi search and UDP data communication are directly carried out on the intelligent product to be tested through the testing computer network card, the data packet loss rate is about 1%, when the testing computer network card and the intelligent product to be tested are connected to the testing router at the same time and then UDP data communication is carried out, the data packet loss rate is about 1 per thousand, the UDP data communication is carried out on the intelligent product to be tested through the WiFi communication module, and the packet loss rate is almost 0; in addition, when the Bluetooth hotspot of the intelligent product to be tested is searched directly by the testing computer Bluetooth adapter, the time consumption is at least 5 seconds (the computer end is adopted to design Bluetooth search, the technology used by the computer end is different from that of the module to be tested), while when the Bluetooth hotspot of the intelligent product to be tested is searched by the Bluetooth communication module, the time consumption is only about 1 second (because the hardware of the intelligent product to be tested and the hardware of the Bluetooth tooling module are completely the same, and the software shares a set of design program, the intelligent product to be tested is most fit in the performance matching degree).
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again. The present invention provides a computer-readable storage medium storing a detection method of a detection apparatus executing an intelligent product.
Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
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 order of the steps is not fixed and can be adjusted as required. 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 unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware elements may also comprise programmable logic or circuitry, such as 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 shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.
Claims (10)
1. The utility model provides a detection frock of intelligent product which characterized in that, it includes:
the serial communication module is used for establishing serial communication connection with a detection program end, receiving and interpreting a package protocol of the detection program end and sharing a received detection result with the detection program end; the group package protocol includes: detecting the type of a wireless communication module used by an intelligent product to be detected and a unique label of the intelligent product to be detected;
and the plurality of parallel communication modules are used for establishing communication connection with the wireless communication module according to the read group package protocol, sending an instruction for establishing test connection with the intelligent product to be tested to the wireless communication module and receiving a test result of the wireless communication module.
2. The detection frock of intelligent product of claim 1, wherein the major structure of detection frock sets up a plurality of interfaces, the interface includes: the wireless communication system comprises a serial port communication interface and a plurality of parallel wireless communication module interfaces; the serial port communication interface is used for establishing serial port communication connection between the serial port communication module and the detection program end through a serial port line; the wireless communication module interface is used for connecting the parallel communication modules with more than one wireless communication module, and the wireless communication module is used for establishing wireless communication connection with the intelligent product to be tested.
3. The detection tool of the intelligent product according to claim 1 or 2, further comprising a wireless communication module, wherein the wireless communication module is used for receiving an instruction of the communication module in the detection tool, establishing communication connection with the intelligent product to be detected with the unique tag according to the instruction, and performing data interaction to form a test result.
4. A detection device of intelligent product, characterized by, includes: the detection tool, the detection program end and more than one type of wireless communication module of any one of claims 1-3;
the detection program end loads a detection program and is used for determining a wireless communication module of an intelligent product to be detected for detection and determining a unique label of the intelligent product to be detected, so that a package protocol for communicating with the detection tool is formed;
the wireless communication module is used for receiving the instruction of the communication module in the detection tool, establishing communication connection with the intelligent product to be detected with the unique label according to the instruction, and performing data interaction to form a test result.
5. The detection device of the smart product according to claim 2, wherein the wireless communication module comprises: the system comprises a Bluetooth module, a WIFI module and/or an infrared module;
the detection program end comprises: detecting a computer; and the detection program end is provided with a communication type input end of the intelligent product to be detected.
6. The detection apparatus of a smart product according to any one of claims 2-5, further comprising: the acquisition module is used for acquiring unique labels of the intelligent products to be detected.
7. The method for detecting the detection device of the smart product according to any one of claims 2 to 6, comprising:
determining a package protocol according to the type of the wireless communication module used for detection;
determining a unique label of an intelligent product to be tested;
sending a serial port data command comprising the unique label to the wireless communication module for detection according to the group package protocol;
receiving a detection result of data interaction between the wireless communication module and the intelligent product to be detected;
and sharing the detection result with a detection program terminal.
8. The method as claimed in claim 7, wherein the wireless communication module comprises: WiFi, the special label of the intelligent product that awaits measuring includes: a WiFi hotspot; then, the obtaining manner of the detection result includes: the WiFi is connected with the WiFi hotspot, the signal intensity value of the WiFi hotspot is obtained, and data interaction is carried out on the WiFi hotspot and the intelligent product to be detected, so that a detection result is obtained;
and/or the presence of a gas in the gas,
the wireless communication module includes: and the infrared module is used for acquiring the detection result in a mode comprising: the infrared module sends a dynamically changing data instruction to the control end of the intelligent product to be detected, and a detection result is determined according to the reaction of the intelligent product to be detected under control;
and/or the presence of a gas in the gas,
the wireless communication module includes: bluetooth, the intelligent product's that awaits measuring unique label includes: a Bluetooth hotspot; then, the obtaining manner of the detection result includes: and performing Bluetooth pairing on the Bluetooth and the intelligent product to be detected to which the Bluetooth hotspot belongs, acquiring a signal intensity value of the paired Bluetooth, and performing data interaction with the intelligent product to be detected to obtain a detection result.
9. The method according to claim 7, wherein the detecting the type of the wireless communication module comprises: recognizing according to external input; or, a plurality of wireless communication modules are provided for selection.
10. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, cause the processor to execute the method of detecting a detection device of a smart product of any one of claims 7-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111148309.1A CN113890635A (en) | 2021-09-29 | 2021-09-29 | Detection tool, detection device, detection method and medium for intelligent product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111148309.1A CN113890635A (en) | 2021-09-29 | 2021-09-29 | Detection tool, detection device, detection method and medium for intelligent product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113890635A true CN113890635A (en) | 2022-01-04 |
Family
ID=79007755
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111148309.1A Pending CN113890635A (en) | 2021-09-29 | 2021-09-29 | Detection tool, detection device, detection method and medium for intelligent product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113890635A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2834036Y (en) * | 2005-10-14 | 2006-11-01 | 宁波高凌通信技术有限公司 | Multi-network wireless tester |
US20110021144A1 (en) * | 2009-07-22 | 2011-01-27 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Method and device for testing bluetooth function of electronic device |
CN205566642U (en) * | 2016-04-05 | 2016-09-07 | 东莞市猎声电子科技有限公司 | Bluetooth headset testing arrangement |
CN206133304U (en) * | 2016-10-31 | 2017-04-26 | 河南蓝信科技股份有限公司 | EOAS equipment detecting system |
CN107317638A (en) * | 2017-06-07 | 2017-11-03 | 百富计算机技术(深圳)有限公司 | Method, terminal device and the computer-readable recording medium of bluetooth test |
CN107404731A (en) * | 2016-05-20 | 2017-11-28 | 佛山市顺德区美的电热电器制造有限公司 | The test system and method for testing of wireless communication module |
CN107517436A (en) * | 2017-08-18 | 2017-12-26 | 深圳市小瑞科技股份有限公司 | A kind of bluetooth equipment test system, device and method |
CN110062321A (en) * | 2019-04-26 | 2019-07-26 | 北京百度网讯科技有限公司 | Test method, test host computer and the test fixture of intelligent sound |
CN111756597A (en) * | 2020-06-22 | 2020-10-09 | 北京自如信息科技有限公司 | Wireless module testing system, method and device applied to gateway |
CN211827293U (en) * | 2019-12-17 | 2020-10-30 | 北京大豪科技股份有限公司 | Tool with display device |
-
2021
- 2021-09-29 CN CN202111148309.1A patent/CN113890635A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2834036Y (en) * | 2005-10-14 | 2006-11-01 | 宁波高凌通信技术有限公司 | Multi-network wireless tester |
US20110021144A1 (en) * | 2009-07-22 | 2011-01-27 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Method and device for testing bluetooth function of electronic device |
CN205566642U (en) * | 2016-04-05 | 2016-09-07 | 东莞市猎声电子科技有限公司 | Bluetooth headset testing arrangement |
CN107404731A (en) * | 2016-05-20 | 2017-11-28 | 佛山市顺德区美的电热电器制造有限公司 | The test system and method for testing of wireless communication module |
CN206133304U (en) * | 2016-10-31 | 2017-04-26 | 河南蓝信科技股份有限公司 | EOAS equipment detecting system |
CN107317638A (en) * | 2017-06-07 | 2017-11-03 | 百富计算机技术(深圳)有限公司 | Method, terminal device and the computer-readable recording medium of bluetooth test |
CN107517436A (en) * | 2017-08-18 | 2017-12-26 | 深圳市小瑞科技股份有限公司 | A kind of bluetooth equipment test system, device and method |
CN110062321A (en) * | 2019-04-26 | 2019-07-26 | 北京百度网讯科技有限公司 | Test method, test host computer and the test fixture of intelligent sound |
CN211827293U (en) * | 2019-12-17 | 2020-10-30 | 北京大豪科技股份有限公司 | Tool with display device |
CN111756597A (en) * | 2020-06-22 | 2020-10-09 | 北京自如信息科技有限公司 | Wireless module testing system, method and device applied to gateway |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100571251C (en) | Transmitting and receiving device, method of sending and receiving and transmission and receiving system | |
US20200385909A1 (en) | Clothes identification system for washing machines, and binding method and clothes identification method of said system | |
CN108366006A (en) | A kind of intelligent appliance distribution method, apparatus and system | |
CN109819498A (en) | A kind of smart machine, the automatic distribution method and system of smart machine | |
EP2403152A1 (en) | Terminal of supporting enhanced near field communication and its processing method | |
CN107316359B (en) | Intelligent door lock testing system and method | |
CN104680213A (en) | Control method of rapid connection and data transmission among devices | |
CN109391699A (en) | Device network configuration method, device and server | |
US20160026835A1 (en) | Ultra-high-frequency, uhf, radio frequency identification, rfid, reader | |
CN102572891A (en) | System and method for configuring network parameters fast | |
CN101714206A (en) | Rfid tag communication system and rfid tag communication apparatus | |
WO2016058166A1 (en) | Method for triggering registration machine protocol interaction, access point and station point | |
CN103546531B (en) | The parameter rapid-setting method and system of a kind of intelligent television | |
CN112232454A (en) | Data writing method and system, terminal, household appliance and computer device | |
CN113686001A (en) | Air conditioner control method and system based on NFC | |
CN101369947A (en) | Communication system, communication device and communication control method | |
CN104066089B (en) | Data protection system and method for the base station iBeacon | |
CN113538876B (en) | Method, device and system for automatic network distribution of intelligent household equipment | |
CN101369833A (en) | Communication device and communication control method | |
CN113890635A (en) | Detection tool, detection device, detection method and medium for intelligent product | |
JP2006227695A (en) | Radio tag information reading device | |
CN112911564A (en) | Bluetooth intelligent system of multiprotocol concurrency | |
CN107395573A (en) | The detection method and device of a kind of industrial control system | |
KR101599905B1 (en) | Wireless communication module and method for providing automatic configuration of network | |
CN108616586A (en) | A kind of communication means and intelligence module of intelligence module |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220104 |