Loopback detection method, storage medium, computer equipment and detection device

By using the camera in the functional module to obtain and parse image data, combined with the display function of the display screen, fully automatic detection of the camera and the display screen is achieved, solving the problem of low testing efficiency in the existing technology, and improving detection efficiency and accuracy sex.

CN119484338APending Publication Date: 2025-02-18SHENZHEN NEOWAY TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411306017.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the prior art, the testing scheme for display screens and cameras is not efficient enough, especially for module detection of multiple cameras, which is relatively low.

Method used

Obtain image data of the preset object through the camera, parse and display the parsed content on the display screen. If the parsed content is consistent with the preset content, the test is prompted to pass. This method does not require manual participation and can automatically detect the functions of the camera and display.

Benefits of technology

It realizes fully automated detection of the camera and display of the functional module, improves detection efficiency, reduces human operation errors, and is suitable for simultaneous detection of multiple functional modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484338A_ABST
    Figure CN119484338A_ABST
Patent Text Reader

Abstract

The invention discloses a loopback detection method of a functional module, a storage medium, computer equipment and a detection device. The loopback detection method of the functional module comprises the following steps: acquiring image data of a preset object through a camera; analyzing the image data, and displaying the analyzed analysis content on the display screen; responding to the condition that the analysis content is consistent with preset content, and prompting that the test is passed; wherein the preset content is the correct analysis content of the preset object. Through the above mode, the loopback detection method of the functional module provided by the invention can detect the functions of the camera and the display screen of the functional module at the same time, and the detection process is full-automatic and does not need manual participation, thereby greatly improving the detection efficiency of the functional module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of hardware performance detection, and in particular to a loop detection method, storage medium, computer equipment and detection device for a functional module. Background Art

[0002] Communication modules have been in the market for a long time. In order to provide a reliable and stable transmission solution, people have combined some hardware functions and packaged them into modules for developers to develop quickly. However, before the module leaves the factory, it is necessary to conduct production inspection on the functional pins of the module, such as microphone, audio, screen, camera, sensor, WIFI, Bluetooth, etc., to ensure that the module pins are welded normally.

[0003] However, in pursuit of production efficiency, people continue to improve module production test solutions, such as microphone and audio loopback tests. However, there is no better efficiency improvement solution for screen and camera test solutions. For example, the screen detection solution is to observe whether the screen displays normally, and the camera detection solution is to observe whether it can take pictures or record videos. This detection method first relies on human judgment, and everyone makes mistakes; secondly, if a module has multiple cameras, the test efficiency will be greatly reduced. Summary of the invention

[0004] The present application mainly provides a loop detection method, storage medium, computer equipment and detection device for a functional module to solve the problem that the current testing scheme for display screens and cameras is not efficient enough.

[0005] In order to solve the above technical problems, a technical solution adopted by the present application is: to provide a loop detection method for a functional module. The loop detection method for the functional module includes: acquiring image data of a preset object through the camera; parsing the image data and displaying the parsed content on the display screen; in response to the parsed content being consistent with the preset content, prompting that the test is passed; wherein the preset content is the correct parsed content of the preset object.

[0006] By parsing the image data of the preset object obtained by the camera, if the analyzed content is consistent with the preset content, it can be known that the functions of the camera and the display screen are normal. If there is a functional problem in either the camera or the display screen, the analyzed content finally displayed will inevitably be inconsistent with the preset content. It can be seen that the loop detection method adopted in this application can simultaneously detect the functions of the camera and the display screen of the functional module, and the detection process is fully automated without manual participation, which greatly improves the detection efficiency of the functional module.

[0007] In some embodiments, before acquiring the image data of the preset object through the camera, the method further includes:

[0008] Sending an opening instruction to the camera;

[0009] The step of acquiring image data of a preset object through the camera includes:

[0010] In response to the camera being turned on successfully, image data of the preset object is acquired.

[0011] By sending a power-on command to the camera, a preliminary test of the camera's function can be performed based on whether the camera is successfully turned on. If it is successfully turned on under the control of the power-on command, it indicates that the camera's power-on function is normal, that is, the test of the camera's power-on function is automatically completed without manual participation, thereby improving detection efficiency.

