Method and device for predicting buckle assembly information, electronic equipment and storage medium
By obtaining the design parameter information of the snap and judging the rationality of the snap design based on its relationship with the assembly stress, the problem of time-consuming judgment of the rationality of the snap design is solved, and the efficiency of predicting the snap assembly information is improved.
Patent Information
- Application Number
- CN202411923466.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-05-02
AI Technical Summary
The reasonability judgment process of snap-on design takes a long time, resulting in low efficiency in predicting snap-on assembly information.
By obtaining the design parameter information of the target snap, the predicted assembly stress is determined based on the relationship corresponding to the design snap type, and the rationality of the snap design is judged based on the magnitude relationship between the predicted assembly stress and the material stress corresponding to the material type.
The rational judgment process of snap design is simplified, the judgment time is shortened, and the efficiency of predicting snap assembly information is improved.
Smart Images

Figure CN119918247A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of buckle technology, and in particular to a method, device, electronic device and storage medium for predicting buckle assembly information. Background Art
[0002] At present, in the buckle production process, the staff usually determines whether the design structural parameter information of the buckle is reasonable based on their previous experience or through simulation. However, there are many types of buckles and many types of structural parameter information. Therefore, the rationality judgment process of the buckle design takes a long time, which leads to low efficiency in predicting the buckle assembly information. Summary of the invention
[0003] Based on this, it is necessary to provide a method, device, electronic device, computer-readable storage medium and computer program product for predicting buckle assembly information that can improve the efficiency of predicting buckle assembly information in order to address the above technical problems.
[0004] In a first aspect, the present application provides a method for predicting buckle assembly information. The method comprises:
[0005] Acquire design parameter information of a target buckle, wherein the design parameter information includes design buckle type, design material type, and design structure parameter information;
[0006] Determine, based on a first relationship corresponding to the designed buckle type, a predicted assembly stress corresponding to the designed structural parameter information, wherein the first relationship is a corresponding relationship between the structural parameter information of the buckle and the assembly stress;
[0007] In the case where the predicted assembly stress is not greater than the material stress corresponding to the material type, outputting reasonable information of the target buckle design;
[0008] In a case where the predicted assembly stress is greater than the material stress corresponding to the material type, information indicating that the target buckle design is unreasonable is output.
[0009] In one of the embodiments, before determining the predicted assembly stress corresponding to the design structural parameter information based on the first relationship corresponding to the design buckle type, the method further includes: obtaining preset parameter information of multiple preset buckles, and obtaining preset assembly stresses of the multiple preset buckles under the preset parameter information, respectively, wherein the preset parameter information includes a preset buckle type and preset structural parameter information; selecting first parameter information from the preset parameter information of the multiple preset buckles according to the design buckle type; and constructing a first relationship corresponding to the design buckle type according to the first parameter information and the corresponding preset assembly stress.
[0010] In one of the embodiments, selecting first parameter information from the preset parameter information of the multiple preset buckles based on the designed buckle type includes: obtaining the matching degree between the designed buckle type and the preset buckle types of the multiple preset buckles; and selecting the corresponding first parameter information whose matching degree meets the preset matching condition from the preset parameter information of the multiple preset buckles.
[0011] In one of the embodiments, constructing the first relationship corresponding to the designed buckle type based on the first parameter information and the corresponding preset assembly stress includes: if the total amount of information of the first parameter information is less than a preset quantity threshold, expanding the first parameter information to obtain expanded parameter information; performing data fitting based on the preset structural parameter information, the corresponding preset assembly stress and the expanded parameter information in the first parameter information to obtain the first relationship corresponding to the designed buckle type; if the total amount of information of the first parameter information is not less than the preset quantity threshold, performing data fitting based on the preset structural parameter information and the corresponding preset assembly stress in the first parameter information to obtain the first relationship corresponding to the designed buckle type.
[0012] In one of the embodiments, after outputting the target buckle design rationality information, the method further includes: obtaining a second relationship, wherein the second relationship is a correspondence between the buckle's structural parameters and the assembly force; based on the second relationship, determining a target assembly force corresponding to the design structural parameter information.
[0013] In one embodiment, obtaining the second relationship includes: selecting second parameter information corresponding to a preset assembly stress that is not greater than a material stress corresponding to a preset material type from preset parameter information of a plurality of preset buckles; selecting a minimum assembly force corresponding to each preset structural parameter information from the preset assembly force of the second parameter information; and constructing a second relationship based on the minimum assembly force corresponding to each preset structural parameter information.
[0014] In one of the embodiments, after determining the target assembly force corresponding to the design structure parameter information based on the second relationship, the method further includes: generating an assembly instruction corresponding to the target buckle according to the target assembly force corresponding to the target buckle; and assembling the target buckle according to the assembly instruction.
[0015] In a second aspect, the present application also provides a device for predicting buckle assembly information. The device comprises:
[0016] An acquisition module, used to acquire design parameter information of a target buckle, wherein the design parameter information includes a design buckle type, a design material type, and design structure parameter information;
[0017] A determination module, configured to determine a predicted assembly stress corresponding to the design structural parameter information based on a first relationship corresponding to the design buckle type, wherein the first relationship is a correspondence between the structural parameter information of the buckle and the assembly stress;
[0018] The output module is used to output the reasonable design information of the target buckle when the predicted assembly stress is not greater than the material stress corresponding to the material type; and output the unreasonable design information of the target buckle when the predicted assembly stress is greater than the material stress corresponding to the material type.
[0019] In a third aspect, the present application further provides an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0020] Acquire design parameter information of a target buckle, wherein the design parameter information includes design buckle type, design material type, and design structure parameter information;
[0021] Determine, based on a first relationship corresponding to the designed buckle type, a predicted assembly stress corresponding to the designed structural parameter information, wherein the first relationship is a corresponding relationship between the structural parameter information of the buckle and the assembly stress;
[0022] In the case where the predicted assembly stress is not greater than the material stress corresponding to the material type, outputting reasonable information of the target buckle design;
[0023] In a case where the predicted assembly stress is greater than the material stress corresponding to the material type, information indicating that the target buckle design is unreasonable is output.
[0024] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0025] Acquire design parameter information of a target buckle, wherein the design parameter information includes design buckle type, design material type, and design structure parameter information;
[0026] Determine, based on a first relationship corresponding to the designed buckle type, a predicted assembly stress corresponding to the designed structural parameter information, wherein the first relationship is a corresponding relationship between the structural parameter information of the buckle and the assembly stress;
[0027] In the case where the predicted assembly stress is not greater than the material stress corresponding to the material type, outputting reasonable information of the target buckle design;
[0028] In a case where the predicted assembly stress is greater than the material stress corresponding to the material type, information indicating that the target buckle design is unreasonable is output.
[0029] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0030] Acquire design parameter information of a target buckle, wherein the design parameter information includes design buckle type, design material type, and design structure parameter information;
[0031] Determine, based on a first relationship corresponding to the designed buckle type, a predicted assembly stress corresponding to the designed structural parameter information, wherein the first relationship is a corresponding relationship between the structural parameter information of the buckle and the assembly stress;
[0032] In the case where the predicted assembly stress is not greater than the material stress corresponding to the material type, outputting reasonable information of the target buckle design;
[0033] In a case where the predicted assembly stress is greater than the material stress corresponding to the material type, information indicating that the target buckle design is unreasonable is output.
[0034] The above-mentioned method, device, electronic device and storage medium for predicting buckle assembly information obtain design parameter information of the target buckle, wherein the design parameter information includes the design buckle type, the design material type and the design structural parameter information; based on the first relationship corresponding to the design buckle type, determine the predicted assembly stress corresponding to the design structural parameter information, wherein the first relationship is the correspondence between the structural parameter information of the buckle and the assembly stress; when the predicted assembly stress is not greater than the material stress corresponding to the material type, output the target buckle design reasonable information; when the predicted assembly stress is greater than the material stress corresponding to the material type, output the target buckle design unreasonable information. Through the first relationship, the prediction process of the predicted assembly stress can be simplified to a relationship substitution process, and the judgment of the design rationality of the target buckle is simplified to the judgment of the size relationship between the predicted assembly stress and the material stress corresponding to the material type. In summary, the time consumed by the buckle design rationality judgment process is shortened, and the efficiency of predicting buckle assembly information is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of an application scenario of a method for predicting buckle assembly information in an embodiment;
[0036] Figure 2 A schematic diagram of a flow chart of a method for predicting buckle assembly information in one embodiment;
[0037] Figure 3 A schematic diagram of the steps of a first relationship building method in one embodiment;
[0038] Figure 4 A schematic flow chart of the steps of a method for determining a target assembly force in one embodiment;
[0039] Figure 5 A structural block diagram of a device for predicting buckle assembly information in one embodiment;
[0040] Figure 6 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0042] The method for predicting buckle assembly information provided in the embodiment of the present application can be applied to Figure 1 In the application scenario shown. As shown in the figure, the terminal 102 communicates with the server 104 through the network, or through a connecting line, which is not limited here. The data storage system can store the data (design parameter information, preset parameter information, preset assembly stress, etc.) that the server 104 needs to process, and obtain the design parameter information of the target buckle through the server 104, wherein the design parameter information includes the design buckle type, the design material type and the design structure parameter information; based on the first relationship corresponding to the design buckle type, determine the predicted assembly stress corresponding to the design structure parameter information, wherein the first relationship is the corresponding relationship between the structural parameter information of the buckle and the assembly stress; when the predicted assembly stress is not greater than the material stress corresponding to the material type, output the target buckle design reasonable information; when the predicted assembly stress is greater than the material stress corresponding to the material type, output the target buckle design unreasonable information. The server 104 pushes the buckle design rationality information (the above-mentioned target buckle design unreasonable information or target buckle design reasonable information) to the terminal 102. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 may be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0043] In one embodiment, Figure 2 As shown, a method for predicting snap-fit assembly information is provided, and the method is applied to Figure 1 Taking the server 104 in the example as an example, the following steps are included:
[0044] Step 202: Acquire design parameter information of a target buckle, wherein the design parameter information includes design buckle type, design material type, and design structure parameter information.
[0045] Among them, the target buckle in step 202 is a buckle waiting to be assembled or waiting for design rationality judgment. The target buckle can be a physical buckle or a virtual buckle (here it means a buckle that has not yet been processed and contains a virtual design image), and there is no limitation here.
[0046] Among them, the buckle involved in the full text (including the above-mentioned target buckle and preset buckle) is a mechanism used for embedding connection or overall locking of one part with another part, and is usually used for connecting workpieces.
[0047] Among them, the buckle types involved in the full text (including the above-mentioned designed buckle types and preset buckle types) include but are not limited to sliding buckle type, cantilever buckle type, straight plug buckle type, hook buckle type, concealed buckle type, side hook buckle type, spring buckle type, ring buckle type, spiral buckle type, cantilever buckle joint type, hook-type cantilever buckle type, W buckle type, ball buckle type, S buckle type, special-shaped cantilever buckle type, safety buckle type, ring buckle joint type, etc.
[0048] Among them, the structural parameter information involved in the full text (including the above-mentioned design structural parameter information and preset structural parameter information) includes at least one of the cantilever length, the snap-fit amount, the buckle thickness, the buckle width and the inclination angle of the snap-fit surface. When the buckle (the above-mentioned target buckle and preset buckle) does not include a cantilever, the corresponding structural parameter information does not include the cantilever length.
[0049] Exemplarily, obtaining design parameter information of the target buckle includes: identifying the buckle type of the target buckle to obtain the designed buckle type, obtaining the designed material type of the target buckle, and obtaining design structure parameter information of the target buckle, wherein the designed material type can be set by the user as needed.
[0050] As an embodiment, obtaining design structure parameter information of a target buckle includes: measuring the target buckle to obtain the design structure parameter information.
[0051] As another embodiment, obtaining design structure parameter information of the target buckle includes: obtaining a design drawing corresponding to the target buckle, and identifying the design structure parameter information from the design drawing.
[0052] As an embodiment, performing buckle type identification on a target buckle to obtain a designed buckle type includes: acquiring a buckle shape of the target buckle, and performing buckle type identification on the target buckle according to the buckle shape to obtain a designed buckle type.
[0053] Step 204 , based on a first relationship corresponding to the designed buckle type, determining a predicted assembly stress corresponding to the designed structural parameter information, wherein the first relationship is a corresponding relationship between the structural parameter information of the buckle and the assembly stress.
[0054] Among them, the first relationships corresponding to different buckle types are also different.
[0055] Among them, the assembly stress involved in this article (the predicted assembly stress and preset assembly stress mentioned above) is used to characterize the maximum stress that the buckle can withstand before it breaks under the tensile load during assembly.
[0056] Exemplarily, step 204 includes: acquiring a first relationship corresponding to the designed buckle type, and determining a predicted assembly stress corresponding to the designed structural parameter information based on the first relationship corresponding to the designed buckle type.
[0057] As an embodiment, obtaining a first relationship corresponding to a designed buckle type includes: obtaining a plurality of pre-constructed fitting relationships and buckle types corresponding to the plurality of fitting relationships, and selecting a first relationship whose corresponding buckle type is the same as the designed buckle type from the plurality of fitting relationships.
[0058] As one embodiment, based on a first relationship corresponding to the design buckle type, a predicted assembly stress corresponding to the design structure parameter information is determined, including: mapping the design structure parameter information to the predicted assembly stress through the first relationship corresponding to the design buckle type; or, the first relationship is a neural network model or a mathematical model, and the design structure parameter information is input into the first relationship to obtain the predicted assembly stress.
[0059] Step 206 , when the predicted assembly stress is not greater than the material stress corresponding to the material type, outputting reasonable information of the target buckle design.
[0060] The material stress in step 206 is used to characterize the maximum stress that the material can withstand before breaking under the tensile load. The information that the target buckle design is reasonable indicates that the target buckle design is reasonable, which means that the design parameter information of the target buckle can be put into production, or the target buckle can be assembled and used. The output type of the information that the target buckle design is reasonable can be a text output form or a logo output form.
[0061] As an embodiment, outputting the target buckle design rationality information includes: outputting the target buckle design rationality information on a display screen, or outputting the target buckle design rationality information through a configured light.
[0062] Further, outputting the target buckle design rationality information through the configured light includes: outputting the target buckle design rationality information through lighting a green light, or outputting the target buckle design rationality information through continuously lighting a light.
[0063] As another embodiment, outputting target buckle design rationality information includes: outputting target buckle design rationality information to a terminal.
[0064] Step 208: When the predicted assembly stress is greater than the material stress corresponding to the material type, output information indicating that the target buckle design is unreasonable.
[0065] The target buckle design unreasonable information in step 208 indicates that the target buckle design is unreasonable, which means that the target buckle needs to be redesigned, the target buckle cannot be put into production, and the target buckle cannot be assembled and used. The output type of the target buckle design unreasonable information can be a text output form or a logo output form.
[0066] As an embodiment, outputting the target buckle design unreasonable information includes: outputting the target buckle design unreasonable information on a display screen, or outputting the target buckle design unreasonable information through a configured light.
[0067] Furthermore, outputting the information that the target buckle design is unreasonable through a configured light includes: outputting the information that the target buckle design is unreasonable through turning on a red light, or outputting the information that the target buckle design is unreasonable through a flashing light.
[0068] As another embodiment, outputting information that the target buckle design is unreasonable includes: outputting information that the target buckle design is unreasonable to a terminal.
[0069] In this way, a variety of methods for outputting buckle design rationality judgment information are provided, realizing a visual display of the buckle assembly information prediction process.
[0070] In this embodiment, by obtaining design parameter information of the target buckle, wherein the design parameter information includes the design buckle type, the design material type and the design structural parameter information; based on the first relationship corresponding to the design buckle type, the predicted assembly stress corresponding to the design structural parameter information is determined, wherein the first relationship is the corresponding relationship between the structural parameter information of the buckle and the assembly stress; when the predicted assembly stress is not greater than the material stress corresponding to the material type, the target buckle design reasonable information is output; when the predicted assembly stress is greater than the material stress corresponding to the material type, the target buckle design unreasonable information is output. Through the first relationship, the prediction process of the predicted assembly stress can be simplified to a relationship substitution process, and the judgment of the design rationality of the target buckle is simplified to the judgment of the size relationship between the predicted assembly stress and the material stress corresponding to the material type. In summary, the time consumed by the buckle design rationality judgment process is shortened, and the efficiency of predicting the buckle assembly information is improved.
[0071] In one embodiment, Figure 3 As shown, a method for accurately constructing a first relationship is provided, in which method, Figure 2 Before determining the predicted assembly stress corresponding to the design structure parameter information based on the first relationship corresponding to the design buckle type in step 204, the method further includes:
[0072] Step 302, obtaining preset parameter information of a plurality of preset buckles, and obtaining preset assembly stresses of the plurality of preset buckles respectively under the preset parameter information, wherein the preset parameter information includes preset buckle type and preset structural parameter information.
[0073] Among them, the multiple preset buckles can be physical buckles or virtual buckles (here, it means buckles simulated by simulation), which is not limited here. The preset assembly stress can be obtained by simulating the assembly process of the preset buckle according to the preset parameter information, or can be obtained by measuring when the preset buckle is assembled according to the preset parameter information, which is not limited here.
[0074] Exemplarily, obtaining preset parameter information of multiple preset buckles includes: respectively identifying buckle types of the multiple preset buckles to obtain preset buckle types of the multiple preset buckles, and obtaining preset structural parameter information of the multiple preset buckles.
[0075] Optionally, the specific implementation methods of performing buckle type identification on multiple preset buckles respectively to obtain the preset buckle types of multiple preset buckles, and obtaining the preset structural parameter information of multiple preset buckles can refer to the above-mentioned specific implementation contents of the steps of performing buckle type identification on the target buckle, obtaining the designed buckle type, and obtaining the preset structural parameter information of multiple preset buckles, which will not be repeated here.
[0076] As an embodiment, the preset assembly stresses of multiple preset buckles under preset parameter information are obtained, including: for each preset buckle, according to the preset parameter information of the preset buckle, simulating the assembly of the preset buckle to obtain the preset assembly stress of the preset buckle under the preset parameter information.
[0077] As another embodiment, obtaining preset assembly stresses of a plurality of preset buckles respectively under preset parameter information includes: for each preset buckle, measuring the preset assembly stress of the preset buckle during the assembly process under the preset parameter information.
[0078] Step 304: Select first parameter information from preset parameter information of multiple preset buckles according to the designed buckle type.
[0079] Exemplarily, step 304 includes: selecting first parameter information matching the designed buckle type from preset parameter information of a plurality of preset buckles.
[0080] As one embodiment, first parameter information matching the designed buckle type is selected from preset parameter information of multiple preset buckles, including: obtaining first matching degrees between the designed buckle type and the preset buckle types of multiple preset buckles respectively; and selecting first parameter information having a corresponding first matching degree that satisfies a first preset matching degree condition from the preset parameter information of multiple preset buckles.
[0081] The first preset matching degree condition may be greater than a first matching degree threshold set as required, or may be a maximum value among all first matching degrees.
[0082] Furthermore, obtaining the first degree of matching between the designed buckle type and the preset buckle types of multiple preset buckles includes: obtaining the type similarity between the designed buckle type and the preset buckle types of multiple preset buckles, and determining the first degree of matching between the designed buckle type and the preset buckle types of multiple preset buckles according to the type similarity between the designed buckle type and the preset buckle types of multiple preset buckles, wherein the higher the type similarity, the higher the first degree of matching.
[0083] Step 306: construct a first relationship corresponding to the designed buckle type according to the first parameter information and the corresponding preset assembly stress.
[0084] Exemplarily, step 306 includes: performing data fitting on the first parameter information and the corresponding preset assembly stress to obtain a first relationship corresponding to the designed buckle type.
[0085] It is understandable that since the first parameter information is selected from the preset parameter information of multiple preset buckles, and the preset buckle types of the multiple buckles are not additionally specified, there may be a situation where the total amount of information of the selected first parameter information is small. In this case, if the data is directly fitted using the first parameter information and the corresponding preset assembly stress, it is easy for the fitted first relationship to be inaccurate.
[0086] As an embodiment, step 306 includes: if the total amount of information of the first parameter information is less than a preset quantity threshold, expanding the first parameter information to obtain expanded parameter information; performing data fitting according to the preset structural parameter information, the corresponding preset assembly stress and the expanded parameter information in the first parameter information to obtain a first relationship corresponding to the designed buckle type; if the total amount of information of the first parameter information is not less than the preset quantity threshold, performing data fitting according to the preset structural parameter information and the corresponding preset assembly stress in the first parameter information to obtain a first relationship corresponding to the designed buckle type.
[0087] In this way, when the total amount of information of the first parameter information is small, information expansion is performed, and then data fitting is performed with the preset structural parameter information, the corresponding preset assembly stress and the expanded parameter information, thereby improving the accuracy of the first relationship obtained by fitting.
[0088] Furthermore, the first parameter information is expanded to obtain the expanded parameter information by interpolation expansion or simulation expansion, which is not limited here.
[0089] As an embodiment, according to the preset structural parameter information in the first parameter information, the corresponding preset assembly stress and the extended parameter information, data fitting is performed to obtain a first relationship corresponding to the designed buckle type, including: the extended parameter information includes multiple extended structural parameter information and the extended assembly stresses corresponding to the multiple extended structural parameter information respectively; according to the preset structural parameter information in the first parameter information, the corresponding preset assembly stress, the multiple extended structural parameter information and the extended assembly stresses corresponding to the multiple extended structural parameter information respectively, data fitting is performed to obtain the first relationship corresponding to the designed buckle type.
[0090] In this embodiment, by obtaining preset parameter information of multiple preset buckles, and obtaining preset assembly stresses of multiple preset buckles under the preset parameter information, wherein the preset parameter information includes preset buckle type and preset structural parameter information; according to the design buckle type, first parameter information is selected from the preset parameter information of multiple preset buckles; according to the first parameter information and the corresponding preset assembly stress, a first relationship corresponding to the design buckle type is constructed, and the design buckle type is used as the basis for selecting the first parameter information, and the first parameter information is the information source for constructing the first relationship, which ensures that the constructed first relationship matches the design buckle type, thereby improving the construction accuracy of the first relationship.
[0091] In one embodiment, Figure 4 As shown, a method for accurately assembling a target buckle is provided, in which: Figure 2 After outputting the target buckle design rationality information in step 206, the method further includes:
[0092] Step 402, obtaining a second relationship, wherein the second relationship is a corresponding relationship between structural parameters of the buckle and the assembly force.
[0093] The second relationship may be a correspondence between the structural parameters of the buckle and the minimum assembly force, or may be a correspondence between the structural parameters of the buckle and the range of assembly force.
[0094] Exemplarily, obtaining the second relationship includes: obtaining preset parameter information of multiple preset buckles, and obtaining preset assembly stresses of the multiple preset buckles under the preset parameter information, respectively, wherein the preset parameter information includes a preset buckle type, preset structural parameter information, and a preset assembly force; selecting second parameter information whose corresponding preset assembly stress is not greater than the material stress corresponding to the preset material type from the preset parameter information of the multiple preset buckles, and selecting assembly force information corresponding to each preset structural parameter information from the preset assembly force of the second parameter information; constructing a second relationship based on the assembly force information corresponding to each preset structural parameter information, wherein the assembly force information includes an assembly force, or an assembly force range.
[0095] As an embodiment, the assembly force information corresponding to each preset structural parameter information is screened from the preset assembly force of the second parameter information, including: the second parameter information includes each preset structural parameter information and a plurality of preset assembly forces corresponding thereto, and for each preset structural parameter information, the minimum assembly force is screened from a plurality of preset assembly forces corresponding to the preset structural parameter information in the second parameter information to obtain the assembly force information corresponding to the preset structural parameter information; or, any one or more assembly forces are screened from a plurality of preset assembly forces corresponding to the preset structural parameter information in the second parameter information to obtain the assembly force information corresponding to the preset structural parameter information; or, any two assembly forces are screened from a plurality of preset assembly forces corresponding to the preset structural parameter information in the second parameter information to perform range combination to obtain the assembly force information corresponding to the preset structural parameter information.
[0096] In this way, it can be ensured that for each preset structural parameter information, the corresponding available assembly force or assembly force range can be found.
[0097] Step 404: determining a target assembly force corresponding to the design structure parameter information based on the second relationship.
[0098] As an embodiment, step 404 includes: obtaining a second degree of matching between the design structure parameter information and each structure parameter information in the second relationship, selecting target structure parameter information whose corresponding second degree of matching satisfies a second preset matching degree condition from each structure parameter information in the second relationship, and determining a target assembly force corresponding to the design structure parameter information based on assembly force information corresponding to the target structure parameter information in the second relationship.
[0099] The second preset matching condition is used to determine the critical matching value when the structural parameter information matches. The second preset matching condition may include a second matching threshold value greater than the one set as needed, or may be the maximum value among all second matching degrees.
[0100] Furthermore, obtaining the second degree of matching between the design structure parameter information and each structure parameter information in the second relationship includes: obtaining parameter similarity between the design structure parameter information and each structure parameter information in the second relationship, and determining the second degree of matching between the design structure parameter information and each structure parameter information in the second relationship according to the parameter similarity between the design structure parameter information and each structure parameter information in the second relationship, wherein the higher the parameter similarity, the higher the second degree of matching.
[0101] As an embodiment, the target assembly force corresponding to the design structure parameter information is determined based on the assembly force information corresponding to the target structure parameter information in the second relationship, including: when the assembly force information corresponding to the target structure parameter information in the second relationship includes the assembly force, the assembly force information is determined as the target assembly force corresponding to the design structure parameter information; when the assembly force information corresponding to the target structure parameter information in the second relationship includes the assembly force range, the target assembly force corresponding to the design structure parameter information is selected from the assembly force range.
[0102] Further, as an embodiment, selecting a target assembly force corresponding to the design structure parameter information from the assembly force range includes: selecting any assembly force from the assembly force range as the target assembly force corresponding to the design structure parameter information.
[0103] As another embodiment, selecting a target assembly force corresponding to the design structure parameter information from the assembly force range includes: selecting a minimum assembly force from the assembly force range as the target assembly force corresponding to the design structure parameter information.
[0104] In this way, the target buckle can be assembled with minimal assembly force, saving unnecessary assembly force consumption.
[0105] Optionally, after determining the target assembly force corresponding to the design structure parameter information based on the second relationship, the method further includes: generating an assembly instruction corresponding to the target buckle according to the target assembly force corresponding to the target buckle; and assembling the target buckle according to the assembly instruction.
[0106] In this way, since the target assembly force of the target buckle is calculated in the above manner, the assembly resource saving and assembly accuracy of the assembly process of the target buckle are guaranteed.
[0107] In this embodiment, by obtaining the second relationship, wherein the second relationship is the correspondence between the structural parameters of the buckle and the assembly force; based on the second relationship, the target assembly force corresponding to the design structural parameter information is determined, and the design structural parameter information and the second relationship are used as the basis for determining the target assembly force, so that the determined target assembly force matches the design structural parameter information, thereby ensuring the accuracy of determining the target assembly force.
[0108] As a more detailed embodiment, the design parameter information of the target buckle is obtained, wherein the design parameter information includes the design buckle type, the design material type and the design structure parameter information; the preset parameter information of multiple preset buckles is obtained, and the preset assembly stress of multiple preset buckles under the preset parameter information is obtained, wherein the preset parameter information includes the preset buckle type and the preset structure parameter information; the matching degree between the design buckle type and the preset buckle types of the multiple preset buckles is obtained; the first parameter information whose corresponding matching degree meets the preset matching degree condition is selected from the preset parameter information of the multiple preset buckles; if the total amount of information of the first parameter information is less than the preset quantity threshold, the first parameter information is expanded to obtain the expanded parameter information; according to the preset structure parameter information in the first parameter information, the corresponding preset assembly stress and the expanded parameter information, data fitting is performed to obtain the first relationship corresponding to the design buckle type; if the total amount of information of the first parameter information is not less than the preset quantity threshold, according to the preset structure parameter information and the corresponding preset assembly stress in the first parameter information, data fitting is performed to obtain the first relationship corresponding to the design buckle type.
[0109] Further, based on a first relationship corresponding to the designed buckle type, a predicted assembly stress corresponding to the designed structural parameter information is determined, wherein the first relationship is a corresponding relationship between the structural parameter information of the buckle and the assembly stress; when the predicted assembly stress is greater than the material stress corresponding to the material type, information that the target buckle is designed unreasonably is output; when the predicted assembly stress is not greater than the material stress corresponding to the material type, information that the target buckle is designed reasonably is output, and second parameter information in which the corresponding preset assembly stress is not greater than the material stress corresponding to the preset material type is screened from preset parameter information of multiple preset buckles; the minimum assembly force corresponding to each preset structural parameter information is screened from the preset assembly force of the second parameter information; a second relationship is constructed according to the minimum assembly force corresponding to each preset structural parameter information, wherein the second relationship is a corresponding relationship between the structural parameter of the buckle and the assembly force; based on the second relationship, a target assembly force corresponding to the designed structural parameter information is determined; according to the target assembly force corresponding to the target buckle, an assembly instruction corresponding to the target buckle is generated; and according to the assembly instruction, the target buckle is assembled.
[0110] In this embodiment, by obtaining design parameter information of the target buckle, wherein the design parameter information includes the design buckle type, the design material type and the design structural parameter information; based on the first relationship corresponding to the design buckle type, the predicted assembly stress corresponding to the design structural parameter information is determined, wherein the first relationship is the corresponding relationship between the structural parameter information of the buckle and the assembly stress; when the predicted assembly stress is not greater than the material stress corresponding to the material type, the target buckle design reasonable information is output; when the predicted assembly stress is greater than the material stress corresponding to the material type, the target buckle design unreasonable information is output. Through the first relationship, the prediction process of the predicted assembly stress can be simplified to a relationship substitution process, and the judgment of the design rationality of the target buckle is simplified to the judgment of the size relationship between the predicted assembly stress and the material stress corresponding to the material type. In summary, the time consumed by the buckle design rationality judgment process is shortened, and the efficiency of predicting the buckle assembly information is improved.
[0111] Furthermore, the design buckle type is used as the basis for selecting the first parameter information, and the first parameter information is the information source for constructing the first relationship, which ensures that the constructed first relationship matches the design buckle type, thereby improving the construction accuracy of the first relationship, and the design structure parameter information and the second relationship are used as the basis for determining the target assembly force, so that the determined target assembly force matches the design structure parameter information, thereby ensuring the accuracy of determining the target assembly force.
[0112] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0113] Based on the same inventive concept, the embodiment of the present application also provides a predictive buckle assembly information device for implementing the above-mentioned predictive buckle assembly information method. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above-mentioned method, so the specific limitations in one or more embodiments of the predictive buckle assembly information device provided below can refer to the limitations of the predictive buckle assembly information method above, and will not be repeated here.
[0114] In one embodiment, Figure 5As shown, a device 500 for predicting buckle assembly information is provided, comprising: an acquisition module 502, a determination module 504 and an output module 506, wherein:
[0115] An acquisition module 502 is used to acquire design parameter information of a target buckle, wherein the design parameter information includes a design buckle type, a design material type, and design structure parameter information;
[0116] A determination module 504 is used to determine the predicted assembly stress corresponding to the design structural parameter information based on a first relationship corresponding to the design buckle type, wherein the first relationship is a corresponding relationship between the structural parameter information of the buckle and the assembly stress;
[0117] The output module 506 is used to output information that the target buckle design is reasonable when the predicted assembly stress is not greater than the material stress corresponding to the material type; and output information that the target buckle design is unreasonable when the predicted assembly stress is greater than the material stress corresponding to the material type.
[0118] In one embodiment, before determining the predicted assembly stress corresponding to the design structural parameter information based on the first relationship corresponding to the design buckle type, the device also includes: a construction module for obtaining preset parameter information of multiple preset buckles, and obtaining preset assembly stresses of multiple preset buckles under the preset parameter information, respectively, wherein the preset parameter information includes a preset buckle type and preset structural parameter information; according to the design buckle type, selecting first parameter information from the preset parameter information of multiple preset buckles; and constructing a first relationship corresponding to the design buckle type according to the first parameter information and the corresponding preset assembly stress.
[0119] In one embodiment, the construction module is also used to obtain the matching degree between the designed buckle type and the preset buckle types of multiple preset buckles; and select the first parameter information whose corresponding matching degree meets the preset matching degree condition from the preset parameter information of multiple preset buckles.
[0120] In one embodiment, the construction module is also used to expand the first parameter information to obtain expanded parameter information if the total amount of information of the first parameter information is less than a preset quantity threshold; perform data fitting to obtain a first relationship corresponding to the designed buckle type based on the preset structural parameter information, the corresponding preset assembly stress and the expanded parameter information in the first parameter information; if the total amount of information of the first parameter information is not less than the preset quantity threshold, perform data fitting to obtain a first relationship corresponding to the designed buckle type based on the preset structural parameter information and the corresponding preset assembly stress in the first parameter information.
[0121] In one embodiment, after outputting the target buckle design rationality information, the determination module 504 is further used to obtain a second relationship, wherein the second relationship is the correspondence between the buckle's structural parameters and the assembly force; based on the second relationship, the target assembly force corresponding to the design structural parameter information is determined.
[0122] In one embodiment, the construction module is also used to select second parameter information whose corresponding preset assembly stress is not greater than the material stress corresponding to the preset material type from the preset parameter information of multiple preset buckles; select the minimum assembly force corresponding to each preset structural parameter information from the preset assembly force of the second parameter information; and construct a second relationship based on the minimum assembly force corresponding to each preset structural parameter information.
[0123] In one embodiment, after determining the target assembly force corresponding to the design structure parameter information based on the second relationship, the device also includes: an assembly module, which is used to generate an assembly instruction corresponding to the target buckle according to the target assembly force corresponding to the target buckle; and assemble the target buckle according to the assembly instruction.
[0124] Each module in the above-mentioned predictive buckle assembly information device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in an electronic device in the form of hardware, or can be stored in a memory in the electronic device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0125] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Figure 6As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for predicting buckle assembly information is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.
[0126] Those skilled in the art will understand that Figure 6 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0127] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0128] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0129] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0130] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0131] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0132] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for predicting buckle assembly information, characterized in that: The method comprises: Acquire design parameter information of a target buckle, wherein the design parameter information includes design buckle type, design material type, and design structure parameter information; Determine, based on a first relationship corresponding to the designed buckle type, a predicted assembly stress corresponding to the designed structural parameter information, wherein the first relationship is a corresponding relationship between the structural parameter information of the buckle and the assembly stress; In the case where the predicted assembly stress is not greater than the material stress corresponding to the material type, outputting reasonable information of the target buckle design; In a case where the predicted assembly stress is greater than the material stress corresponding to the material type, information indicating that the target buckle design is unreasonable is output.
2. The method according to claim 1, characterized in that Before determining the predicted assembly stress corresponding to the design structure parameter information based on the first relationship corresponding to the design buckle type, the method further includes: Obtaining preset parameter information of a plurality of preset buckles, and obtaining preset assembly stresses of the plurality of preset buckles respectively under the preset parameter information, wherein the preset parameter information includes preset buckle types and preset structural parameter information; According to the designed buckle type, selecting first parameter information from the preset parameter information of the plurality of preset buckles; A first relationship corresponding to the designed buckle type is constructed according to the first parameter information and the corresponding preset assembly stress.
3. The method according to claim 2, characterized in that The selecting first parameter information from the preset parameter information of the plurality of preset buckles according to the designed buckle type includes: Obtaining the matching degree between the designed buckle type and the preset buckle types of the plurality of preset buckles respectively; The first parameter information corresponding to the matching degree that satisfies the preset matching degree condition is selected from the preset parameter information of the plurality of preset buckles.
4. The method according to claim 2, characterized in that: The step of constructing a first relationship corresponding to the designed buckle type according to the first parameter information and the corresponding preset assembly stress includes: If the total amount of information of the first parameter information is less than a preset quantity threshold, the first parameter information is expanded to obtain expanded parameter information; according to the preset structural parameter information in the first parameter information, the corresponding preset assembly stress and the expanded parameter information, data fitting is performed to obtain a first relationship corresponding to the designed buckle type; If the total amount of information of the first parameter information is not less than a preset quantity threshold, data fitting is performed according to the preset structural parameter information and the corresponding preset assembly stress in the first parameter information to obtain a first relationship corresponding to the designed buckle type.
5. The method according to any one of claims 1 to 4, characterized in that: After outputting the target buckle design rationality information, the method further includes: Acquire a second relationship, wherein the second relationship is a corresponding relationship between a structural parameter of the buckle and an assembly force; Based on the second relationship, a target assembly force corresponding to the design structure parameter information is determined.
6. The method according to claim 5, characterized in that The obtaining of the second relationship comprises: Selecting second parameter information corresponding to a preset assembly stress that is not greater than a material stress corresponding to a preset material type from preset parameter information of a plurality of preset buckles; Selecting the minimum assembly force corresponding to each preset structural parameter information from the preset assembly forces of the second parameter information; A second relationship is established according to the minimum assembly force corresponding to each preset structural parameter information.
7. The method according to claim 5, characterized in that After determining the target assembly force corresponding to the design structure parameter information based on the second relationship, the method further includes: Generating an assembly instruction corresponding to the target buckle according to the target assembly force corresponding to the target buckle; According to the assembly instruction, the target buckle is assembled.
8. A device for predicting buckle assembly information, characterized in that: The device comprises: An acquisition module, used to acquire design parameter information of a target buckle, wherein the design parameter information includes a design buckle type, a design material type, and design structure parameter information; A determination module, configured to determine a predicted assembly stress corresponding to the design structural parameter information based on a first relationship corresponding to the design buckle type, wherein the first relationship is a correspondence between the structural parameter information of the buckle and the assembly stress; The output module is used to output the reasonable design information of the target buckle when the predicted assembly stress is not greater than the material stress corresponding to the material type; and output the unreasonable design information of the target buckle when the predicted assembly stress is greater than the material stress corresponding to the material type.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.