Chip test system, chip test method and device
By introducing a forwarding service unit into the chip test system and forwarding preset type messages, the problem of program lags in communication between the test unit and the image processing service unit is solved, and communication efficiency and system stability are improved.
Patent Information
- Application Number
- CN202411370965.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-21
AI Technical Summary
During the testing process of the image sensing chip, the communication between the test unit and the image processing service unit is prone to program lag, especially when the message concurrency is large, which affects normal communication.
The forwarding service unit is introduced, responsible for forwarding preset type messages between the test unit and the image processing service unit, and routing them through message topics to avoid the need for different message listening services and processing logic on both sides.
It improved the communication efficiency between the test unit and the image processing service unit, reduced the cost of developing message monitoring services and processing logic, reduced the phenomenon of program stuck caused by the increase in the amount of message, and ensured normal communication.
Smart Images

Figure CN119342202A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to chip testing technology and communication technology, and in particular to a chip testing system, a chip testing method and a chip testing device. Background Art
[0002] During the image testing of the image sensor chip, the test unit that manages the test process and the image processing service unit that executes the test process need to communicate multiple times and send communication messages to each other. For different messages sent and received between the test unit and the image processing service unit, the sender and receiver need to process different messages through different message monitoring services and different processing logics. When the number of concurrent messages is large, it is easy to cause program jams on both the sender and receiver sides, affecting the normal communication between the test unit and the image processing service unit. Summary of the invention
[0003] The embodiments of the present disclosure provide a chip testing system, a chip testing method and a chip testing device to solve the problems of the above-mentioned related technologies to a certain extent.
[0004] In one aspect of an embodiment of the present disclosure, a chip testing system is provided, the chip testing system comprising a testing unit, a forwarding service unit, and an image processing service unit;
[0005] The testing unit is configured to send an image testing instruction message to the image processing service unit through the forwarding service unit; and receive an instruction processing result message sent by the image processing service unit and forwarded by the forwarding service unit, wherein the image testing instruction message and the instruction processing result message are preset type messages, and the preset type message has a message subject;
[0006] The forwarding service unit is used to forward the preset type message between the testing unit and the image processing service unit based on the message subject of the preset type message;
[0007] The image processing service unit is used to receive the image test instruction message sent by the test unit and forwarded by the forwarding service unit; process the image test instruction message to obtain an instruction processing result message; and send the instruction processing result message to the test unit through the forwarding service unit.
[0008] Another aspect of the embodiments of the present disclosure provides a chip testing method, the method being used in a forwarding service unit of a chip testing system, the chip testing system further comprising a testing unit and an image processing service unit, the method comprising:
[0009] receiving an image test instruction message sent by the test unit, wherein the image test instruction message is a preset type message, and the preset type message has a message subject;
[0010] Based on the message subject of the image test instruction message, forwarding the image test instruction message to the image processing service unit, so that the image processing service unit processes the image test instruction message to obtain an instruction processing result message;
[0011] receiving a command processing result message sent by the image processing service unit, wherein the command processing result message is the preset type message;
[0012] Based on the message subject of the instruction processing result message, the instruction processing result message is forwarded to the test unit.
[0013] In an exemplary embodiment, the image processing service unit includes at least one processing service unit, and forwarding the image test instruction message to the image processing service unit based on the message subject of the image test instruction message includes:
[0014] Determining a target processing service unit for processing the first image test instruction message based on a first message subject of the first image test instruction message, wherein the first image test instruction message is any one of the image test instruction messages;
[0015] The first image test instruction message is sent to the target processing service unit so that the target processing service unit processes the first image test instruction message to obtain a first instruction processing result message.
[0016] In an exemplary embodiment, the forwarding service unit is provided with different message partitions, a first correspondence is provided between different message partitions and different message topics, and a second correspondence is provided between different message partitions and different processing service units;
[0017] The determining, based on the first message subject of the first image test instruction message, a target processing service unit for processing the first image test instruction message comprises:
[0018] Determine a first message partition corresponding to the first message topic based on the first message topic and the first corresponding relationship of the first image test instruction message;
[0019] Determine a first processing service unit corresponding to the first message partition based on the first message partition and the second corresponding relationship;
[0020] The first processing service unit is used as a target processing service unit for processing the first image test instruction message.
[0021] Another aspect of the embodiments of the present disclosure provides a chip testing method, the method being used in a testing unit of a chip testing system, the chip testing system further comprising a forwarding service unit and an image processing service unit, the method comprising:
[0022] Sending an image test instruction message to an image processing service unit through a forwarding service unit, so that the image processing service unit processes the image test instruction message to obtain an instruction processing result message, wherein the image test instruction message is a preset type message, and the preset type message has a message subject, and the forwarding service unit is used to forward the preset type message between the test unit and the image processing service unit based on the message subject of the preset type message;
[0023] A command processing result message sent by the image processing service unit and forwarded by the forwarding service unit is received, where the command processing result message is the preset type message.
[0024] In an exemplary embodiment, the test unit includes at least one processing thread for processing messages corresponding to different message topics;
[0025] After receiving the instruction processing result message sent by the image processing service unit and forwarded by the forwarding service unit, the method further includes:
[0026] Based on the second message topic included in the second instruction processing result message, start the second processing thread corresponding to the second message topic so that the second processing thread processes the second instruction processing result message, and the second instruction processing result message is any message in the instruction processing result messages.
[0027] Another aspect of the embodiments of the present disclosure provides a chip testing method, the method being used in an image processing service unit of a chip testing system, the chip testing system further comprising a testing unit and a forwarding service unit, the method comprising:
[0028] receiving an image test instruction message sent by a test unit and forwarded by a forwarding service unit, wherein the image test instruction message is a preset type message having a message subject, and the forwarding service unit is used to forward the preset type message between the test unit and the image processing service unit based on the message subject of the preset type message;
[0029] Processing the image test instruction message to obtain an instruction processing result message, wherein the instruction processing result message is the preset type message;
[0030] The instruction processing result message is sent to the test unit through the forwarding service unit.
[0031] In an exemplary embodiment, the image processing service unit includes at least one processing thread for processing messages corresponding to different message topics; the processing of the image test instruction message to obtain an instruction processing result message includes:
[0032] Based on the first message topic included in the first image test instruction message, start the first processing thread corresponding to the first message topic, so that the first processing thread processes the first image test instruction message to obtain a first instruction processing result message, and the first image test instruction message is any message in the image test instruction messages.
[0033] According to another aspect of the embodiments of the present disclosure, a chip testing device is provided, wherein the chip testing device includes the chip testing system as described in any of the above embodiments and a lower computer.
[0034] Another aspect of the embodiments of the present disclosure provides an electronic device, comprising: a memory for storing a computer program; a processor for executing the computer program stored in the memory, and when the computer program is executed, the chip testing method described in any of the above embodiments is implemented.
[0035] Another aspect of the embodiments of the present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the chip testing method described in any of the above embodiments is implemented.
[0036] Another aspect of the embodiments of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the chip testing method described in any of the above embodiments.
[0037] In the disclosed embodiment, a forwarding service unit is provided between the test unit and the image processing service unit of the chip test system, and is used to forward the communication messages between the test unit and the image processing service unit. The test unit sends an image test instruction message to the image processing service unit through the forwarding service unit, and the image processing service unit feeds back the instruction processing result message obtained by processing the image test instruction message to the test unit through the forwarding service unit, wherein the image test instruction message and the instruction processing result message are both preset type messages, that is, the communication message between the test unit and the image processing service unit is processed into a unified preset type message, and the forwarding service unit monitors the preset type messages sent by the sender and the receiver, and forwards the message according to the message subject of the preset type message, so that the sender and the receiver of the message do not need to process different sent and received messages through different message monitoring services and different processing logics, which can improve the communication efficiency of the sender and the receiver, and reduce the manpower cost required for developing the message monitoring service and the message processing logic. In addition, when the number of concurrent messages increases, the forwarding service unit can forward a large number of communication messages between the test unit and the image processing service unit, which can reduce the jamming phenomenon of the processing programs of the sender and the receiver caused by the sudden increase in the number of messages, and ensure the normal communication between the test unit and the image processing service unit.
[0038] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0040] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
[0041] Figure 1 A schematic diagram of the structure of a chip testing system provided by an exemplary embodiment of the present disclosure.
[0042] Figure 2 A schematic diagram of the structure of an image processing service unit provided by an exemplary embodiment of the present disclosure.
[0043] Figure 3 A schematic structural diagram of a test unit provided for an exemplary embodiment of the present disclosure.
[0044] Figure 4 It is a structural schematic diagram of a chip testing system provided by another exemplary embodiment of the present disclosure.
[0045] Figure 5 It is a structural schematic diagram of a chip testing system provided by another exemplary embodiment of the present disclosure.
[0046] Figure 6is a flowchart of a chip testing method provided by an exemplary embodiment of the present disclosure.
[0047] Figure 7 is a flowchart of a chip testing method provided by another exemplary embodiment of the present disclosure.
[0048] Figure 8 is a flowchart of a chip testing method provided by another exemplary embodiment of the present disclosure.
[0049] Fig. 9 It is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0050] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.
[0051] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.
[0052] It should also be understood that in the embodiments of the present disclosure, “plurality” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.
[0053] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0054] In addition, the term "and / or" in the present disclosure is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present disclosure generally indicates that the associated objects before and after are in an "or" relationship.
[0055] It should also be understood that the description of the various embodiments in the present disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0056] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0057] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0058] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0059] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0060] The disclosed embodiments can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0061] Electronic devices such as terminal devices, computer systems, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by computer systems. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.
[0062] In the related art, the test unit for managing the test process and the image processing service unit for executing the test process communicate based on the communication protocol. For example, based on the Transmission Control Protocol (TCP) to send and receive messages, the sender and the receiver need to start the corresponding monitoring service, and write the corresponding message processing logic according to the different messages of the sender and the receiver, that is, the code for monitoring messages and the code for processing different messages need to be written separately for the sender and the receiver. When the number of concurrent messages increases, such as when the number of test items increases suddenly, the code for both the sender and the receiver needs to be modified again, the development workload increases greatly, and the code modification is difficult. In addition, when the number of concurrent messages increases, the sender and the receiver are prone to program jams or even crashes, affecting normal communication.
[0063] In an embodiment of the present disclosure, a chip testing system is proposed. The chip testing system includes a forwarding service unit for forwarding communication messages between a testing unit and an image processing service unit, so as to solve the above technical problems to a certain extent.
[0064] like Figure 1 As shown, it shows a structural block diagram of a chip testing system provided by an exemplary embodiment of the present disclosure, and the chip testing system includes a testing unit 110, a forwarding service unit 120 and an image processing service unit 130.
[0065] The test unit 110 is a unit in the chip test system for managing the test process. In an exemplary embodiment, the test unit 110 can manage and issue multiple test items of the chip to be tested, and output the test results of the multiple test items.
[0066] The image processing service unit 130 is a unit for executing the test flow in the chip test system. In an exemplary embodiment, during the image test process, the test unit 110 sends a test item to the image processing service unit 130, and the image processing service unit 130 controls the image acquisition board in the lower computer to execute the test item according to the test item and obtains the test result corresponding to the test item, and forwards the test result to the test unit 110.
[0067] The forwarding service unit 120 is used to forward messages between the test unit 110 and the image processing service unit 130. In one possible implementation, the forwarding service unit 120 is used to forward preset type messages, which are message bodies with fixed structures created according to preset rules. In the embodiment of the present disclosure, the preset type messages have message subjects, which are used to distinguish different types of messages. When the test unit 110 forwards a message to the image processing service unit 130 through the forwarding service unit 120, the message to be forwarded may be first processed into a preset type message, and then sent to the forwarding service unit 120 for forwarding by the forwarding service unit 120. When the image processing service unit 130 forwards a message to the test unit 110 through the forwarding service unit 120, the message to be forwarded may be first processed into a preset type message, and then sent to the forwarding service unit 120 for forwarding.
[0068] In a possible implementation, the test unit 110, the forwarding service unit 120 and the image processing service unit 130 may be integrated into a host computer of the test device, the test unit 110 issues test items, the image processing service unit 130 controls the host computer of the test device to execute the test items and obtain the test results corresponding to the test items, and the forwarding service unit 120 forwards messages between the test unit 110 and the image processing service unit 130.
[0069] In another possible implementation, the test unit 110, the forwarding service unit 120, and the image processing service unit 130 may be independently configured. For example, the test unit 110 may be a host computer (Tester) of the test device, the image processing service unit 130 may be an image processing server, and the forwarding service unit 120 may be a forwarding server. The host computer sends the test items to the image processing server through the forwarding server, and the image processing server controls the lower computer to execute the test items and obtain the test results corresponding to the test items, and returns the test results to the host computer through the forwarding server.
[0070] The forwarding service unit 120 may be a unit created based on a distributed message subscription-publishing system. The distributed message subscription-publishing system may be a Kafka system, a RabbitMQ system, a RocketMQ system, etc. The preset type message may be a corresponding Kafka message, a RabbitMQ message, or a RocketMQ message.
[0071] In an exemplary embodiment, the test unit sends an image test instruction message to the image processing service unit through the forwarding service unit. The image test instruction message is a preset type message with a corresponding message subject. The forwarding service unit forwards the image test instruction message to the image processing service unit based on the message subject of the image test instruction message. The image processing service unit is used to receive the image test instruction message forwarded by the forwarding service unit and process the image test instruction message to obtain an instruction processing result message.
[0072] Illustratively, the image test instruction message may be a Kafka message having a message topic.
[0073] The image test instruction message is any message that the test unit needs to send to the image processing service unit during the test process. In an exemplary embodiment, the image test instruction message may be a message including test items corresponding to the image test, and different test items correspond to different image acquisition conditions, image acquisition contents, etc. The test unit may generate an image test instruction message based on the test items and send it to the forwarding service unit. The forwarding service unit forwards the image test instruction message including the test items to the image processing service unit, and the image processing service unit processes the image test instruction message. In a possible implementation, the processing process of a test item may be to send the test item to the image acquisition board in the lower computer, so that the image acquisition board performs image acquisition based on the test item and returns it to the image processing service unit, and the image processing service unit processes the image acquisition result to obtain the test result corresponding to the test item.
[0074] The image processing service unit generates an instruction processing result message based on the processing result obtained by processing the image test instruction message, and sends the instruction processing result message to the test unit through the forwarding service unit. The forwarding service unit forwards the instruction processing result message to the test unit based on the message subject of the instruction processing result message. The test unit receives the instruction processing result message forwarded by the forwarding service unit and processes the instruction processing result message. Among them, the instruction processing result message may include any message that the image processing service unit needs to send to the test unit. Exemplarily, after the image processing service unit obtains the test result corresponding to the test item, it generates the corresponding instruction processing result message and forwards it to the test unit through the forwarding service unit. Schematically, the instruction processing result message may be a Kafka message with a message subject (Topic).
[0075] In the disclosed embodiment, a forwarding service unit is set between the test unit and the image processing service unit of the chip test system, and is used to forward the communication message between the test unit and the image processing service unit. The test unit sends an image test instruction message to the image processing service unit through the forwarding service unit, and the image processing service unit feeds back the instruction processing result message obtained by processing the image test instruction message to the test unit through the forwarding service unit, wherein the image test instruction message and the instruction processing result message are both preset type messages, that is, the communication message between the test unit and the image processing service unit is processed into a unified preset type message, and the forwarding service unit monitors the preset type messages sent by the sender and the receiver, and forwards the message according to the message subject of the preset type message, so that the sender and the receiver of the message do not need to process different sent and received messages through different message monitoring services and different processing logics, which can improve the communication efficiency of the sender and the receiver, and reduce the manpower cost required for developing message monitoring services and message processing logic. In addition, when the number of concurrent messages increases, the forwarding service unit can forward a large number of communication messages between the test unit and the image processing service unit, which can reduce the jamming phenomenon of the processing programs of the sender and the receiver caused by the sudden increase in the number of messages, and ensure the normal communication between the test unit and the image processing service unit.
[0076] In an exemplary embodiment, the image processing service unit includes at least one processing thread for processing messages corresponding to different message topics.
[0077] The image processing service unit is also used to start the first processing thread corresponding to the first message topic based on the first message topic included in the first image test instruction message, so that the first processing thread processes the first image test instruction message to obtain a first instruction processing result message, and the first image test instruction message is any message in the image test instruction message.
[0078] For example, Figure 2As shown, the image processing service unit may include different processing threads 201 for processing different message topics, including a first processing thread for processing a message corresponding to a first message topic, a second processing thread for processing a message corresponding to a second message topic, and a third processing thread for processing a message corresponding to a third message topic. After receiving the message forwarded by the forwarding service unit, the image processing service unit starts the corresponding processing thread to process the message according to the message topic of the message. In one example, after receiving the first image test instruction message, the image processing service unit determines the first message topic corresponding to the first image test instruction message, starts the first processing thread corresponding to the first message topic, and processes the first image test instruction message through the first processing thread. The first processing thread includes at least one processing thread for processing the message corresponding to the first message topic. Optionally, when the first processing thread for processing the first message topic includes multiple processing threads, one or more processing threads can be started from the multiple processing threads included in the first processing thread to process the first image test instruction message, and the number of selected threads can be determined according to the amount of tasks required to be processed by the first image test instruction message.
[0079] Optional, such as Figure 2 As shown, the image processing service unit also includes an image calculation thread 202 and an image acquisition thread 203. When the first image test instruction message includes an image acquisition instruction, the first processing thread will start the image acquisition thread, and the image acquisition thread sends an image acquisition instruction to the image acquisition board to complete image acquisition and obtain the acquired image. The image calculation thread is used to perform image calculation on the acquired image to obtain the test result of the corresponding test item.
[0080] In an exemplary embodiment, the test unit includes at least one processing thread for processing messages corresponding to different message topics. The test unit is further configured to start a second processing thread corresponding to the second message topic based on the second message topic included in the second instruction processing result message, so that the second processing thread processes the second instruction processing result message, and the second instruction processing result message is any message in the instruction processing result message.
[0081] like Figure 3As shown, the test unit includes different processing threads 301 for processing different message topics, including a first processing thread for processing a message corresponding to a first message topic, a second processing thread for processing a message corresponding to a second message topic, and a fourth processing thread for processing a message corresponding to a fourth message topic. When the test unit receives a message forwarded by the forwarding service unit, it starts the corresponding processing thread according to the message topic corresponding to the message. In one example, when the test unit receives a second instruction processing result message, it starts the second processing thread corresponding to the second message topic according to the second message topic of the second instruction processing result message, and processes the second instruction result message through the second processing thread. The second processing thread includes at least one processing thread for processing the message corresponding to the second message topic. Optionally, when the second processing thread for processing the second message topic includes multiple processing threads, one or more processing threads can be started in the multiple processing threads included in the second processing thread to process the second instruction processing result message, and the number of selected threads can be determined according to the amount of tasks required to process the second instruction processing result message.
[0082] In a possible implementation, the test unit and the image processing service unit may both be provided with processing threads for processing the same message topic. For example, the image processing service unit may be provided with a first processing thread for processing messages corresponding to a first message topic, and the test unit may also be provided with a first processing thread for processing messages corresponding to the first message topic; the test unit may be provided with a second processing thread for processing messages corresponding to a second message topic, and the image processing service unit may also be provided with a second processing thread for processing messages corresponding to the second message topic.
[0083] In another possible implementation, the test unit and the image processing service unit may also be separately provided with processing threads for processing specific message topics. For example, the image processing service unit also needs to process a specific type of message, and a third message topic may be set for the specific type of message, and a third processing thread for processing messages corresponding to the third message topic may be set. The test unit sets a fourth message topic for the specific type of message to be processed, and a fourth processing thread for processing messages corresponding to the fourth message topic may be set.
[0084] Optional, such as Figure 3 As shown, the test unit is also provided with a configuration file creation thread 302, a file parsing thread 303 and a result statistics thread 304. The configuration file creation thread can be used to create a preset type message corresponding to the test item according to the configured test item and send it to the forwarding service unit. The file parsing thread is used to perform file parsing. The result statistics thread is used to perform real-time statistics on the test results corresponding to each test item to obtain the test results corresponding to multiple test items.
[0085] In the disclosed embodiment, processing threads corresponding to various message topics are respectively provided in the image processing service unit and the test unit. Different threads are provided to process messages with different message topics, which helps to manage and process different types of messages. When the concurrent message volume is large, messages with different message topics are processed by different threads, so that a large number of messages can be processed in an orderly and rapid manner, which helps to improve the message processing efficiency, improve the communication efficiency between the sender and the receiver, and reduce the jamming of the processing programs of the sender and the receiver due to the sudden increase in the message volume.
[0086] In a possible implementation, the test unit and the image processing service unit may be respectively provided with message receiving and sending threads for sending and receiving messages of preset types. After receiving the messages of preset types, the corresponding processing threads may be started according to the message subject of the received messages of preset types. Figure 3 As shown, a first message transceiving thread 305 is provided in the test unit for sending and receiving preset type messages. The test unit is used to send preset type messages (including image test instruction messages) to the forwarding service unit through the first message transceiving thread, and receive preset type messages (including instruction processing result messages) sent by the forwarding service unit through the first message transceiving thread. In an exemplary embodiment, after receiving the second instruction processing message, the first message transceiving thread in the test unit determines the second message topic corresponding to the second instruction processing result message, and starts the second processing thread corresponding to the second message topic to process the second instruction processing result message.
[0087] like Figure 2 As shown, a second message receiving and sending thread 204 is provided in the image processing service unit, and the second message receiving and sending thread is used to send and receive messages of a preset type. After receiving a message of a preset type, the corresponding processing thread can be started according to the message subject of the received message of the preset type. The image processing service unit is used to send a message of a preset type (including an instruction processing result message) to the forwarding service unit through the second receiving and sending thread, and to receive a message of a preset type (including an image test instruction message) through the second receiving and sending thread. In an exemplary embodiment, after receiving a first image test instruction message, the second receiving and sending thread in the image processing service unit determines the first message subject corresponding to the first image test instruction message, and starts the first processing thread corresponding to the first message subject to process the first image test instruction message.
[0088] Setting up message sending and receiving threads for sending and receiving preset types of messages in the test unit and the image processing service unit respectively helps to improve the efficiency of message forwarding; in addition, the message sending and receiving threads can start the corresponding processing threads according to the message subject of the received message, which can improve the message management and processing efficiency and improve the communication efficiency between the sender and the receiver.
[0089] In a possible implementation, Figure 3As shown, the test unit includes an image processing client (ImageProcessor.exe), and the image processing client is configured with different threads, such as Figure 2 As shown, the image processing service unit includes an image processing server (ImageProcessorSerVe r.exe), and different threads are set in the image processing server. The image processing client in the test unit and the image processing server in the image processing service unit act as message senders and receivers, forward messages through the forwarding service unit, and cooperate to execute the image test process of the image sensor chip.
[0090] In a possible implementation, the image processing service unit includes at least one processing service unit, each of which may be provided with the following Figure 2 The structure of the image processing service unit shown. Optionally, the image processing service unit includes multiple processing service units, and different processing service units can be used to process messages of different message topics. By setting multiple processing service units, the efficiency of image acquisition and image processing during the test can be improved. Exemplarily, the image processing service unit may include multiple image processing servers, and different image processing servers are used to process messages of different message topics.
[0091] The forwarding service unit is also used to determine the target processing service unit for processing the first image test instruction message based on the first message subject of the first image test instruction message; send the first image test instruction message to the target processing service unit, where the first image test instruction message is any message in the image test instruction message. That is, after the forwarding service unit receives the preset type message sent by the test unit, it determines the target processing service unit for processing the preset type message in at least one processing service unit included in the image processing service unit according to the message subject of the preset type message, and then forwards it to the target processing service unit. The target processing service unit is used to process the first image test instruction message to obtain a first instruction processing result message.
[0092] Optionally, the forwarding service unit is provided with different message partitions, and a first correspondence is provided between different message partitions and different message topics, and a second correspondence is provided between different message partitions and different processing service units. The message partition is a storage unit in the forwarding service unit for storing preset type messages, and the forwarding service unit forwards the preset type messages stored in the message partition one by one. The first correspondence is the correspondence between different message partitions and different message topics. Optionally, the correspondence between the message partitions and the message topics can be a one-to-one correspondence, that is, one message partition (also called a storage unit) corresponds to one message topic; or, the correspondence between the message partitions and the message topics can also be a many-to-one relationship, and multiple message partitions correspond to one message topic. When there are many messages corresponding to one message topic, multiple message partitions can be set in the forwarding service unit for storage respectively. In a possible implementation, different message partitions may also be provided with a second correspondence with a plurality of processing service units included in the image processing service unit. The correspondence between the message partitions and the processing service units may be a one-to-one correspondence, with one message partition corresponding to one processing service unit. Alternatively, the correspondence between the message partitions and the processing service units may also be a one-to-many correspondence, with one message partition corresponding to a plurality of processing service units. When a large number of preset type messages are stored in a message partition, a corresponding plurality of processing service units may be provided to facilitate rapid forwarding. Alternatively, the correspondence between the message partitions and the processing service units may also be a many-to-one correspondence, with a plurality of message partitions corresponding to one processing service unit. The number of preset type messages stored in a message partition may be small, and the preset type messages in a plurality of message partitions may be processed by one processing service unit.
[0093] In one example, a forwarding service unit is used to determine the first message partition corresponding to the first message subject based on the first message subject of the first image test instruction message and the first corresponding relationship; determine the first processing service unit corresponding to the first message partition based on the first message partition and the second corresponding relationship; and use the first processing service unit as the target processing service unit for processing the first image test instruction message. When the forwarding service unit receives the first image test instruction message, it determines the first message partition corresponding to the first message subject based on the first corresponding relationship, and stores the first image test instruction message in the first message partition. When the message partition corresponding to the first message subject includes multiple message partitions, any message partition in the corresponding message partitions can be selected as the first message partition for storage, or the message partition with the largest remaining storage space in the corresponding message partitions can be selected as the first message partition for storage.
[0094] When forwarding the first image test instruction message in the first message partition, the forwarding service unit determines the first processing service unit corresponding to the first message partition as the target processing service unit for processing the first image test instruction message according to the second corresponding relationship. When the first message partition corresponds to multiple processing service units, any one of the corresponding processing service units can be selected as the first processing service unit for message forwarding, or the processing service unit with the least processing tasks can be selected as the first processing service unit for message forwarding.
[0095] Indicatively, Figure 4 As shown, the image processing service unit includes processing service unit 1 and processing service unit 2, and the forwarding service unit includes message partition 1 and message partition 2, wherein message partition 1 has a corresponding relationship with processing service unit 1. When the forwarding service unit receives image test instruction message 1, it determines the corresponding message partition as message partition 1 according to its message subject, stores it in message partition 1, and forwards it to processing service unit 1 corresponding to message partition 1 when forwarding.
[0096] In the embodiment of the present disclosure, message partitions corresponding to different message topics are set in the forwarding service unit, which facilitates the message management and forwarding of a large number of preset type messages and improves the message forwarding efficiency; the image processing service unit includes multiple processing service units, which respectively process preset type messages corresponding to different message topics, which helps to improve the message processing efficiency.
[0097] There is a first corresponding relationship between different message partitions and different message topics. The forwarding service unit can store the preset type of message in the corresponding message partition according to the message topic, which can improve the message management efficiency; there is a second corresponding relationship between different message partitions and different processing service units, which facilitates the forwarding service unit to determine the corresponding processing service unit, thereby improving the message forwarding efficiency.
[0098] In an exemplary embodiment, the forwarding service unit includes a forwarding service cluster, and the forwarding service cluster includes multiple forwarding servers. Figure 5 As shown, message forwarding is performed between the test unit 501 and the plurality of processing service units 503 via the forwarding service cluster 502 .
[0099] A forwarding service cluster is used to forward preset type messages between different processing service units and a test unit using different forwarding servers respectively when the image processing service unit includes multiple processing service units. Optionally, the forwarding service cluster includes multiple forwarding servers, and different forwarding servers have a third correspondence with different processing service units. Optionally, the third correspondence may be a one-to-one correspondence. When the target forwarding server receives the preset type message sent by the test unit, the corresponding target processing service unit is determined according to the third correspondence, and the preset type message is forwarded to the corresponding target processing service unit. Alternatively, the third correspondence may be a one-to-many relationship, in which one forwarding server corresponds to multiple processing service units. When the forwarding server forwards a preset type message, any one of the corresponding multiple processing service units may be selected for message forwarding. Alternatively, the third correspondence may also be a many-to-one correspondence, in which multiple forwarding servers correspond to one processing service unit.
[0100] The forwarding service cluster is also used to use a second forwarding server to forward the preset type message between the test unit and the image processing service unit when the first forwarding server that forwards the preset type message between the test unit and the image processing service unit is down, and the first forwarding server and the second forwarding server belong to the forwarding service cluster. The first forwarding server can be any forwarding server in the forwarding service cluster, and the second forwarding server can be another forwarding server in the forwarding service cluster that operates normally except the first forwarding server. When the first forwarding server in the forwarding service cluster is down, the preset type message that has not been forwarded in the first forwarding server can be continued to be forwarded by another second forwarding server in the forwarding service cluster that operates normally, to ensure that the message is forwarded normally.
[0101] Schematically, the forwarding service unit is a unit set up based on the Kafka system, and the forwarding service cluster can be a Kafka server cluster (Kafka Server Cluster), including multiple Kafka servers.
[0102] In the disclosed embodiment, the forwarding service unit is deployed in a cluster manner, which can provide a message fault tolerance mechanism. In the case of a forwarding server failure, the message can be forwarded through another forwarding server to ensure the normal communication between the test unit and the image processing service unit. In addition, the forwarding service unit is deployed in a cluster manner, which is convenient for the expansion of the image processing service unit. Multiple processing service units can be set up to facilitate the simultaneous execution of multiple tests or the testing of multiple image sensor chips, which is convenient for the expansion of the test business.
[0103] In an exemplary embodiment, Figure 6As shown, it shows a flowchart of a chip testing method provided by an exemplary embodiment of the present disclosure, the method is used in the forwarding service unit of the above chip testing system, and the method includes the following steps:
[0104] Step 610: receiving an image test instruction message sent by a test unit. The image test instruction message is a preset type message, and the preset type message has a message subject.
[0105] The testing unit in the chip testing system sends an image testing instruction message to the image processing service unit through the forwarding service unit.
[0106] Step 620: forward the image test instruction message to the image processing service unit based on the message subject of the image test instruction message, so that the image processing service unit processes the image test instruction message to obtain an instruction processing result message.
[0107] The forwarding service unit forwards the image test instruction message to the image processing service unit according to the message subject of the image test instruction message.
[0108] In an exemplary embodiment, the image processing service unit includes at least one processing service unit. The forwarding service unit can determine the processing service unit for processing each image test instruction message according to the message subject of each image test instruction message, and forward it to the corresponding processing service unit. The process includes steps 6201-6203:
[0109] Step 6201: Determine a target processing service unit for processing a first image test instruction message based on a first message subject of a first image test instruction message, wherein the first image test instruction message is any message in the image test instruction message.
[0110] In an exemplary embodiment, the forwarding service unit is provided with different message partitions, a first correspondence is provided between different message partitions and different message topics, and a second correspondence is provided between different message partitions and different processing service units. The forwarding service unit can determine the target processing service unit for processing the first image test instruction message based on the first correspondence and the second correspondence. The process includes steps ac:
[0111] Step a: determining a first message partition corresponding to the first message topic based on the first message topic of the first image test instruction message and the first corresponding relationship.
[0112] Step b: determining a first processing service unit corresponding to the first message partition based on the corresponding relationship between the first message partition and the second message partition.
[0113] Step c: using the first processing service unit as a target processing service unit for processing the first image test instruction message.
[0114] Step 6203: Send a first image test instruction message to a target processing service unit so that the target processing service unit processes the first image test instruction message to obtain a first instruction processing result message.
[0115] After the forwarding service unit determines the target processing service unit that processes the first image test instruction message, it sends the first image test instruction message to the target processing service unit, and the target processing service unit processes the first image test instruction message to obtain a first instruction processing result message.
[0116] Step 630: Receive the instruction processing result message sent by the image processing service unit, where the instruction processing result message is a preset type message.
[0117] The forwarding service unit may also receive an instruction processing result message sent by the image processing service unit, such as a first instruction processing result message.
[0118] Step 640: forward the instruction processing result message to the test unit based on the message subject of the instruction processing result message.
[0119] The forwarding service unit forwards the message to the test unit according to the message subject of the instruction processing result message.
[0120] The chip testing method in the embodiment of the present disclosure may correspond to the embodiment of the chip testing system in the present disclosure, and the relevant contents may be referenced to each other and will not be repeated here.
[0121] In the disclosed embodiment, the forwarding service unit forwards messages between the test unit and the image processing service unit based on the message subject of the preset type of message, which can improve the communication efficiency between the test unit and the image processing service unit, so that the test unit and the image processing service unit do not need to set different monitoring services and processing logic for different types of messages, which can reduce the manpower cost required for developing message monitoring services and message processing logic. In addition, when the number of concurrent messages increases, the forwarding service unit can forward a large number of communication messages between the test unit and the image processing service unit, which can reduce the jamming of the processing programs of the sender and the receiver caused by the sudden increase in the number of messages, and ensure normal communication between the test unit and the image processing service unit.
[0122] In the embodiment of the present disclosure, message partitions corresponding to different message topics are set in the forwarding service unit, which is convenient for message management and forwarding of a large number of preset type messages, and can improve the message forwarding efficiency. There is a first correspondence between different message partitions and different message topics. The forwarding service unit can store the preset type of message in the corresponding message partition according to the message topic, which can improve the message management efficiency; there is a second correspondence between different message partitions and different processing service units, which is convenient for the forwarding service unit to determine the corresponding processing service unit, which can improve the message forwarding efficiency.
[0123] In an exemplary embodiment, Figure 7 As shown, it shows a flowchart of a chip testing method provided by an exemplary embodiment of the present disclosure, the method is used in a test unit of the above chip testing system, and the method includes the following steps:
[0124] Step 710: Send an image test instruction message to the image processing service unit through the forwarding service unit, so that the image processing service unit processes the image test instruction message to obtain an instruction processing result message.
[0125] The image test instruction message is a preset type message having a message subject. The forwarding service unit is used to forward the preset type message between the test unit and the image processing service unit based on the message subject of the preset type message.
[0126] Step 720: Receive the instruction processing result message sent by the image processing service unit and forwarded by the forwarding service unit, where the instruction processing result message is a preset type message.
[0127] In an exemplary embodiment, the test unit includes at least one processing thread for processing messages corresponding to different message topics.
[0128] After the test unit receives the instruction processing result message sent by the image processing service unit and forwarded by the forwarding service unit, it starts the second processing thread corresponding to the second message topic based on the second message topic included in the second instruction processing result message, so that the second processing thread processes the second instruction processing result message, and the second instruction processing result message is any message in the instruction processing result message.
[0129] The chip testing method in the embodiment of the present disclosure may correspond to the embodiment of the chip testing system in the present disclosure, and the relevant contents may be referenced to each other and will not be repeated here.
[0130] In the disclosed embodiment, the test unit processes the message to be sent to the image processing service unit as a preset type message, forwards it to the image processing service unit via the forwarding service unit, and can also receive the preset type message sent by the image processing service unit and forwarded by the forwarding service unit. The test unit uniformly processes the messages as preset type messages, which facilitates the setting of the message processing logic and can improve the communication efficiency with the image processing service unit.
[0131] In addition, the test unit is equipped with processing threads corresponding to different message topics, which can help manage and process different types of messages. When the concurrent message volume is large, messages with different message topics can be processed by different threads, which can process a large number of messages in an orderly and fast manner. This helps to improve message processing efficiency, improve communication efficiency with the image processing service unit, and reduce the jamming of message processing programs caused by a sudden increase in message volume.
[0132] In an exemplary embodiment, Figure 8 As shown, it shows a flowchart of a chip testing method provided by an exemplary embodiment of the present disclosure, the method is used in the image processing service unit of the above chip testing system, and the method includes the following steps:
[0133] Step 810: Receive an image test instruction message sent by a test unit and forwarded by a forwarding service unit.
[0134] The image test instruction message is a preset type message having a message subject. The forwarding service unit is used to forward the preset type message between the test unit and the image processing service unit based on the message subject of the preset type message.
[0135] Step 820: Process the image test instruction message to obtain an instruction processing result message, where the instruction processing result message is a preset type message.
[0136] Step 830: Send the instruction processing result message to the test unit through the forwarding service unit.
[0137] In an exemplary embodiment, the image processing service unit includes at least one processing thread for processing messages corresponding to different message topics; in the process of processing an image test instruction message to obtain an instruction processing result message, based on the first message topic included in the first image test instruction message, the first processing thread corresponding to the first message topic is started, so that the first processing thread processes the first image test instruction message to obtain a first instruction processing result message, and the first image test instruction message is any message in the image test instruction message.
[0138] The chip testing method in the embodiment of the present disclosure may correspond to the embodiment of the chip testing system in the present disclosure, and the relevant contents may be referenced to each other and will not be repeated here.
[0139] In the disclosed embodiment, the image processing service unit processes the message to be sent to the test unit into a preset type message, forwards it to the test unit via the forwarding service unit, and can also receive the preset type message sent by the test unit and forwarded by the forwarding service unit. The image processing service unit uniformly processes the messages into preset type messages, which facilitates the setting of the message processing logic and can improve the communication efficiency with the test unit.
[0140] In addition, the image processing service unit is provided with processing threads corresponding to different message topics, which can help manage and process different types of messages. In the case of a large number of concurrent messages, different threads can be used to process messages of different message topics, which can quickly and orderly process a large number of messages, helping to improve message processing efficiency, improve communication efficiency with the test unit, and reduce the jamming of the message processing program caused by a sudden increase in the number of messages. The image processing service unit can also be provided with multiple processing service units, and different processing service units can be used to process messages of different message topics, which helps to improve the processing efficiency of a large number of messages.
[0141] In addition, an embodiment of the present disclosure further provides an electronic device, including:
[0142] Memory for storing computer programs;
[0143] The processor is used to execute the computer program stored in the memory, and when the computer program is executed, the chip testing method described in any of the above embodiments of the present disclosure is implemented.
[0144] like Fig. 9 As shown, the electronic device includes one or more processors and memory.
[0145] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
[0146] The memory may store one or more computer program products, and the memory may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program products may be stored on the computer-readable storage medium, and the processor may run the computer program product to implement the chip testing method of each embodiment of the present disclosure described above and / or other desired functions.
[0147] In one example, the electronic device may further include: an input device and an output device, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0148] In addition, the input device may also include, for example, a keyboard, a mouse, and the like.
[0149] The output device can output various information to the outside, including determined distance information, direction information, etc. The output device can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0150] Of course, to simplify, Fig. 9 Only some of the components related to the present disclosure in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device may further include any other appropriate components.
[0151] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the chip testing method according to various embodiments of the present disclosure described in the above part of this specification.
[0152] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0153] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the chip testing method according to various embodiments of the present disclosure described in the above part of this specification.
[0154] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0155] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0156] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0157] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0158] The method and apparatus of the present disclosure may be implemented in many ways. For example, the method and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
[0159] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0160] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0161] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A chip testing system, characterized in that: The chip testing system includes a testing unit, a forwarding service unit and an image processing service unit; The testing unit is used to send an image testing instruction message to the image processing service unit through the forwarding service unit; receiving an instruction processing result message sent by the image processing service unit and forwarded by the forwarding service unit, wherein the image test instruction message and the instruction processing result message are preset type messages, and the preset type message has a message subject; The forwarding service unit is used to forward the preset type message between the testing unit and the image processing service unit based on the message subject of the preset type message; The image processing service unit is configured to receive the image test instruction message sent by the test unit and forwarded by the forwarding service unit; The image test instruction message is processed to obtain an instruction processing result message; and the instruction processing result message is sent to the test unit through the forwarding service unit.
2. The system according to claim 1, characterized in that The image processing service unit includes at least one processing thread for processing messages corresponding to different message topics; The image processing service unit is also used to start a first processing thread corresponding to a first message topic included in a first image test instruction message, based on the first message topic included in the first image test instruction message, so that the first processing thread processes the first image test instruction message to obtain a first instruction processing result message, and the first image test instruction message is any message in the image test instruction messages.
3. The system according to claim 1, characterized in that The test unit includes at least one processing thread for processing messages corresponding to different message topics; The test unit is also used to start a second processing thread corresponding to a second message topic based on a second message topic included in a second instruction processing result message, so that the second processing thread processes the second instruction processing result message, and the second instruction processing result message is any message in the instruction processing result message.
4. The system according to any one of claims 1 to 3, characterized in that: The image processing service unit includes at least one processing service unit; The forwarding service unit is further used to determine a target processing service unit for processing the first image test instruction message based on the first message subject of the first image test instruction message; send the first image test instruction message to the target processing service unit, wherein the first image test instruction message is any one of the image test instruction messages; The target processing service unit is used to process the first image test instruction message to obtain a first instruction processing result message.
5. The system according to claim 4, characterized in that The forwarding service unit is provided with different message partitions, a first corresponding relationship is provided between different message partitions and different message topics, and a second corresponding relationship is provided between different message partitions and different processing service units; The forwarding service unit is further used to determine a first message partition corresponding to the first message topic based on the first message topic of the first image test instruction message and the first corresponding relationship; and determine a first processing service unit corresponding to the first message partition based on the first message partition and the second corresponding relationship; The first processing service unit is used as a target processing service unit for processing the first image test instruction message.
6. The system according to any one of claims 1 to 3, characterized in that: The test unit is provided with a first message receiving and sending thread, and the image processing service unit is provided with a second message receiving and sending thread; The test unit is further configured to send the preset type message to the forwarding service unit through the first message sending and receiving thread, and receive the preset type message sent by the forwarding service unit through the first message sending and receiving thread; The image processing service unit is further configured to send the preset type message to the forwarding service unit through the second message sending and receiving thread, and receive the preset type message sent by the forwarding service unit through the second message sending and receiving thread.
7. The system according to any one of claims 1 to 3, characterized in that: The forwarding service unit includes a forwarding service cluster, and the forwarding service cluster includes a plurality of forwarding servers; The forwarding service cluster is used to use different forwarding servers to forward the preset type of message between different processing service units and the test unit when the image processing service unit includes multiple processing service units; The forwarding service cluster is also used to use a second forwarding server to forward the preset type messages between the test unit and the image processing service unit when the first forwarding server for forwarding the preset type messages between the test unit and the image processing service unit crashes, and the first forwarding server and the second forwarding server belong to the forwarding service cluster.
8. A chip testing method, characterized in that: The method is used for a forwarding service unit of a chip testing system, wherein the chip testing system further comprises a testing unit and an image processing service unit, and the method comprises: receiving an image test instruction message sent by the test unit, wherein the image test instruction message is a preset type message, and the preset type message has a message subject; Based on the message subject of the image test instruction message, forwarding the image test instruction message to the image processing service unit, so that the image processing service unit processes the image test instruction message to obtain an instruction processing result message; receiving a command processing result message sent by the image processing service unit, wherein the command processing result message is the preset type message; Based on the message subject of the instruction processing result message, the instruction processing result message is forwarded to the test unit.
9. A chip testing device, characterized in that: The chip testing device comprises a chip testing system as described in any one of claims 1 to 7 and a lower computer.
10. An electronic device, characterized in that: include: Memory for storing computer programs; The processor is used to execute the computer program stored in the memory, and when the computer program is executed, the chip testing method described in claim 8 is implemented.