A detection device control method and apparatus, computer device and medium

By generating and converting control commands to adapt to the format of the detection device, the problem of low detection efficiency caused by differences in the specifications of the detection device is solved, and efficient LCD module detection is achieved.

CN116482888BActive Publication Date: 2026-02-06BEIJING LUSTER LIGHTTECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310485704.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2026-02-06
Estimated Expiration
2043-04-28

AI Technical Summary

Technical Problem

In the existing technology, the specifications of the testing devices produced by different manufacturers are different during the testing process of LCD modules. This requires the host computer to configure an appropriate system for each testing device, which consumes a lot of time and results in low testing efficiency.

Method used

By generating control commands that include device identifiers and operating methods, searching configuration files to obtain compatible command formats, and then converting the commands into formats that conform to the detection device before transmission, direct control of the detection device can be achieved, avoiding repeated configuration of the host computer system.

Benefits of technology

It reduces the configuration time of the host computer system, improves the detection efficiency of the LCD module, and enables efficient control of different detection devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116482888B_ABST
    Figure CN116482888B_ABST
Patent Text Reader

Abstract

The application provides a detection device control method and device, computer equipment and medium. The method is applied to an upper computer for detecting a liquid crystal module by a first detection device. If the upper computer needs to control different detection devices, the upper computer only needs to call the instruction format corresponding to the detection device according to the correspondence between the device identifier and the instruction format in the configuration file, then convert the control instruction for controlling the detection device and not conforming to the instruction format into a control instruction conforming to the instruction format, and then transmit the control instruction conforming to the instruction format to the detection device through the communication connection established with the detection device. The upper computer can directly control the detection device by using the converted control instruction, and detect the liquid crystal module by using the detection device. The upper computer system adapted to the detection device does not need to be configured again, thereby reducing the time consumed for developing the upper computer system and improving the detection efficiency of the liquid crystal 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 communication, more particularly, to a detection device control method and device, computer equipment and medium. BACKGROUND

[0002] Liquid crystal display screens have high resolution, high brightness, small volume and low power consumption, and are widely used in the field of display. The liquid crystal module in the liquid crystal display screen will produce various defects in the production process, such as surface scratches, which will seriously affect the use performance of the liquid crystal module, so it is necessary to automatically detect the liquid crystal module.

[0003] The automatic detection of the liquid crystal module needs to use specific detection devices, such as using a PG (Pattern Generator) to switch the picture of the liquid crystal module, or using a colorimeter to detect the color of the liquid crystal module. And in the detection process, the detection device is usually controlled by the host computer, that is, the detection device and the host computer establish a communication connection, and then the host computer transmits control instructions to the detection device to realize the control of the host computer to the detection device.

[0004] EXPLANATION OF DRAWINGS Figure 1 A scene diagram of automatic detection of a liquid crystal module is shown, as shown in Figure 1 The detection scene shows a host computer 100, a detection device 200, and a liquid crystal module 300 to be detected. In this application scenario, the host computer 100 controls the detection device 200 by transmitting detection instructions to the detection device 200, and then the detection device 200 can control the liquid crystal module 300 to perform corresponding operations according to the detection instructions.

[0005] However, different manufacturers produce detection devices with different specifications, which results in the need to configure the host computer system for the host computer to adapt to the detection device in order to make the detection device execute corresponding operations according to the received detection instructions. However, configuring the host computer system for the host computer to adapt to the detection device often requires a lot of time, resulting in low detection efficiency of the liquid crystal module. SUMMARY

[0006] The present application provides a detection device control method, device, computer equipment and medium to solve the problem that the host computer often needs to configure the host computer system to adapt to the detection device in order to make the detection device execute corresponding operations according to the received detection instructions. However, configuring the host computer system for the host computer to adapt to the detection device often requires a lot of time, resulting in low detection efficiency of the liquid crystal module.

[0007] In a first aspect, a detection device control method is provided. The method is applied to an upper computer for detecting a liquid crystal module by a first detection device, and includes:

[0008] generating a first control instruction for controlling the first detection device, wherein the first control instruction includes a first device identifier of the first detection device and a first operation mode, and the first operation mode is a detection operation required to be performed on the liquid crystal module by the first detection device;

[0009] searching for a first configuration file according to the first device identifier, wherein the first configuration file includes a corresponding relationship between the first device identifier and a first instruction format, and the first instruction format is an instruction format adapted to the first detection device;

[0010] converting the first control instruction into a second control instruction conforming to the first instruction format based on the first configuration file, wherein the second control instruction includes the first operation mode;

[0011] transmitting the second control instruction to the first detection device through a first communication connection corresponding to the first detection device.

[0012] In a second aspect, a detection device control apparatus is provided. The apparatus is applied to an upper computer for detecting a liquid crystal module by a first detection device, and includes:

[0013] an instruction generation module configured to generate a first control instruction for controlling the first detection device, wherein the first control instruction includes a first device identifier of the first detection device and a first operation mode, and the first operation mode is a detection operation required to be performed on the liquid crystal module by the first detection device;

[0014] a configuration searching module configured to search for a first configuration file according to the first device identifier, wherein the first configuration file includes a corresponding relationship between the first device identifier and a first instruction format, and the first instruction format is an instruction format adapted to the first detection device;

[0015] a format conversion module configured to convert the first control instruction into a second control instruction conforming to the first instruction format based on the first configuration file, wherein the second control instruction includes the first operation mode;

[0016] an instruction transmission module configured to transmit the second control instruction to the first detection device through a first communication connection corresponding to the first detection device.

[0017] In a third aspect, an embodiment of the present application further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the detection device control method according to any one of the embodiments of the present application when executing the program.

[0018] In a fourth aspect, an embodiment of the present application further provides a computer storage medium, and a computer program is stored on the computer readable storage medium, and the computer program causes the processor to execute the detection device control method according to any one of the embodiments of the present application when the processor executes the program.

[0019] According to the technical solution of the embodiment of the present application, if the host computer needs to control different detection devices, it only needs to find the configuration file according to the device identifier of the detection device, and based on the correspondence between the device identifier and the instruction format in the configuration file, the instruction format corresponding to the detection device is called. Then the control instruction for controlling the detection device and not conforming to the instruction format is converted into a control instruction conforming to the instruction format, and the control instruction conforming to the instruction format is transmitted to the detection device through the communication connection established with the detection device. In this case, since the format of the control instruction received by the detection device is adapted to itself, the detection device can execute the operation corresponding to the control instruction, and the detection of the liquid crystal module is realized. That is, the host computer can directly control the detection device using the control instruction converted in the format, and detect the liquid crystal module using the detection device. And there is no need to configure the host computer system adapted to the detection device, thereby reducing the time spent on developing the host computer system and improving the detection efficiency of the liquid crystal module. BRIEF DESCRIPTION OF DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0021] Figure 1 It is a scene schematic diagram of an existing automatic detection of a liquid crystal module;

