Assembly detection method and device, server, computer device and storage medium
By combining the micro-sensing components and the control module, the assembly status of the circuit board is accurately determined, and control commands are generated to ensure reliable assembly of the circuit board. This solves the problem of reduced communication speed and number of channels after server assembly, and ensures the performance of the server.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2023-12-15
- Publication Date
- 2026-06-26
AI Technical Summary
In existing technologies, servers suffer from reduced communication speed and fewer channels after the circuit boards are assembled, leading to performance degradation.
A micro-sensing component is used to monitor the insertion position of the board. The control module determines the assembly status of the board and generates corresponding control commands to control the display module to switch display modes, thereby achieving reliable assembly of the board.
By accurately confirming the assembly status of the boards, the risk of reduced communication speed and channel quantity is reduced, ensuring the normal operation and performance of the server.
Smart Images

Figure CN117707869B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of server technology, and in particular to an assembly inspection method, an assembly inspection device, a server, a computer device, and a computer-readable storage medium. Background Technology
[0002] With the iteration of the PCIe (Peripheral Component Interconnect Express) protocol, the speed standards supported by the PCIe protocol are also rapidly increasing. However, currently, after assembling cards in servers, there are issues such as reduced speed, failure to meet the currently supported speed standards, or a reduction in the number of channels, causing a rapid decline in server performance and seriously affecting the normal use of the server. Summary of the Invention
[0003] Therefore, it is necessary to provide an assembly testing method, assembly testing device, server, computer equipment, and computer-readable storage medium that can reliably assemble circuit boards and reduce the risk of reduced communication speed and / or number of channels, in order to address the above-mentioned technical problems.
[0004] On one hand, an assembly inspection method is provided, comprising: a micro-sensing component monitoring the insertion position of a circuit board, forming a combination of position parameters of the circuit board, and sending the combination of position parameters to a control module; the control module receiving and parsing the combination of position parameters, identifying the insertion position indicated by the combination of position parameters, determining the assembly state of the circuit board based on the insertion position, and generating a control command matching the assembly state of the circuit board; wherein, the control command is used to control the display module to switch between different display modes; the display module receiving the control command, identifying and switching to the display mode indicated by the control command.
[0005] In one embodiment of this application, the macro sensing component has a first tracking length along a first direction and a second tracking length along a second direction; wherein, the first direction is parallel to the arrangement direction of the interface in the slot, the first direction is perpendicular to the second direction, and the second direction is parallel to the insertion direction of the board; identifying the insertion position indicated by the position parameter combination and determining the assembly state of the board based on the insertion position includes: the control module parses the position parameter combination to obtain the first trajectory size of the board in the first direction and the second trajectory size in the second direction; the control module obtains the difference between the first trajectory size and a preset distance as a first gap; the control module obtains the difference between the second trajectory size and the preset insertion size as a second gap; wherein, the preset distance is the distance between the surface of the board and the tracking surface when the board is in a preset position, and the preset insertion size is the sum of the length of the gold finger of the board and the second tracking length of the macro sensing component; the control module determines whether the first gap is less than a first threshold and whether the second gap is less than a second threshold; the control module determines that the assembly state of the board is in place if the first gap is less than the first threshold and the second gap is less than the second threshold; otherwise, the assembly state of the board is not in place.
[0006] In one embodiment of this application, the macro sensing component includes a first macro tracker and a second macro tracker, both used to monitor the insertion position of the board, form a combination of position parameters of the board, and send the combination of position parameters to the control module; wherein, the first macro tracker and the second macro tracker are arranged opposite to each other, and their relative directions are parallel to a first direction; the display module includes a first light-emitting circuit and a second light-emitting circuit, and the control commands include a first command and a second command; determining the assembly state of the board based on the insertion position and generating control commands matching the assembly state of the board includes: the control module, based on the insertion position fed back by the first macro tracker, determining whether the side of the board closer to the first macro tracker relative to the second macro tracker is properly assembled, generating a first command and sending it to the first light-emitting circuit to control the first light-emitting circuit to be in a light-emitting mode matching the assembly state; the control module, based on the insertion position fed back by the second macro tracker, determining whether the side of the board closer to the second macro tracker relative to the first macro tracker is properly assembled, generating a second command and sending it to the second light-emitting circuit to control the second light-emitting circuit to be in a light-emitting mode matching the assembly state.
[0007] In one embodiment of this application, the preset distance is the difference between the first tracking length and the board thickness divided by 2.
[0008] In one embodiment of this application, generating a control command that matches the assembly state of the board includes: the control module obtaining the target distance between the target assembly position and the current position of the board, generating a third command based on the target distance, and sending the third command to the display module; identifying and switching to the display mode indicated by the control command includes: the display module decoding the third command and displaying the target distance through the display screen of the display module.
[0009] On the other hand, an assembly inspection device is provided, comprising: a macro sensing component, a control module, and a display module; the macro sensing component is used to monitor the insertion position of the board and form a combination of position parameters of the board; the control module is connected to the macro sensing component and is used to receive and parse the combination of position parameters, determine whether the board has reached a preset position based on the combination of position parameters, and generate a control command that matches the assembly state of the board; wherein, the control command is used to control the display module to switch between different display modes; the display module is connected to the control module and is used to receive the control command, identify and switch to the display mode indicated by the control command.
[0010] In one embodiment of this application, the macro sensing component includes a first macro tracker and a second macro tracker, both connected to a control module. Both are used to monitor the insertion position of the circuit board, form a combination of position parameters for the circuit board, and send the combination of position parameters to the control module. The control commands include a first command and a second command. The control module determines whether the side of the circuit board closest to the first macro tracker relative to the second macro tracker is properly assembled based on the insertion position fed back by the first macro tracker, and generates the first command. The control module also determines whether the side of the circuit board closest to the second macro tracker relative to the first macro tracker is properly assembled based on the insertion position fed back by the second macro tracker, and generates the second command. The display module includes a first light-emitting circuit and a second light-emitting circuit, both connected to the control module. The first light-emitting circuit receives the first command, and the second light-emitting circuit receives the second command.
[0011] On the other hand, a server is provided, comprising: a server body and an assembly detection device as described in any of the above embodiments disposed on the server body.
[0012] In another aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it performs the following steps: a macro sensing component monitors the insertion position of a circuit board, forms a combination of position parameters of the circuit board, and sends the combination of position parameters to a control module; the control module receives and parses the combination of position parameters, identifies the insertion position indicated by the combination of position parameters, determines the assembly state of the circuit board based on the insertion position, and generates a control command that matches the assembly state of the circuit board; wherein, the control command is used to control the display module to switch between different display modes; the display module receives the control command, identifies and switches to the display mode indicated by the control command.
[0013] On another front, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it performs the following steps: a macro sensing component monitors the insertion position of a board, forms a combination of position parameters of the board, and sends the combination of position parameters to a control module; the control module receives and parses the combination of position parameters, identifies the insertion position indicated by the combination of position parameters, determines the assembly state of the board based on the insertion position, and generates a control command that matches the assembly state of the board; wherein, the control command is used to control the display module to switch between different display modes; the display module receives the control command, identifies and switches to the display mode indicated by the control command.
[0014] The aforementioned assembly inspection method, assembly inspection device, server, computer equipment, and computer-readable storage medium can sense the position of the board during assembly using a micro-sensing component, accurately confirming the board's insertion position. The control module, based on the micro-sensing component, makes a relatively accurate judgment on whether the board is properly assembled and generates corresponding control commands to send to the display module. The display module then visually displays the board's installation status. Thus, this application can reliably assemble boards, which helps reduce the risk of reduced communication speed and / or channel count. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of the structure of one embodiment of the server in this application;
[0016] Figure 2 This is a schematic diagram of the structure of an embodiment of the assembly and testing device of this application;
[0017] Figures 3a-3b This is a schematic diagram of another embodiment of the assembly and testing device of this application;
[0018] Figure 4 This is a schematic diagram of the structure of one embodiment of the control module of this application;
[0019] Figure 5 This is a schematic diagram of the structure of an embodiment of the power supply circuit of this application;
[0020] Figure 6 This is a schematic diagram of the structure of an embodiment of the filter circuit of this application;
[0021] Figure 7 This is a schematic diagram of the structure of one embodiment of the connection circuit of this application;
[0022] Figure 8a This is a schematic diagram of the structure of an embodiment of the reset circuit of this application;
[0023] Figure 8b This is a schematic diagram of the structure of an embodiment of the switching circuit of this application;
[0024] Figure 9 This is a schematic diagram of the structure of an embodiment of the bus interface of this application;
[0025] Figure 10 This is a schematic diagram of the structure of an embodiment of the control module debugging interface of this application;
[0026] Figure 11 This is a schematic diagram of the structure of one embodiment of the slot in this application;
[0027] Figure 12a This is a schematic diagram of the structure of an embodiment of the first light-emitting circuit of this application;
[0028] Figure 12b This is a schematic diagram of the structure of an embodiment of the second light-emitting circuit of this application;
[0029] Figure 12c This is a schematic diagram of the structure of an embodiment of the display screen of this application;
[0030] Figure 13a This is a schematic diagram of the structure of an embodiment of the first macro tracker of this application;
[0031] Figure 13b This is a schematic diagram of the structure of an embodiment of the second macro tracker of this application;
[0032] Figure 14 This is a schematic flowchart of an embodiment of the assembly and testing method of this application;
[0033] Figure 15 This is a flowchart illustrating another embodiment of the assembly and testing method of this application;
[0034] Figure 16 This is a schematic diagram of the structure of an embodiment of the computer device of this application. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0036] To address the technical problems of data rate drops and channel count reductions in related technologies, this application provides an assembly detection method, assembly detection device, server, computer equipment, and computer-readable storage medium. This application can sense the position of the circuit board during assembly, accurately confirm whether the board is properly assembled, and visualize the board installation status through a display module. Thus, this application can reliably assemble circuit boards, helping to reduce the risk of reduced communication speed and / or channel count.
[0037] Please see Figure 1 , Figure 1 This is a schematic diagram of the structure of an embodiment of the server in this application.
[0038] In one embodiment, the server includes a server body and an assembly detection device disposed on the server body.
[0039] The server itself can be a collection of devices that implement server functions. For example, the server itself may include a BMC (Baseboard Manager Controller), a power module, a CPU (Central Processing Unit), a communication module, and slots for connecting external boards.
[0040] The slot can have multiple interfaces, which are used for connecting the gold fingers and other ends of the board.
[0041] As explained earlier, current PCIe protocols support increasingly higher communication speeds and more channels. For example, the speed has evolved from G3 to G4, and then to G5, with the supported speed rapidly increasing from 8Gps in G8 to 32Gps. Therefore, the precision requirements for board insertion have also increased. In related technologies, the process of assembling boards into server slots is usually judged manually. Even if the staff carefully completes the assembly process, there is still a significant risk of speed drops or reduced channel counts.
[0042] In this embodiment, it is assumed that with the increase in speed, the accuracy of the connection of the board card using the link in the server (such as the connection between the PCIe connector on the motherboard and the Riser adapter card) is higher. Even a slight installation misalignment will cause the speed to drop from G5 to G4, or the number of channels to decrease (such as from X16 to X8, or from X8 to X4).
[0043] In view of this, this embodiment sets up an assembly detection device on the server body to detect whether the board is reliably installed in the slot of the server body, and to identify the slightest assembly error. This helps to reliably assemble the board into the server body, reduce the risk of situations such as reduced speed and / or reduced number of channels, and thus help to ensure the server's operating performance and normal operation.
[0044] Please see Figure 2 , Figure 2 This is a schematic diagram of an embodiment of the assembly and testing device of this application.
[0045] In one embodiment, the assembly detection device includes a macro sensing component 21, a control module 22, and a display module 23.
[0046] As its name suggests, the macro sensing component 21 can monitor the insertion position of the board with high accuracy, and can detect minute positional deviations. For example, the macro sensing component 21 may include a tracking microchip, or a positioning chip with a super-resolution algorithm, or a macro positioning sensor, or a high-precision tracking chip, etc. Optionally, the macro sensing component 21 may be an optical sensing component, etc.
[0047] The macro sensing component 21 can sense the insertion position of the board and form a combination of board position parameters.
[0048] The control module 22 coordinates and controls the operation of each component and module in the assembly and testing device. Connected to the macro sensing component 21, the control module 22 receives and analyzes combinations of position parameters, determines whether the board has reached a preset position based on these parameters, and generates control commands that match the board's assembly status. These control commands are used to control the display module 23 to switch between different display modes.
[0049] The display module 23 is connected to the control module 22 and can receive control commands, identify and switch to the display mode indicated by the control commands. Thus, this embodiment can visualize the board assembly status, making it easy for users to know the board installation status and adjust the board assembly position based on the display mode of the display module 23. This facilitates reliable board assembly and reduces the risk of reduced communication speed and / or number of channels.
[0050] Therefore, in this embodiment, the micro-sensing component 21 can sense the position of the board during assembly, accurately confirming the board's insertion position. The control module 22, based on the micro-sensing component 21, makes a relatively accurate judgment on whether the board is properly assembled and generates corresponding control commands to send to the display module 23. The display module 23 then visually displays the board's installation status. Thus, this embodiment can reliably assemble the board, which helps reduce the risk of reduced communication speed and / or channel count.
[0051] Specific limitations regarding the assembly inspection device can be found in the limitations of the assembly inspection method described later, and will not be repeated here. Each module in the aforementioned assembly inspection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0052] Optionally, the macro sensing component has a first tracking length along a first direction and a second tracking length along a second direction; wherein, the first direction is parallel to the arrangement direction of the interface in the slot, the first direction is perpendicular to the second direction, and the second direction is parallel to the insertion direction of the board; identifying the insertion position indicated by the position parameter combination and determining the assembly state of the board based on the insertion position includes: the control module parses the position parameter combination to obtain the first trajectory dimension of the board in the first direction and the second trajectory dimension in the second direction; the control module obtains the difference between the first trajectory dimension and a preset distance as a first gap; the control module obtains the difference between the second trajectory dimension and the preset insertion dimension as a second gap; wherein, the preset distance is the distance between the surface of the board and the tracking surface when the board is in a preset position, and the preset insertion dimension is the sum of the length of the gold fingers of the board and the second tracking length of the macro sensing component. The control module determines whether the first gap is less than a first threshold and whether the second gap is less than a second threshold; if the control module responds to the first gap being less than the first threshold and the second gap being less than the second threshold, it determines that the assembly state of the board is in place; otherwise, it determines that the assembly state of the board is not in place.
[0053] As is easy to understand, the first direction can monitor the horizontal offset of the board insertion, and the second direction can monitor the vertical depth of the insertion.
[0054] Thus, this application can analyze the board insertion position from multiple dimensions and identify the board assembly deviation in the first and second directions respectively. This further facilitates the feedback of relatively accurate board position information to the user, making it easier for the user to make adjustments, thereby promoting reliable board assembly and reducing the risk of performance impact.
[0055] Optionally, please refer to the following: Figure 2 as well as Figures 3a-3b , Figures 3a-3b This is a schematic diagram of another embodiment of the assembly and testing device of this application. Wherein, Figure 3b yes Figure 3a Diagrams from different perspectives.
[0056] In one embodiment, the macro sensing component 21 includes a first macro tracker and a second macro tracker.
[0057] The first and second macro trackers are connected to the control module 22 respectively. Both are used to monitor the insertion position of the board, form a combination of position parameters of the board, and send the combination of position parameters to the control module 22.
[0058] Optionally, the first macro tracker and the second macro tracker are arranged opposite each other, with their relative directions parallel to the first direction. The display module 23 includes a first light-emitting circuit and a second light-emitting circuit, and the control commands include a first command and a second command.
[0059] Control commands include instructions for indicating a first command and a second command.
[0060] The control module 22 is used to determine whether the side of the board that is closer to the first macro tracker than the second macro tracker is properly assembled based on the insertion position fed back by the first macro tracker, and to generate a first instruction.
[0061] The control module 22 is used to determine whether the side of the board that is closer to the second macro tracker than the first macro tracker is properly assembled based on the insertion position fed back by the second macro tracker, and generate a second instruction.
[0062] The display module 23 includes a first light-emitting circuit and a second light-emitting circuit.
[0063] The first and second light-emitting circuits are both connected to the control module 22. The first light-emitting circuit is used to receive a first command, and the second light-emitting circuit is used to receive a second command.
[0064] Specifically, the first macro tracker and the second macro tracker monitor the insertion position of the board, form a combination of position parameters for the board, and send the combination of position parameters to the control module. Determining the assembly state of the board based on the insertion position and generating control commands matching the assembly state includes: the control module, based on the insertion position fed back by the first macro tracker, determining whether the side of the board closest to the first macro tracker relative to the second macro tracker is properly assembled, generating a first command and sending it to the first light-emitting circuit to control the first light-emitting circuit to be in a light-emitting mode matching the assembly state; the control module, based on the insertion position fed back by the second macro tracker, determining whether the side of the board closest to the second macro tracker relative to the first macro tracker is properly assembled, generating a second command and sending it to the second light-emitting circuit to control the second light-emitting circuit to be in a light-emitting mode matching the assembly state.
[0065] Thus, in this embodiment, when assembling the board, the first macro tracker and the second macro tracker can be located on both sides of the board. The first macro tracker and the second macro tracker can detect the parts of the board that are close to them respectively, thereby more accurately sensing the assembly position of the board, which helps to refine the board position and thus helps to ensure reliable assembly of the board.
[0066] Please refer to the following: Figure 4-Figure 13b , Figure 4 This is a schematic diagram of the structure of one embodiment of the control module of this application. Figure 5 This is a schematic diagram of the structure of one embodiment of the power supply circuit of this application. Figure 6 This is a schematic diagram of the structure of an embodiment of the filter circuit of this application. Figure 7 This is a schematic diagram of the structure of one embodiment of the connection circuit of this application. Figure 8a This is a schematic diagram of one embodiment of the reset circuit of this application. Figure 8b This is a schematic diagram of the structure of an embodiment of the switching circuit of this application. Figure 9 This is a schematic diagram of the structure of an embodiment of the bus interface of this application. Figure 10 This is a schematic diagram of the structure of one embodiment of the control module debugging interface of this application. Figure 11 This is a schematic diagram of the structure of one embodiment of the slot in this application. Figure 12a This is a schematic diagram of the structure of an embodiment of the first light-emitting circuit of this application. Figure 12b This is a schematic diagram of the structure of an embodiment of the second light-emitting circuit of this application. Figure 12c This is a schematic diagram of the structure of an embodiment of the display screen of this application. Figure 13a This is a schematic diagram of the structure of an embodiment of the first macro tracker of this application. Figure 13b This is a schematic diagram of the structure of an embodiment of the second macro tracker of this application.
[0067] In one embodiment, the assembly testing device may further include a power supply circuit, a filter circuit, a connection circuit, a reset circuit, a switch circuit, a bus interface, a control module debugging interface, a first light-emitting circuit, a second light-emitting circuit, and a display screen, etc.
[0068] like Figures 4 to 13b The detailed circuit structures of the power supply circuit, filter circuit, connection circuit, reset circuit, switch circuit, bus interface, control module debugging interface, first light-emitting circuit, second light-emitting circuit, and display screen in this embodiment, as illustrated in the examples, will not be repeated here.
[0069] Specifically, the power supply circuit can be connected to the control module 22. Optionally, a filter circuit can be connected between the power supply circuit and the control module 22 to filter the supplied power. A reset circuit is connected to the control module 22 for resetting. The control module's debugging interface is located on the control module 22. The first light-emitting circuit, the second light-emitting circuit, and the display screen are respectively connected to the control module 22 so that the control module 22 can control the display mode, display content, etc. Figure 8b The example switch circuit shown can be used as a power-on wake-up switch.
[0070] It should be noted that the detailed circuit structure illustrated in the figure does not strictly limit each circuit component and can be adjusted according to the actual product requirements. No restrictions are imposed here.
[0071] The control module may include a motherboard such as a CPU or MCU. Figure 4 The mainboard of the control circuit is connected to a crystal oscillator circuit. The connection point is a 5V circuit connecting to the control module. A filter circuit is used to filter the power supply. The assembly and testing device also includes a 3.3V power conversion line, a power interface, a backup battery interface, an I2C (Inter-Integrated Circuit) interface for connecting the macro sensing component, an SPI (SDH Physical Interface) interface for connecting the display screen, and two GPIO (General-purpose input / output) bus debugging interfaces for connecting the first and second light-emitting circuits respectively.
[0072] For example, the display screen can be an OLED (Organic Light-Emitting Diode) screen, an LCD (Liquid Crystal Display), etc., and there is no limitation here.
[0073] When the card is inserted into the slot, pressing the power switch detects the card's position. The motherboard starts up and communicates with the first and second macro trackers via the I2C bus to obtain the current insertion position of the adapter card's two sides into the motherboard slot. The current insertion position and the required insertion position are displayed on the OLED screen so that the operator can adjust the insertion. If the insertion position matches the preset position, the LED displays green; otherwise, it displays red.
[0074] Furthermore, the first macro tracker and the second macro tracker can be connected to a set of I2C buses with different position pin connection methods to help reduce the risk of conflict between the two chips.
[0075] The following provides a detailed explanation of the testing principle and process of the assembly testing method in this application.
[0076] Please see Figure 14 , Figure 14 This is a flowchart illustrating an embodiment of the assembly and testing method of this application.
[0077] S401: The macro sensing component monitors the insertion position of the board, forms a combination of position parameters of the board, and sends the combination of position parameters to the control module.
[0078] In this embodiment, the macro sensing component is used to sense and monitor the insertion position of the circuit board. As the name suggests, the macro sensing component can detect minute distance differences and identify subtle changes in the position of the circuit board. The macro sensing component can process the sensed position information to form a combination of position parameters.
[0079] S402: The control module receives and parses the position parameter combination, identifies the insertion position indicated by the position parameter combination, determines the assembly status of the board based on the insertion position, and generates a control command that matches the assembly status of the board; wherein, the control command is used to control the display module to switch between different display modes.
[0080] In this embodiment, the control module can coordinate and control the operation of each component of the assembly and testing device.
[0081] The control module receives combinations of position parameters from the macro sensing component. It then parses these combinations to identify the insertion position indicated by them. Based on preset criteria, the control module determines the current assembly state of the board. This assembly state can include a "in position" and a "not in position" state; and / or, it includes the distance between the board's current assembly position and the target position. The control module then generates control commands that match the board's assembly state. These control commands are used to control the display module to switch between different display modes.
[0082] S403: The display module receives control commands, identifies them, and switches to the display mode indicated by the control commands.
[0083] In this embodiment, the display module can visually display the assembly status of the circuit board. For example, the display module may include lights, a display screen, etc., and is not limited thereto.
[0084] If the display mode indicated by the control command is consistent with the current display mode, then the current display mode will be maintained.
[0085] Therefore, this embodiment can sense the position of the board during assembly using a macro-sensing component, accurately confirming the board's insertion position. The control module, based on the macro-sensing component, makes a relatively accurate judgment on whether the board is properly assembled and generates corresponding control commands to send to the display module. The display module then visually displays the board's installation status. Thus, this embodiment can reliably assemble the board, which helps reduce the risk of reduced communication speed and / or channel count.
[0086] Please see Figure 15 , Figure 15 This is a flowchart illustrating another embodiment of the assembly and testing method of this application.
[0087] S501: The macro sensing component monitors the insertion position of the board, forms a combination of board position parameters, and sends them to the control module.
[0088] In this embodiment, the macro sensing component monitors the insertion position of the board, forms a combination of position parameters of the board, and sends the combination of position parameters to the control module.
[0089] The macro sensing component has a first tracking length along a first direction and a second tracking length along a second direction; wherein the first direction is parallel to the arrangement direction of the interface in the slot, the first direction is perpendicular to the second direction, and the second direction is parallel to the insertion direction of the board.
[0090] As is easy to understand, the first direction can monitor the horizontal offset of the board insertion, and the second direction can monitor the vertical depth of the insertion.
[0091] Furthermore, the macro sensing component may include a first macro tracker and a second macro tracker, both of which are used to monitor the insertion position of the board, form a combination of position parameters of the board, and send the combination of position parameters to the control module.
[0092] The first macro tracker and the second macro tracker are arranged opposite each other, and their relative directions are parallel to the first direction.
[0093] S502: The control module receives and parses the combination of position parameters.
[0094] In this embodiment, the control module parses the combination of position parameters to obtain the first trajectory size of the board in the first direction and the second trajectory size in the second direction.
[0095] Optionally, the control module can parse the combination of position parameters fed back by the first macro tracker and the second macro tracker, respectively. In other words, the control module can parse the first trajectory size and the second trajectory size fed back by the first macro tracker, and the control module can also parse the first trajectory size and the second trajectory size fed back by the second macro tracker.
[0096] S503: The control module determines the assembly status of the first side of the board based on the insertion position fed back by the first macro tracker.
[0097] In this embodiment, the control module determines whether the side of the board closest to the first macro tracker relative to the second macro tracker is properly assembled based on the insertion position fed back by the first macro tracker. In other words, the first side is the side of the board closest to the first macro tracker relative to the second macro tracker.
[0098] Specifically, the control module obtains the difference between the first trajectory size and the preset distance as the first spacing. The control module obtains the difference between the second trajectory size and the preset insertion size as the second spacing.
[0099] The preset distance is the distance between the surface of the board and the tracking surface when the board is in a preset position, and the preset insertion dimension is the sum of the length of the board's gold fingers and the second tracking length of the macro sensing component. The tracking surface is the surface where the macro sensing component is located.
[0100] Optionally, the preset distance can be the difference between the first tracking length and the board thickness divided by 2, thereby standardizing the distance at the edge of the tracking surface of the board and improving the reliability of distance measurement.
[0101] Furthermore, the control module determines whether the first spacing is less than the first threshold and whether the second spacing is less than the second threshold.
[0102] If the control module responds to the first gap being less than the first threshold and the second gap being less than the second threshold, it determines that the assembly state of the first side of the board is in place; otherwise, it determines that the assembly state of the first side of the board is not in place.
[0103] Optionally, the first threshold and the second threshold can be the same or different. For example, the first threshold and the second threshold can be 0.1mm, which helps to simplify the assembly process while reducing the risk of performance impact from excessive board offset.
[0104] For example, the first tracking length can be 3mm, the board thickness can be 0.9mm, and the formula for calculating the first threshold can be as follows:
[0105] Y1=X1-((3-0.9) / 2)Equation 1-1
[0106] Where Y1 is the first threshold, X1 is the first trajectory size, and (3-0.9) / 2 is the preset distance.
[0107] For example, the second tracking length can be 3mm, the gold finger length of the board can be 5.5mm, and the formula for calculating the second threshold can be as follows:
[0108] Y² = X² - 3 - 5.5 (Equation 1-2)
[0109] Where Y2 is the second threshold, X2 is the second trajectory size, and the preset extension size is (3+5.5).
[0110] S504: The control module generates a first instruction and sends it to the first light-emitting circuit to control the first light-emitting circuit to be in a light-emitting mode that matches the assembly state.
[0111] S505: The control module determines the assembly status of the second side of the board based on the insertion position fed back by the first macro tracker.
[0112] In this embodiment, the control module determines whether the side of the board closest to the second macro tracker is properly assembled relative to the first macro tracker, based on the insertion position feedback from the second macro tracker. In other words, the second side of the board is the side of the board closest to the second macro tracker relative to the first macro tracker.
[0113] The control module obtains the difference between the first trajectory size and the preset distance as the first gap; the control module obtains the difference between the second trajectory size and the preset insertion size as the second gap; wherein, the preset distance is the distance between the surface of the board and the tracking surface when the board is in the preset position, and the preset insertion size is the sum of the length of the gold finger of the board and the second tracking length of the macro sensing component.
[0114] The control module determines whether the first spacing is less than the first threshold and whether the second spacing is less than the second threshold.
[0115] If the control module responds to the first gap being less than the first threshold and the second gap being less than the second threshold, it determines that the assembly state of the second side of the board is in place; otherwise, it determines that the assembly state of the second side of the board is not in place.
[0116] S506: The control module generates a second instruction and sends it to the second light-emitting circuit to control the second light-emitting circuit to be in a light-emitting mode that matches the assembly state.
[0117] In this embodiment, when assembling the board, the first macro tracker and the second macro tracker can be located on both sides of the board. The first macro tracker and the second macro tracker can detect the parts of the board that are close to them respectively, thereby more accurately sensing the assembly position of the board, which helps to refine the board position and thus helps to ensure reliable assembly of the board.
[0118] At the same time, both the first and second macro trackers can analyze the first and second directions of the board, which helps to more accurately assess the board assembly status, thereby facilitating reliable board assembly and effectively reducing the risk of performance impact from improper board assembly.
[0119] S507: The control module obtains the target distance between the target assembly position and the current position of the board, generates a third instruction based on the target distance, and sends the third instruction to the display module.
[0120] S508: The display module decodes the third instruction and displays the target distance on the display screen of the display module.
[0121] In summary, in this embodiment, the present invention can control the communication between the module and the micro-sensing component (such as a high-precision position tracking chip) to obtain the board insertion position, accurately detect whether the board is inserted into the motherboard connector, and provide status reminders so that the operator can adjust the position in time and put the board in place.
[0122] Furthermore, the assembly detection device can also include a scanning component. This component can scan the contour of the card insertion section and the internal contour of the slot. The control module can acquire card insertion information and slot information, calculate the distance between the insertion information and the target position information, and construct the card movement path based on the distance information. This provides the user with a clear method for adjusting the card assembly, effectively assisting the user in completing the card assembly. Optionally, the control module can send an image of the relative position of the card and slot to the display module. The display module shows the relative position of the card and slot, visualizing the detailed position of the card assembly, facilitating a more accurate judgment by the user on the card adjustment method.
[0123] It should be understood that, although Figures 14-15 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figures 14-15 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0124] Please see Figure 16 , Figure 16 This is a schematic diagram of the structure of an embodiment of the computer device of this application.
[0125] In one embodiment, the computer device may be a server, and its internal structure diagram may be as follows: Figure 16 As shown.
[0126] The computer device includes a processor, memory, network interface, and database connected via a system bus.
[0127] The processor of this computer device provides computing and control capabilities. The memory of this computer device includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of this computer device is used to store data. The network interface of this computer device is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements an assembly detection method.
[0128] Those skilled in the art will understand that Figure 16 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0129] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it performs the following steps:
[0130] S401: The macro sensing component monitors the insertion position of the board, forms a combination of position parameters of the board, and sends the combination of position parameters to the control module.
[0131] S402: The control module receives and parses the position parameter combination, identifies the insertion position indicated by the position parameter combination, determines the assembly status of the board based on the insertion position, and generates a control command that matches the assembly status of the board; wherein, the control command is used to control the display module to switch between different display modes.
[0132] S403: The display module receives control commands, identifies them, and switches to the display mode indicated by the control commands.
[0133] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0134] S501: The macro sensing component monitors the insertion position of the board, forms a combination of board position parameters, and sends them to the control module.
[0135] In this embodiment, the macro sensing component monitors the insertion position of the board, forms a combination of position parameters of the board, and sends the combination of position parameters to the control module.
[0136] The macro sensing component has a first tracking length along a first direction and a second tracking length along a second direction; wherein the first direction is parallel to the arrangement direction of the interface in the slot, the first direction is perpendicular to the second direction, and the second direction is parallel to the insertion direction of the board.
[0137] Furthermore, the macro sensing component may include a first macro tracker and a second macro tracker, both of which are used to monitor the insertion position of the board, form a combination of position parameters of the board, and send the combination of position parameters to the control module.
[0138] The first macro tracker and the second macro tracker are arranged opposite each other, and their relative directions are parallel to the first direction.
[0139] S502: The control module receives and parses the combination of position parameters.
[0140] In this embodiment, the control module parses the combination of position parameters to obtain the first trajectory size of the board in the first direction and the second trajectory size in the second direction.
[0141] Optionally, the control module can parse the combination of position parameters fed back by the first macro tracker and the second macro tracker, respectively. In other words, the control module can parse the first trajectory size and the second trajectory size fed back by the first macro tracker, and the control module can also parse the first trajectory size and the second trajectory size fed back by the second macro tracker.
[0142] S503: The control module determines the assembly status of the first side of the board based on the insertion position fed back by the first macro tracker.
[0143] In this embodiment, the control module determines whether the side of the board closest to the first macro tracker relative to the second macro tracker is properly assembled based on the insertion position fed back by the first macro tracker. In other words, the first side is the side of the board closest to the first macro tracker relative to the second macro tracker.
[0144] Specifically, the control module obtains the difference between the first trajectory size and the preset distance as the first spacing. The control module obtains the difference between the second trajectory size and the preset insertion size as the second spacing.
[0145] The preset distance is the distance between the surface of the board and the tracking surface when the board is in a preset position, and the preset insertion dimension is the sum of the length of the board's gold fingers and the second tracking length of the macro sensing component.
[0146] Optionally, the preset distance can be the difference between the first tracking length and the board thickness divided by 2.
[0147] Furthermore, the control module determines whether the first spacing is less than the first threshold and whether the second spacing is less than the second threshold.
[0148] If the control module responds to the first gap being less than the first threshold and the second gap being less than the second threshold, it determines that the assembly state of the first side of the board is in place; otherwise, it determines that the assembly state of the first side of the board is not in place.
[0149] S504: The control module generates a first instruction and sends it to the first light-emitting circuit to control the first light-emitting circuit to be in a light-emitting mode that matches the assembly state.
[0150] S505: The control module determines the assembly status of the second side of the board based on the insertion position fed back by the first macro tracker.
[0151] In this embodiment, the control module determines whether the side of the board closest to the second macro tracker is properly assembled relative to the first macro tracker, based on the insertion position feedback from the second macro tracker. In other words, the second side of the board is the side of the board closest to the second macro tracker relative to the first macro tracker.
[0152] The control module obtains the difference between the first trajectory size and the preset distance as the first gap; the control module obtains the difference between the second trajectory size and the preset insertion size as the second gap; wherein, the preset distance is the distance between the surface of the board and the tracking surface when the board is in the preset position, and the preset insertion size is the sum of the length of the gold finger of the board and the second tracking length of the macro sensing component.
[0153] The control module determines whether the first spacing is less than the first threshold and whether the second spacing is less than the second threshold.
[0154] If the control module responds to the first gap being less than the first threshold and the second gap being less than the second threshold, it determines that the assembly state of the second side of the board is in place; otherwise, it determines that the assembly state of the second side of the board is not in place.
[0155] S506: The control module generates a second instruction and sends it to the second light-emitting circuit to control the second light-emitting circuit to be in a light-emitting mode that matches the assembly state.
[0156] S507: The control module obtains the target distance between the target assembly position and the current position of the board, generates a third instruction based on the target distance, and sends the third instruction to the display module.
[0157] S508: The display module decodes the third instruction and displays the target distance on the display screen of the display module.
[0158] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0159] S401: The macro sensing component monitors the insertion position of the board, forms a combination of position parameters of the board, and sends the combination of position parameters to the control module.
[0160] S402: The control module receives and parses the position parameter combination, identifies the insertion position indicated by the position parameter combination, determines the assembly status of the board based on the insertion position, and generates a control command that matches the assembly status of the board; wherein, the control command is used to control the display module to switch between different display modes.
[0161] S403: The display module receives control commands, identifies them, and switches to the display mode indicated by the control commands.
[0162] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0163] S501: The macro sensing component monitors the insertion position of the board, forms a combination of board position parameters, and sends them to the control module.
[0164] In this embodiment, the macro sensing component monitors the insertion position of the board, forms a combination of position parameters of the board, and sends the combination of position parameters to the control module.
[0165] The macro sensing component has a first tracking length along a first direction and a second tracking length along a second direction; wherein the first direction is parallel to the arrangement direction of the interface in the slot, the first direction is perpendicular to the second direction, and the second direction is parallel to the insertion direction of the board.
[0166] Furthermore, the macro sensing component may include a first macro tracker and a second macro tracker, both of which are used to monitor the insertion position of the board, form a combination of position parameters of the board, and send the combination of position parameters to the control module.
[0167] The first macro tracker and the second macro tracker are arranged opposite each other, and their relative directions are parallel to the first direction.
[0168] S502: The control module receives and parses the combination of position parameters.
[0169] In this embodiment, the control module parses the combination of position parameters to obtain the first trajectory size of the board in the first direction and the second trajectory size in the second direction.
[0170] Optionally, the control module can parse the combination of position parameters fed back by the first macro tracker and the second macro tracker, respectively. In other words, the control module can parse the first trajectory size and the second trajectory size fed back by the first macro tracker, and the control module can also parse the first trajectory size and the second trajectory size fed back by the second macro tracker.
[0171] S503: The control module determines the assembly status of the first side of the board based on the insertion position fed back by the first macro tracker.
[0172] In this embodiment, the control module determines whether the side of the board closest to the first macro tracker relative to the second macro tracker is properly assembled based on the insertion position fed back by the first macro tracker. In other words, the first side is the side of the board closest to the first macro tracker relative to the second macro tracker.
[0173] Specifically, the control module obtains the difference between the first trajectory size and the preset distance as the first spacing. The control module obtains the difference between the second trajectory size and the preset insertion size as the second spacing.
[0174] The preset distance is the distance between the surface of the board and the tracking surface when the board is in a preset position, and the preset insertion dimension is the sum of the length of the board's gold fingers and the second tracking length of the macro sensing component.
[0175] Optionally, the preset distance can be the difference between the first tracking length and the board thickness divided by 2.
[0176] Furthermore, the control module determines whether the first spacing is less than the first threshold and whether the second spacing is less than the second threshold.
[0177] If the control module responds to the first gap being less than the first threshold and the second gap being less than the second threshold, it determines that the assembly state of the first side of the board is in place; otherwise, it determines that the assembly state of the first side of the board is not in place.
[0178] S504: The control module generates a first instruction and sends it to the first light-emitting circuit to control the first light-emitting circuit to be in a light-emitting mode that matches the assembly state.
[0179] S505: The control module determines the assembly status of the second side of the board based on the insertion position fed back by the first macro tracker.
[0180] In this embodiment, the control module determines whether the side of the board closest to the second macro tracker is properly assembled relative to the first macro tracker, based on the insertion position feedback from the second macro tracker. In other words, the second side of the board is the side of the board closest to the second macro tracker relative to the first macro tracker.
[0181] The control module obtains the difference between the first trajectory size and the preset distance as the first gap; the control module obtains the difference between the second trajectory size and the preset insertion size as the second gap; wherein, the preset distance is the distance between the surface of the board and the tracking surface when the board is in the preset position, and the preset insertion size is the sum of the length of the gold finger of the board and the second tracking length of the macro sensing component.
[0182] The control module determines whether the first spacing is less than the first threshold and whether the second spacing is less than the second threshold.
[0183] If the control module responds to the first gap being less than the first threshold and the second gap being less than the second threshold, it determines that the assembly state of the second side of the board is in place; otherwise, it determines that the assembly state of the second side of the board is not in place.
[0184] S506: The control module generates a second instruction and sends it to the second light-emitting circuit to control the second light-emitting circuit to be in a light-emitting mode that matches the assembly state.
[0185] S507: The control module obtains the target distance between the target assembly position and the current position of the board, generates a third instruction based on the target distance, and sends the third instruction to the display module.
[0186] S508: The display module decodes the third instruction and displays the target distance on the display screen of the display module.
[0187] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0188] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0189] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. An assembly inspection method, characterized in that, The assembly inspection method includes: The macro sensing component monitors the insertion position of the board, forms a combination of position parameters of the board, and sends the combination of position parameters to the control module; The control module receives and parses the combination of position parameters, identifies the insertion position indicated by the combination of position parameters, determines the assembly state of the board based on the insertion position, and generates a control command that matches the assembly state of the board; wherein, the control command is used to control the display module to switch between different display modes. The display module receives the control command, identifies it, and switches to the display mode indicated by the control command. The macro sensing component has a first tracking length along a first direction and a second tracking length along a second direction; wherein, the first direction is parallel to the arrangement direction of the interface in the slot, the first direction is perpendicular to the second direction, and the second direction is parallel to the insertion direction of the board. The step of identifying the insertion position indicated by the combination of position parameters and determining the assembly status of the board based on the insertion position includes: The control module parses the combination of position parameters to obtain the first trajectory dimension of the board in the first direction and the second trajectory dimension in the second direction; The control module obtains the difference between the first trajectory size and the preset distance as the first spacing; the control module obtains the difference between the second trajectory size and the preset insertion size as the second spacing; wherein, the preset distance is the distance between the surface of the board and the tracking surface when the board is in the preset position, and the preset insertion size is the sum of the length of the gold finger of the board and the second tracking length of the macro sensing component; The control module determines whether the first spacing is less than a first threshold and whether the second spacing is less than a second threshold; If the control module responds to the first spacing being less than the first threshold and the second spacing being less than the second threshold, it determines that the board is in the assembled state; otherwise, it determines that the board is not in the assembled state.
2. The assembly inspection method according to claim 1, characterized in that, The macro sensing component includes a first macro tracker and a second macro tracker, both of which are used to monitor the insertion position of the board, form a combination of position parameters of the board, and send the combination of position parameters to the control module. The first macro tracker and the second macro tracker are arranged opposite each other, with their relative directions parallel to the first direction; the display module includes a first light-emitting circuit and a second light-emitting circuit, and the control commands include a first command and a second command; the step of determining the assembly state of the board based on the insertion position and generating control commands that match the assembly state of the board includes: Based on the insertion position fed back by the first macro tracker, the control module determines whether the board is properly assembled on the side of the second macro tracker that is closer to the first macro tracker, generates the first instruction and sends it to the first light-emitting circuit to control the first light-emitting circuit to be in a light-emitting mode that matches the assembly state. Based on the insertion position fed back by the second macro tracker, the control module determines whether the board is properly assembled on the side of the first macro tracker closer to the second macro tracker, generates the second instruction, and sends it to the second light-emitting circuit to control the second light-emitting circuit to be in a light-emitting mode that matches the assembly state.
3. The assembly inspection method according to claim 1, characterized in that, The preset distance is the difference between the first tracking length and the board thickness divided by 2.
4. The assembly inspection method according to claim 1, characterized in that, The control commands generated to match the assembly state of the board include: The control module obtains the target distance between the target assembly position and the current position of the board, generates a third instruction based on the target distance, and sends the third instruction to the display module; The process of identifying and switching to the display mode indicated by the control command includes: The display module decodes the third instruction and displays the target distance on its display screen.
5. An assembly inspection apparatus for implementing the assembly inspection method as described in any one of claims 1 to 4, characterized in that, The assembly testing device includes: Micro-sensing components are used to monitor the insertion position of the board and form a combination of the board's position parameters; A control module, connected to the macro sensing component, is used to receive and parse the position parameter combination, determine whether the board has reached a preset position based on the position parameter combination, and generate a control command that matches the assembly state of the board; wherein, the control command is used to control the display module to switch between different display modes; The display module, connected to the control module, is used to receive the control commands, identify and switch to the display mode indicated by the control commands.
6. The assembly testing device according to claim 5, characterized in that, The macro sensing component includes a first macro tracker and a second macro tracker, which are respectively connected to the control module. Both are used to monitor the insertion position of the board, form a combination of position parameters of the board, and send the combination of position parameters to the control module. The control commands include a first command and a second command; wherein, the control module is used to determine whether the board is properly assembled relative to the side of the second macro tracker closer to the first macro tracker based on the insertion position fed back by the first macro tracker, and generates the first command; the control module is used to determine whether the board is properly assembled relative to the side of the first macro tracker closer to the second macro tracker based on the insertion position fed back by the second macro tracker, and generates the second command; The display module includes a first light-emitting circuit and a second light-emitting circuit, which are respectively connected to the control module; the first light-emitting circuit is used to receive the first instruction, and the second light-emitting circuit is used to receive the second instruction.
7. A server, characterized in that, The server includes a server body and an assembly testing device as described in any one of claims 5 to 6 disposed on the server body.
8. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the assembly inspection method according to any one of claims 1 to 4.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the assembly inspection method according to any one of claims 1 to 4.