[0012] In some embodiments, after sending the start instruction to the camera, the method further includes:

[0013] In response to the camera failing to start, it is prompted that the camera test has failed.

[0014] By judging whether the camera function can be turned on normally, if the turning on fails, it can be judged that the camera function of the functional module is not normal, and the subsequent detection is ended at the same time, saving time.

[0015] In some embodiments, after acquiring the image data of the preset object, the method further includes:

[0016] displaying the image data on the display screen;

[0017] Based on the position of the image data on the display screen, the posture of the functional module is adjusted so that the image data is displayed at a preset position on the display screen.

[0018] By setting the preview function, it is ensured that the camera of the functional module can completely obtain the image data of the preset object, so as to avoid the camera obtaining an incomplete image, such as obtaining an incomplete QR code, and failing to parse the content when parsing the image data. The preview function is set to adjust the posture of the functional module, so as to avoid incorrect judgment results during the detection process.

[0019] In some embodiments, after parsing the image data and displaying the parsed content on the display screen, the method further includes:

[0020] In response to the parsed content being empty, it is prompted that the display screen test fails.

[0021] By analyzing the image data and judging the analyzed content, if the analyzed image data content is empty and there is no display content on the display screen, it can be judged that there is a problem with the display screen function of the functional module alone, and the subsequent detection is terminated at the same time.

[0022] In some embodiments, the preset object includes at least one of a QR code and a barcode.

[0023] By using complex images such as QR codes or barcodes that need to be parsed to obtain hidden content, the accuracy of the detection results can be effectively improved.

[0024] In some embodiments, there are multiple functional modules, and they are detected by the loop detection method at the same time.

[0025] By means of the above-mentioned method for loopback detection of functional modules, the number of functional modules can be increased, multiple functional modules can be connected to the test device for communication to complete detection together, and multiple functional modules can be detected at the same time, thereby improving the efficiency of production detection.

[0026] To solve the above technical problem, another technical solution adopted by the present application is to provide a storage medium having program data stored thereon, and the program data, when executed by a processor, implements the steps of the loop detection method of the above functional module.

[0027] By setting the storage medium, when the program data is executed by the processor, the steps of the loop detection method of the module are implemented.

[0028] To solve the above technical problems, another technical solution adopted by the present application is to provide a computer device. The computer device includes a processor and a memory connected to each other, the memory stores a computer program, and when the processor executes the computer program, the steps of the loop detection method of the functional module described above are implemented.

[0029] A computer device is set up to execute the steps of the loop detection method of the module.

[0030] In order to solve the above technical problems, another technical solution adopted by the present application is to provide a detection device. The detection device includes a display, a test fixture and a computer device as claimed in claim 9, wherein the computer device is communicatively connected with the display and the test fixture, the display is used to display the preset object, and the test fixture is used to electrically connect the functional module.

[0031] By providing a detection device, the loop detection method of the above functional module is connected to a computer device for communication, and a device capable of independently and completely executing the above method is provided.

[0032] The beneficial effects of the present application are as follows: Different from the prior art, the present application discloses a loop detection method, storage medium, computer equipment and functional module of a functional module. The camera is opened and debugged through instructions to ensure that the camera can clearly preview the content on the screen, and the preview data of the camera is sent to the code scanning library for analysis to see if the QR code content returned is the same as the preset one, so as to achieve loop synchronization and automatic detection of the functional module, without human participation, eliminating manual operation, reducing the test error rate and improving production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0034] Figure 1 It is a flowchart of an embodiment of a loop detection method of a functional module provided by the present application;

[0035] Figure 2 yes Figure 1 A flow chart of another embodiment of the loop detection method of the functional module shown in FIG.

[0036] Figure 3 It is a structural diagram of an embodiment of the functional module provided by the present application;

[0037] Figure 4 is a structural schematic diagram of an embodiment of a detection device provided by the present application;

[0038] Figure 5 It is a structural schematic diagram of an embodiment of the storage medium provided by the present application;

[0039] Figure 6 It is a structural schematic diagram of an embodiment of a computer device provided by the present application. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0041] The terms "first", "second", "third" in the embodiments of the present application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second", "third" can expressly or implicitly include at least one of the features. In the description of the present application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.