[0022] Figure 2 It is a detection device control system framework diagram in the embodiment of the present application;

[0023] Figure 3 It is a flowchart of the detection device control method in the embodiment of the present application;

[0024] Figure 4 It is a user interface schematic diagram of the application program for generating control instructions in the embodiment of the present application;

[0025] Figure 5 A flowchart of a method for establishing a communication connection between a host computer and a detection device in an embodiment of the present application is shown in FIG. 1.

[0026] Figure 6 A flowchart of a method for establishing a communication connection between a host computer and a detection device in an embodiment of the present application is shown in FIG. 1.

[0027] Figure 7 A flowchart of a method for establishing a communication connection between a host computer and a detection device in an embodiment of the present application is shown in FIG. 1.

[0028] Figure 8 A timing interaction diagram between a control module and a PG in an embodiment of the present application is shown in FIG. 6.

[0029] Figure 9 A flowchart of a method for establishing a communication connection between a host computer and a detection device in an embodiment of the present application is shown in FIG. 1.

[0030] Figure 10 A flowchart of a method for establishing a communication connection between a host computer and a detection device in an embodiment of the present application is shown in FIG. 1.

[0031] Figure 11 A flowchart of a method for establishing a communication connection between a host computer and a detection device in an embodiment of the present application is shown in FIG. 1. DETAILED DESCRIPTION

[0032] In order to make the personnel in the technical field better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by the personnel in the field without creative labor should belong to the scope of protection of the present application.

[0033] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device including a series of steps or units does not have to be limited to only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0034] Figure 1The shown is a prior art liquid crystal module automatic detection scene diagram, including host computer 100, detection device 200 and liquid crystal module 300. It should be noted that, Figure 1 The shown liquid crystal module automatic detection scene only shows the host computer, detection device and liquid crystal module, and other devices or equipment (such as detection platform connected with the host computer, etc.) are omitted, and, Figure 1 The detection device in is PG. In the actual liquid crystal module automatic detection scene, the detection device can also be other detection devices other than PG, such as a colorimeter. In this application scenario, the host computer 100 controls the PG by transmitting detection instructions to the PG, and then the PG can control the liquid crystal module 300 to switch the picture according to the detection instruction.

[0035] If the host computer 100 wants to control detection devices 200 produced by different manufacturers, it needs to interact with the detection device 200 to transmit control instructions to the detection device 200. The system of the host computer 100 is unchanged, and the format of the generated control instruction is often fixed, but the detection device 200 has multiple specifications, and different specifications of the detection device 200 can usually identify different formats of control instructions.

[0036] For example, the instruction format generated according to the control protocol adopted by the detection device 200 itself can be as follows:

[0037] Signaling description: screen on, command code cmd: 0x20004.

[0038] {

[0039] "pictureName": "flicker.bmp",

[0040] "moduleName": "xinli-watch",

[0041] }

[0042] Success signaling:

[0043] {

[0044] "error": "false",

[0045] "tag": "power on success",

[0046] }

[0047] The instruction format generated according to the control protocol adopted by the detection device 200 itself can also be as follows:

[0048] PG: PG Code (1 / 2 / 3 / 4), Code is a number

[0049] TP1: TP Code (1 / 2 / ... / 24)

[0050] TP2: TP Code (1 / 2 / ... / 24)

[0051] TP3: TP Code (1 / 2 / ... / 24)

[0052] TP4: TP Code (1 / 2 / ... / 24)

[0053] QR1: ASCII code of the two-dimensional code corresponding to TP1, in big-endian mode, with high address storing low bit data

[0054] QR2: ASCII code of the two-dimensional code corresponding to TP2, in big-endian mode, with high address storing low bit data

[0055] QR3: ASCII code of the two-dimensional code corresponding to TP3, in big-endian mode, with high address storing low bit data

[0056] QR4: ASCII code of the two-dimensional code corresponding to TP4, in big-endian mode, with high address storing low bit data

[0057] Para: 0x00 success notification two-dimensional code

[0058] It can be seen that the control instructions generated by different specifications of the detection device 200 according to the control protocol are also different. If the host computer 100 needs to control different specifications of the detection device 200, different formats of control instructions need to be sent to the detection device. Correspondingly, in the development environment, the host computer system needs to be modified for each detection device, and then the control instructions suitable for the corresponding detection device can be generated to realize the control of the detection device 200, and further realize the automatic detection of the liquid crystal module. The process of developing the host computer system consumes time, which will lead to low detection efficiency of the liquid crystal module.

[0059] To solve the above problems, the embodiment of the application provides a detection device control method. In order to facilitate the understanding of the technical solutions in some embodiments of the application, the steps will be described in detail below in combination with some specific embodiments and drawings.

[0060] Figure 2The detector control framework provided by the embodiment of the present application is shown in the figure, which shows a software part and a hardware part. The software part is an application and control module 101 of the host computer 100 for testing the liquid crystal module. The hardware part is at least a detector 200 for testing the use performance of the liquid crystal module. The detector control method provided by the embodiment of the present application can be applied to the control module 101. In this way, the control module 101 and other software in the host computer 100 can be isolated, that is, the running process of the other software in the host computer 100 is isolated from the information interaction process of the host computer 100 and the detector 200. In this way, the host computer 100 does not need to pay attention to the communication and information interaction process with the detector 200, thereby reducing the burden of the host computer system.

[0061] Figure 3 The flowchart of the detector control method provided by the embodiment of the present application is shown in the figure, wherein Figure 3 The method shown in the figure can be applied to Figure 1 The host computer 100 in the detection scenario shown in the figure can utilize Figure 3 The method shown in the figure can be used to detect the liquid crystal module by at least one detector such as the first detector.

[0062] The detector 200 related to the embodiment of the present application includes a device for testing the use performance of the liquid crystal module. The liquid crystal module is a component of the screen and the backlight, so the detection of the liquid crystal module mainly includes visual detection and electrical detection. The visual detection includes dead point detection, brightness detection, etc. The electrical detection includes signal response time test, etc.

