CN109344020B - Embedded camera PCBA delivery test method and control method thereof - Google Patents
Embedded camera PCBA delivery test method and control method thereof Download PDFInfo
- Publication number
- CN109344020B CN109344020B CN201811254265.9A CN201811254265A CN109344020B CN 109344020 B CN109344020 B CN 109344020B CN 201811254265 A CN201811254265 A CN 201811254265A CN 109344020 B CN109344020 B CN 109344020B
- Authority
- CN
- China
- Prior art keywords
- test
- pcba
- embedded camera
- video
- software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2247—Verification or detection of system hardware configuration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
Abstract
The invention relates to a factory test method and a control method for an embedded camera PCBA. And the local area network is formed by the mutual communication of the test software and the embedded camera module through TCP/IP. The test method comprises the following steps: the testing software searches an embedded camera PCBA board in the local area network by sending a broadcast packet, and modifies the IP address into a testing IP; establishing link and communication with the PCBA board through a TCP link; the test software establishes an audio and video transmission channel with the PCBA through an rtsp protocol, acquires data for decoding and playing, and analyzes a video two-dimensional code through video data to determine a test serial number for testing the PCBA; the two-dimensional code in the video can be identified, and the video is proved to be normal; the test software sends switching to the PCBA board through the previously established TCP link and judges whether the command for switching the IRCUT is successful; sending audio data to the PCBA board through a TCP link to test whether audio is normal; and the test software records the previous test result and prints out a test report and restores the equipment to factory settings.
Description
Technical Field
The invention relates to the field of network and audio and video for intelligently testing an embedded camera PCBA board by using technologies such as serial port communication, network communication, video processing and the like, in particular to a factory testing method for the embedded camera PCBA and a control method thereof.
Background
In the conventional PCBA test of the embedded camera, the function test of the PCBA is required, but if the full-function test of the PCBA of the embedded camera is required to be covered, more test steps and more personnel are required, the test process is bloated and complicated, and misjudgment is easy to occur.
Disclosure of Invention
The invention aims to provide a factory-leaving test method for the PCBA of the embedded camera, which is characterized in that test software carries out intelligent judgment according to preset configuration in the whole process, and the judgment is completely carried out without using manpower, so that the manpower is saved, the artificial misjudgment is reduced, and the test efficiency and the test precision are improved. The invention also aims to provide a method for realizing unattended automatic test of the PCBA board of the embedded camera, which saves labor and simplifies the test flow. The embedded camera PCBA delivery test control method improves the test efficiency.
The technical scheme of the invention is that the factory test method of the PCBA of the embedded camera is characterized by comprising a local area network formed by mutually communicating test software and an embedded camera module through TCP/IP.
Preferably, the method comprises the following steps: the factory test method for the PCBA of the embedded camera comprises the following steps:
the method comprises the steps that test software searches an embedded camera PCBA board in a local area network by sending a broadcast packet, and the embedded camera receives a message, modifies an IP address of the message and then sends a fixed test IP to the test software;
the testing software establishes reliable link and communication with the PCBA board of the embedded camera through the TCP link, and sends a testing instruction to the embedded camera;
thirdly, the testing software establishes an audio and video transmission channel with the embedded camera PCBA board through an rtsp protocol, acquires audio and video data, decodes and plays the audio and video data, and analyzes the two-dimensional code in the video through the video data to determine the testing serial number of the tested embedded camera PCBA board;
the system can correctly recognize the two-dimensional code in the video to prove that the video function is normal;
the step of sending an IRCUT switching command to the PCBA of the embedded camera through the TCP link established before the step of fifthly, and judging whether the IRCUT is normally switched or not by analyzing video data;
sixthly, sending a section of audio data to an embedded camera PCBA board through a TCP link to test whether the audio function of the embedded camera PCBA board is normal or not;
the test-quieter software passes the recording of previous test results and the printing of test reports and the restoration of the device to factory settings.
Another technical solution of the present invention is a factory test control method for an embedded camera PCBA, which is characterized by comprising the following steps:
the method comprises the steps that firstly, a system is powered on, a test is started, and test software sends broadcast search equipment and modifies an equipment IP to a designated IP;
judging whether the system establishes a TCP link with the equipment, if not, failing to establish the link to the step of printing the test result, and if so, entering the next step;
thirdly, whether the RTSP audio and video transmission link is established with the equipment is further judged, if not, the step of failing to establish the link to the printing test result is carried out, if yes, the step of establishing the link is successful, and the next step is carried out;
fourthly, decoding and playing the audio and video;
fifthly, identifying the two-dimensional code in the video, if the identification fails, turning to the step of printing the test result, and if the identification succeeds, turning to the next step;
sending a command for switching the IRCUT;
judging whether the IRCUT command is switched or not by identifying video image conversion, if not, switching fails to a step of printing a test result, and if switching succeeds, entering the next step;
and transmitting the audio data to the device;
printing a test result by the self-skin;
the method has the advantages that the factory setting of the equipment is restored, and the steps are returned after the test is completed.
Compared with the prior art, the invention has the beneficial effects that:
the test software carries out intelligent judgment according to the preset configuration in the whole test process, and the process does not need manpower at all, so that the manpower is saved, the manual misjudgment is reduced, and the test efficiency and the test precision are improved.
The embedded camera PCBA board is unattended, automatic testing is achieved, manpower is saved, and testing efficiency is improved.
(3) Whether the lens is normal or not is judged through two-dimension code identification, whether the I-RUT is normal or not is judged through video algorithm analysis of black, white and color of the video, and testing efficiency and artificial misjudgment are improved.
Drawings
FIG. 1 is a block diagram of the software architecture of the present invention;
FIG. 2 is a software control flow diagram of the present invention.
Detailed Description
The invention will be described in more detail below with reference to the accompanying drawings:
fig. 1 shows an embodiment of a factory test method for an embedded camera PCBA according to the present invention.
Referring to fig. 1, the factory test method for the PCBA of the embedded camera includes a local area network formed by the communication between the test software and the embedded camera module through TCP/IP.
The specific test method comprises the following steps:
the method comprises the steps that test software searches an embedded camera PCBA board in a local area network by sending a broadcast packet, and after receiving a message and modifying an IP address of the message to a designated IP, the embedded camera sends a fixed test IP to the test software;
the testing software establishes reliable link and communication with the PCBA board of the embedded camera through the TCP link, and sends a testing instruction to the embedded camera;
thirdly, the testing software establishes an audio and video transmission channel with the embedded camera PCBA board through the rtsp protocol, acquires audio and video data, decodes and plays the audio and video data, and determines the testing serial number of the tested embedded camera PCBA board by analyzing the two-dimensional code in the video through the video data;
the system can correctly recognize the two-dimensional code in the video to prove that the video function is normal;
the testing software sends an IRCUT switching command to the PCBA board of the embedded camera through the TCP link established before, and judges whether the IRCUT is switched normally or not by analyzing video data;
sixthly, sending audio data to an embedded camera PCBA board through a TCP link to test whether the audio function of the embedded camera PCBA board is normal or not;
the test-quieter software passes the recording of previous test results and the printing of test reports and the restoration of the device to factory settings.
Fig. 2 shows an embodiment of the factory test control method for the PCBA of the embedded camera according to the invention.
Referring to fig. 2, the factory test control method for the PCBA of the embedded camera includes the following steps:
the method comprises the steps of electrifying a system, starting testing, sending broadcast search equipment by test software, and modifying an equipment IP to a specified IP;
judging whether the system establishes a TCP link with the equipment, if not, failing to establish the link to the step of printing the test result, and if so, entering the next step;
thirdly, whether the RTSP audio and video transmission link is established with the equipment is further judged, if not, the step of failing to establish the link to the printing test result is carried out, if yes, the step of establishing the link is successful, and the next step is carried out;
fourthly, decoding and playing the audio and video;
fifthly, identifying the two-dimensional code in the video, if the identification fails, turning to the step of printing the test result, and if the identification succeeds, turning to the next step;
sixthly, sending a command for switching IRCUT;
judging whether the IRCUT command is switched or not by identifying video image conversion, if not, switching fails to a step of printing a test result, and if switching succeeds, entering the next step;
and transmitting the audio data to the device;
printing a test result by the self-skin;
the method has the advantages that the factory setting of the equipment is restored, and the steps are returned after the test is completed.
The above-mentioned embodiments are only preferred embodiments of the present invention, and all equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.
Claims (2)
1. A delivery test method for an embedded camera PCBA comprises a local area network formed by mutually communicating test software and the embedded camera PCBA through TCP/IP; the method is characterized by comprising the following steps:
the method comprises the steps that test software searches for an embedded camera PCBA in a local area network by sending a broadcast packet, and the embedded camera PCBA is embedded
The camera PCBA receives the message and modifies the IP address to the designated address;
the testing software establishes reliable link and communication with the embedded camera PCBA through the TCP link, and sends a testing instruction to the embedded camera PCBA;
thirdly, the testing software establishes an audio and video transmission channel with the embedded camera PCBA through the RTSP protocol, acquires audio and video data, decodes and plays the audio and video data, and determines the testing serial number of the tested embedded camera PCBA by analyzing the two-dimensional code in the video through the video data;
fourth, testing software to verify that the video function is normal if the two-dimensional code in the video can be correctly identified;
the testing software sends an IRCUT switching command to the PCBA through the TCP link established before, and judges whether the IRCUT is switched normally or not by analyzing video data;
sixthly, the testing software sends audio data to the PCBA through the TCP link to test whether the audio function of the PCBA is normal or not;
the test-quieter software passes the recording of previous test results and the printing of test reports and the restoration of the device to factory settings.
2. A factory test control method for an embedded camera PCBA is characterized by comprising the following steps
The method comprises the following steps:
the method comprises the steps that firstly, an embedded camera PCBA is electrified, testing is started, testing software sends broadcast searching for the embedded camera PCBA and sends an IP modification signaling to the embedded camera PCBA, and the embedded camera PCBA is modified to a designated IP;
secondly, the test software and the embedded camera PCBA establish TCP link, whether the test software and the embedded camera PCBA establish TCP link is judged, if not, the link establishment fails, and the step of printing the test result is carried out, if yes, the next step is carried out;
thirdly, the testing software establishes an audio and video transmission channel with the embedded camera PCBA through the RTSP protocol and acquires audio and video data, whether an RTSP audio and video transmission link is established with the embedded camera PCBA or not is further judged, if not, the link is failed to be established, the step of printing a testing result is carried out, if yes, the link is successfully established, and the next step is carried out;
fourthly, the test software decodes the audio and video and plays the audio and video;
the two-dimensional codes in the video are identified by the testing software, if the identification fails, the step of printing the test result is carried out, and if the identification succeeds, the next step is executed;
sending the test software to a command for switching IRCUT of an embedded camera PCBA;
judging whether the video image conversion switches the IRCUT command or not, if not, switching fails, turning to the step of printing the test result, and if so, switching successfully to execute the next step;
and the testing software transmits audio data to the PCBA to test whether the audio function is normal;
printing a test result by the self-supporting test software;
and the test software is restored to the factory settings to complete the test.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811254265.9A CN109344020B (en) | 2018-10-25 | 2018-10-25 | Embedded camera PCBA delivery test method and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811254265.9A CN109344020B (en) | 2018-10-25 | 2018-10-25 | Embedded camera PCBA delivery test method and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109344020A CN109344020A (en) | 2019-02-15 |
CN109344020B true CN109344020B (en) | 2022-05-20 |
Family
ID=65312472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811254265.9A Active CN109344020B (en) | 2018-10-25 | 2018-10-25 | Embedded camera PCBA delivery test method and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109344020B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112800604A (en) * | 2021-01-26 | 2021-05-14 | 上海启迪睿视智能科技有限公司 | Simulation method, device, equipment and storage medium applied to industrial detection |
CN113727091A (en) * | 2021-07-12 | 2021-11-30 | 深圳市有为信息技术发展有限公司 | Video input channel testing method and system for video terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103002338A (en) * | 2012-08-09 | 2013-03-27 | 杨世忠 | Intelligent video play monitoring recognition system |
CN104796484A (en) * | 2015-04-29 | 2015-07-22 | 西安诺瓦电子科技有限公司 | Quick search connection method based on display screen control system |
CN204652522U (en) * | 2015-06-19 | 2015-09-16 | 东莞市富驰电子科技有限公司 | A kind of camera dynamic switching circuit structure |
CN205987204U (en) * | 2016-07-25 | 2017-02-22 | 广州网路通电子有限公司 | Digital video monitors tester suitable for 4KH. 265 HD IP camera |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2014112207A1 (en) * | 2013-01-15 | 2017-01-19 | 三菱電機株式会社 | Surveillance system and surveillance camera |
-
2018
- 2018-10-25 CN CN201811254265.9A patent/CN109344020B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103002338A (en) * | 2012-08-09 | 2013-03-27 | 杨世忠 | Intelligent video play monitoring recognition system |
CN104796484A (en) * | 2015-04-29 | 2015-07-22 | 西安诺瓦电子科技有限公司 | Quick search connection method based on display screen control system |
CN204652522U (en) * | 2015-06-19 | 2015-09-16 | 东莞市富驰电子科技有限公司 | A kind of camera dynamic switching circuit structure |
CN205987204U (en) * | 2016-07-25 | 2017-02-22 | 广州网路通电子有限公司 | Digital video monitors tester suitable for 4KH. 265 HD IP camera |
Also Published As
Publication number | Publication date |
---|---|
CN109344020A (en) | 2019-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109525540B (en) | Intelligent device binding method and device | |
CN109344020B (en) | Embedded camera PCBA delivery test method and control method thereof | |
CN108012311B (en) | Method for automatically switching and configuring router of intelligent equipment | |
CN102457710B (en) | 3G wireless video monitoring system and video monitoring method thereof | |
CN111812402A (en) | Intelligent electric meter and automatic connection method of circuit breaker and intelligent electric meter | |
CN109982123A (en) | A kind of matched method and apparatus | |
CN108711424B (en) | Distributed voice control method and system | |
CN105915834A (en) | Splicing screen unit control method and splicing screen unit | |
CN106330408A (en) | Data transmission system and method | |
CN105548753A (en) | Automatic testing method and system of standby and boot function of electric equipment | |
CN106533857A (en) | Network distribution method, system and equipment of household appliance | |
CN105517110A (en) | Method and apparatus for connecting bluetooth device | |
CN103475817B (en) | Matching method for remote control devices and shooting device | |
AU647740B2 (en) | pontroller prohibiting data communication until user is verified | |
CN104410603B (en) | A kind of method, apparatus and system for verifying terminal identity | |
US10244207B2 (en) | Videoconference communication device | |
CN106251609A (en) | Intelligent robot and networking method, network sharing method and apparatus | |
CN110493810B (en) | Method, device, equipment and medium for detecting recording notification fault | |
CN102811342B (en) | Video profile cut control, equipment and system | |
CN105246098A (en) | Routing device connection method and device | |
CN107231247A (en) | The method and device of information is transmitted to other equipment with the LED of smart mobile phone | |
CN108770044A (en) | A kind of smart machine distribution method and system by changing mobile phone screen color | |
CN114640980A (en) | Bluetooth communication method and system | |
CN105682002A (en) | Communication connection establishment method and data communication method and system | |
WO2016145592A1 (en) | Communication establishing method, device and terminal, and router |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |