CN113961459A - Intelligent product testing system - Google Patents

Intelligent product testing system Download PDF

Info

Publication number
CN113961459A
CN113961459A CN202111238800.3A CN202111238800A CN113961459A CN 113961459 A CN113961459 A CN 113961459A CN 202111238800 A CN202111238800 A CN 202111238800A CN 113961459 A CN113961459 A CN 113961459A
Authority
CN
China
Prior art keywords
information
test
capacitor
data packet
platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111238800.3A
Other languages
Chinese (zh)
Inventor
袁龙刚
黄斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Hongmei Intelligent 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 CN202111238800.3A priority Critical patent/CN113961459A/en
Publication of CN113961459A publication Critical patent/CN113961459A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Abstract

An embodiment of the present specification provides an intelligent product testing system, including: the system comprises a code scanning tool, a test computer, a test router, a cloud platform and a local database platform, wherein detection software is installed on the test computer, the code scanning tool, the test router, the local database platform and the cloud platform are all connected to the test computer, and an intelligent module of an intelligent product is automatically connected with the test router after being electrified; the test software was used to: acquiring latest configuration information from the cloud platform after starting, and storing the latest configuration information to a local database platform; and receiving the identification data sent by the code scanning tool, determining a corresponding material code according to the identification data after receiving effective and complete identification data, searching corresponding configuration information from a local database platform according to the material code, generating a broadcast data packet according to the configuration information and the identification data, and broadcasting. The system provided by the invention has the advantages of little manual participation and few interaction times during testing, and the testing efficiency is improved.

Description