[0063] The liquid crystal display screen is composed of hundreds of thousands of "points" (pixels). Due to the limitation of the current manufacturing technology, it is inevitable to have dead points. Therefore, the PG can be used to test the lighting of the liquid crystal module to realize the dead point detection of the liquid crystal module. The response time is the reaction speed of the liquid crystal module to the input signal, that is, the reaction time of the liquid crystal module from dark to bright or from bright to dark. Therefore, the colorimeter can be used to realize the conversion of optical and electrical signals to realize the brightness detection of the liquid crystal module.

[0064] It should be noted that the detector in the embodiment of the present application is not limited to the PG and the colorimeter mentioned above. The control method of the present application can be applied to the detector for testing the liquid crystal module to control the detector and realize the performance detection of the liquid crystal module.

[0065] Figure 3 The method shown in the figure can be based on Figure 2 The control framework shown in the figure, such as Figure 3 The method includes the following steps:

[0066] Step S201: generating a first control instruction for controlling the first detection device, the first control instruction comprising a first device identifier of the first detection device and a first operation mode, the first operation mode being a detection operation required to be performed by the first detection device on the liquid crystal module.

[0067] The host computer 100 refers to a computer that can directly issue a control instruction, which is an instruction for controlling the first detection device. A test interface can be displayed on the screen of the host computer 100. Test personnel can also input instructions using the test interface of the host computer 100 (application interface of the application shown in the figure, which can be an application related to the detection platform) to input instructions. Figure 4 The process of generating the first control instruction for controlling the first detection device can be that the test personnel inputs the control instruction on the test interface of the host computer 100 by selecting the first detection device corresponding control, and the host computer 100 generates the first control instruction for controlling the first detection device in response to the input of the test personnel.

[0068] The process of generating the first control instruction for controlling the first detection device can also be that the host computer 100 obtains task information issued by the detection platform, and generates the first control instruction according to the task information. The task information at least comprises the identifier of the first detection device and related test information. The detection platform can be configured on a mobile operation terminal matched with the detection platform, or on a smart terminal such as a computer, a mobile phone, etc. with software matched with the detection platform installed.

[0069] The above detection platform can be a wireless control platform for liquid crystal module detection, responsible for issuing test tasks and processing test results. The detection platform can generate task information based on the operation of the test personnel (the task information can correspond to a communication connection task or a control task), or can automatically generate task information, for example, if periodic detection of the liquid crystal module is required, the task information is periodically generated. The host computer 100 receives the task information and generates the control instruction according to the task information periodically, so as to realize periodic detection of the liquid crystal module.

[0070] Since the first control instruction is generated according to the operation input by the test personnel for the first detection device (or is automatically generated by the system for the first detection device), the first control instruction comprises the first device identifier of the first detection device and the first operation mode corresponding to the first detection device, and the first operation mode is indicated by the first control instruction, and the detection operation required to be performed by the first detection device on the liquid crystal module.

[0071] In the embodiments of the present application, the device identifier can be a combination of numbers and / or letters of a brand or manufacturer and a specific device model of the manufacturer, which is used to distinguish the detection device. Accordingly, the first device identifier can be a combination of numbers and / or letters of a brand or manufacturer and a specific device model of the manufacturer of the first detection device. For example, the device identifier of the detection device A is X0YY00, where X0 is the code of the brand, and YY00 is the specific model of the detection device under the brand. The device identifier of the detection device B is X0YY01, where X0 is the code of the brand, and YY01 is the specific model of the detection device under the brand. The device identifier of the detection device C is X1YY00, where X1 is the code of the brand, and YY00 is the specific signal of the detection device under the brand. The device identifier of the detection device D is X1YY01, where X1 is the code of the brand, and YY01 is the specific signal of the detection device under the brand. Based on the device identifier, it can be determined that the detection device A and the detection device B are different models of products under the same brand, and the detection device C and the detection device D are different signal products under the same brand. Therefore, different detection devices of different brands or manufacturers and different models can be distinguished based on the device identifier.

[0072] The first operation mode is indicated by the first control instruction, and the detection operation performed by the first detection device on the liquid crystal module is required. For example, the first operation mode corresponding to the PG can be power-on, power-off, screen switching, etc. The specific first operation mode can be determined according to the detection process corresponding to the detection device. For example, when the liquid crystal module is detected by using the PG, the detection process can be power-on, screen switching, and power-off. Accordingly, when the detection process is power-on, the first operation mode is power-on, when the detection process is screen switching, the first operation mode is screen switching, and when the detection process is power-off, the first operation mode is power-off.

[0073] Step S202: searching for a first configuration file according to the first device identifier, where the first configuration file includes a corresponding relationship between the first device identifier and a first instruction format adapted to the first detection device.

[0074] After the first control instruction for controlling the first detection device is generated, the host computer 100 looks up a corresponding first configuration file in response to the first control instruction. The first configuration file and the like can be stored in the host computer 100, for example, in the RAM (random access memory) of the host computer 100, and the host computer 100 can directly call the first configuration file to look up the first instruction format. The first configuration file and the like can also be stored in an external device, for example, in a server corresponding to the liquid crystal module detection platform. The tester can edit the first configuration file in the server, for example, add, delete or modify the device identifier. If the first configuration file is stored in the external device, the host computer 100 needs to send a configuration file request to the external device, and the external device feeds back the first configuration file to the host computer 100 according to the configuration file request.

[0075] It should be noted that in the present application, the configuration file is a general term for the configuration files corresponding to various detection devices, that is, the configuration file includes the first configuration file. The configuration file can include the correspondence between the device identifier and the instruction format adapted to the detection device, and can also include the specific instruction format, that is, the specific instruction format can be directly obtained from the configuration file. The configuration file can only include the correspondence between the device identifier and the instruction format adapted to the detection device, and does not include the specific instruction format. The specific instruction format can be stored in other storage, and the correspondence between the device identifier and the instruction format adapted to the detection device can be found from the configuration file. The corresponding specific instruction format can be obtained from other storage according to the correspondence.

[0076] In some embodiments, multiple configuration files can be set in the host computer 100 or the external device. If the corresponding relationship associated with the first device identifier is not found in one configuration file, the corresponding relationship associated with the first device identifier can be continued to be found in other configuration files. Here, the corresponding relationship associated with the first device identifier can be that the corresponding relationship is marked with the first device identifier.