[0042] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0043] In the present application, the functional module 100 is a device, which may also include a microphone and audio, etc., which may be combined with other devices to form a terminal device, and the terminal device may be a feature phone, a smart phone or a smart watch, etc. Alternatively, the functional module 100 may also be a terminal device.

[0044] The functional module 100 includes a camera 10 and a display screen 20 . The camera 10 is used to acquire image data, and the display screen 20 is used to display data information. The camera 10 and the display screen 20 can both be mounted on a printed circuit board.

[0045] The present application provides a loop detection method of a functional module 100, see Figure 1 , Figure 1 1 is a flow chart of an embodiment of a loop detection method of a functional module provided by the present application, and the loop detection method includes:

[0046] Step 11: Obtain image data of the preset object through the camera.

[0047] After receiving the AT (Attention) command, the functional module 100 drives the camera 10 to obtain image data of a preset object, wherein the preset object may be a QR code, a barcode, a mathematical expression, or a foreign language to be translated.

[0048] In this embodiment, the preset objects include at least one of a QR code and a barcode, wherein the QR code and the barcode are relatively convenient information verification tools in the prior art. By acquiring and identifying these objects, it is possible to quickly verify whether the functions of the camera 10 and the display screen 20 of the functional module 100 are normal.

[0049] The preset object may be presented on paper or on the display 201 , wherein the preset object in the display 201 may be changed according to the instruction.

[0050] It should be noted that each preset object is provided with corresponding correct analysis content, which is the hidden information of the preset object. By acquiring the image data of the preset object, the hidden information carried by the preset object can be subsequently analyzed, and then the functional module 100 is judged whether it passes the test by comparing the analyzed hidden information with the correct analysis content.

[0051] Step 12: Analyze the image data and display the analyzed content on the display screen.

[0052] Different types of preset objects have different parsing tools. After being parsed by the parsing tool, the hidden information of the preset object can be displayed on the display screen 20 , that is, the parsed content is displayed on the display screen 20 .

[0053] Optionally, the preset object is a QR code or a barcode, and the parsing tool is a code scanning library, wherein the code scanning library is a library for implementing QR code or barcode scanning and decoding functions.

[0054] The code scanning library obtains the image data of the preset object, and after analysis, it can accurately read the hidden information on the preset object, and display the analyzed hidden information as analysis content on the display screen 20.

[0055] Optionally, the preset object is a mathematical formula to be calculated, the hidden information is the calculation result of the mathematical formula, and the parsing tool can be a mathematical operation tool for realizing the calculation of the mathematical formula.

[0056] After acquiring the image data of the mathematical formula, the mathematical operation tool calculates the calculation result and displays it as the analysis content on the display screen 20. For example, the mathematical formula to be calculated is "3+2=?", and its hidden information is "5".

[0057] Optionally, the preset object is a foreign language to be translated, the hidden information is a Chinese translation of the foreign language, and the parsing tool may be a translation tool for translating the foreign language.

[0058] After the translation tool obtains the image data of the foreign language text, it translates it into the corresponding Chinese translation, which is then displayed on the display screen 20 as the parsed content. For example, if the foreign language text to be translated is "Hello", its hidden information is "你好".

[0059] Furthermore, the preset object can be any one of a QR code, a mathematical formula, or a foreign language text. After obtaining the image data of the preset object, the type of the preset object is further confirmed, and then the corresponding parsing tool is selected for parsing, so as to support the parsing of more diverse types of preset objects.

[0060] Step 13: In response to the parsed content being consistent with the preset content, prompt that the test passes.

[0061] It should be noted that after parsing the image data of the preset object through the parsing tool, the hidden information therein can be obtained. In this process, if there is a functional failure of the camera 10, the obtained image data will be incorrect, and consequently, the hidden information parsed subsequently will be inaccurate; if there is a functional failure of the display screen 20, the hidden information displayed after parsing will be incorrect. Therefore, by comparing the parsed hidden information with the corresponding correct parsed content, the parsed hidden information will be inconsistent with the correct parsed content, and thus it can be determined that the function module 100 fails the test.

[0062] Conversely, if the functions of both the camera 10 and the display screen 20 are normal during this process, the parsed hidden information and the correct parsed content must be consistent, which proves that the function module 100 must pass the test.

