Device assembly method and computing device
By using 3D models and target device features for automated matching and verification during the device assembly process, and combining historical assembly records to optimize device selection, the problem of low device assembly efficiency is solved, and efficient and accurate device assembly is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HENAN QINWEI DIGITAL TECHNOLOGY CO LTD
- Filing Date
- 2026-03-06
- Publication Date
- 2026-06-23
AI Technical Summary
In existing technologies, the device assembly process relies on manual operation, resulting in low efficiency.
By determining the assembly location and assembly features based on the 3D model of the source device, the target device features are used for automated matching and verification, and the device selection is optimized by combining historical assembly records, thus achieving automated and efficient assembly of the device.
It improves the efficiency and accuracy of component assembly, reduces the assembly error rate, and enhances the stability and automation level of the assembly process.
Smart Images

Figure CN122265601A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computing technology, and in particular to a device assembly method and computing device. Background Technology
[0002] Device assembly refers to the process of assembling and connecting devices according to product design requirements to form electronic devices with specific functions or specifications. Devices may include electronic components, assemblies, or parts, specifically Common Building Blocks (CBBs), or CBB devices for short. CBB devices refer to components, tools, modules, or other related basic design components shared between different products or systems.
[0003] Currently, component assembly requires manual assembly and debugging by engineers, resulting in low assembly efficiency. Therefore, providing an automated and efficient component assembly method is a pressing technical problem that needs to be solved. Summary of the Invention
[0004] This application provides a device assembly method and computing device that can quickly complete device assembly and improve device assembly efficiency.
[0005] According to a first aspect of the embodiments of this application, a device assembly method is provided, comprising: Based on the 3D model of the source device, the assembly position of the source device and the assembly features corresponding to the assembly position are determined. The assembly features refer to the features of the key geometric elements of the source device that need to be assembled.
[0006] Based on the assembly features, determine the target device features corresponding to the devices that need to be assembled on the source device. The target device features refer to the features of the devices that can be assembled onto the key geometric elements. Based on the characteristics of the target device, obtain the target device that the source device needs to assemble; The source and target devices are assembled to obtain the assembly result.
[0007] In this embodiment, based on the 3D model of the source device, the assembly position of the source device is first determined, and the position of the device to be assembled is accurately located through the assembly position. The assembly features corresponding to the assembly position can represent the features of the key geometric elements in the source device that need to be assembled. This achieves feature extraction of the elements to be assembled in the source device. Then, feature mapping is performed on the assembly features to obtain the target device features of the device to be assembled on the source device. The target device features represent the features of the device that can be assembled onto the key geometric elements, thereby quantifying the features of the devices that can be assembled onto the source device. Then, the target device to be assembled on the source device is obtained through the target device features. That is, in the case of unknown devices, the features of the devices are obtained first, and then the corresponding target devices are queried through the features of the devices, so as to achieve accurate selection of the devices to be assembled. By assembling the source device and the target device, the feasibility of the assembly is verified, which can reduce the problems of error interference and misalignment in the assembly process. Therefore, by designing standard processes such as feature recognition, device matching and assembly verification, the device assembly process can be made more automated, efficient and low-cost, providing accurate guidance for subsequent physical assembly.
[0008] According to a first aspect of the embodiments of this application, in some embodiments of the first aspect, obtaining the target device to be assembled by the source device based on the characteristics of the target device includes: Identify at least one candidate device from the device library that matches the characteristics of the target device; Based on the historical assembly record set and the device characteristics of each candidate device, the utility value of each candidate device is determined. Based on the utility value of each candidate device, the candidate device with the highest utility value is determined as the target device.
[0009] In this embodiment, candidate devices matching the characteristics of the target device are first screened from the device library. Then, based on the historical assembly record set and the device characteristics of each candidate device, the utility value of each candidate device is calculated, and the candidate device with the highest utility value is selected as the target device. This enables intelligent and quantitative decision-making for device selection based on historical assembly data, improving device matching accuracy and assembly adaptability. Using the utility value as the specific screening criterion for the target device ensures that the selected target device has the best historical assembly effect and reliability, effectively reducing the assembly error rate and improving the stability, efficiency, and automation level of the assembly process.
[0010] According to a first aspect of the embodiments of this application, in some embodiments of the first aspect, the target device features include: a target device type and target physical properties; determining at least one candidate device matching the target device features from a device library includes: Determine the device set corresponding to at least one device type in the device library, wherein the device set includes at least one device belonging to the same device type; Based on the device sets corresponding to at least one device type, determine the target device set corresponding to the target device type of the target device feature; Identify at least one candidate device from the set of target devices that matches the target physical properties of the target device characteristics.
[0011] In this embodiment, the device set corresponding to each device type in the device library is first determined to achieve specific device classification. Then, the target device set to which the target device characteristics belong is obtained based on device type matching. Subsequently, candidate devices matching the target physical attributes are screened from the target device set. This allows for hierarchical and classified management of the device library by device type, narrowing the scope of device matching and retrieval, and avoiding the inefficiency and resource consumption caused by full library traversal. In addition, the two-level precise screening based on device type and target physical attributes can effectively improve the accuracy and targeting of candidate device positioning, reduce the probability of invalid matches, and improve the overall efficiency and reliability of the device selection process.
[0012] According to a first aspect of the embodiments of this application, in some embodiments of the first aspect, determining at least one candidate device from a set of target devices that matches a target physical property of a target device feature includes: Determine the device features of each device in the target device set and the feature similarity of the target device features; based on the feature similarity of each device, determine the devices with feature similarity greater than the similarity threshold as candidate devices, so as to obtain at least one candidate device; Alternatively, determine the device characteristics of each device in the target device set and the feature distance between the target device characteristics; based on the feature distance of each device, determine the devices whose feature distance is less than the distance threshold as candidate devices, so as to obtain at least one candidate device.
[0013] In this embodiment, the feature similarity or feature distance between the device features of each device in the target device set and the target device features is calculated. Devices that meet the similarity threshold or distance threshold are selected as candidate devices. This enables the quantification and precise matching of candidate devices, improving the consistency and reliability of device selection. The threshold-based determination method can flexibly adapt to the matching accuracy requirements of different assembly scenarios, effectively narrowing the subsequent device selection range, reducing computational overhead, and improving the efficiency and accuracy of the overall device matching and selection process.
[0014] According to a first aspect of the embodiments of this application, in some embodiments of the first aspect, the historical assembly record set includes at least one historical assembly record; determining the utility value of each candidate device based on the device characteristics of each candidate device and the historical assembly record includes: Based on the device characteristics of each candidate device, the target historical assembly record that matches each candidate device is determined in the historical assembly record set. Based on the target historical assembly records that match each candidate device, the assembly effect of each candidate device is comprehensively scored to obtain the utility value of each candidate device.
[0015] In this embodiment, based on the device characteristics of each candidate device, the corresponding target historical assembly record is accurately matched from the historical assembly record set. This fully utilizes historical assembly data to achieve an objective quantitative evaluation of the assembly effect of candidate devices, ensuring the accuracy and reliability of the utility value. A comprehensive score is then performed based on the target historical assembly record to obtain the utility value of each candidate device. The utility value truly reflects the actual assembly adaptability of the device, thereby using the utility value to select devices. This effectively defines the device screening data, improves the accuracy and rationality of device selection, and enhances the stability and success rate of the overall assembly process.
[0016] According to a first aspect of the embodiments of this application, in some embodiments of the first aspect, the historical assembly record includes device characteristics and historical assembly results. Based on the target historical assembly record matching each candidate device, a comprehensive score is given to the assembly effect of each candidate device to obtain the utility value of each candidate device, including: Based on the target historical assembly records that match each candidate device, determine the first number of target historical assembly records that correspond to the successful assembly of each candidate device. The utility value of each candidate device is determined based on the first quantity corresponding to each candidate device.
[0017] In this embodiment, based on the target historical assembly records matched by each candidate device, the first number of target historical assembly records with successful assembly is counted, and the utility value of each candidate device is determined based on the first number. This enables the quantitative calculation of utility value based on the number of successful historical assembly, so that the utility value can intuitively and realistically reflect the historical assembly reliability and adaptability of the candidate device, effectively improving the objectivity, stability and interpretability of utility value calculation.
[0018] According to a first aspect of the embodiments of this application, in some embodiments of the first aspect, determining the target device features corresponding to the device to be assembled by the source device based on assembly features includes: Based on the device type of the assembly feature, determine the target device type that matches the device type of the assembly feature from at least one preset device type. Determine the target physical attribute that matches the physical attribute of the assembly feature from at least one physical attribute corresponding to the target device type; The target device type and target physical properties are determined as the target device characteristics of the device that the source device needs to assemble.
[0019] In this embodiment, feature mapping is performed from two dimensions: feature type and physical attribute. First, a target device type compatible with the assembly feature is determined from at least one preset device type, thus clarifying the specific type of the device to be queried. Second, feature mapping is performed from the physical attributes of the assembly feature, obtaining target physical attributes compatible with the feature to be assembled from at least one physical attribute corresponding to the target device type. This two-dimensional feature mapping from source device to target device achieves comprehensive feature acquisition. The obtained target device type and target physical attributes allow for more refined selection of target devices, improving the accuracy and compatibility of target devices.
[0020] According to a first aspect of the embodiments of this application, in some embodiments of the first aspect, a source device and a target device are assembled to obtain an assembly result, including: Based on the 3D model of the source device and the 3D model of the target device, the key geometric elements of the source device and the assembly constraints of the target device are established. According to the assembly constraints, the target device and key geometric elements are assembled to obtain the assembly result.
[0021] In this embodiment, by utilizing the 3D models of the source device and the target device, assembly constraints for key geometric elements and the target device are established. This transforms the abstract 3D model into precise mathematical constraints, achieving accurate spatial alignment of the two devices. Following these assembly constraints, the target device and key geometric elements can be assembled more directly, yielding an assembly result that conforms to the constraints, thus achieving efficient and precise device assembly.
[0022] According to a first aspect of the embodiments of this application, in some embodiments of the first aspect, assembling the target device and key geometric elements according to assembly constraints includes: When assembly constraints include plane coincidence conditions, rotate the first plane of the target device to coincide with the second plane of the critical geometric element; And / or, if the assembly constraints include axis coincidence conditions, rotate the coordinate axes of the target device to coincide with the coordinate axes of the critical geometric elements; And / or, where the assembly constraints include parallel constraints, rotate the third plane of the target device to be parallel to the fourth plane of the critical geometry, or rotate the coordinate axes of the target device to be parallel to the coordinate axes of the source device. And / or, if the assembly constraints include vertical constraints, rotate the fifth plane of the target device to be perpendicular to the sixth plane of the critical geometry, or rotate the coordinate axes of the target device to be perpendicular to the coordinate axes of the critical geometry. And / or, where the assembly constraints include translation constraints, the target device is translated a first distance toward the critical geometric element in a first direction, or the critical geometric element is translated a second distance toward the target device in a second direction; And / or, where assembly constraints include angular constraints, rotate the target device and key geometric elements at the angles of the relevant planes or relevant axes to a preset angle.
[0023] In this embodiment, the assembly constraints are refined into various specific geometric constraints, such as plane coincidence conditions, axis coincidence conditions, parallel constraints, perpendicular constraints, translation constraints, and / or angular constraints. By using one or more of these assembly constraints, multi-dimensional, high-precision spatial assembly of the source and target devices can be achieved. Precise adjustments to planes, coordinate axes, and / or angles ensure strict alignment of the source and target devices in terms of position, orientation, and distance (gap), effectively solving the problem of difficulty in balancing multi-dimensional spatial relationships during manual positioning, and generating more accurate, realistic assembly results that conform to constraint logic.
[0024] According to a first aspect of the embodiments of this application, in some embodiments of the first aspect, based on a three-dimensional model of the source device, the assembly position of the source device to be assembled and the assembly features corresponding to the assembly position are determined, including: Display the device assembly page, and in response to the user's device opening operation triggered by the device assembly page, obtain the 3D model of the source device determined by the user and display the 3D model of the source device on the device assembly page. In response to an assembly request triggered by a user's 3D model of the source device, the assembly position of the source device and the corresponding assembly features are determined based on the 3D model of the source device.
[0025] In this embodiment, the 3D model is visualized in response to the user's device loading operation, intuitively displaying the 3D model of the source device to the user. Through user interaction, the system obtains the device assembly request triggered by the user on the source device, thereby invoking a preset feature recognition plugin to identify at least one geometric element in the 3D model of the source device. By using the feature recognition plugin to automatically identify the geometric elements of the source device, the system effectively reduces the difficulty of identifying geometric elements in the source device, achieving efficient processing from 3D model visualization to automatic geometric element identification, significantly improving the response speed of device matching and the user experience.
[0026] According to a second aspect of the embodiments of this application, a device assembly apparatus is provided, comprising: The assembly determination unit is used to determine the assembly position of the source device and the assembly features corresponding to the assembly position based on the three-dimensional model of the source device. The assembly features refer to the features of the key geometric elements of the source device that need to be assembled.
[0027] The feature conversion unit is used to determine the target device features corresponding to the device that the source device needs to be assembled with based on the assembly features. The target device features refer to the features of the device that can be assembled onto the key geometric elements.
[0028] The device identification unit is used to obtain the target device that the source device needs to assemble based on the characteristics of the target device.
[0029] The device assembly unit is used to assemble source devices and target devices to obtain the assembly result.
[0030] According to a third aspect of the embodiments of this application, a computing device is provided, including: a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program to implement any of the above-described device assembly methods.
[0031] According to a fourth aspect of the present application, a communication device is provided, including a transceiver and a processor, wherein the transceiver is used to receive or transmit data, and the processor is used to execute any of the device assembly methods of the present application.
[0032] According to a fifth aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, it implements any of the device assembly methods.
[0033] According to a sixth aspect of the present application, a computer product is provided, comprising: a computer program that, when executed by a processor, implements the steps of any device assembly method.
[0034] It should be understood that both the foregoing general description and the following detailed description are exemplary and intended to provide further illustration of the claimed technology. Attached Figure Description
[0035] The above and other objects, features, and advantages of the embodiments of this application will become more apparent from the more detailed description of the embodiments in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the embodiments of this application and do not constitute a limitation on the embodiments of this application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0036] Figure 1 The figure illustrates a system architecture of a device assembly system according to an embodiment of this application; Figure 2 The figure shows a flowchart of a device assembly method according to an embodiment of this application; Figure 3 The illustration shows an example of a three-dimensional model of a source device according to an embodiment of this application; Figure 4 The figure shows a schematic diagram of a device assembly system according to an embodiment of this application; Figure 5 The figure shows a flowchart illustrating a device assembly method according to an embodiment of this application; Figures 6a-6c The illustration shows an example of a constraint condition according to an embodiment of this application; Figure 7 The figure shows another flowchart of a device assembly method according to an embodiment of this application; Figure 8 The figure shows a timing diagram of a device assembly method according to an embodiment of this application; Figure 9 The figure shows a schematic diagram of a device assembly apparatus according to an embodiment of this application; Figure 10 The figure shows a hardware block diagram of a computing device according to an embodiment of this application. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of the embodiments of this application more apparent, exemplary embodiments according to the embodiments of this application will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of the embodiments of this application, and not all embodiments of the embodiments of this application. It should be understood that the embodiments of this application are not limited to the exemplary embodiments described herein.
[0038] When applied to an IT integration system, as described in this application embodiment, the IT integration system may include various devices, such as servers and switches. Assembly is required between these devices. The components requiring assembly in the IT integration system can be standardized, forming a component library of one or more components. When component assembly is required, the component assembly method is executed to query the component library for the target component that the source component needs to be assembled with, thereby achieving automatic retrieval of the target component and improving retrieval efficiency.
[0039] The device assembly method provided in this application embodiment can be executed by a computing device. The computing device can be a device with computing and communication capabilities. For example, the computing device can be a server or a terminal. The server can be a regular desktop server or a cloud server. The terminal can be a mobile phone, a portable Android device (PAD), a personal digital assistant (PDA), a handheld device with wireless communication capabilities, a computing device, an in-vehicle device, or a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in a smart home, a foldable screen device, etc. This application embodiment does not specifically limit the form of the computing device.
[0040] The technical solutions of the embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0041] like Figure 1 The diagram shown is an example of a device assembly system provided in an embodiment of this application. The device assembly system may include: a computing device 10 and a device management device 20.
[0042] The device management device 20 may include a pre-set device library 30, which may include multiple devices. Each device is associated with device information, such as device name, identifier, 3D model, device attributes, etc.
[0043] The computing device 10 may be equipped with a device assembly program 40, which can be used to display a three-dimensional model of the source device and execute the device assembly method provided in the embodiments of this application.
[0044] Of course, the device assembly program 40 can be executed by the processor of the computing device 10. Specifically, the computing device 10 can control the device assembly program 40 to execute the device assembly method provided in the embodiments of this application. The device assembly method specifically includes the following steps: 101. Feature recognition, which is based on the three-dimensional model of the source device, identifies the assembly features in the source device. Assembly features refer to the features of the key geometric elements on the source device that need to be assembled with other devices.
[0045] 102. Feature mapping, that is, based on the assembly features, determining the target device features corresponding to the devices that need to be assembled on the source device. The target device features refer to the features of the devices that can be assembled onto the key geometric elements. 103. Device matching, which means obtaining the target device that the source device needs to be assembled with based on the characteristics of the target device. Specifically, the device assembly program 40 can generate a device query request based on the characteristics of the target device and send the device query request to the device management device. The device management device 20 queries the target device that the source device needs to be assembled with based on the characteristics of the target device in the device query request and sends the device information of the target device to the device management program 40.
[0046] 104. Device assembly, which is the assembly of source devices and target devices to obtain the assembly result.
[0047] like Figure 2 The diagram shown is a flowchart of a device assembly method provided in an embodiment of this application. The device assembly method may include the following steps: S201. Based on the three-dimensional model of the source device, determine the assembly position of the source device and the assembly features corresponding to the assembly position. The assembly features refer to the features of the key geometric elements of the source device that need to be assembled.
[0048] The device assembly method provided in this application embodiment can be a function of device assembly software, and the device assembly method provided in this application embodiment can be implemented by operating the device assembly software.
[0049] The source device can refer to the device that needs to be assembled; for example, the source device can be a heat sink. The target device can refer to the device that needs to be assembled onto the source device; for example, if the source device is a heat sink, the target device can be a screw that needs to be assembled onto the heat sink.
[0050] Optionally, prior to S201, the process may further include: displaying a 3D model of the source device in response to a triggered device open operation. The device open operation may, for example, be performed on a model file of the 3D model of the source device. For instance, the model file of the 3D model of the source device may be selected on the device open page, and a trigger operation may be performed on the "Open" control on the device open page. The model file of the 3D model of the source device may be stored on a computing device for easy browsing of the 3D model of the source device at any time.
[0051] Optionally, a 3D model of any device may include at least one of the following: a 3D image of the device, a 2D image, material, function, descriptive text, color, specifications, size, or shape.
[0052] like Figure 3 The image shown is an example of a three-dimensional model of a source device provided in an embodiment of this application. The source device can be, for example, a... Figure 3 The heat sink to be assembled shown in the figure has holes 301 on it, which are key geometric elements. The characteristics of holes 301 are the assembly features of this key geometric element.
[0053] Optionally, assembly features may include at least one of the following: device type, feature size, quantity, drawing number, material, etc.
[0054] by Figure 3 Taking hole 301 as an example, the assembly features of this key geometric element may include: {device type: hole; number of features: 4; feature size: height 2mm, radius 5mm; drawing number: 123}.
[0055] The assembly location can refer to the position on the source device where the component needs to be assembled, such as the location of the screw hole for a screw. The assembly feature corresponding to the assembly location can refer to the key geometric elements obtained by feature extraction at the assembly location, such as the diameter and depth of the screw hole.
[0056] S202. Based on the assembly features, determine the target device features corresponding to the devices that need to be assembled on the source device. The target device features refer to the features of the devices that can be assembled onto the key geometric elements.
[0057] When the device that matches the key geometric element is unknown, the target device features of the device that matches the key geometric element can be determined based on the assembly features. That is, the assembly features are feature-mapped to obtain the target device features of the device that can match the assembly features.
[0058] Still with Figure 3 Taking hole 301 in the heat sink 300 as an example, the device type that matches hole 301 on the heat sink 300 is a screw. The screw size can be based on the size of hole 301, which can be a screw length of 2mm and a hole size of 5mm. At this time, the target device characteristics can be {device type: screw; screw length: 2mm; hole size: 5mm}.
[0059] S203. Based on the characteristics of the target device, obtain the target device that the source device needs to assemble.
[0060] It is understandable that a device library can be pre-set, which can include devices of at least one device type, and devices of the same device type have the same common device attributes.
[0061] like Figure 1 As shown, the device library can be set in the device management device 20. At this time, the device management device 20 can query the target device that the source device needs to be assembled based on the characteristics of the target device.
[0062] In another possible design, the device library can also be set in the computing device 10. In this case, the computing device 10 can query the target devices that the source device needs to adapt to based on the characteristics of the target device.
[0063] Understandably, when the characteristics of the target device are known, one or more candidate devices whose characteristics match the target device can be queried based on feature similarity. However, when there are multiple candidate devices, further device screening is required to obtain the target device.
[0064] like Figure 3 The target device features shown are: {Device type: screw; Screw length: 2mm; Hole size: 5mm}, see reference. Figure 3 The query will find four candidate devices that match the characteristics of the target device, designated as candidate devices 1-4. Then, you can select from these four candidate devices... Figure 3 Candidate devices 302, 303, 304, and 305 are shown. The optimal device is selected as the target device from the four candidate devices; for example, candidate device 305 can be the optimal target device.
[0065] Based on this, optionally, obtaining the target device that the source device needs to assemble according to the target device characteristics may include: querying at least one candidate device feature that matches the target device feature according to the device features corresponding to at least one device; performing device screening on the devices corresponding to at least one candidate device feature to obtain the target device that is compatible with the source device.
[0066] S204. Assemble the source device and the target device to obtain the assembly result.
[0067] Optionally, S204 may include: assembling the target device onto the source device by means of a preset assembly rule, thereby obtaining an assembly result.
[0068] Specifically, the assembly position and orientation of the target device can be determined based on the assembly location and orientation of the source device. The target device is then assembled onto the source device according to its assembly position and orientation to obtain the assembly result.
[0069] The assembly position of the source device can be the assembly position of the target device. The opposite direction of the assembly direction of the source device can be the assembly direction of the target device. The opposite direction of the assembly direction can refer to a direction that is collinear with the assembly direction but faces the opposite direction, that is, a direction formed by extending in the opposite direction along the axis of the assembly direction.
[0070] In this embodiment, based on the 3D model of the source device, the assembly position of the source device is first determined, and the position of the device to be assembled is accurately located through the assembly position. The assembly features corresponding to the assembly position can represent the features of the key geometric elements in the source device that need to be assembled. This achieves feature extraction of the elements to be assembled in the source device. Then, feature mapping is performed on the assembly features to obtain the target device features of the device to be assembled on the source device. The target device features represent the features of the device that can be assembled onto the key geometric elements, thereby quantifying the features of the devices that can be assembled onto the source device. Then, the target device to be assembled on the source device is obtained through the target device features. That is, in the case of unknown devices, the features of the devices are obtained first, and then the corresponding target devices are queried through the features of the devices, so as to achieve accurate screening of the devices to be assembled. By assembling the source device and the target device, the feasibility of the assembly is verified, which can reduce the problems of error interference and misalignment in the assembly process. Therefore, by designing standard processes such as feature recognition, device matching and assembly verification, the device assembly process can be made more automated, efficient and low-cost, providing accurate guidance for subsequent physical assembly.
[0071] To facilitate the management and use of the devices, in this embodiment of the application, the devices that are managed in a decentralized manner are organized into a standardized device library, and the device library is used to manage and use the devices.
[0072] Specifically, a component library can contain one or more components, each with standardized component attributes / features. Component attributes / features can be used to record key information about the component, such as its type, specifications, material, size, color, shape, length or depth, the number of holes if present, and external shape characteristics.
[0073] In practical applications, there are a large number of devices. The devices can be classified and grouped into the same device type to establish a standardized device library.
[0074] In one possible design, each device in the device library can have device attributes such as device type, drawing number, code, name, image (such as a 3D model or a 2D image), and application instance.
[0075] Devices of the same type share common basic attributes. Common basic attributes refer to the same device properties / features possessed by the same device category. For example, when a wrench is considered a device type, its common basic attributes may include: basic size, material, and color. Different wrenches possess these common basic attributes, but the values of these attributes may differ. For instance, a wrench may be made of alloy or PVC.
[0076] Table 1 below shows several common device types and their common basic attributes.
[0077]
[0078] Table 1 Optionally, the device library can be configured in a device management device. The device management device can be the same device as the computing device that executes the device assembly method of the embodiments of this application, or it can be a different device.
[0079] like Figure 1 In the device assembly system shown, the device management device and the computing device are different devices.
[0080] When the device management device and the computing device are the same device, the computing device is configured with the above-mentioned device library and can use the device library for device management.
[0081] In practical applications, device assembly equipment can have functions such as device import, access control, and device management.
[0082] like Figure 4 The diagram shown is a structural schematic of a device assembly system provided in an embodiment of this application. The device assembly equipment can establish APIs such as device import API 401, access control API 402, and device management API 403 through API technology. The computing device can establish device interception API 404 and device assembly API 405 through API technology.
[0083] Specifically, the Device Import API 401 can collect user-inputted devices and their respective device attributes / characteristics. This may include: initializing devices 406 and saving devices 407. Initializing devices 406 can be used to generate device information (such as device identifier, name, etc.) and device attributes / characteristics. Saving devices 407 can be used to store the initialized devices in the device library. The Device Import API 401 can also be used to save device configuration records 408.
[0084] Access control API 402 allows you to control access permissions for devices in a device library. For example, it allows you to authorize personnel with device management privileges. For instance, authorized personnel 410 can manage devices in the device library.
[0085] Furthermore, the device management device is also used to collect user information and, when the user has device management permissions, authorize the user to manage the device through the device management API 403, such as adding a device, deleting a device, or modifying the device information and device attributes / device characteristics.
[0086] Device Management API 403 is used to manage devices, such as adding devices, deleting devices, or modifying device information / device characteristics.
[0087] By establishing a component library and classifying components within it, component retrieval and querying can be completed quickly, improving the efficiency and accuracy of component searches.
[0088] The computing device can use Device Query 409 to query candidate devices in the device library.
[0089] The Device Interception API 404 allows for further filtering of queried candidate devices, such as identifying the candidate device with the highest utility value as the target device based on the utility value of the candidate devices.
[0090] The Device Assembly API 405 can assemble a target device onto a source device to obtain the assembly result.
[0091] Based on the characteristics of the target device, these characteristics can be used to query the target device. The query for the target device can be performed through methods such as... Figure 1 The device management node shown is executed.
[0092] Therefore, as an example, based on the characteristics of the target device, the target device that the source device needs to assemble is obtained, including: A1. Identify at least one candidate device from the device library that matches the characteristics of the target device.
[0093] A2. Based on the historical assembly record set and the device characteristics of each candidate device, determine the utility value of each candidate device; A3. Based on the utility value of each candidate device, the candidate device with the highest utility value is determined as the target device.
[0094] Optionally, determining at least one candidate device matching the target device features from the device library may include: calculating the feature similarity between the device features of each device in the device library and the target device features to obtain the feature similarity corresponding to each device feature; sorting the feature similarities corresponding to each device feature from largest to smallest; and determining the top N devices with the highest sorted feature similarities as candidate devices. Alternatively, calculating the feature distance between the device features of each device in the device library and the target device features to obtain the feature distance corresponding to each device feature; sorting the feature distances corresponding to each device feature from smallest to largest; and determining the top N devices with the highest sorted feature distances as candidate devices.
[0095] The historical assembly record set may include at least one historical assembly record, each of which records the device attributes and assembly results of the corresponding component. Assembly results may include, for example, assembly success or assembly failure, and may also include, for example, assembly accuracy, failure rate, etc.
[0096] In this embodiment, candidate devices matching the characteristics of the target device are first screened from the device library. Then, based on the historical assembly record set and the device characteristics of each candidate device, the utility value of each candidate device is calculated, and the candidate device with the highest utility value is selected as the target device. This enables intelligent and quantitative decision-making for device selection based on historical assembly data, improving device matching accuracy and assembly adaptability. Using the utility value as the specific screening criterion for the target device ensures that the selected target device has the best historical assembly effect and reliability, effectively reducing the assembly error rate and improving the stability, efficiency, and automation level of the assembly process.
[0097] When screening subsequent devices, the process can be based on the characteristics of the target device. Further, based on any of the above embodiments, the characteristics of the target device include: target device type and target physical properties; step A1, determining at least one candidate device from the device library that matches the characteristics of the target device, includes: Determine the device set corresponding to at least one device type in the device library, wherein the device set includes at least one device belonging to the same device type; Based on the device sets corresponding to at least one device type, determine the target device set corresponding to the target device type of the target device feature; Identify at least one candidate device from the set of target devices that matches the target physical properties of the target device characteristics.
[0098] Optionally, determining at least one candidate device from the set of target devices that matches the target physical properties of the target device features includes: Determine the device features of each device in the target device set and the feature similarity of the target device features; based on the feature similarity of each device, determine the devices with feature similarity greater than the similarity threshold as candidate devices, so as to obtain at least one candidate device.
[0099] Alternatively, determine the device characteristics of each device in the target device set and the feature distance between the target device characteristics; based on the feature distance of each device, determine the devices whose feature distance is less than the distance threshold as candidate devices, so as to obtain at least one candidate device.
[0100] By calculating the feature similarity or feature distance between the features of each device in the target device set and the features of the target device, and selecting devices that meet the similarity or distance threshold as candidate devices, the quantification and precise matching of candidate devices can be achieved, improving the consistency and reliability of device selection. The threshold-based determination method can flexibly adapt to the matching accuracy requirements of different assembly scenarios, effectively narrowing the subsequent device selection range, reducing computational overhead, and improving the efficiency and accuracy of the overall device matching and selection process.
[0101] In this embodiment, the device set corresponding to each device type in the device library is first determined to achieve specific device classification. Then, the target device set to which the target device characteristics belong is obtained based on device type matching. Subsequently, candidate devices matching the target physical attributes are screened from the target device set. This allows for hierarchical and classified management of the device library by device type, narrowing the scope of device matching and retrieval, and avoiding the inefficiency and resource consumption caused by full library traversal. In addition, the two-level precise screening based on device type and target physical attributes can effectively improve the accuracy and targeting of candidate device positioning, reduce the probability of invalid matches, and improve the overall efficiency and reliability of the device selection process.
[0102] As another embodiment, the historical assembly record set includes at least one historical assembly record; step A2, based on the device characteristics of each candidate device and the historical assembly record, determines the utility value of each candidate device, including: Based on the device characteristics of each candidate device, the target historical assembly record that matches each candidate device is determined in the historical assembly record set. Based on the target historical assembly records that match each candidate device, the assembly effect of each candidate device is comprehensively scored to obtain the utility value of each candidate device.
[0103] Optionally, based on the device characteristics of the candidate device, feature similarity or feature distance can be calculated between the candidate device and the device characteristics of each historical assembly record in the historical assembly record set. Then, based on the feature similarity or feature distance between the candidate device and each historical assembly record, historical assembly records with feature similarity greater than a second similarity threshold can be selected as target historical assembly records. Alternatively, historical assembly records with feature similarity less than a second distance threshold can be selected as target historical assembly records.
[0104] Assembly effectiveness refers to the validity of the assembly result after assembling source components using target components. It can be quantified using parameters such as matching degree or matching success rate. A higher utility value indicates a higher success rate and better overall effectiveness when candidate components are involved in the assembly.
[0105] In this embodiment, based on the device characteristics of each candidate device, the corresponding target historical assembly record is accurately matched from the historical assembly record set. This fully utilizes historical assembly data to achieve an objective quantitative evaluation of the assembly effect of candidate devices, ensuring the accuracy and reliability of the utility value. A comprehensive score is then performed based on the target historical assembly record to obtain the utility value of each candidate device. The utility value truly reflects the actual assembly adaptability of the device, thereby using the utility value to select devices. This effectively defines the device screening data, improves the accuracy and rationality of device selection, and enhances the stability and success rate of the overall assembly process.
[0106] In one possible design, the historical assembly record includes device characteristics and historical assembly results. Based on the target historical assembly record matching each candidate device, the assembly effect of each candidate device is comprehensively scored to obtain the utility value of each candidate device, including: Based on the target historical assembly records that match each candidate device, determine the first number of target historical assembly records that correspond to the successful assembly of each candidate device. The utility value of each candidate device is determined based on the first quantity corresponding to each candidate device.
[0107] Optionally, determining the utility value of each candidate device based on the first quantity corresponding to each candidate device may include: calculating the sum of the first quantities corresponding to each candidate device to obtain a total record; and calculating the quotient of the first quantity of candidate devices and the total record to obtain the utility value corresponding to each candidate device.
[0108] In this embodiment, based on the target historical assembly records matched by each candidate device, the first number of target historical assembly records with successful assembly is counted, and the utility value of each candidate device is determined based on the first number. This enables the quantitative calculation of utility value based on the number of successful historical assembly, so that the utility value can intuitively and realistically reflect the historical assembly reliability and adaptability of the candidate device, effectively improving the objectivity, stability and interpretability of utility value calculation.
[0109] When the computing device and the device management device are different devices, the target device that the source device needs to assemble is obtained based on the characteristics of the target device, including: Based on the characteristics of the target device, generate a device query request; send the device query request to the device management device, which triggers the device management device to query for the target device that matches the characteristics of the target device from at least one device; receive the device information of the target device sent by the device management device.
[0110] Optionally, the device information of the target device may include: the three-dimensional model of the target device, device name, device identifier, device type, and other information.
[0111] Optionally, a device query request may include target device characteristics. The device management device can parse the target device characteristics from the device query request and then query at least one device in the device library that matches the target device characteristics.
[0112] Device information can be found in the description of the above embodiments, and will not be repeated here.
[0113] In this embodiment, using target device characteristics as the object for generating the device query request allows the device query request to include the target device characteristics. After sending the device query request to the device manager, the device manager can query for target devices that match the target device characteristics from at least one device. This allows for precise device selection through target device characteristics, improving the efficiency and accuracy of device selection.
[0114] The 3D model of a device contains several geometric elements, and key geometric elements refer to the elements that need to be assembled into the device. For the geometric elements in the 3D model of the source device, element filtering is required to obtain the key geometric elements. As another embodiment, based on the 3D model of the source device, the assembly position of the source device and the corresponding assembly features are determined, including: Call the preset feature recognition plugin to identify at least one geometric element in the 3D model of the source device and the assembly position of each geometric element; Filter out at least one geometric element that does not need to be assembled to obtain the key geometric element; Extract assembly features from key geometric elements.
[0115] Optionally, the feature recognition plugin can be a pre-configured plugin for recognizing geometric elements in a 3D model. This plugin can include a feature recognition model, where the input is the 3D model, and the output is one or more geometric elements in the 3D model and the assembly positions of each geometric element. Training the feature recognition model can be found in relevant technologies and will not be elaborated upon here.
[0116] Optionally, filtering out at least one geometric element that does not require assembly to obtain key geometric elements may include: determining the element type of each geometric element, such as a hole, plane, shaft, groove, scale line, chamfer, etc. Based on the element type of each geometric element, key geometric elements are obtained. The element type of each geometric element can be matched one-to-one with preset element types that need to be assembled. If the element type of a geometric element exists in the preset element types that need to be assembled, then that geometric element can be determined as a key geometric element. If the element type of a geometric element does not exist in the preset element types that need to be assembled, then that geometric element can be determined as needing to be filtered out. For example, the element type of a hole can be a key geometric element. The geometric element of a scale line is a geometric element that needs to be filtered out and is a non-key geometric element.
[0117] In this embodiment, a preset plugin is used to automatically identify the geometric elements of the 3D model of the source device to obtain at least one geometric element. Combined with a filtering mechanism, geometric elements of devices that do not need to be assembled can be automatically removed to obtain key geometric elements, thereby effectively eliminating geometric elements that do not need to be assembled and reducing interference. For the identified key geometric elements, the target device that needs to be assembled can be quickly and accurately identified, improving assembly accuracy.
[0118] The device assembly method provided in this application embodiment can be executed by a device assembly program. The device assembly program can display its interface on the display screen of a computing device. Therefore, as an embodiment, calling a preset feature recognition plugin to identify at least one geometric element in the three-dimensional model of the source device and the assembly position of each geometric element includes: In response to a user-triggered device loading operation, display a 3D model of the source device; In response to a device assembly request triggered by a user on a source device, a preset feature recognition plugin is invoked to identify at least one geometric element in the 3D model of the source device and the assembly position of each geometric element.
[0119] The following is combined with Figure 5 This is a flowchart illustrating a device assembly method provided in an embodiment of this application. The computing device 10 detects when a user double-clicks the device assembly program, and can display page 501 of the device assembly program. Page 501 of the device assembly program may include an "Open" button 5011. When the user triggers the "Open" button 5011, they can switch to page 502. Page 502 may display an input page or pop-up window 5021 for the device loading path. By inputting the storage path of the three-dimensional model of the source device in the input page or pop-up window 5021, the user confirms that a device loading operation has been detected, thereby switching to the model display page 503. This model display page 503 displays the three-dimensional model of the active device, such as a three-dimensional model 5031 of a heat sink.
[0120] Furthermore, the user can trigger a device assembly request on the 3D model 5031 of the heat sink. For example, after clicking on the 3D model 5031 of the heat sink, the user can select the "Auto Assembly" control 5033 from the menu list 5032 displayed to perform a click operation. The device assembly program captures this click operation to determine that the user has triggered a device assembly request for the source device. Afterwards, the device assembly program can call a preset feature recognition plugin to identify at least one geometric element in the 3D model of the source device, such as holes, surfaces, lines, etc.
[0121] In conjunction with the above embodiments, after obtaining at least one geometric element, the geometric elements that do not need to be assembled can be filtered out to obtain the key geometric element. This key geometric element is a hole in the heat sink, thus extracting the key geometric element. For example, in addition to the three-dimensional model 5031 of the heat sink in page 504, it may also include an assembly feature 5041. This assembly feature 5041 may include: {Device type: hole; Number of features: 4; Height: 2mm; Radius: 5mm; Drawing number: 123}.
[0122] For the extracted assembly features, the device assembly program can automatically convert them into target device features corresponding to the device to be assembled from the source device. Candidate devices are then selected based on these target device features. For example, the selected candidate devices could be the four candidate screws shown on page 505: candidate screw 5051, candidate screw 5052, candidate screw 5053, and candidate screw 5054. Next, the target device is identified from candidate screws 5051, 5052, 5053, and 5054. For instance, the identified target device is candidate screw 5053.
[0123] For the identified target device, namely candidate screw 5053, it can be assembled into the hole of the three-dimensional model 5031 of the heat sink, and the assembly result is as follows. Figure 5 Screws have been installed on the 3D model 5031 of the heat sink in page 506 shown.
[0124] Optionally, before displaying the 3D model of the source device in response to a user-triggered device loading operation, the method further includes: Display the device assembly page, and in response to the user's device opening operation triggered by the device assembly page, obtain the 3D model of the source device determined by the user and display the 3D model of the source device on the device assembly page. In response to an assembly request triggered by a user's 3D model of the source device, the assembly position of the source device and the corresponding assembly features are determined based on the 3D model of the source device.
[0125] The component assembly page can be a page that displays component assembly. This page may include an "Open" button. If the user clicks the "Open" button, a component selection pop-up window can be displayed, and the component opening operation can be performed through this pop-up window. In other words, the page can detect the model file of the 3D model that the user can select in the component selection pop-up window to confirm that a component opening operation has been detected.
[0126] In this embodiment, the 3D model is visualized in response to the user's device loading operation, intuitively displaying the 3D model of the source device to the user. Through user interaction, the system obtains the device assembly request triggered by the user on the source device, thereby invoking a preset feature recognition plugin to identify at least one geometric element in the 3D model of the source device. By using the feature recognition plugin to automatically identify the geometric elements of the source device, the system effectively reduces the difficulty of identifying geometric elements in the source device, achieving efficient processing from 3D model visualization to automatic geometric element identification, significantly improving the response speed of device matching and the user experience.
[0127] Assembly features mainly include two broad feature dimensions: device type and physical attributes. Therefore, when mapping assembly features to target device features, feature mapping can be performed from both type and attribute dimensions. As an example, determining the target device features corresponding to the device to be assembled with the source device based on the assembly features can include: Based on the device type of the assembly feature, determine the target device type that matches the device type of the assembly feature from at least one preset device type.
[0128] Determine the target physical attribute that matches the physical attribute of the assembly feature from at least one physical attribute corresponding to the target device type.
[0129] The target device type and target physical properties are determined as the target device characteristics of the device that the source device needs to assemble.
[0130] Optionally, based on the component type of the assembly feature, a target component type that matches the component type of the assembly feature is determined from at least one preset component type. This includes matching the component type of the assembly feature with keywords of each component type to obtain the component type with the highest matching degree as the target component type. For example, if the component type of the assembly feature is a hole, then the target component type that matches the hole component type from at least one preset component type is a screw. The keywords of each component type can be keyword pairs, that is, including the keywords of the two compatible component types. For example, <hole / screw hole, screw> can be the keyword of the component type.
[0131] In this embodiment, feature mapping is performed from two dimensions: feature type and physical attribute. First, a target device type compatible with the assembly feature is determined from at least one preset device type, thus clarifying the specific type of the device to be queried. Second, feature mapping is performed from the physical attributes of the assembly feature, obtaining target physical attributes compatible with the feature to be assembled from at least one physical attribute corresponding to the target device type. This two-dimensional feature mapping from source device to target device achieves comprehensive feature acquisition. The obtained target device type and target physical attributes allow for more refined selection of target devices, improving the accuracy and compatibility of target devices.
[0132] After obtaining the target device, the source device and the target device need to be assembled. As an example, assembling the source device and the target device to obtain the assembly result may include: Based on the 3D model of the source device and the 3D model of the target device, the key geometric elements of the source device and the assembly constraints of the target device are established. According to the assembly constraints, the target device and key geometric elements are assembled to obtain the assembly result.
[0133] Optionally, based on the 3D models of the source device and the target device, establishing key geometric elements of the source device and assembly constraints of the target device may include: determining the planes or coordinate axes of the geometric elements to be assembled in the source device, and determining the planes or coordinate axes of the geometric elements to be assembled in the target device. Assembly constraints are then established between the planes or coordinate axes of the geometric elements of the source device and the planes or coordinate axes of the geometric elements of the target device. These assembly constraints may include at least one of the following: plane coincidence, axis coincidence, parallel constraint, perpendicular constraint, translation constraint, angular constraint, or other angular constraint conditions.
[0134] By establishing assembly constraints such as plane coincidence, axis coincidence, parallelism, perpendicularity, translation, and angle based on the 3D models of the source and target devices, the relative position, orientation, and mating relationship between the source and target devices can be precisely defined, ensuring accurate assembly positioning and reliable mating, avoiding assembly misalignment, interference, or orientation deviation, and providing a stable and standardized constraint foundation for automated precision assembly.
[0135] In this embodiment, by utilizing the 3D models of the source device and the target device, assembly constraints for key geometric elements and the target device are established. This transforms the abstract 3D model into precise mathematical constraints, achieving accurate spatial alignment of the two devices. Following these assembly constraints, the target device and key geometric elements can be assembled more directly, yielding an assembly result that conforms to the constraints, thus achieving efficient and precise device assembly.
[0136] It is understandable that the assembly constraints between the source and target devices in the spatial dimension can be established based on constraints such as coordinate axes, planes, or angles between the two geometric bodies. Therefore, different assembly methods can be set based on different constraint objects of the assembly constraints. As an example, assembling the target device and key geometric elements according to the assembly constraints to obtain the assembly result can include: When assembly constraints include plane coincidence conditions, rotate the first plane of the target device to coincide with the second plane of the critical geometric element; And / or, if the assembly constraints include axis coincidence conditions, rotate the coordinate axes of the target device to coincide with the coordinate axes of the critical geometric elements; And / or, where the assembly constraints include parallel constraints, rotate the third plane of the target device to be parallel to the fourth plane of the critical geometry, or rotate the coordinate axes of the target device to be parallel to the coordinate axes of the source device. And / or, if the assembly constraints include vertical constraints, rotate the fifth plane of the target device to be perpendicular to the sixth plane of the critical geometry, or rotate the coordinate axes of the target device to be perpendicular to the coordinate axes of the critical geometry. And / or, where the assembly constraints include translation constraints, the target device is translated a first distance toward the critical geometric element in a first direction, or the critical geometric element is translated a second distance toward the target device in a second direction; And / or, where assembly constraints include angular constraints, rotate the target device and key geometric elements at the angles of the relevant planes or relevant axes to a preset angle.
[0137] like Figures 6a-6c This is an example diagram illustrating a constraint condition provided in an embodiment of this application. When assembling target devices and key geometric elements, the following assembly constraints may exist: 1. Conditions for axle coincidence: such as Figure 6a As shown, the Z-axis 601 of the target device is rotated to be parallel to the Z-axis 602 of the key geometric element, and then the Z-axis 601 of the target device is moved to coincide with the Z-axis 602 of the key geometric element.
[0138] 2. Conditions for plane coincidence: such as Figure 6b As shown, the A plane 603 of the target device is rotated to be parallel to the B plane 604 of the key geometric element. Then, the A plane 603 of the target device is moved to coincide with the B plane 604 of the key geometric element.
[0139] 3. Conditions for coincidence of axes and planes: such as Figure 6c The target device's C-plane 605 is rotated until it is parallel to the critical geometry's D-plane 606. Then, the target device's C-plane 605 is moved until it coincides with the critical geometry's D-plane 606. Next, the Z-axis 607 of the protrusion on the D-plane 606 and the Z-axis 608 of the hole on the C-plane are moved until they coincide.
[0140] In this embodiment, the assembly constraints are refined into various specific geometric constraints, such as plane coincidence conditions, axis coincidence conditions, parallel constraints, perpendicular constraints, translation constraints, and / or angular constraints. By using one or more of these assembly constraints, multi-dimensional, high-precision spatial assembly of the source and target devices can be achieved. Precise adjustments to planes, coordinate axes, and / or angles ensure strict alignment of the source and target devices in terms of position, orientation, and distance (gap), effectively solving the problem of difficulty in balancing multi-dimensional spatial relationships during manual positioning, and generating more accurate, realistic assembly results that conform to constraint logic.
[0141] like Figure 7 The diagram shown is a flowchart of another embodiment of a device assembly method provided in this application. The device assembly method can be executed by a device management device, and the device assembly method can include the following steps: S701. Receive a device query request sent by a computing device. The device query request includes target device features. Target device features refer to the features of a device that can be assembled onto a key geometric element. The target device features are generated based on assembly features. Assembly features refer to the features of the key geometric elements on the source device that require assembly of the device.
[0142] S702. Search the device library for target devices that match the characteristics of the target device.
[0143] S703. Send the device information of the target device to the computing device.
[0144] In this embodiment, the device management device can receive a device query request sent by a computing device, the device query request including target device characteristics. After sending the device query request to the device manager, the device manager can query a target device that matches the target device characteristics from at least one device. Accurate device selection is achieved through the target device characteristics, improving the efficiency and accuracy of device selection.
[0145] The device management device may include a device library, which may include at least one device, and the devices may be categorized according to device type. That is, the device library includes at least one device corresponding to each device type.
[0146] Optionally, S702, querying the target device from the device library that matches the characteristics of the target device, includes: determining at least one candidate device from the device library that matches the characteristics of the target device; determining the utility value of each candidate device based on the historical assembly record set and the device characteristics of each candidate device; and determining the candidate device with the highest utility value as the target device based on the utility value of each candidate device.
[0147] As mentioned above, the target device characteristics include: target device type and target physical properties; at least one candidate device matching the target device characteristics is identified from the device library, including: Determine the device set corresponding to at least one device type in the device library, wherein the device set includes at least one device belonging to the same device type; Based on the device sets corresponding to at least one device type, determine the target device set corresponding to the target device type of the target device feature; Identify at least one candidate device from the set of target devices that matches the target physical properties of the target device characteristics.
[0148] In this embodiment, at least one device is classified to obtain devices corresponding to at least one device type. By matching the target device type with other device types, the device category is quickly located. When the device category is known, device matching can be performed from devices within that category, greatly narrowing the search scope and reducing query costs. Subsequently, target devices that match the target physical attributes can be queried, achieving a refined query based on physical attributes and further improving device matching accuracy. This progressive device matching approach, which first locates the device category and then performs device matching, avoids the increased cost of searching the entire device library and prevents incorrect devices from being queried across categories, enabling the rapid and accurate location of the optimal target device from a large number of devices.
[0149] like Figure 8 The diagram shown is a timing diagram of a device assembly method provided in an embodiment of this application. The device assembly method may include the following steps: S801. Initialize devices and classify devices to establish a device library. That is, the user initializes devices and classifies devices through the device management device to establish a device library.
[0150] S802, The device management device confirms to the user that the device library has been established.
[0151] S803, The computing device opens the source device, that is, the device loading operation performed by the user.
[0152] S804, a three-dimensional model of the display source device.
[0153] S805, Click on device assembly, which means: detect the device assembly request triggered by the user on the source device.
[0154] S806, Feature Recognition, that is, in response to the user's device assembly request triggered by the source device, the preset feature recognition plugin is invoked to identify at least one geometric element in the 3D model of the source device and the assembly position of each geometric element. At least one geometric element is filtered to obtain the key geometric elements, and the assembly features of the key geometric elements are extracted.
[0155] S807, Feature Mapping, that is, determining the target device features corresponding to the device that the source device needs to be assembled with based on the assembly features. The target device features refer to the features of the device that can be assembled onto the key geometric elements.
[0156] S808, Device Query, which means retrieving the target device that the source device needs to be assembled from the device library in the device management device based on the characteristics of the target device.
[0157] S809 device assembly, also known as source device and target device assembly, is the process of assembling source devices and target devices to obtain the assembly result.
[0158] S810 shows the assembly result.
[0159] In this embodiment, the device management device pre-sets, categorizes, and initializes the device library, providing basic devices. By loading and displaying the 3D model of the source device, the feature recognition plugin automatically identifies geometric elements and assembly positions, filters out key geometric elements and extracts assembly features, determines the target device features, and retrieves matching target devices from the device library. This completes the automatic assembly of the source and target devices and displays the assembly results. This enables visualization, automation, and intelligence of the device assembly process, reduces the operational costs of manual identification and matching, improves the accuracy of assembly feature extraction and device matching efficiency, and enhances the intuitiveness, convenience, and reliability of the overall assembly process.
[0160] like Figure 9 The diagram shown is a structural schematic of a device assembly apparatus provided in an embodiment of this application. The device assembly apparatus 900 may include: The assembly determination unit 901 is used to determine the assembly position of the source device and the assembly features corresponding to the assembly position based on the three-dimensional model of the source device. The assembly features refer to the features of the key geometric elements of the source device that need to be assembled.
[0161] The feature conversion unit 902 is used to determine the target device features corresponding to the device that the source device needs to be assembled with based on the assembly features. The target device features refer to the features of the device that can be assembled onto the key geometric elements.
[0162] The device identification unit 903 is used to obtain the target device that the source device needs to assemble based on the characteristics of the target device.
[0163] The device assembly unit 904 is used to assemble the source device and the target device to obtain the assembly result.
[0164] As one embodiment, the device identification unit 903 can be used for: The device matching module is used to identify at least one candidate device from the device library that matches the characteristics of the target device.
[0165] The utility calculation module is used to determine the utility value of each candidate device based on the historical assembly record set and the device characteristics of each candidate device.
[0166] The device selection module is used to determine the candidate device with the highest utility value as the target device based on the utility value of each candidate device.
[0167] As another embodiment, the target device features include: target device type and target physical properties. The device matching module is used for: The device determination submodule is used to determine the device set corresponding to at least one device type in the device library. The device set includes at least one device belonging to the same device type.
[0168] The set determination submodule is used to determine the target device set corresponding to the target device type of the target device feature based on the device set corresponding to at least one device type. The device matching submodule is used to determine at least one candidate device from the set of target devices that matches the target physical properties of the target device characteristics.
[0169] As another embodiment, the device matching submodule is specifically used to: determine the device features of each device in the target device set and the feature similarity of the target device features; determine the devices with feature similarity greater than a similarity threshold as candidate devices based on the feature similarity of each device, so as to obtain at least one candidate device; or, determine the feature distance between the device features of each device in the target device set and the feature distance of the target device features; determine the devices with feature distance less than a distance threshold as candidate devices based on the feature distance of each device, so as to obtain at least one candidate device.
[0170] As another embodiment, the historical assembly record set includes at least one historical assembly record; the utility calculation module includes: The record query submodule is used to determine the target historical assembly record that matches each candidate device in the historical assembly record set based on the device characteristics of each candidate device.
[0171] The utility calculation submodule is used to comprehensively score the assembly effect of each candidate device based on the target historical assembly records that match each candidate device, and obtain the utility value of each candidate device.
[0172] As another embodiment, the historical assembly record includes the device characteristics and historical assembly results of the device. The utility calculation submodule is specifically used to: determine the first number of target historical assembly records that are successfully assembled for each candidate device based on the target historical assembly records that match each candidate device; and determine the utility value of each candidate device based on the first number corresponding to each candidate device.
[0173] In the embodiments of this application, Figure 9 The device shown can also be a chip or a chip system, such as a system on chip (SoC) or a baseboard management controller (BMC).
[0174] Figure 10 This is a hardware block diagram of a computing device provided in an embodiment of this application. The computing device 1000 according to an embodiment of this application includes at least a memory 1001 and a processor 1002. The memory 1001 is used to store computer programs. The processor 1002 is used to execute the computer programs to implement the device assembly method of any of the above embodiments.
[0175] In addition, both the memory 1001 and the processor 1002 are electrically connected to the bus 1003.
[0176] Furthermore, embodiments of this application also provide a computer-readable storage medium for storing a computer program. When executed by a processor, the computer program implements the device assembly method of any of the preceding embodiments of this application.
[0177] Computer-readable storage media include, but are not limited to, volatile storage media and / or non-volatile storage media. Volatile storage media may include, for example, random access storage media (RAM) and / or cache storage media. Non-volatile storage media may include, for example, read-only storage media (ROM), hard disks, flash memory, optical disks, magnetic disks, etc.
[0178] This application also provides a computer program product, including a computer program / instructions, which, when executed by a processor, implement the device assembly method of any of the preceding embodiments of this application.
[0179] The basic principles of the embodiments of this application have been described above with reference to specific examples. However, it should be noted that the advantages, benefits, and effects mentioned in the embodiments of this application are merely examples and not limitations, and should not be considered as essential features of each embodiment of this application. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the embodiments of this application from necessarily employing the aforementioned specific details.
[0180] The block diagrams of devices, apparatuses, devices, and systems involved in the embodiments of this application are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context explicitly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.
[0181] Additionally, as used herein, the "or" used in a list of items beginning with "at least one" indicates a separate list, such that a list of, for example, "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not imply that the described example is preferred or better than other examples.
[0182] It should also be noted that in the systems and methods of this application embodiment, each component or step can be decomposed and / or recombined. These decompositions and / or recombinations should be considered as equivalent solutions of the embodiments of this application.
[0183] Various changes, substitutions, and modifications can be made to the technology herein without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of the embodiments of this application is not limited to the specific aspects of the processes, machines, manufactures, events, means, methods, and actions described above. Currently existing or later-developed processes, machines, manufactures, events, means, methods, or actions that perform substantially the same function or achieve substantially the same result as the corresponding aspects herein can be utilized. Therefore, the appended claims include such processes, machines, manufactures, events, means, methods, or actions within their scope.
[0184] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use embodiments of this application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of embodiments of this application. Therefore, embodiments of this application are not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0185] The above description has been given for illustrative and descriptive purposes. Furthermore, this description is not intended to limit the embodiments of this application to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.
Claims
1. A device assembly method, characterized in that, include: Based on the three-dimensional model of the source device, the assembly position of the source device and the assembly features corresponding to the assembly position are determined. The assembly features refer to the features of the key geometric elements of the source device that need to be assembled. Based on the assembly features, the target device features corresponding to the device that the source device needs to be assembled with are determined. The target device features refer to the features of the device that can be assembled onto the key geometric element. Based on the characteristics of the target device, the target device that the source device needs to be assembled with is obtained; The source device and the target device are assembled to obtain an assembly result.
2. The method according to claim 1, characterized in that, The step of obtaining the target device to be assembled with the source device based on the characteristics of the target device includes: Identify at least one candidate device from the device library that matches the characteristics of the target device; Based on the historical assembly record set and the device characteristics of each candidate device, the utility value of each candidate device is determined. Based on the utility value of each candidate device, the candidate device with the highest utility value is determined as the target device.
3. The method according to claim 2, characterized in that, The target device characteristics include: target device type and target physical properties; determining at least one candidate device from the device library that matches the target device characteristics includes: Determine the device set corresponding to at least one device type in the device library, wherein the device set includes at least one device belonging to the same device type; Based on the device sets corresponding to the at least one device type, determine the target device set corresponding to the target device type of the target device feature; From the set of target devices, at least one candidate device is identified that matches the target physical properties of the target device characteristics.
4. The method according to claim 3, characterized in that, The step of determining at least one candidate device from the set of target devices that matches the target physical properties of the target device features includes: Determine the device features of each device in the target device set and the feature similarity of the target device features; based on the feature similarity of each device, determine the devices with feature similarity greater than a similarity threshold as candidate devices, so as to obtain at least one candidate device; Alternatively, determine the device characteristics of each device in the target device set and the feature distance of the target device characteristics; based on the feature distance of each device, determine the devices whose feature distance is less than the distance threshold as candidate devices, so as to obtain the at least one candidate device.
5. The method according to any one of claims 2-4, characterized in that, The historical assembly record set includes at least one historical assembly record; determining the utility value of each candidate device based on its device characteristics and historical assembly records includes: Based on the device characteristics of each candidate device, the target historical assembly record that matches each candidate device is determined in the historical assembly record set. Based on the target historical assembly records that match each candidate device, the assembly effect of each candidate device is comprehensively scored to obtain the utility value of each candidate device.
6. The method according to any one of claims 1-5, characterized in that, The step of determining the target device features corresponding to the device to be assembled with the source device based on the assembly features includes: Based on the device type of the assembly feature, a target device type that is compatible with the device type of the assembly feature is determined from at least one preset device type. Determine the target physical attribute that matches the physical attribute of the assembly feature from at least one physical attribute corresponding to the target device type; The target device type and the target physical properties are determined as the target device characteristics of the device that the source device needs to assemble.
7. The method according to any one of claims 1-6, characterized in that, The assembly of the source device and the target device to obtain the assembly result includes: Based on the three-dimensional model of the source device and the three-dimensional model of the target device, the key geometric elements of the source device and the assembly constraints of the target device are established. According to the assembly constraints, the target device and the key geometric elements are assembled to obtain the assembly result.
8. The method according to claim 7, characterized in that, The assembly of the target device and the key geometric elements according to the assembly constraints includes: When the assembly constraints include the plane coincidence condition, the first plane of the target device is rotated to coincide with the second plane of the key geometric element; And / or, if the assembly constraints include axis coincidence conditions, rotate the coordinate axes of the target device to coincide with the coordinate axes of the key geometric element; And / or, if the assembly constraints include parallel constraints, rotate the third plane of the target device to be parallel to the fourth plane of the key geometry, or rotate the coordinate axes of the target device to be parallel to the coordinate axes of the source device; And / or, if the assembly constraints include vertical constraints, rotate the fifth plane of the target device to be perpendicular to the sixth plane of the key geometric element, or rotate the coordinate axes of the target device to be perpendicular to the coordinate axes of the key geometric element; And / or, if the assembly constraints include translation constraints, the target device is translated a first distance toward the critical geometric element in a first direction, or the critical geometric element is translated a second distance toward the target device in a second direction; And / or, if the assembly constraints include angular constraints, the target device and the key geometric elements are rotated to a preset angle in the relevant plane or relevant axis.
9. The method according to any one of claims 1-8, characterized in that, The three-dimensional model based on the source device determines the assembly position of the source device and the corresponding assembly features, including: The preset feature recognition plugin is invoked to identify at least one geometric element in the three-dimensional model of the source device and the assembly position of each geometric element; Filter out the geometric elements that do not need to be assembled from the at least one geometric element to obtain the key geometric element; Extract the assembly features of the key geometric elements.
10. A computing device, characterized in that, include: A processor and a memory, the memory storing a computer program that is invoked by the processor to execute the device assembly method according to any one of claims 1-9.