[0077] In addition, the multiple configuration files can also be prioritized, that is, when looking up the corresponding relationship associated with the first device identifier, the configuration file with the highest priority is searched first. If the corresponding relationship associated with the first device identifier is not found in the configuration file with the highest priority, the configuration file with the second highest priority is continued to be searched, and so on until the corresponding relationship associated with the first device identifier is found. In this case, the priority of the configuration file can be determined according to the use frequency of the detection device. Generally, the configuration file corresponding to the detection device with higher use frequency is set to higher priority.

[0078] The first configuration file can be used to obtain the first instruction format adapted to the first detection device. The instruction format can be a format written according to different detection devices 200, and thus different detection devices 200 adapt different instruction formats. Correspondingly, if there is a first instruction format adapted to the first detection device, the control instruction for the first detection device can be converted according to the first instruction format, and converted into an instruction conforming to the first instruction format.

[0079] The correspondence can be integrated in the host computer 100 in the form of a plug-in, so that if a new correspondence needs to be added to the host computer 100, it can be directly written into the host computer 100 in the form of a plug-in.

[0080] Step S203: converting the first control instruction into a second control instruction conforming to the first instruction format based on the first configuration file, wherein the second control instruction includes the first operation mode.

[0081] The first operation mode is indicated by the first control instruction, and needs to be performed by the first detection device on the liquid crystal module. For example, the first operation mode corresponding to PG can be turning on, turning off, switching pictures, etc. The specific first operation mode can be determined according to the detection process.

[0082] The embodiment of the present application converts the initial control instruction generated by the host computer into an instruction conforming to the instruction format adapted to the detection device 200. Correspondingly, if the liquid crystal module is detected by the first detection device, the initial control instruction generated by the host computer is converted into a second control instruction conforming to the first instruction format adapted to the first detection device. Since the format of the second control instruction is adapted to the first detection device, the first detection device can recognize the second control instruction, and thus the second control instruction can be transmitted to the first detection device, and there is no need to configure the host computer system adapted to the first detection device.

[0083] The instruction format can be determined by the instruction description script rewritten according to the control protocol adopted by the detection device 200. The control protocol can be used to describe the format of the control instruction that can be recognized by the detection device, but the control instruction generated by using the control protocol needs to modify the host computer system in the development environment, and then the detection device can recognize the control instruction. However, the control instruction generated by using the instruction format determined by the instruction description script does not need to modify the host computer system in the development environment. Correspondingly, when the format of the initial control instruction needs to be converted, the instruction description script is called from the configuration file, and the format of the initial control instruction is converted according to the instruction description script.

[0084] Correspondingly, the first control instruction is converted into a second control instruction conforming to the first instruction format according to the instruction description script.

[0085] Step S204: The second control instruction is transmitted to the first detection device through a first communication connection corresponding to the first detection device.

[0086] After the first control instruction not conforming to the first instruction format is converted into the second control instruction conforming to the first instruction format, if the host computer 100 needs to transmit the second control instruction to the first detection device, a communication connection needs to be established between the host computer 100 and the first detection device, and then the host computer 100 transmits the second control instruction to the first detection device through the communication connection.

[0087] The first communication connection established between the host computer 100 and the first detection device can be a channel connection using a communication protocol adopted by the first detection device, that is, a secure message transmission channel is established between the host computer 100 and the first detection device. It should be noted that a basic information file corresponding to the detection device 200 can also be set, and the basic information file can be integrated in the host computer 100 or stored in an external device. The basic information file can include the device identifier of the detection device 200, the communication protocol adopted by the detection device 200, and the like. Correspondingly, when the host computer 100 needs to transmit the second control instruction to the first detection device, the basic information file corresponding to the first device identifier is searched. Then, according to the communication protocol included in the basic information, the host computer 100 establishes the first communication connection with the first detection device.

[0088] If the first detection device adopts a network communication protocol, the host computer needs to create the first communication connection before transmitting the second control instruction to the first detection device, and the method for establishing the first communication connection between the host computer 100 and the first detection device can include the following steps as shown in the communication connection method flowchart of FIG. 6. Figure 5

[0089] S301: Based on the first device identifier and the first interface information corresponding to the first device identifier, a first communication interface corresponding to the first detection device is determined.

[0090] ​S302: transmitting a communication connection request to the first detection device through the first communication interface corresponding to the first detection device. Since the communication protocol adopted by the first detection device is a network protocol, the communication connection request needs to be sent to the first detection device. The first detection device confirms the device information of the host computer 100, such as the IP address, the device ID, and the like, and feeds back the confirmation connection information. The host computer 100 can establish a transmission channel with the first detection device.

[0091] S303: establishing the first communication connection between the first communication interface corresponding to the first detection device after receiving the confirmation connection information fed back by the first detection device.

[0092] For example, in the TCP protocol, the host computer 100 and the detection device 200 need to adopt three-way handshake to establish a communication connection.

[0093] Correspondingly, if the host computer 100 is a client and the first detection device is a server, the host computer 100 sends a SYN packet (synchronize packet) to the first detection device in the first handshake. Then the host computer 100 enters the SYN_SEND (packet sending) state and waits for the first detection device to confirm the SYN packet.

[0094] In the second handshake, after the first detection device receives the SYN packet, the first detection device confirms the IP address and other information of the host computer 100 in the SYN packet, and then feeds back an ACK packet (ACKnowledge Character, acknowledgment packet) to the host computer 100. At the same time, the first detection device also feeds back the confirmation of the SYN packet of the host computer 100. At this time, the first detection device enters the SYN_RECV (packet receiving) state.

[0095] In the third handshake, after the host computer 100 receives the SYN+ACK packet, the host computer 100 sends an acknowledgment packet to the first detection device. This packet is sent. At this time, the host computer 100 and the first detection device both enter the ESTABLISHED (established) state. The host computer 100 and the first detection device complete the three-way handshake, which indicates that the host computer 100 and the first detection device have established a safe packet transmission channel. The host computer 100 and the first detection device can transmit packets through the packet transmission channel.

[0096] If the first detection device adopts a serial communication protocol or other non-network communication protocol, the host computer often transmits a control instruction to the communication interface corresponding to the first detection device. If the first detection device receives the second control instruction through the second communication interface of the first detection device, the connection between the host computer and the second communication interface is the first communication connection. In this case, for example, Figure 6As shown in the method flow chart of the communication connection, the transmitting the second control instruction to the first detection device through the first communication connection corresponding to the first detection device in step S204 can include the following steps:

[0097] S401: determining the second communication interface corresponding to the first detection device based on the first device identifier and the second interface information corresponding to the first device identifier, and the connection between the host computer and the second communication interface is the first communication connection.