Intelligent product testing system
Technical Field
One or more embodiments of the present disclosure relate to the field of testing technologies, and in particular, to an intelligent product testing system.
Background
Intelligent products (such as intelligent air conditioners, intelligent refrigerators and the like) need to be subjected to various detections on a production line, wherein the most important detection link is series detection of intelligent modules (such as WIFI modules and the like) in the intelligent products. In the intelligent module detection system in the prior art, a module to be detected is required to establish a hotspot connection with detection software before detection, the hotspot connection is disconnected after detection, and a plurality of pairs of UDP (User Datagram Protocol) data interaction can occur in the test process. Database configuration information in a test system needs to be updated along with continuous superposition of intelligent product types, code scanning modes can only be manually performed, and the like, and the current situations cannot meet the requirements of a production line.
Disclosure of Invention
One or more embodiments of the present specification describe an intelligent product testing system.
The embodiment of the invention provides an intelligent product testing system, which comprises: the system comprises a code scanning tool, a test computer, a test router, a cloud platform and a local database platform, wherein detection software is installed on the test computer, the code scanning tool, the test router, the local database platform and the cloud platform are all connected to the test computer, and an intelligent module of an intelligent product is automatically connected with the test router after being electrified; wherein:
the cloud platform is to: the corresponding configuration information of the intelligent module under different material codes is stored; sweep a yard frock and be used for: scanning the identification data on the intelligent module and sending the scanned identification data to the test computer;
the test software is configured to: acquiring latest configuration information from the cloud platform after starting, and storing the latest configuration information to the local database platform; receiving identification data sent by the code scanning tool, determining a corresponding material code according to the identification data after receiving effective and complete identification data, searching corresponding configuration information from the local database platform according to the material code, generating the broadcast data packet according to the configuration information and the identification data, and broadcasting;
the intelligent module is used for: after the broadcast data packet is received, performing writing operation, forming a unicast data packet according to the writing condition and the signal intensity condition of the test router, and sending the unicast data packet to the test software;
the test software is further configured to: and displaying and sending the unicast data packet to the local database platform after receiving the unicast data packet so as to enable the local database platform to store and upload the unicast data packet to the cloud platform periodically.
In the intelligent product testing system provided by the embodiment of the description, the latest configuration information is downloaded from the cloud platform to the local database platform after the detection software is started. The code scanning tool can send the identification data of the intelligent module to the test software in an automatic code scanning mode, the test software determines the material codes according to the identification information, the configuration information corresponding to the material codes is obtained from the local database platform, and then a broadcast data packet is generated for broadcasting, so that the intelligent module performs writing operation, and relevant conditions are returned. In this process, human involvement is minimal. And the test software sends a broadcast data packet to the intelligent module in a broadcast mode, and the intelligent module feeds back a unicast data packet to the test software in a unicast mode, so that the interaction times in the process are few, and the test efficiency can be improved. Moreover, after the test software is started, the test software can acquire the latest configuration information from the cloud platform, and the local database platform does not need to be manually maintained.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present specification, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a block diagram of an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of a test method in one embodiment of the present disclosure;
fig. 3 is a circuit diagram of a rectifier circuit in one embodiment of the present disclosure.
Detailed Description
The scheme provided by the specification is described below with reference to the accompanying drawings.
In a first aspect, the present invention provides a smart product testing system, see fig. 1 and 2, comprising: the system comprises a code scanning tool, a test computer, a test router, a cloud platform and a local database platform, wherein detection software is installed on the test computer, the code scanning tool, the test router, the local database platform and the cloud platform are all connected to the test computer, and an intelligent module of an intelligent product is automatically connected with the test router after being electrified; wherein:
the cloud platform is to: the corresponding configuration information of the intelligent module under different material codes is stored; sweep a yard frock and be used for: scanning the identification data on the intelligent module and sending the scanned identification data to the test computer;
the test software is configured to: acquiring latest configuration information from the cloud platform after starting, and storing the latest configuration information to the local database platform; receiving identification data sent by the code scanning tool, determining a corresponding material code according to the identification data after receiving effective and complete identification data, searching corresponding configuration information from the local database platform according to the material code, generating the broadcast data packet according to the configuration information and the identification data, and broadcasting;
the intelligent module is used for: after the broadcast data packet is received, performing writing operation, forming a unicast data packet according to the writing condition and the signal intensity condition of the test router, and sending the unicast data packet to the test software;
the test software is further configured to: and displaying and sending the unicast data packet to the local database platform after receiving the unicast data packet so as to enable the local database platform to store and upload the unicast data packet to the cloud platform periodically.
It can be understood that the cloud platform, that is, the cloud information configuration platform, may store configuration information corresponding to the intelligent module (for example, the WIFI module) under different material codes, for example, a device model, platform information of the corresponding cloud platform, device Registration Data (that is, TRD information, an abbreviation of Type Registration Data), an encryption Type, and the like. For example, one correspondence between a material code and configuration information may be { material code: (device model, cloud platform, device registration data, encryption type). The cloud platform is responsible for storing the configuration information and receiving information such as test results and test records uploaded by the test software.
The code scanning tool is used for scanning identification data on the intelligent module and then sending the identification data to test software of the test computer. Sweep and carry out data communication through the serial ports between a yard frock and the test computer, sweep a yard frock and support that manual yard and automatic yard of sweeping are started and are swept the yard from: through the fixed automatic code scanning camera, when identification data of the intelligent module to be detected enters a camera scanning range, the identification data are automatically acquired and sent to detection software through a serial port.
In order to facilitate the test software on the test computer to distinguish whether the code scanning tool is used for manually scanning codes or automatically scanning codes, the identification data corresponding to different code scanning modes can be designed, for example, if the code scanning tool is used for automatically scanning the identification data HCL9000321DATETB11270001, the identification data obtained after scanning is { HCL9000321DATETB11270001, A }, and if the code scanning tool is used for manually scanning, the identification data obtained after scanning is { HCL9000321DATETB11270001 }.
The identification data may include, among other things, MAC information (i.e., physical address information) and SN information (i.e., sequence number information).
The intelligent module is in an STA mode in the detection process, and when the intelligent module is powered on, the intelligent module actively scans and tests the router and obtains the signal strength value of the router. After the detection is completed, the smart module enters a user state, which is in an AP mode (starting SN hotspot). In the testing process, the testing software is also kept connected under the testing router, so that the testing software and the intelligent module are positioned under the same local area network to carry out UDP data interaction.
The testing router can be connected with an external network, and after the testing software is started, the testing router can access the cloud platform to update the configuration information in the local database platform.
The local database platform can be integrated in the testing computer or independent from the testing computer. Configuration information downloaded from the cloud platform can be stored locally, besides the configuration information, a key table corresponding to different material codes can be stored, of course, other information can be stored, for example, a time interval corresponding to a manual code scanning mode, a time interval corresponding to an automatic code scanning mode, set test starting time and the like mentioned below can be stored, test records of the intelligent module can be stored, and the test records are stored locally and uploaded to the cloud platform after being stored for a period of time.
The testing software is installed in the testing computer, and after being started, the testing software can acquire the latest configuration information from the cloud platform and download the latest configuration information to the local database platform, so that the configuration information in the local database platform can be updated. When the test software receives the identification data sent by the code scanning tool, the fact that the current code scanning tool scans the identification data of one intelligent module is shown. After the test software receives a complete and effective identification data, the corresponding material code can be determined according to the identification data, the configuration information corresponding to the material code is further obtained from the local database platform, then a broadcast data packet is generated according to the configuration information and the identification data, and the broadcast data packet is broadcasted in the local area network.
After receiving the broadcast packet, the intelligent module checks whether the broadcast packet corresponds to the intelligent module itself, for example, checks whether the identification data in the broadcast packet is consistent with the identification data of the intelligent module itself. If the information is consistent with the information, writing operation is carried out, namely certain information or some information is written into the intelligent module, a unicast data packet is generated according to the writing condition, the connection condition with the test router and the like, and then the unicast data packet is sent to the test software.
After receiving the unicast data packet, the testing software can be displayed on a display screen so that workers can know the testing condition, then the testing software can send the testing related data to the local database platform for storage, and the local database platform can upload the testing related data to the cloud platform regularly.
In particular implementation, the test software may be specifically configured to: after receiving each frame of data sent by the code scanning tool, judging whether the current data frame is complete according to the composition rule of the data frame, if the current data frame is complete, determining a corresponding preset time interval according to the code scanning mode of the code scanning tool, and if the next frame of data is not received within the preset time interval, invalidating the current data frame, wherein the code scanning mode comprises automatic code scanning and manual code scanning.
That is, the identification data is sent to the test software frame by frame, and after the test software receives a frame of data, the test software will determine whether the frame of data is complete according to the composition rule of the data frame, and if not, ignore the frame of data. And if the data is complete, further judging whether the code scanning mode of the code scanning tool can be judged, if the code scanning mode can be judged according to the current data frame before the identification data is not received, namely the current frame is not the last frame, acquiring a corresponding preset time interval in a local database platform according to the code scanning mode, judging whether next frame data is received within the preset time interval, and if the next frame data is received, judging that the current frame is valid. If the next frame of data is not received within a preset time interval, the current frame is invalid. The time limitation of different code scanning modes can be realized.
In specific implementation, the test software may be further specifically configured to: if the information sent by the code scanning tool is not received within the first preset time, a heartbeat instruction is sent to the code scanning tool through a serial port, if a reply instruction is received within the second preset time, the serial port is normally communicated, and if the serial port is abnormal in communication, the heartbeat instruction is sent to the code scanning tool through the serial port.
In actual testing, one intelligent module may scan and test, and the next intelligent module may scan and test, so that the testing software receives identification data of one intelligent module at intervals. If the test software does not receive the information sent by the code scanning tool within a period of time (for example, 60 seconds), the serial port between the test software and the code scanning tool is possibly abnormal, at the moment, the test software can send a heartbeat instruction to the code scanning tool, if the serial port is normal, the code scanning tool can feed back a reply instruction through the serial port, if the serial port is abnormal, the test software cannot receive the reply instruction within a certain time (for example, 5 seconds), therefore, whether the serial port is abnormal or not can be judged in such a way, and the test can be continued only when the serial port is normal.
In a specific implementation, the write operation may include: judging whether the MAC information of the intelligent module is consistent with the MAC information in the broadcast data packet or not, if so, retaining the broadcast data packet, otherwise, discarding the broadcast data packet; if the broadcast data packet is reserved, writing SN information in the broadcast data packet into a first parameter interval of the intelligent module, judging whether platform information in the broadcast data packet is consistent with cloud platform information corresponding to the intelligent module, and if so, writing first information in the broadcast data packet into a second parameter interval of the intelligent module; the first information is device registration data, or the first information is the device registration data and key information.
That is, if the MAC information in the broadcast packet received by the intelligent module is the same as the MAC of the intelligent module itself, the broadcast packet is retained for the next step, otherwise, the received broadcast packet is discarded. The next step is: and writing the SN information in the broadcast data packet into a first parameter interval of the intelligent module. And simultaneously judging whether the platform information in the broadcast data packet is compared with the platform information of the cloud platform corresponding to the intelligent module, if the platform information in the broadcast data packet is consistent with the platform information of the cloud platform corresponding to the intelligent module, if the first information in the broadcast data packet is equipment registration data, writing the equipment registration data into a second parameter interval, and if the first information in the broadcast data packet is the equipment registration data and the key information, writing the equipment registration data and the key information into the second parameter interval.
After the intelligent module executes the write-in operation, the write-in result of the SN information, the write-in result of the first information, the judgment result of the signal strength and the strength threshold of the test router connected to the intelligent module after being powered on, the mode switching result of the intelligent module entering the user state from the SAT state, and the like are packaged into a unicast data packet, and then the unicast data packet is returned to the test software.
In particular implementation, the test software may be specifically configured to: if the equipment registration data in the configuration information is not empty and the encryption type is one-type one-secret, taking the equipment registration data as first information, and packaging the first information, the platform information of the cloud platform and the identification data into a broadcast data packet, wherein the one-type one-secret indicates that the equipment registration data corresponding to the intelligent modules of the same machine type are the same; if the equipment registration data in the configuration information is not empty and the encryption type is one secret, acquiring a corresponding key table from the local database platform according to a corresponding material code, acquiring unused key information in the key table, using the equipment registration data and the key information as first information, and packaging the first information, the platform information of the cloud platform and the identification data to form the broadcast data packet; the secret code indicates that the equipment registration data corresponding to different intelligent modules are different.
That is, in the process of generating the broadcast data packet, if the device registration data obtained from the local database platform is not empty and the encryption type is one type and one secret, the device registration data may be used as the first information, so that the first information, the platform information and the identification data are assembled to form the broadcast data packet, and the broadcast data packet includes: MAC + SN + cloud platform information + TRD information. If the device registration data obtained from the local database platform is one secret, the key table needs to be further obtained from the local database platform according to the material code, an unused key message is obtained from the key table, and then the key message and the device registration data are used as the first message, so that the first message, the platform message and the identification data are assembled to form a broadcast data packet, wherein the broadcast data packet comprises: MAC + SN + cloud platform information + TRD information + key information.
The first type and the second type mean that the TRD information of the equipment of the same type is the same. One secret means that the TRD information of different devices in the same model is different.
Of course, when looking up the key table, it is first queried whether the key table corresponding to the material code exists, and if so, it is checked whether unused key information exists in the key table, and if there is no key table or there is no unused key information in the key table, a broadcast data packet cannot be formed, and the test process cannot be continued, and at this time, it is necessary to further update or maintain the relevant information in the local database platform.
In particular implementations, the test router may be further checked for connection status before the test software forms the broadcast packet. That is, the test software may be specifically configured to: before the broadcast data packet is formed, judging the connection state of the test computer and the test router again, if the connection state is normal, generating the broadcast data packet according to the configuration information and the identification data, and broadcasting. Certainly, under the condition that the connection is normal, a broadcast data packet can be generated after the preset test starting time, and then broadcast is performed.
In particular implementation, the test software may be specifically configured to: after the serial port number is started, checking whether a serial port number connected with the code scanning tool exists, and if the serial port number exists, sending a heartbeat instruction to a serial port corresponding to the serial port number; if a reply instruction is received within a second preset time length, the serial port communication corresponding to the serial port number is normal; if the reply instruction is not received within the preset time length, the serial port communication corresponding to the serial port number is abnormal, and error prompt is carried out; if the serial port communication is normal, inquiring whether a network card exists in the test computer or not, if not, carrying out error prompt, if so, judging whether the connection between the test computer and the test router is normal or not, if so, judging whether the test computer can access the cloud platform or not, if so, judging whether the cloud platform has updated configuration information or not and whether the test computer is connected with the local database platform or not, and if the cloud platform has updated configuration information and the test computer is connected to the local database platform, downloading the updated configuration information to the local database platform; and if the connection with the test router is abnormal or the cloud platform cannot be accessed, carrying out error prompt.
That is to say, after the test software is started, it is necessary to check the serial port, check the network card, check the connection with the local database platform, check the connection with the test router, check whether the cloud platform has configuration information updated, and the like.
1.1, firstly, checking whether a serial port number connected with a code scanning tool exists or not, and if so, sending a heartbeat instruction to a serial port corresponding to the serial port number; if a reply instruction is received within a second preset time (for example, 5 seconds), the serial port communication corresponding to the serial port number is normal, and the next step of judgment is carried out; if the reply instruction is not received within the preset time length, the serial port communication corresponding to the serial port number is abnormal, and error prompt is carried out;
1.2 inquiring whether a network card exists in the test computer, if not, carrying out error prompt, and if so, entering the next step for judgment;
1.3, judging whether the connection between the test computer and the test router (the information of the test router is stored locally in advance) is normal, if so, judging whether the test computer can access the cloud platform, if so, judging whether the cloud platform has updated configuration information and whether the test computer is connected with the local database platform, and if the cloud platform has updated configuration information and the test computer is connected with the local database platform, downloading the updated configuration information to the local database platform; and if the connection with the test router is abnormal or the cloud platform cannot be accessed, carrying out error prompt.
If the checks are normal and the latest configuration information is downloaded to the local database platform, the subsequent steps can be performed, for example, the identification data sent by the code scanning tool is received.
The invention relates to test software on a test computer, a cloud platform, a local database platform, a code scanning tool, a test router and an intelligent module to be tested, wherein the test software carries out a series of inspection work when being started and downloads latest configuration information from the cloud platform to the local database platform. In the test process, the test software can also monitor the connection condition with the test router, the communication condition of the serial port and the like at regular time. The code scanning tool can send the identification data of the intelligent module to the test software in an automatic code scanning mode, the test software determines the material codes according to the identification information, the configuration information corresponding to the material codes is obtained from the local database platform, and then a broadcast data packet is generated for broadcasting, so that the intelligent module performs writing operation, and relevant conditions are returned. In this process, human involvement is minimal. And the test software sends a broadcast data packet to the intelligent module in a broadcast mode, and the intelligent module feeds back a unicast data packet to the test software in a unicast mode, so that the interaction times in the process are few, and the test efficiency can be improved. Moreover, after the test software is started, the test software can acquire the latest configuration information from the cloud platform, and the local database platform does not need to be manually maintained.
Therefore, the test software mainly realizes six functions: monitoring the connection condition of a test computer and a test router (the connection is required to be kept all the time), monitoring the serial connection condition of test software and a code scanning tool (heartbeat instruction interaction is required to be carried out regularly), automatically downloading the configuration information of a cloud platform to a local database platform, setting the test starting time, manually scanning the code and automatically scanning the preset interval time of the code, realizing the receiving and sending of a data packet, the packaging and unpacking process and inquiring the database information. If the test software cannot find the matched configuration information in the local database platform, the fact that the material codes are not input is indicated, and at the moment, error reminding can be performed.
In specific implementation, the system provided by the present invention may further include: with sweep the rectifier circuit that a yard frock is connected, rectifier circuit set up alternating current power supply with sweep between a yard frock, rectifier circuit all includes rectifier module and first filter module, wherein:
referring to fig. 3, the rectifying module includes a first diode D1, a second diode D2, a third diode D3, and a fourth diode D4, the rectifying module further comprises a first node, a second node, a third node and a fourth node, wherein the anode of the first diode D1 and the anode of the second diode D2 are connected to the second node, a cathode of the third diode D3 and a cathode of the fourth diode D4 are both connected to the first node, a cathode of the first diode D1 and an anode of the third diode D3 are both connected to the fourth node, a cathode of the second diode D2 and an anode of the fourth diode D4 are both connected to the third node, the third node and the fourth node are connected to two ends of an alternating current power supply, the first node is connected to the positive input end of the first filtering module, and the second node is connected to the negative input end of the first filtering module;
the first filtering module comprises a first capacitor C1, a second capacitor C2, a first inductor L1 and a second inductor L2, one end of the first capacitor C1 and one end of the first inductor L1 are connected to the positive input end, the other end of the first capacitor C1 and one end of the second inductor L2 are connected to the negative input end, one end of the second capacitor C2 and the other end of the first inductor L1 are connected to a positive output end OUT +, the other end of the second capacitor C2 and the other end of the second inductor L2 are connected to a negative output end OUT +, and the positive output end OUT + and the negative output end OUT-are a positive output end OUT + and a negative output end OUT-of a corresponding rectifying circuit.
Therefore, the alternating current power supply is converted into the direct current power supply through the rectifying circuit to supply power for the code scanning tool. The rectifying module in the rectifying circuit is used for converting an alternating current power supply into a direct current power supply, the first filtering module is used for filtering the direct current power supply, and the filtered direct current power supply is input into the code scanning tool to supply power, for example, the power is supplied to a camera in the code scanning tool.
In a specific implementation, the rectifier circuit may further include: a second filtering module including a fifth diode D5 and a third capacitor C3, the second diode D2 and the third capacitor C3 being connected in parallel, an anode of the second diode D2 and one end of the third capacitor C3 being both connected to the third node, and a cathode of the second diode D2 and the other end of the third capacitor C3 being both connected to the fourth node.
Since the anode of the second diode D2 and one end of the third capacitor C3 are both connected to the third node, the cathode of the second diode D2 and the other end of the third capacitor C3 are both connected to the fourth node, and the third node and the fourth node are connected to both ends of the ac power supply, the ac power supply firstly passes through the second filtering module for filtering, then enters the rectifying module for rectifying, and finally passes through the first filtering module for filtering, so that the second filtering module filters the ac power signal to avoid interference.
In a specific implementation, the rectifier circuit may further include: a third filtering module comprising a fourth capacitance C4, a fifth capacitance C5, a sixth capacitance C6, and a seventh capacitance C7; the fourth capacitor C4 and the sixth capacitor C6 are both connected to the fourth node, one end of the fifth capacitor C5 and one end of the seventh capacitor C7 are both connected to the third node, and the other end of the fourth capacitor C4, the other end of the fifth capacitor C5, the other end of the sixth capacitor C6 and the other end of the seventh capacitor C7 are all grounded.
That is to say, the third filtering module carries out filtering processing on the alternating current power signal before the second filtering module, ideal alternating current signals are obtained through double filtering of the third filtering module and the second filtering module, then ideal low-voltage direct current signals are obtained through rectification processing of the rectification module and filtering processing of the direct current power supply by the first filtering module, and therefore power supply of the code scanning tool is achieved.
The numbers 1, 2, 3, 4 in fig. 3 are the first node, the second node, the third node and the fourth node.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this disclosure may be implemented in hardware, software, hardware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (10)

1. An intelligent product testing system, comprising: the system comprises a code scanning tool, a test computer, a test router, a cloud platform and a local database platform, wherein detection software is installed on the test computer, the code scanning tool, the test router, the local database platform and the cloud platform are all connected to the test computer, and an intelligent module of an intelligent product is automatically connected with the test router after being electrified; wherein:
the cloud platform is to: the corresponding configuration information of the intelligent module under different material codes is stored; sweep a yard frock and be used for: scanning the identification data on the intelligent module and sending the scanned identification data to the test computer;
the test software is configured to: acquiring latest configuration information from the cloud platform after starting, and storing the latest configuration information to the local database platform; receiving identification data sent by the code scanning tool, determining a corresponding material code according to the identification data after receiving effective and complete identification data, searching corresponding configuration information from the local database platform according to the material code, generating the broadcast data packet according to the configuration information and the identification data, and broadcasting;
the intelligent module is used for: after the broadcast data packet is received, performing writing operation, forming a unicast data packet according to the writing condition and the signal intensity condition of the test router, and sending the unicast data packet to the test software;
the test software is further configured to: and displaying and sending the unicast data packet to the local database platform after receiving the unicast data packet so as to enable the local database platform to store and upload the unicast data packet to the cloud platform periodically.
2. The system of claim 1, wherein the testing software is specifically configured to: after receiving each frame of data sent by the code scanning tool, judging whether the current data frame is complete according to the composition rule of the data frame, if the current data frame is complete, determining a corresponding preset time interval according to the code scanning mode of the code scanning tool, and if the next frame of data is not received within the preset time interval, invalidating the current data frame, wherein the code scanning mode comprises automatic code scanning and manual code scanning.
3. The system of claim 1, wherein the testing software is further specifically configured to: if the information sent by the code scanning tool is not received within the first preset time, a heartbeat instruction is sent to the code scanning tool through a serial port, if a reply instruction is received within the second preset time, the serial port is normally communicated, and if the serial port is abnormal in communication, the heartbeat instruction is sent to the code scanning tool through the serial port.
4. The system of claim 1, wherein the identification data comprises MAC information and SN information, and wherein performing the write operation comprises: judging whether the MAC information of the intelligent module is consistent with the MAC information in the broadcast data packet or not, if so, retaining the broadcast data packet, otherwise, discarding the broadcast data packet; if the broadcast data packet is reserved, writing SN information in the broadcast data packet into a first parameter interval of the intelligent module, judging whether platform information in the broadcast data packet is consistent with cloud platform information corresponding to the intelligent module, and if so, writing first information in the broadcast data packet into a second parameter interval of the intelligent module; the first information is device registration data, or the first information is the device registration data and key information.
5. The system of claim 1, wherein the testing software is specifically configured to: if the equipment registration data in the configuration information is not empty and the encryption type is one-type one-secret, taking the equipment registration data as first information, and packaging the first information, the platform information of the cloud platform and the identification data into a broadcast data packet, wherein the one-type one-secret indicates that the equipment registration data corresponding to the intelligent modules of the same machine type are the same; if the equipment registration data in the configuration information is not empty and the encryption type is one secret, acquiring a corresponding key table from the local database platform according to a corresponding material code, acquiring unused key information in the key table, using the equipment registration data and the key information as first information, and packaging the first information, the platform information of the cloud platform and the identification data to form the broadcast data packet; the secret code indicates that the equipment registration data corresponding to different intelligent modules are different.
6. The system of claim 1, wherein the testing software is specifically configured to: after the serial port number is started, checking whether a serial port number connected with the code scanning tool exists, and if the serial port number exists, sending a heartbeat instruction to a serial port corresponding to the serial port number; if a reply instruction is received within a second preset time length, the serial port communication corresponding to the serial port number is normal; if the reply instruction is not received within the preset time length, the serial port communication corresponding to the serial port number is abnormal, and error prompt is carried out; if the serial port communication is normal, inquiring whether a network card exists in the test computer or not, if not, carrying out error prompt, if so, judging whether the connection between the test computer and the test router is normal or not, if so, judging whether the test computer can access the cloud platform or not, if so, judging whether the cloud platform has updated configuration information or not and whether the test computer is connected with the local database platform or not, and if the cloud platform has updated configuration information and the test computer is connected to the local database platform, downloading the updated configuration information to the local database platform; and if the connection with the test router is abnormal or the cloud platform cannot be accessed, carrying out error prompt.
7. The system of claim 1, wherein the testing software is specifically configured to: before the broadcast data packet is formed, judging the connection state of the test computer and the test router again, if the connection state is normal, generating the broadcast data packet according to the configuration information and the identification data, and broadcasting.
8. The system of claim 1, further comprising: with sweep the rectifier circuit that a yard frock is connected, rectifier circuit set up alternating current power supply with sweep between a yard frock, rectifier circuit all includes rectifier module and first filter module, wherein:
the rectifying module comprises a first diode, a second diode, a third diode and a fourth diode, the rectifying module further comprises a first node, a second node, a third node and a fourth node, wherein the anode of the first diode and the anode of the second diode are connected to the second node, a cathode of the third diode and a cathode of the fourth diode are both connected to the first node, a cathode of the first diode and an anode of the third diode are both connected to the fourth node, a cathode of the second diode and an anode of the fourth diode are both connected to the third node, the third node and the fourth node are connected to two ends of an alternating current power supply, the first node is connected to the positive input end of the first filtering module, and the second node is connected to the negative input end of the first filtering module;
the first filtering module comprises a first capacitor, a second capacitor, a first inductor and a second inductor, one end of the first capacitor and one end of the first inductor are connected to the positive input end, the other end of the first capacitor and one end of the second inductor are connected to the negative input end, one end of the second capacitor and the other end of the first inductor are connected to the positive output end, the other end of the second capacitor and the other end of the second inductor are connected to the negative output end, and the positive output end and the negative output end are the positive output end and the negative output end of the corresponding rectifying circuit.
9. The system of claim 8, wherein the rectification circuit further comprises: the second filtering module comprises a fifth diode and a third capacitor, the second diode is connected with the third capacitor in parallel, the anode of the second diode and one end of the third capacitor are both connected to the third node, and the cathode of the second diode and the other end of the third capacitor are both connected to the fourth node.
10. The system of claim 9, wherein the rectification circuit further comprises: a third filtering module, which includes a fourth capacitor, a fifth capacitor, a sixth capacitor and a seventh capacitor; the fourth capacitor and the sixth capacitor are connected to the fourth node, one end of the fifth capacitor and one end of the seventh capacitor are connected to the third node, and the other end of the fourth capacitor, the other end of the fifth capacitor, the other end of the sixth capacitor and the other end of the seventh capacitor are all grounded.
CN202111238800.3A 2021-10-25 2021-10-25 Intelligent product testing system Pending CN113961459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111238800.3A CN113961459A (en) 2021-10-25 2021-10-25 Intelligent product testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111238800.3A CN113961459A (en) 2021-10-25 2021-10-25 Intelligent product testing system

Publications (1)

Publication Number Publication Date
CN113961459A true CN113961459A (en) 2022-01-21

Family

ID=79466565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111238800.3A Pending CN113961459A (en) 2021-10-25 2021-10-25 Intelligent product testing system

Country Status (1)

Country Link
CN (1) CN113961459A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114781418A (en) * 2022-04-12 2022-07-22 四川虹美智能科技有限公司 Intelligent product information writing method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834540A (en) * 2010-05-24 2010-09-15 佛山市顺德区正吉电子科技有限公司 Switch power supply of electric motor saver
CN103634786A (en) * 2013-11-14 2014-03-12 北京奇虎科技有限公司 Method and system for security detection and repair of wireless network
CN103872728A (en) * 2014-03-03 2014-06-18 同济大学 Multifunctional integral electric automobile vehicle-mounted charging machine
CN205142039U (en) * 2015-11-26 2016-04-06 韩正强 Power supply
US9322201B1 (en) * 2013-03-15 2016-04-26 August Home, Inc. Intelligent door lock system with wing latches
CN207978157U (en) * 2018-02-09 2018-10-16 上海蜂电网络科技有限公司 intelligent illumination control device
CN109861880A (en) * 2019-01-23 2019-06-07 四川虹美智能科技有限公司 A kind of production detection method and device of wireless communication module
CN209571955U (en) * 2019-05-21 2019-11-01 四川虹美智能科技有限公司 A kind of power circuit
CN110430541A (en) * 2019-08-09 2019-11-08 四川虹美智能科技有限公司 Production detection method, the apparatus and system of data interaction are realized based on local area network
CN111626621A (en) * 2020-05-28 2020-09-04 海尔优家智能科技(北京)有限公司 Intelligent equipment production test method and device and electronic device
CN112055316A (en) * 2020-07-28 2020-12-08 四川虹美智能科技有限公司 Production detection system and method of intelligent module and electronic equipment
CN113326068A (en) * 2021-07-02 2021-08-31 佛山市淇特科技有限公司 Cloud testing method, device, equipment and storage medium on intelligent household equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834540A (en) * 2010-05-24 2010-09-15 佛山市顺德区正吉电子科技有限公司 Switch power supply of electric motor saver
US9322201B1 (en) * 2013-03-15 2016-04-26 August Home, Inc. Intelligent door lock system with wing latches
CN103634786A (en) * 2013-11-14 2014-03-12 北京奇虎科技有限公司 Method and system for security detection and repair of wireless network
CN103872728A (en) * 2014-03-03 2014-06-18 同济大学 Multifunctional integral electric automobile vehicle-mounted charging machine
CN205142039U (en) * 2015-11-26 2016-04-06 韩正强 Power supply
CN207978157U (en) * 2018-02-09 2018-10-16 上海蜂电网络科技有限公司 intelligent illumination control device
CN109861880A (en) * 2019-01-23 2019-06-07 四川虹美智能科技有限公司 A kind of production detection method and device of wireless communication module
CN209571955U (en) * 2019-05-21 2019-11-01 四川虹美智能科技有限公司 A kind of power circuit
CN110430541A (en) * 2019-08-09 2019-11-08 四川虹美智能科技有限公司 Production detection method, the apparatus and system of data interaction are realized based on local area network
CN111626621A (en) * 2020-05-28 2020-09-04 海尔优家智能科技(北京)有限公司 Intelligent equipment production test method and device and electronic device
CN112055316A (en) * 2020-07-28 2020-12-08 四川虹美智能科技有限公司 Production detection system and method of intelligent module and electronic equipment
CN113326068A (en) * 2021-07-02 2021-08-31 佛山市淇特科技有限公司 Cloud testing method, device, equipment and storage medium on intelligent household equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙肖子等: "普通高等教育"十三五"创新型规划教材 通信电子线路", 西安电子科技大学出版社, pages: 216 - 217 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114781418A (en) * 2022-04-12 2022-07-22 四川虹美智能科技有限公司 Intelligent product information writing method and device

Similar Documents

Publication Publication Date Title
CN101068179B (en) Customer end wireless switch-in method, system and device thereof
CN102739428B (en) Method and device for data acquisition, and system
CN111650478B (en) Power distribution network fault diagnosis and positioning method and gateway
US11543442B2 (en) Managing outage detections and reporting
CN113961459A (en) Intelligent product testing system
CN111212387A (en) Test method and system for wireless equipment, electronic equipment and test device
CN113140053B (en) Automatic code scanning test system and method based on annular dynamic line
WO2017054468A1 (en) Method and system implementing inspection
CN106603331A (en) Wireless local area network product test method and device, and test system
CN108988961B (en) Radio monitoring operation management system
CN113992508A (en) Local area network automatic networking method of intelligent equipment and intelligent equipment
CN110176964B (en) Production test system and method of wireless equipment
CN111885621A (en) Wireless message capturing method, system, terminal and storage medium
US20090238081A1 (en) Network management system, data acquisition apparatus, and method for checking operating conditions of nodes
CN107241723B (en) Power patrol detection equipment, intelligent terminal and networking method
CN109951871A (en) Detection method, device, terminal and the storage medium of node conflict
CN111800805B (en) Wireless function detection method and system for wireless intelligent product
CN108347489A (en) Printer Information harvester, system and method
CN208210011U (en) Printer information acquisition device and system
US11356874B2 (en) Detecting network devices without joining a network
CN110493818B (en) Detection method and device of wireless fidelity module, storage medium and electronic device
CN106793024A (en) The method and wireless device of a kind of wireless device response wireless terminal
CN106488490B (en) Base station maintenance method and system
CN114268603A (en) Method and equipment for automatically acquiring IP address of power distribution automation terminal
CN111294414A (en) Message processing method, device and system

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

Application publication date: 20220121

RJ01 Rejection of invention patent application after publication