[0063] Among them, the correct parsed content of the preset object is the preset content that is pre-stored and mapped one-to-one with the preset object.

[0064] For example, if the preset object is "3 + 2 =?", the parsed content is "5", and the preset content corresponding to this preset object is also 5, then it is prompted that the function module 100 passes the test. If the parsed content is a number other than 5, it is prompted that the function module 100 fails the test.

[0065] In this embodiment, by parsing the image data of the preset object obtained by the camera 10, if the parsed content is consistent with the preset content, it can be known that the functions of both the camera 10 and the display screen 20 are normal. If there is a functional problem with either the camera 10 or the display screen 20, the finally displayed parsed content will definitely be inconsistent with the preset content. It can be seen that the loop detection method adopted in this application can simultaneously detect the functions of the camera 10 and the display screen 20 of the function module 100, and the detection process is fully automated without manual intervention, greatly improving the detection efficiency of the function module.

[0066] Furthermore, before step 10, refer to Figure 2 , Figure 2 : is a flow chart of another embodiment of the loop detection method of the functional module provided by the present application, and the loop detection method also includes:

[0067] Step 21: Send a power-on command to the camera.

[0068] A power-on command is sent to the camera 10. If the camera 10 is in a normal state, it will respond to the power-on command and start working. If the camera 10 is in an abnormal state, it will be unable to respond to the power-on command. Based on this performance, it can be determined that the camera 10 has a functional abnormality.

[0069] Optionally, the number of components in the functional module may be multiple, for example, there are multiple cameras 10, and multiple cameras 10 can be turned on at the same time for detection, and multiple cameras 10 and the display screen 20 simultaneously accept the loop detection method of the present application; there may also be multiple functional modules, for example, multiple functional modules simultaneously perform their loop detection methods. Using instructions to turn on the camera 10 can realize the automatic operation of turning on the camera 10 without human intervention, and also avoid human operation errors and the situation where the camera 10 is not turned on.

[0070] Further, after step 21, the camera 10 has two situations, including:

[0071] Step 22: In response to the camera startup failure, it is prompted that the camera test fails.

[0072] If the camera 10 fails to be turned on when the command is given, it can be determined that there is a problem with the function of the camera 10, prompting that the loopback detection of the functional module 100 has failed, prompting that the camera 100 test has not passed, and ending the loopback detection of the functional module 100.

[0073] Step 23: In response to the camera being turned on successfully, image data of a preset object is obtained.

[0074] On the contrary, if the camera 10 is successfully turned on by the instruction, the image data of the preset object is obtained through step 11.

[0075] The preset objects can also be changed according to the instructions. The QR code or barcode image used in this embodiment can be changed to a mathematical formula or a foreign language to be translated according to the scene requirements. Different preset objects can be used and corresponding analysis methods can be taken after the image data is acquired.

[0076] When the camera 10 is aimed at the display screen, the image captured by the camera 10 is used as image data, and the image data of each frame is obtained. If there are multiple cameras 10, all cameras 10 are turned on at the same time to obtain the image data on the display screen 20.

[0077] Step 24: Display the image data on the display screen.

[0078] In response to the camera 10 acquiring image data of a preset object, the image data will be displayed on the display screen 20 .

[0079] Step 25: Based on the position of the image data on the display screen, adjust the posture of the functional module so that the image data is displayed at a preset position on the display screen.

[0080] A preview function is set on the display screen 20, that is, the image data acquired by the camera 10 is displayed on the display screen 20, which is used to debug the angle and position of the function to adjust the shooting angle and shooting range of the camera 10 on the functional module 100. The angle, horizontal and vertical position of the functional module 100 are adjusted through instructions to ensure that the camera 10 thereon can acquire a complete preset object image, and ensure that the acquired image data is horizontal and positive, so as to ensure that its image content can be judged.

[0081] For example, when the preset object used is a QR code or barcode image, the camera 10 does not obtain a complete QR code or barcode image, and the obtained image lacks QR code pixels, is distorted or angularly twisted, which will cause incorrect content to be obtained from subsequent scanning and parsing of the QR code or barcode; when the preset object used is a mathematical formula, the camera 10 does not recognize the preset formula, lacks the content of the original mathematical formula, and the final recognized calculation result is inconsistent with the preset result, resulting in an erroneous judgment; when the preset object used is a foreign language to be translated, the camera 10 does not capture the complete picture, resulting in missing foreign letters, or when the functional module 100 is tilted too much relative to the preset image, the letters obtained by the camera 10 are distorted, such as parsing the English letter "L" as "I", and finally the parsed content is incorrect due to missing or incorrect content information of the image data, resulting in a phenomenon of erroneous judgment that the camera 10 and the display screen 20 function test fail.

[0082] Therefore, a preview function is provided in this embodiment to ensure that the camera 10 can scan a complete QR code or barcode and obtain complete picture information content of the preset object, so as to avoid incomplete image data of the preset object, resulting in failure to obtain a correct judgment result.

[0083] Step 26: Analyze the image data and display the analyzed content on the display screen.

[0084] After adjusting the posture of the functional module 100 through the preview function, as in step 12:

[0085] The parsing tool scanning library in this embodiment is a comprehensive application or service set based on scanning technology, and the QR code scanning library is a type of library used to implement QR code scanning and decoding functions in software or applications. These libraries usually provide rich interfaces and tools, allowing developers to easily integrate QR code scanning functions into their own applications without having to write scanning algorithms from scratch. It realizes the rapid entry, processing and management of information by reading the information on the barcode or QR code.

[0086] In this embodiment, the code scanning library obtains the image data of the preset object, and parses the image data. Through the steps of image preprocessing, QR code positioning, data extraction, error correction processing and data decoding, the library accurately reads the information on the barcode or QR code, processes and manages the information, and finally returns the content of the QR code or barcode, and displays the parsed QR code or barcode content on the display screen.

[0087] If the preset object uses mathematical calculation formulas or foreign languages ​​to be translated, etc., the corresponding parsing method is used to parse the image content corresponding to the image data, and the parsing of richer types of preset objects can be supported according to different needs.

[0088] Furthermore, after obtaining the parsed content in step 26, there are three situations, including:

[0089] Step 27: In response to the parsed content being empty, a prompt is given that the display screen test fails.

[0090] As shown in step 13, after the image data of the preset object is parsed by the parsing tool, the hidden information therein can be obtained. If the content obtained by the code scanning library from parsing the image data is displayed on the display screen 20 and is empty, it can be determined that there is a problem with the function of the display screen 20, and it is prompted that the function test of the display screen 20 fails, and the loop detection of the functional module 100 is ended.

[0091] Step 28: In response to the inconsistency between the parsed content and the preset content, a prompt indicating that the test fails.

[0092] The preset content is the correct parsed content of the preset object. If the preset object is a QR code or a barcode, it is determined whether the QR code or barcode content returned by the scanning library after parsing the image data is consistent with the preset content; if the preset object is a mathematical calculation formula, it is determined whether the calculation result obtained by parsing is consistent with the preset calculation result; if the preset object is a foreign language to be translated, it is determined whether the translation content identified by parsing is consistent with the preset. If the parsed content of the image data obtained according to the preset object is inconsistent with the preset content, it is prompted that the display screen 20 and the camera 10 function test failed, thereby determining that the test of the functional module 100 failed.

[0093] Step 29: In response to the parsed content being consistent with the preset content, a prompt indicating that the test has passed is displayed.

[0094] If the parsed content of the image data obtained according to the preset object is consistent with the preset content, it means that the display screen 20 and the camera 10 are functioning normally, and it is judged that the loop detection of the functional module 100 has passed. After obtaining the parsed content, the existing situation is analyzed, thereby completing the loop synchronization and automatic detection of the functional module 100, thereby improving production efficiency.

[0095] See also Figure 5 , Figure 5 It is a structural diagram of an embodiment of the storage medium provided by the present application.

[0096] The storage medium 80 stores program data 81. When the program data 81 is executed by the processor, the following is achieved: Figure 1 , Figure 2 and Figure 3 The steps of the loop detection method of the functional module 100 are described.

[0097] The program data 81 is stored in a storage medium 80, and includes a number of instructions for enabling a network device (such as a router, a personal computer, a server, or other network device) or a processor to execute all or part of the steps of the method described in each embodiment of the present application.

[0098] Optionally, the storage medium 80 may be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, or other medium that can store the program data 81 .

[0099] See also Figure 6 , Figure 6 The computer device 90 includes a processor 92 and a memory 91 connected to each other, the memory 91 stores a computer program, and when the processor 92 executes the computer program, the loop detection steps of the functional module 100 are implemented.

[0100] Based on this, the present application also provides a detection device 200, which includes a display 201, a test fixture 202 and a computer device 90 as described above. The computer device 90 is communicatively connected to the display 201 and the test fixture 202. The display 201 is used to display a preset object, and the test fixture 202 is used to electrically connect the functional module 100.

[0101] The test fixture 202 can electrically connect multiple functional modules 100 and adjust the posture of the functional module 100, such as rotating the functional module 100 to adjust the photographic angle and photographic range of the camera 10 thereon or moving the functional module 100 to adjust the horizontal position or vertical position of the camera 10 thereon, so that the image data obtained by the camera 10 thereon is displayed at a preset position on the display screen 20.

[0102] The detection device 200 relies on the test fixture 202 to communicate with each other and connect its components to perform the above steps, thereby completing the loop detection method of the functional module 100.

[0103] Different from the prior art, the present application discloses a loop detection method, storage medium 80, computer equipment 90 and detection device 200 of a functional module 100. By parsing the image data of the preset object acquired by the camera 10, if the parsed content is consistent with the preset content, it can be known that the functions of the camera 10 and the display screen 20 are normal. If there is a functional problem in either the camera 10 or the display screen 20, the parsed content finally displayed will inevitably be inconsistent with the preset content. It can be seen that the loop detection method adopted in the present application can simultaneously detect the functions of the camera 10 and the display screen 20 of the functional module, and the detection process is fully automated without manual participation, which greatly improves the detection efficiency of the functional module.

[0104] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the storage medium embodiment and the electronic device embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0105] The present application can be used in many general or special computing system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.

[0106] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only illustrative, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0107] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0108] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0109] The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A loop detection method for a functional module, wherein the functional module includes a camera and a display screen, characterized in that: The loop detection method comprises: Acquiring image data of a preset object through the camera; Analyzing the image data and displaying the analyzed content on the display screen; In response to the parsed content being consistent with the preset content, a prompt indicating that the test is passed is given; wherein the preset content is the correct parsed content of the preset object.

2. The loop detection method of the functional module according to claim 1, characterized in that: Before acquiring the image data of the preset object through the camera, the method further includes: Sending an opening instruction to the camera; The step of acquiring image data of a preset object through the camera includes: In response to the camera being turned on successfully, image data of the preset object is acquired.

3. The loop detection method of the functional module according to claim 2, characterized in that: After sending the start instruction to the camera, the method further includes: In response to the camera failing to start, it is prompted that the camera test has failed.

4. The loop detection method for screen and camera production according to claim 1, characterized in that: After acquiring the image data of the preset object, the method further includes: displaying the image data on the display screen; Based on the position of the image data on the display screen, the posture of the functional module is adjusted so that the image data is displayed at a preset position on the display screen.

5. The loop detection method of the functional module according to claim 1, characterized in that: After parsing the image data and displaying the parsed content on the display screen, the method further includes: In response to the parsed content being empty, it is prompted that the display screen test fails.

6. The loop detection method of the functional module according to claim 1, characterized in that: The preset object includes at least one of a QR code and a barcode.

7. The loop detection method of the functional module according to claim 1, characterized in that: There are multiple functional modules, and they are detected by the loop detection method at the same time.

8. A storage medium having program data stored thereon, characterized in that: When the program data is executed by a processor, the steps of the loop detection method of the functional module according to any one of claims 1 to 7 are implemented.

9. A computer device, characterized in that: The computer device includes a processor and a memory connected to each other, the memory stores a computer program, and when the processor executes the computer program, the steps of the loop detection method of the functional module according to any one of claims 1 to 7 are implemented.

10. A detection device, characterized in that: The detection device includes a display, a test fixture and a computer device as described in claim 9, wherein the computer device is communicatively connected to the display and the test fixture, the display is used to display the preset object, and the test fixture is used to electrically connect the functional module.