[0098] S402: transmitting the second control instruction to the second communication interface.

[0099] If the first detection device uses a non-network communication protocol, the communication between the host computer 100 and the first detection device needs to be realized by using a signal line. For example, if the first detection device uses serial communication, one signal line is responsible for serial transmission and one signal line is responsible for serial reception. The establishment of the communication connection only needs to obtain the interface information corresponding to the first device identifier, that is, to obtain the communication interface used by the first detection device, and based on the communication interface used by the first detection device, the establishment of the communication connection between the host computer 100 and the first detection device can be realized.

[0100] After the first control instruction is converted into the second control instruction conforming to the first instruction format, the host computer 100 can transmit the second control instruction to the first detection device through the first communication connection corresponding to the first detection device. The operation can be writing the API interface parameter corresponding to the first operation mode into the instruction description script corresponding to the first detection device, and constructing a sending message carrying the first operation mode. Then the sending message is transmitted to the first detection device through the channel between the host computer 100 and the first detection device. In this case, the sending message is the second control instruction.

[0101] Based on the detection device control method of the above embodiment, the present embodiment provides another detection device control method, which is as follows: Figure 7 As shown in the method flow chart, the method includes the following steps:

[0102] S501: receiving the first detection result transmitted by the first detection device, wherein the first detection result is a result generated after the first detection device responds to the second control instruction and executes the first operation mode on the liquid crystal module.

[0103] The first detection device receives the second control instruction transmitted by the host computer 100, and performs a detection operation corresponding to the first operation mode included in the second control instruction on the liquid crystal module, and generates a first detection result. Then the first detection device feeds back the first detection result to the host computer 100. For example, the first detection device is a PG, and the first operation mode is power-on. The PG receives the second control instruction including the power-on operation transmitted by the host computer 1, and then performs the power-on operation on the liquid crystal module. And according to the detection operation on the liquid crystal module, a detection result is generated, which can be power-on success or power-on failure.

[0104] S502: According to the first device identifier, a result conversion file is searched, wherein the result conversion file includes a corresponding relationship between the first device identifier and a first result format, and the first result format is a result format adapted by the first detection device.

[0105] S503: Based on the result conversion file, the first detection result is converted into a second detection result conforming to the first result format.

[0106] The configuration file includes a corresponding relationship between the device identifier and the instruction format, and based on the configuration file, the control instruction not conforming to the instruction format can be converted into the control instruction conforming to the instruction format. The corresponding result conversion file includes a corresponding relationship between the device identifier and the result format, and based on the result conversion file, the detection result not conforming to the result format can be converted into the detection result conforming to the instruction format. Correspondingly, if there is a result conversion file corresponding to the first device identifier, the result conversion file includes a corresponding relationship between the first device identifier and the first result format, and based on the result conversion file, the first detection result not conforming to the first result format can be converted into the second detection result conforming to the first result format.

[0107] The result format can also be determined according to the control protocol adopted by the detection device 200 itself and the result description script rewritten. Correspondingly, the first result format is a result description script rewritten based on the control protocol adopted by the first detection device itself, and the result description script is used to convert the detection result. It should be noted that the result description script used to convert the detection result and the instruction description script used to convert the control instruction can be the same description script, or can be different description scripts. For example, they can have the same basic format, but the instruction description script used to convert the control instruction includes instruction-related text, and the result description script used to convert the detection result includes result-related text.

[0108] S504: By analyzing the second detection result, it is determined whether the liquid crystal module has defects.

[0109] Since the second detection result is a detection result conforming to the first result format, the host computer 100 can determine the detection result of the liquid crystal module by analyzing the second detection result. If the first detection result is not converted into a detection result conforming to the first result format, the host computer 100 cannot obtain the information about the detection result of the liquid crystal module from the first detection result.

[0110] When it is necessary to convert the format of the initial detection result, the result description script is called from the result conversion file, and the first detection result is converted into a second detection result conforming to the first result format according to the first result format described in the result description script. The result description script can include a basic text corresponding to the first result format (a text without key information such as a detection result). The key text (a text describing key information such as a detection result) in the first detection result is retained, and other texts are removed. Then the key text is written into the basic text, and the obtained text is the second detection result after conversion.

[0111] From the above technical solutions, it can be seen that, according to the technical solutions of the embodiments of the present application, if the host computer 100 needs to control different detection devices 200, it only needs to find the configuration file according to the device identifier of the detection device 200, and based on the correspondence between the device identifier and the instruction format in the configuration file, the instruction format corresponding to the detection device 200 is called. Then the control instruction for controlling the detection device 200 and not conforming to the instruction format is converted into a control instruction conforming to the instruction format. Then the control instruction conforming to the instruction format is transmitted to the detection device 200 through the communication connection established with the detection device 200. In this case, since the format of the control instruction received by the detection device 200 is adapted to itself, the detection device 200 can perform the operation corresponding to the control instruction, and the detection of the liquid crystal module 300 is realized. That is, the host computer 100 can directly control the detection device 200 using the control instruction after conversion, and detect the liquid crystal module 300 using the detection device 200. It is not necessary to configure the host computer 100 system adapted to the detection device 200, thereby reducing the time spent in developing the host computer 100 system and improving the detection efficiency of the liquid crystal module 300.

[0112] The process of the method of the embodiment will be described in detail below with the power-on control process of the PG. As shown in the time sequence interaction diagram of the control module 101 and the PG, the control of the PG power-on process can specifically include: Figure 8

[0113] ​The host computer 100 calls the control module 101, and the control module 101 enters an initialization state. The host computer 100 calls the control module 101 and also sends a control instruction to the control module 101 at the same time, and the control instruction includes a device identifier of the PG and an operation mode of the PG. The basic information file can be integrated in the control module 101, and then the basic information file corresponding to the device identifier of the PG is searched in the control module 101. The basic information file describes basic information such as a communication protocol, an IP address, and a port number of the PG. The PG is a JC 1000 model of a certain manufacturer, and the device identifier is JC 2000. According to the device identifier, the basic information file corresponding to the device identifier is searched as follows:

[0114] {

[0115] “Type”:”JC 1000”,

[0116] “Protocol”:”TCP Client”,

[0117] “Target IP”:”192.168.1.10”,

[0118] “Target Port”:8090,

[0119] “Support Channel”:16

[0120] }

[0121] Among them, Type is the device identifier, Protocol is the communication protocol, Target IP is the IP address of the PG, Target Port is the port number of the PG, and Support Channel is the number of channels supported by the PG. It can be seen that the communication protocol used by the PG is TCP, and the PG is used as a Client. The method of the present application embodiment supports the PG as a Client, and also supports the PG as a Sever. The present application embodiment does not limit the use mode. The control module 101 can use the basic information file to perform communication connection with the PG in the initialization process, that is, a channel for transmitting messages between the PG is established.

[0122] The host computer calls the “power on” API interface, and detects that it is the PG connected on channel 2. The host computer 100 also passes the parameters of the called “power on” API interface to the control module 101.

[0123] Then the configuration file corresponding to the device identifier of the PG is searched, and the configuration file includes the correspondence between the device identifier of the PG and the instruction format. Based on the configuration file, the instruction format adapted to the PG can be further found. The instruction format can be stored in the configuration file in the form of a configuration script, and the configuration script (including the instruction format) adapted to the PG is as follows:

[0124] {

[0125] “FrameHead”:”0x02 0x02”,

[0126] “FrameTail”:”0x03”,

[0127] “LengthFormat”:”FFFF”,

[0128] “Open Send”:”Ch,[channel],TURNON”,

[0129] “Open OK Format”:”Ch,[channel],DONE,END,0”,

[0130] “Open NG Format”:”Ch,[channel],DONE,END,1”

[0131] }

[0132] Wherein, the FrameHead is a message head, the FrameTail is a message tail, the LengthFormat is a length format, the OpenSend is a sending message content (i.e. an instruction format adapted to the PG), the Open OK Format is a confirmation open power success message content (i.e. a confirmation success result format adapted to the PG), the Open NG Format is a confirmation open power failure message content (i.e. a confirmation failure result format adapted to the PG), and the channel is a channel corresponding to the liquid crystal module corresponding to this operation. It can be seen that in this example, the result description script for transforming the detection result is the same as the instruction description script for transforming the control instruction. The result description script and the basic format are the same, but the instruction description script for transforming the control instruction includes the instruction related text “send”, and the result description script for transforming the detection result includes the result related text “OKFormat” and “NG Format”.

[0133] Based on the above configuration script, the open power instruction not meeting the instruction format is transformed into an open power instruction meeting the instruction format, as follows:

[0134] Ch,[channel],TURNON

[0135] It should be noted that the open power instruction meeting the instruction format and the input parameter of the API interface need to be constructed to send a message, which can be to assemble the open power instruction “Ch,[channel],TURNON” and the message head, the message tail to obtain the constructed sending message:

[0136] 0x02 0x02 0x00 0x0A Ch,2,TURNON 0x03

[0137] The control module 101 sends the constructed above sending message to the PG via the channel of the above connection, and then waits for the feedback of the PG. After the PG receives the above sending message, the power-on instruction Ch,2,TURNON can be parsed from the sending message, that is, the power-on operation is performed on the liquid crystal module of channel 2. After the liquid crystal module is powered on successfully, the result message is returned:

[0138] 0x02 0x02 0x00 0x0F Ch,2,DONE,END,0 0x03

[0139] Wherein, 0x02 0x02 is the message header, 0x00 0x0F is the message length, and 0x03 is the message tail. The control module 101 removes the message header, message tail and message length in the result message according to the configuration script, and obtains the power-on result message:

[0140] Ch,2,DONE,END,0

[0141] According to the description of the configuration script, it can be determined that the liquid crystal module of channel 2 is powered on successfully. The control module 101 can send the determined power-on success result to the host computer 100, and the user interface of the computer device where the host computer 100 is located displays the result. In this example, the script of the conversion instruction and the script of the conversion result are stored in the same configuration script. If the received power-on result message is:

[0142] Ch,2,DONE,END,1

[0143] According to the description of the configuration script, it can be determined that the PG of channel 2 fails to power on. The control module 101 can send the determined power-on failure result to the host computer 100, and the user interface of the computer device where the host computer 100 is located displays the result. If the result message of the PG feedback is not received within a predetermined time, it is determined that the power-on fails.

[0144] In the above embodiment, after the PG successfully powers on the liquid crystal module, the liquid crystal module needs to be powered off again as shown in the figure.

[0145] The host computer 100 generates a power-off control instruction for controlling the PG. The host computer 100 responds to the power-off control instruction, calls the control module 101 and the “power-off” API interface, and the configuration script adapted to the PG is as follows:

[0146] {

[0147] “FrameHead”:”0x02 0x02”,

[0148] "FrameTail": "0x03",

[0149] "LengthFormat": "FFFF",

[0150] "Open Send": "Ch, [channel], TURNOFF",

[0151] "Open OK Format": "Ch, [channel], DONE, END, 0",

[0152] "Open NG Format": "Ch, [channel], DONE, END, 1"

[0153] }

[0154] The control module 101 constructs a sending message according to the input parameters of the above configuration script and API interface, which can be assembling the power-off message "Ch, [channel], TURNOFF" and the message header and the message tail to obtain the constructed sending message:

[0155] 0x02 0x02 0x00 0x0A Ch,2,TURNOFF 0x03

[0156] The control module 101 sends the constructed sending message to the PG via the connected channel, and then waits for the feedback of the PG. After the PG receives the sending message, the PG can parse the power-off instruction Ch,2,TURNOFF from the sending message, that is, the power-off operation is performed on the liquid crystal module of channel 2. After the PG successfully powers off, the PG returns a result message:

[0157] 0x02 0x02 0x00 0x0F Ch,2,DONE,END,0 0x03

[0158] Wherein, 0x02 0x02 is the message header, 0x00 0x0F is the message length, and 0x03 is the message tail. The control module 101 removes the message header, the message tail and the message length in the result message according to the configuration script, and obtains the power-off result message:

[0159] Ch,2,DONE,END,0

[0160] According to the description of the configuration script, it can be determined that the liquid crystal module of channel 2 is successfully powered off. The control module 101 can send the determined power-off success result to the host computer 100, and the user interface of the computer device where the host computer 100 is located displays the result.

[0161] In some embodiments, if the first configuration file is not found according to the first device identifier, a prompt information is generated, which is used to prompt that the first configuration file corresponding to the first detection device is not found. After viewing the prompt information, the test personnel can write the first configuration file corresponding to the first device identifier into the host computer 100 or other external appearance device by updating the configuration file.

[0162] In some embodiments, a configuration file update instruction can be generated in response to the test personnel inputting the relevant information of the detection device (including the device identifier, the adopted communication protocol, the operation mode, etc.) through the user interface, the configuration file update instruction including the corresponding relationship between the third device identifier of the third detection device and the third instruction format, and the third instruction format being the instruction format adapted to the third detection device. The host computer 100 establishes a third configuration file in response to the update instruction, the third configuration file including the corresponding relationship between the third device identifier and the third instruction format.

[0163] For example, the test personnel input the device identifier of the colorimeter YM 2000 and the adopted communication protocol UDP protocol and the operation mode including at least photoelectric signal conversion through the user interface. The host computer 100 writes the input information into the basic information file according to the input of the test personnel, and the basic information file of the colorimeter is as follows:

[0164] {

[0165] “Type”:”YM 2000”,

[0166] “Protocol”:”UDP”,

[0167] “Target IP”:”192.168.1.10”,

[0168] “Target Port”:8090,

[0169] “Support Channel”:16

[0170] }

[0171] And a third instruction format compatible with the colorimeter is written, and then a correspondence between the third device identifier of the colorimeter and the third instruction format is established, and according to the correspondence, a third configuration file is established. When it is necessary to detect the liquid crystal module by using the colorimeter again, the host computer 100 can use the method in the above embodiment to find the third configuration file according to the third device identifier of the colorimeter, and based on the third configuration file, the instructions for the colorimeter that do not conform to the third instruction format are converted into instructions conforming to the third instruction format. Then the instructions conforming to the third instruction format are transmitted to the colorimeter. In this way, the information interaction between the host computer 100 and the colorimeter is realized, and the detection of the liquid crystal module by using the colorimeter is also realized.

[0172] In some embodiments, after the host computer 100 establishes a communication connection with the detection device 200, it can also detect whether the communication connection is normal. If it is detected that the communication connection is not normal, device release and resource release are performed, and the communication connection is re-established. The host computer 100 can periodically send a connection detection instruction to the detection device 200. If no connection confirmation information fed back by the detection device 200 according to the connection detection instruction is received in the current period (within a preset period of time), it is determined that the communication connection between the detection device 200 and the host computer 100 is disconnected. Then the host computer 100 can use the communication protocol in the basic information file to re-establish the communication connection with the detection device 200. After the host computer 100 establishes the communication connection with the detection device 200, the method in the above embodiment is used to control the detection device 200. In this way, when the host computer 100 is disconnected from the detection device 200, the situation that the host computer 100 fails to control the detection device 200 can be reduced.

[0173] For example, if the detection device 200 uses the TCP protocol, after the host computer 100 establishes a communication connection with the detection device 200, the Keepalive mode of the network can be used to detect the connection state. The Keepalive mode is a way to detect the connection state of the channel in the TCP protocol, that is, both parties of the TCP protocol increase the ACK packet in the communication process, and use the ACK to determine the communication state, that is, to confirm whether the channel is normal. And even if there is no substantive message interaction between the first detection device and the host computer 100, the ACK packet can be used to determine whether the channel is normal at regular intervals.

[0174] Figure 9 Another detection device control framework provided by the embodiments of the present application can be used to control multiple detection devices to detect the liquid crystal module at the same time. As shown in Figure 10 The method comprises the following steps:

[0175] Step S601: generating a third control instruction for controlling a second detection device, the third control instruction comprising a second device identifier of the second detection device and a second operation mode, the second detection device being a different detection device from the first detection device. The second operation mode is indicated by the third control instruction and is a detection operation required to be performed by the second detection device.

[0176] The host computer 100 can distinguish the first detection device and the second detection device according to the first device identifier and the second device identifier, and perform different operations according to the difference between the first detection device and the second detection device. For example, the first detection device is a PG, and the first operation mode is to turn on the power. The second detection device is a colorimeter, and the second operation mode is photoelectric signal conversion. The power-on and photoelectric signal conversion can be performed at the same time.

[0177] Step S602: searching for a second configuration file according to the second device identifier, wherein the second configuration file comprises a corresponding relationship between the second device identifier and a second instruction format adapted to the second detection device. The searching for the second configuration file corresponding to the second device identifier and the searching for the first configuration file corresponding to the first device identifier can be performed at the same time.

[0178] Step S603: converting the third control instruction into a fourth control instruction conforming to the second instruction format based on the second configuration file, wherein the fourth control instruction comprises the second operation mode. The process of converting the first control instruction into the second control instruction and the process of converting the third control instruction into the fourth control instruction do not interfere with each other.

[0179] Step S604: transmitting the fourth control instruction to the second detection device through a second communication connection corresponding to the second detection device, wherein the host computer supports simultaneously controlling the first detection device through the second control instruction and controlling the second detection device through the fourth control instruction. Therefore, by using the detection device control method of the present application, the host computer 100 can simultaneously control multiple detection devices 200, and the detection processes of each detection device 200 on the liquid crystal module do not interfere with each other, and the processes of each detection device 200 feeding back the detection results also do not interfere with each other. Therefore, the method of the present application can be applied to the application scenario of simultaneously controlling multiple detection devices, thereby achieving the purpose of detecting multiple performance of the liquid crystal module.

[0180] Corresponding to the foregoing embodiments of the detection device control method, the present application also provides embodiments of a detection device control apparatus. The apparatus is applied to a host computer for detecting a liquid crystal module through a first detection device, as shown in the apparatus framework diagram, the apparatus comprises: Figure 11

[0181] ​The instruction generation module 701 is configured to generate a first control instruction for controlling the first detection device, wherein the first control instruction comprises a first device identifier and a first operation mode of the first detection device, and the first operation mode is a detection operation required to be performed on the liquid crystal module by the first detection device.

[0182] The configuration searching module 702 is configured to search for a first configuration file according to the first device identifier, wherein the first configuration file comprises a corresponding relationship between the first device identifier and a first instruction format, and the first instruction format is an instruction format adapted to the first detection device.

[0183] The format conversion module 703 is configured to convert the first control instruction into a second control instruction conforming to the first instruction format based on the first configuration file, wherein the second control instruction comprises the first operation mode.

[0184] The instruction transmission module 704 is configured to transmit the second control instruction to the first detection device through a first communication connection corresponding to the first detection device.

[0185] The present application also provides an embodiment of a computer device, comprising a memory and a processor, the memory stores a computer program, and the processor executes the computer program, the computer program is used to implement the above-mentioned detection device control method, and the implementation principle and technical effect are similar to those of the above-mentioned method embodiment, which will not be repeated here.

[0186] The present application also provides a computer storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by a processor, so that the processor executes the above-mentioned detection device control method, and the implementation principle and technical effect are similar to those of the above-mentioned method embodiment, which will not be repeated here.

[0187] The similar parts among the embodiments provided by the present application can be referred to each other, and the above-mentioned specific embodiments are only several examples under the general concept of the present application, and do not limit the protection scope of the present application. Any other embodiments extended according to the present application scheme without creative labor belong to the protection scope of the present application for those skilled in the art.

Claims

1. A method of detecting a device control, characterized by, The application is applied to an upper computer for detecting a liquid crystal module by a first detection device, and comprises the following steps of: generating a first control instruction for controlling the first detection device, wherein the first control instruction comprises a first device identifier and a first operation mode of the first detection device, and the first operation mode is a detection operation required to be executed by the first detection device on the liquid crystal module; searching for a first configuration file according to the first device identifier, wherein the first configuration file comprises a corresponding relationship between the first device identifier and a first instruction format, and the first instruction format is an instruction format adapted to the first detection device; converting the first control instruction into a second control instruction conforming to the first instruction format based on the first configuration file, wherein the second control instruction comprises the first operation mode; transmitting the second control instruction to the first detection device through a first communication connection corresponding to the first detection device; The method further comprises the following steps of: receiving a first detection result transmitted by the first detection device, wherein the first detection result is a result generated by the first detection device after responding to the second control instruction and executing the first operation mode on the liquid crystal module; searching for a result conversion file according to the first device identifier, wherein the result conversion file comprises a corresponding relationship between the first device identifier and a first result format, and the first result format is a result format adapted to the first detection device; converting the first detection result into a second detection result conforming to the first result format based on the result conversion file; determining whether the liquid crystal module has a defect by analyzing the second detection result.

2. The detection device control method according to claim 1, characterized by, The method further comprises the following steps of: generating prompt information if the first configuration file is not found, wherein the prompt information is used to prompt that the first configuration file is not found.

3. The detection device control method according to claim 1, wherein The upper computer is also used to detect the liquid crystal module by a second detection device, and the method further comprises the following steps of: generating a third control instruction for controlling the second detection device, wherein the third control instruction comprises a second device identifier and a second operation mode of the second detection device, and the second operation mode is a detection operation required to be executed by the second detection device, and the second detection device is different from the first detection device; searching for a second configuration file according to the second device identifier, wherein the second configuration file comprises a corresponding relationship between the second device identifier and a second instruction format, and the second instruction format is an instruction format adapted to the second detection device; converting the third control instruction into a fourth control instruction conforming to the second instruction format based on the second configuration file, wherein the fourth control instruction comprises the second operation mode; transmitting the fourth control instruction to the second detection device through a second communication connection corresponding to the second detection device.

4. The detection device control method according to claim 1, characterized by, The method further comprises the following steps of: generating an update instruction according to the received input information, wherein the update instruction comprises a correspondence between a third device identifier of a third detection device and a third instruction format, and the third instruction format is an instruction format adapted to the third detection device; in response to the update instruction, establishing a third configuration file, wherein the third configuration file comprises the correspondence between the third device identifier and the third instruction format.

5. The detection device control method according to claim 1, wherein Before transmitting the second control instruction to the first detection device through a first communication connection corresponding to the first detection device, the method further comprises: determining a first communication interface corresponding to the first detection device based on the first device identifier and first interface information corresponding to the first device identifier; transmitting a communication connection request to the first detection device through the first communication interface corresponding to the first detection device; establishing the first communication connection between the first communication interface corresponding to the first detection device after receiving confirmation connection information fed back by the first detection device.

6. The detection device control method according to claim 1, wherein The transmitting of the second control instruction to the first detection device through the first communication connection corresponding to the first detection device comprises: determining a second communication interface corresponding to the first detection device based on the first device identifier and second interface information corresponding to the first device identifier, wherein a connection between the host computer and the second communication interface is the first communication connection; transmitting the second control instruction to the second communication interface.

7. The detection device control method according to claim 5, wherein The method further comprises: periodically sending a connection monitoring instruction to the first detection device; if no connection confirmation information fed back by the first detection device according to the connection monitoring instruction is received in a current period, re-establishing a communication connection with the first detection device.

8. A detection device control apparatus characterized by comprising: The host computer applied to detection of a liquid crystal module by a first detection device comprises: an instruction generation module configured to generate a first control instruction for controlling the first detection device, wherein the first control instruction comprises a first device identifier of the first detection device and a first operation mode, and the first operation mode is a detection operation required to be performed on the liquid crystal module by the first detection device; a configuration searching module configured to search for a first configuration file according to the first device identifier, wherein the first configuration file comprises a correspondence between the first device identifier and a first instruction format, and the first instruction format is an instruction format adapted to the first detection device; a format conversion module configured to convert the first control instruction into a second control instruction conforming to the first instruction format based on the first configuration file, wherein the second control instruction comprises the first operation mode; an instruction transmission module configured to transmit the second control instruction to the first detection device through a first communication connection corresponding to the first detection device. an instruction generation module configured to generate a first control instruction for controlling the first detection device, wherein the first control instruction comprises a first device identifier of the first detection device and a first operation mode, and the first operation mode is a detection operation required to be performed on the liquid crystal module by the first detection device; a configuration searching module configured to search for a first configuration file according to the first device identifier, wherein the first configuration file comprises a correspondence between the first device identifier and a first instruction format, and the first instruction format is an instruction format adapted to the first detection device; a format conversion module configured to convert the first control instruction into a second control instruction conforming to the first instruction format based on the first configuration file, wherein the second control instruction comprises the first operation mode; an instruction transmission module configured to transmit the second control instruction to the first detection device through a first communication connection corresponding to the first detection device. A detection result processing module is configured to receive a first detection result transmitted by the first detection device, wherein the first detection result is generated by the first detection device in response to the second control instruction and after the first detection device performs the first operation mode on the liquid crystal module; According to the first device identifier, a result conversion file is searched, wherein the result conversion file comprises a corresponding relationship between the first device identifier and a first result format, and the first result format is a result format adapted by the first detection device; Based on the result conversion file, the first detection result is converted into a second detection result conforming to the first result format; By analyzing the second detection result, it is determined whether the liquid crystal module has a defect.

9. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor implements the detection device control method in any one of claims 1 to 7 when executing the program.

10. A computer storage medium, characterized in that, The computer storage medium stores a computer program, and the computer program is executed by the processor to enable the processor to execute the detection device control method in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Control instruction sending method and control instruction receiving method

    CN111880446A