Load extraction method and device, electronic equipment and computer readable storage medium

By automatically extracting hard point loads in the vehicle body simulation structure using mapping relationship tables, the complex and cumbersome load extraction process in the prior art is solved, and efficient and accurate load extraction is achieved.

CN119989775APending Publication Date: 2025-05-13ZHEJIANG LEAPMOTOR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411979638.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the prior art, the load extraction process is complex and cumbersome, mainly relying on manual operations, resulting in high time and labor costs and prone to load extraction errors.

Method used

By obtaining the hard point number and hard point coordinates in the vehicle body simulation structure, the first and second mapping relationship tables are used for traversal processing, and the hard point code and load are automatically extracted to improve the automation level of load extraction.

Benefits of technology

It realizes automation of load extraction, improves efficiency and accuracy, and reduces labor costs and error rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119989775A_ABST
    Figure CN119989775A_ABST
Patent Text Reader

Abstract

The invention discloses a load extraction method and device, electronic equipment and a computer readable storage medium. The load extraction method comprises the steps that hard point numbers and hard point coordinates of all hard points in a vehicle body simulation structure are acquired; traversal processing is carried out in a first mapping relation table according to the hard point coordinates, hard point codes corresponding to the hard point coordinates are obtained, and the first mapping relation table comprises the corresponding relation between the preset hard point coordinates and the preset hard point codes; traversal processing is carried out in a second mapping relation table according to the hard point codes, hard point loads corresponding to the hard point codes are obtained, and the second mapping relation table comprises the corresponding relation between the preset hard point codes and the preset hard point loads. Therefore, automatic load extraction is achieved through the multiple mapping relation tables, and the efficiency and accuracy of load extraction are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of simulation automation processing, and in particular to a load extraction method, a load extraction device, an electronic device and a computer-readable storage medium. Background Art

[0002] The body is the main load-bearing structure of the car, and its structural durability directly affects the service life and driving safety of the vehicle. Therefore, it is necessary to simulate and calculate the body and analyze the body strength during the simulation verification stage.

[0003] Before simulation calculation, multi-body loads need to be extracted. The process of extracting loads includes identifying load files, identifying hard point coordinates, screening hard point coordinates, extracting hard point numbers, extracting hard point loads, etc. It can be seen that the process of extracting loads is a complex and tedious process, and it is currently mainly done manually, which not only requires a lot of time and manpower costs, but also easily leads to errors in load extraction.

[0004] Therefore, a method for automatically extracting loads is urgently needed. Summary of the invention

[0005] The main technical problem solved by the present application is to provide a load extraction method, a load extraction device, an electronic device and a computer-readable storage medium, which can improve the automation level of load extraction.

[0006] In order to solve the above technical problems, a technical solution adopted in the present application is: a load extraction method is provided, and the load extraction method includes: obtaining the hard point number and hard point coordinates of each hard point in the vehicle body simulation structure; traversing the first mapping relationship table according to the hard point coordinates to obtain the hard point code corresponding to the hard point coordinates, and the first mapping relationship table includes the correspondence between the preset hard point coordinates and the preset hard point code; traversing the second mapping relationship table according to the hard point code to obtain the hard point load corresponding to the hard point code, and the second mapping relationship table includes the correspondence between the preset hard point code and the preset hard point load.

[0007] In some embodiments, before the step of traversing the first mapping relationship table according to the hard point coordinates to obtain the hard point code corresponding to the hard point coordinates, wherein the first mapping relationship table includes the correspondence between preset hard point coordinates and preset hard point codes, the method further includes: obtaining a load file of each hard point coordinate, wherein the preset hard point code in the load file corresponds to the preset hard point coordinates, and the preset hard point code corresponds to the preset hard point load; and generating the first mapping relationship table and the second mapping relationship table according to the load file.

[0008] In some embodiments, the hard point coordinates are traversed in a first mapping relationship table to obtain a hard point code corresponding to the hard point coordinates, and the first mapping relationship table includes a step of a correspondence between preset hard point coordinates and preset hard point codes, including: matching the hard point coordinates with the preset hard point coordinates in the first mapping relationship table respectively to obtain a matching result; determining the hard point code corresponding to the hard point coordinates according to the matching result.

[0009] In some embodiments, the step of determining the hard point code corresponding to the hard point coordinates based on the matching result includes: in response to the matching result indicating a successful match, determining a preset hard point code that has a corresponding relationship with the corresponding preset hard point coordinates as the hard point code corresponding to the hard point coordinates; in response to the matching result indicating a failed match, correcting the corresponding hard point coordinates so that the hard point coordinates match the preset hard point coordinates in the first mapping relationship table.

[0010] In some embodiments, the hard point code is traversed in the second mapping relationship table to obtain the hard point load corresponding to the hard point code, and the second mapping relationship table includes the corresponding relationship between the preset hard point code and the preset hard point load, including: matching the hard point code with the preset hard point code in the second mapping relationship table to obtain a matching result; in response to the matching result indicating a successful match, obtaining a preset hard point load that has a corresponding relationship with the corresponding preset hard point code; and determining the preset hard point load as the hard point load corresponding to the hard point code.

[0011] In some embodiments, after the step of traversing the second mapping relationship table according to the hard point code to obtain the hard point load corresponding to the hard point code, and the second mapping relationship table includes the correspondence between the preset hard point code and the preset hard point load, the method further includes: extracting the hard point number and the corresponding hard point load of each hard point; and establishing a third mapping relationship table between the hard point number and the hard point load.

[0012] In some embodiments, after the step of establishing a third mapping relationship table between the hard point numbers and the hard point loads, the method further includes: obtaining the hard point loads corresponding to each hard point number; performing endurance analysis on the hard points corresponding to the hard point numbers in the vehicle body simulation structure according to the hard point loads to obtain analysis results for each hard point.

[0013] In order to solve the above technical problems, another technical solution adopted in the present application is: a load extraction device is provided, which includes an acquisition module, a first traversal module and a second traversal module; the acquisition module is used to obtain the hard point number and hard point coordinates of each hard point in the vehicle body simulation structure; the first traversal module is used to traverse the first mapping relationship table according to the hard point coordinates to obtain the hard point code corresponding to the hard point coordinates, and the first mapping relationship table includes the correspondence between the preset hard point coordinates and the preset hard point code; the second traversal module is used to traverse the second mapping relationship table according to the hard point code to obtain the hard point load corresponding to the hard point code, and the second mapping relationship table includes the correspondence between the preset hard point code and the preset hard point load.

[0014] To solve the above technical problems, another technical solution adopted in the present application is: to provide an electronic device, including a memory and a processor, wherein the memory stores program instructions, and the processor retrieves the program instructions from the memory to execute the above load extraction method.

[0015] In order to solve the above technical problems, another technical solution adopted by the present application is: providing a computer-readable storage medium including program data stored therein, wherein the program data is used to implement the above load extraction method when executed by a processor.

[0016] The above scheme obtains the hard point number and hard point coordinates of each hard point in the vehicle body simulation structure; performs traversal processing in the first mapping relationship table according to the hard point coordinates to obtain the hard point code corresponding to the hard point coordinates, and the first mapping relationship table includes the correspondence between the preset hard point coordinates and the preset hard point code; performs traversal processing in the second mapping relationship table according to the hard point code to obtain the hard point load corresponding to the hard point code, and the second mapping relationship table includes the correspondence between the preset hard point code and the preset hard point load. In this way, the load is automatically extracted through multiple mapping relationship tables, which improves the efficiency and accuracy of load extraction. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0018] Figure 1 is a flow chart of an exemplary embodiment of a load extraction method shown in the present application;

[0019] Figure 2 is a schematic diagram of hard point numbers and hard point coordinates shown in an exemplary embodiment of the present application;

[0020] Figure 3 is a schematic diagram of a mapping relationship table shown in an exemplary embodiment of the present application;

[0021] Figure 4 yes Figure 1 A schematic flow chart of an exemplary embodiment of the load extraction method before step S120 is shown;

[0022] Figure 5 is a schematic diagram of a payload file shown in an exemplary embodiment of the present application;

[0023] Figure 6 is a schematic diagram of hard point codes shown in an exemplary embodiment of the present application;

[0024] Figure 7 It is a specific flow chart of an exemplary embodiment of the load extraction method shown in the present application;

[0025] Figure 8 is a structural schematic diagram of an exemplary embodiment of a load extraction device shown in the present application;

[0026] Fig. 9 It is a structural schematic diagram of an embodiment of an electronic device provided by the present application;

[0027] Fig.10 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It will be appreciated that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some but not all structures related to the present application are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the art without making creative work are within the scope of protection of the present application.

[0029] First of all, it should be noted that the vehicle body simulation structure is mainly composed of the front cabin, front end module, anti-collision beam, side wall, floor, roof, rear wall, etc. The powertrain, front and rear suspension and part of the transmission system are arranged on the body, and the ground load is transmitted to the body through the wheels, suspension system, and the connection with the chassis suspension system. Therefore, as the main force-bearing system of the car, the durability of its structure directly affects the service life and driving safety of the vehicle.

[0030] An important purpose of durability testing is to evaluate the fatigue behavior of the vehicle body structure under long-term repeated loads. During the virtual verification phase, by extracting loads, engineers can understand the stress conditions of the vehicle under different working conditions and simulate these conditions more accurately. Currently, manual load extraction is usually used. The process includes identifying load files, manually obtaining hard point coordinates, manually screening hard point coordinates, manually extracting hard point codes, and manually extracting hard point loads. This process is repeated many times to identify load files under multiple working conditions.

[0031] It can be seen that load extraction is a tedious and complicated process. In order to reduce labor costs and subjective error probability and improve load extraction efficiency, this application proposes a load extraction method, a load extraction device, an electronic device and a computer-readable storage medium, which can automatically extract the load of the vehicle body simulation structure, especially for the extraction of multi-body loads, and its efficiency improvement effect is more obvious. For details, please refer to Figure 1 , Figure 1 It is a flowchart of an exemplary embodiment of the load extraction method shown in the present application.

[0032] The execution subject of the load extraction method may be a terminal device or a server or other processing device, wherein the terminal device may be a user equipment (UE), a computer, a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. The execution subject of the load extraction method may also be a load extraction device. In some possible implementations, the load extraction method may be implemented by a processor calling a computer-readable instruction stored in a memory.

[0033] Specifically, the load extraction method of this embodiment includes the following steps:

[0034] S110: Obtain the hard point number and hard point coordinates of each hard point in the vehicle body simulation structure.

[0035] The body simulation structure refers to a digital geometric model established by measuring, scanning or drawing the actual body structure using computer simulation technology. For example, the body simulation structure can be drawn by drawing software such as CAD. After the load extraction device obtains the body simulation structure, it can use the finite element method to perform load analysis on the body simulation structure. Finite element is a numerical analysis method that divides a complex connecting medium into several finite-sized units and approximately describes the changes in the physical field in each unit. The finite element method can handle very complex geometric shapes.

[0036] Hard points are key geometric reference points in the vehicle body and are used to determine the relative positions of various components. The performance of hard points directly affects the performance of the entire vehicle body structure, so virtual testing of hard points is crucial during the virtual validation phase.

[0037] The hard point number can also be called the hard point ID. In the body simulation structure, engineers will assign a unique identifier to each hard point to clearly identify the specific hard point. By using the hard point number, the hard points in the body simulation structure can be easily integrated into the database or management system to achieve efficient data retrieval and sharing.

[0038] The hard point coordinates refer to the coordinate positions of each hard point in the corresponding coordinate system. For example, the vehicle body simulation structure is placed in a three-dimensional coordinate system, which includes three mutually perpendicular axes, such as the X-axis, the Y-axis, and the Z-axis. The hard point coordinates are determined by the corresponding values ​​of the hard point on these three axes. As an example, please refer to Figure 2 , Figure 2 1 is a schematic diagram of hard point numbering and hard point coordinates shown in an exemplary embodiment of the present application. The hard point number of the hard point is 1, and the hard point coordinates are (1032.22, -812.405, -169.913).

[0039] The load extraction device constructs a vehicle body simulation structure according to the actual vehicle body, and then the mouse can be used to click on each hard point to obtain the hard point number and hard point coordinates of each hard point. It is also possible to establish a preset hard point library while constructing the vehicle body simulation structure. When it is necessary to extract the hard point load, the preset hard point library can be directly opened to obtain the hard point number and hard point load of each hard point.

[0040] S120: performing traversal processing in a first mapping relationship table according to the hard point coordinates to obtain a hard point code corresponding to the hard point coordinates, wherein the first mapping relationship table includes a correspondence between preset hard point coordinates and preset hard point codes.

[0041] The first mapping relationship table is used to store the correspondence between the preset hard point coordinates and the preset hard point codes. Exemplarily, the first mapping relationship table can be obtained through a load file, and the load file includes the correspondence between the preset hard point coordinates and the preset hard point codes.

[0042] The preset hard point coordinates are the hard point coordinates stored in the first mapping relationship table. They are generally determined when the load file is created. The preset hard point code is an identifier assigned to each hard point in the load file, and is generally determined when the load file is created. The preset hard point coordinates correspond to a unique preset hard point code, and the preset hard point code corresponds to at least one preset hard point load.

[0043] It can be seen from this that when the load extraction device performs traversal processing in the first mapping relationship table according to the hard point coordinates, a unique hard point code corresponding to the hard point coordinates can be found.

[0044] It should be noted that there is a certain difference between the hard point number and the hard point code. The hard point number is the identifier of each hard point in the body simulation structure, and the hard point code is the identifier of each hard point in the load file. Generally speaking, the body simulation structure and the load file are not established at the same time, so the standards for setting the hard point number and the hard point code may be different. For example, it may happen that the hard point number 1 may correspond to the hard point code M2. As for the hard point coordinates, in the same coordinate system, for the same vehicle model, the same scaling ratio, the hard point coordinates can be the same.

[0045] S130: performing traversal processing in the second mapping relationship table according to the hard point code to obtain the hard point load corresponding to the hard point code, wherein the second mapping relationship table includes a correspondence between a preset hard point code and a preset hard point load.

[0046] The second mapping relationship table is used to store the correspondence between the preset hard point code and the preset hard point load. Exemplarily, the second mapping relationship table can be obtained through a load file, and the load file includes the correspondence between the preset hard point code and the preset hard point coordinates.

[0047] The preset hard point load is the hard point load stored in the second mapping table. For example, in order to ensure the accuracy of the simulation, the measured load needs to be used to calibrate and verify the body simulation structure, so that the simulation result is closer to the actual situation. Therefore, the preset hard point load can be obtained from the actual test. The preset hard point load can be a load spectrum, that is, the load statistics experienced by the hard point in a life cycle. As an example, please refer to Figure 3 , Figure 3 It is a schematic diagram of a mapping relationship table shown in an exemplary embodiment of the present application. The correspondence between the preset hard point code and the preset hard point coordinates is stored in the first mapping relationship table. According to the hard point coordinates, the hard point code corresponding to the hard point coordinates is obtained by traversing the first mapping relationship table. For example, the hard point code corresponding to the hard point coordinates (1032.22, -812.405, -169.913) is M3; then, according to the hard point code, the hard point load corresponding to the hard point code is obtained by traversing the second mapping relationship table. For example, there are five rows of hard point loads corresponding to the hard point code M3. These five rows of hard point loads are used to cyclically perform durability tests on the hard point.

[0048] It can be seen that the load extraction method of the embodiment of the present application obtains the hard point number and hard point coordinates of each hard point in the vehicle body simulation structure; performs traversal processing in the first mapping relationship table according to the hard point coordinates to obtain the hard point code corresponding to the hard point coordinates, and the first mapping relationship table includes the correspondence between the preset hard point coordinates and the preset hard point code; performs traversal processing in the second mapping relationship table according to the hard point code to obtain the hard point load corresponding to the hard point code, and the second mapping relationship table includes the correspondence between the preset hard point code and the preset hard point load. In this way, automatic load extraction is achieved through multiple mapping relationship tables, which improves the efficiency and accuracy of load extraction.

[0049] Based on the above embodiments, the embodiments of the present application adopt Figure 4 The flowchart details how to obtain the first mapping relationship table and the second mapping relationship table. Figure 4 , Figure 4 yes Figure 1 The flowchart of an exemplary embodiment before step S120 in the load extraction method is shown. Specifically, before the step of performing traversal processing in the first mapping relationship table according to the hard point coordinates in step S120 to obtain the hard point code corresponding to the hard point coordinates, and the first mapping relationship table includes the corresponding relationship between the preset hard point coordinates and the preset hard point code, the following steps are also included:

[0050] S410: Obtaining a load file of each hard point coordinate, wherein a preset hard point code in the load file corresponds to a preset hard point coordinate, and a preset hard point code corresponds to a preset hard point load.

[0051] A load file is a file that stores data used in a vehicle durability test. For example, a load file can be obtained through a real vehicle test, an industry standard load spectrum, etc. The storage characteristics of a load file are that the preset hard point code and the preset hard point coordinates are in one line, and the preset hard point code and the preset hard point load are in another line. As an example, see Figure 5 , Figure 5 It is a schematic diagram of a load file shown in an exemplary embodiment of the present application. In the load file, the preset hard point code corresponds to the preset hard point coordinate, and the preset hard point code corresponds to the preset hard point load.

[0052] S420: Generate a first mapping relationship table and a second mapping relationship table according to the payload file.

[0053] After acquiring the load file, the load extraction device reads the information in the load file line by line and extracts the preset hard point code and preset hard point coordinates, as well as the preset hard point code and preset hard point load in the load file, respectively, stores the preset hard point code and preset hard point coordinates in the first mapping relationship table, and stores the preset hard point code and preset hard point load in the second mapping relationship table. In other embodiments, the preset hard point code and the preset hard point coordinates are converted into a dictionary B, and the preset hard point code and the preset hard point load are converted into a dictionary C, and finally two lists formed by multiple dictionaries B and C are formed. B = [key: preset hard point code, value: preset hard point coordinates], C = [key: preset hard point code, value = preset hard point load]. In other embodiments, the preset hard point code is first extracted from the load file, and then the preset hard point coordinates and preset hard point load corresponding to the preset hard point code are read from the load file to obtain the corresponding relationship between the preset hard point code, the preset hard point coordinates and the preset hard point load. Thus, after the load extraction device obtains the hard point coordinates of the hard point, it can directly find the corresponding hard point load through traversal processing, thereby improving the efficiency of hard point load extraction.

[0054] Furthermore, after extracting the hard point coordinates of each hard point in the vehicle body simulation structure, the load extraction device matches the hard point coordinates with the preset hard point coordinates in the first mapping relationship table to obtain a matching result; then the hard point code corresponding to the hard point coordinate is determined according to the matching result. Specifically, the load extraction device matches the hard point coordinates with the preset hard point coordinates in the first mapping relationship table, wherein the matching process may be a similarity calculation, and if the similarity is greater than the preset hard point coordinates of the preset similarity, the matching result indicates a successful match, otherwise the match fails. Then the hard point code corresponding to the hard point coordinate is determined according to the matching result.

[0055] There are two matching results. In response to the matching result indicating a successful match, the preset hard point code that corresponds to the corresponding preset hard point coordinates is determined as the hard point code corresponding to the hard point coordinates; in response to the matching result indicating a failed match, the corresponding hard point coordinates are corrected so that the hard point coordinates match the preset hard point coordinates in the first mapping relationship table.

[0056] Among them, the first mapping relationship table is traversed and looped. If the corresponding preset hard point coordinates can be found, the preset hard point code corresponding to the preset hard point coordinates in the first mapping relationship table and the hard point number of the hard point are obtained; if the corresponding preset hard point coordinates cannot be found, the hard point number of the hard point is obtained, and it is prompted that the hard point number cannot be found in the load file; and the corresponding hard point coordinates are modified until the hard point coordinates are consistent with the preset hard point coordinates in the first mapping relationship table, and the corresponding hard point code is extracted after consistency. As an example, please refer to Figure 6 , Figure 6 It is a schematic diagram of the hard point code shown in an exemplary embodiment of the present application. The hard point coordinates in the model refer to the hard point coordinates of the vehicle body simulation structure extracted by step S110. The hard point coordinates in the file refer to the preset hard point coordinates in the first mapping relationship table extracted from the load file. It is determined whether the hard point coordinates in the model are equal to the hard point coordinates in the file. If they are equal, the hard point code and hard point number of the corresponding hard point are extracted. If they are not equal, the hard point number of the corresponding hard point is extracted, and it is prompted that there are errors in the hard point number and hard point coordinates. The hard point coordinates are modified until the hard point coordinates in the model are equal to the hard point coordinates in the file, and the hard point code and hard point number of the corresponding hard point are extracted.

[0057] In some embodiments, after the hard point coordinate error is prompted, the engineer can actively modify it to obtain the correct hard point coordinate. In other embodiments, after the hard point coordinate error is prompted, the preset hard point coordinate that is most similar to the hard point coordinate in the first mapping relationship table can be obtained, and the hard point coordinate is replaced with the preset hard point coordinate to obtain the modified hard point coordinate.

[0058] Furthermore, after the load extraction device obtains the hard point code from the first mapping relationship table, it traverses the second mapping relationship table according to the hard point code to obtain the hard point load corresponding to the hard point code, thereby obtaining the hard point load of each hard point. Specifically, the hard point code is matched with the preset hard point code in the second mapping relationship table to obtain a matching result; in response to the matching result indicating that the match is successful, a preset hard point load that has a corresponding relationship with the corresponding preset hard point code is obtained; and the preset hard point load is determined as the hard point load corresponding to the hard point code.

[0059] Among them, the loop is traversed in the second mapping relationship table. If the corresponding preset hard point code can be found, the preset hard point load corresponding to the preset hard point code in the second mapping relationship table is obtained, and the preset hard point load is determined as the hard point load of the corresponding hard point; if the corresponding preset hard point code cannot be found, the hard point number of the hard point is obtained, and it is prompted that the hard point number cannot be found in the load file.

[0060] After obtaining the hard point load corresponding to each hard point number, the load extraction device extracts the hard point number and the corresponding hard point load of each hard point, and establishes a third mapping relationship table between the hard point number and the hard point load. In this way, the load extraction of all hard points is completed and stored in the third mapping relationship table for subsequent use.

[0061] As an example, taking the dictionary structure as an example, the preset hard point code and preset hard point coordinates in the load file are converted into dictionary B to obtain a list composed of dictionary B, the preset hard point code and preset hard point load in the load file are converted into dictionary C to obtain a list composed of dictionary C, and the hard point number and hard point coordinates in the vehicle body simulation structure are converted into dictionary A to obtain a list composed of dictionary A; first, the hard point coordinates of the elements in the list composed of dictionary A are matched with the preset hard point coordinates of the elements in the list composed of dictionary B. If the hard point coordinates in dictionary A are in dictionary B, then the preset hard point code in the corresponding dictionary B and the hard point number in the corresponding dictionary A are obtained; if the hard point coordinates in dictionary A are in dictionary B, then the hard point code in the corresponding dictionary B and the hard point number in the corresponding dictionary A are obtained; if the hard point coordinates in dictionary A are in dictionary B, then the hard point code in the corresponding dictionary B and the hard point code in the corresponding dictionary A are obtained; if the hard point coordinates in dictionary A are in dictionary B, then the hard point code in the corresponding dictionary B and the hard point code in the corresponding dictionary A are obtained. If it cannot be found, the hard point number in dictionary A is obtained, and it is prompted that this hard point number cannot be found in the load file. The hard point coordinates corresponding to the hard point number can be corrected so that the corresponding preset hard point coordinates can be found in dictionary B; then the preset hard point code obtained from dictionary B is matched with the preset hard point code in dictionary C. If the match is successful, the preset hard point load in the corresponding dictionary C is extracted to obtain the hard point load corresponding to the hard point number; a dictionary D is created, and the key in dictionary D is the hard point number, and the value is the hard point load, and finally a list composed of dictionary D is formed; the elements in the list composed of dictionary D are traversed and looped, the keys and values ​​therein are extracted, and they are printed line by line to complete the load extraction.

[0062] After the load extraction device extracts the hard point load of each hard point, it can use the hard point load to test the corresponding hard point. Specifically, the hard point load corresponding to each hard point number is obtained; according to the hard point load, the hard point corresponding to the hard point number in the vehicle body simulation structure is subjected to endurance analysis to obtain the analysis results of each hard point. The analysis results include the changes and bearing capacity of the hard point under the hard point load, thereby providing engineers with more reliable test results.

[0063] In order to elaborate on the load extraction method used in this application, Figure 7 The flowchart shown further illustrates it, and the details are as follows:

[0064] First of all, it should be noted that the load extraction method of the embodiment of the present application can be completed through a self-written script, and the entire process is an interaction between the simulation model information set and the load file information set. Use simulation software to open the vehicle body simulation structure, and run the self-written script, click the first start button, click the hard point to be loaded with the mouse, obtain the hard point number and hard point coordinates, the simulation model information set includes the hard point number and hard point coordinates of each hard point in the vehicle body simulation structure; click to select the load file, load the load file, the characteristics of the load file are that the preset hard point code corresponds to the preset hard point coordinate, forming a first mapping relationship table, the preset hard point code corresponds to the preset hard point load, forming a second mapping relationship table, the hard point coordinates in the simulation model information set are matched with the preset hard point coordinates in the first mapping relationship table, the corresponding preset hard point coordinates are obtained, and the preset hard point code corresponding to the preset hard point coordinates is obtained; the obtained preset hard point code is matched with the preset hard point code in the second mapping relationship table, the corresponding preset hard point code in the second mapping relationship table is obtained, and the preset hard point load corresponding to the preset hard point code is obtained, thereby obtaining the hard point load of each hard point in the vehicle body simulation structure through a chain verification method, without human participation, and with high versatility, and can be used when extracting multi-body loads for different vehicle models. Among them, the functions of obtaining the hard point number and hard point coordinates of each hard point in the vehicle body simulation structure and obtaining the load file can be integrated in the first area and the second area of ​​the GUI (Graphical User Interface), and the matching process is integrated in the third area for user convenience.

[0065] See also Figure 8 , Figure 8 It is a structural schematic diagram of an exemplary embodiment of the load extraction device shown in the present application. The load extraction device 800 includes an acquisition module 810, a first traversal module 820, and a second traversal module 830. The acquisition module 810 is used to obtain the hard point number and hard point coordinates of each hard point in the vehicle body simulation structure; the first traversal module 820 is used to perform traversal processing in the first mapping relationship table according to the hard point coordinates to obtain the hard point code corresponding to the hard point coordinates, and the first mapping relationship table includes the correspondence between the preset hard point coordinates and the preset hard point code; the second traversal module 830 is used to perform traversal processing in the second mapping relationship table according to the hard point code to obtain the hard point load corresponding to the hard point code, and the second mapping relationship table includes the correspondence between the preset hard point code and the preset hard point load.

[0066] In the above scheme, the load extraction device of the embodiment of the present application obtains the hard point number and hard point coordinates of each hard point in the vehicle body simulation structure; performs traversal processing in the first mapping relationship table according to the hard point coordinates to obtain the hard point code corresponding to the hard point coordinates, and the first mapping relationship table includes the correspondence between the preset hard point coordinates and the preset hard point code; performs traversal processing in the second mapping relationship table according to the hard point code to obtain the hard point load corresponding to the hard point code, and the second mapping relationship table includes the correspondence between the preset hard point code and the preset hard point load. In this way, automatic load extraction is achieved through multiple mapping relationship tables, which improves the efficiency and accuracy of load extraction.

[0067] The functions of each module can be found in the load extraction method embodiment, which will not be described in detail here.

[0068] In order to implement the load extraction method of the above embodiment, the present application proposes another electronic device, for details, please refer to Fig. 9 , Fig. 9 It is a structural schematic diagram of an embodiment of an electronic device provided by the present application.

[0069] The electronic device 900 includes a memory 910 and a processor 920 , wherein the memory 910 and the processor 920 are coupled.

[0070] The memory 910 is used to store program data, and the processor 920 is used to execute the program data to implement the load extraction method of the above embodiment.

[0071] In this embodiment, the processor 920 may also be referred to as a CPU (Central Processing Unit). The processor 920 may be an integrated circuit chip having signal processing capabilities. The processor 920 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general-purpose processor may be a microprocessor or the processor 920 may also be any conventional processor, etc.

[0072] The present application also provides a computer-readable storage medium, such as Fig.10 As shown, the computer-readable storage medium 1000 is used to store program data 1001. When the program data 1001 is executed by the processor, it is used to implement the load extraction method in the method embodiment of the present application.

[0073] The method involved in the embodiment of the load extraction method of the present application, when implemented in the form of a software functional unit and sold or used as an independent product, can be stored in a device, such as a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0074] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A load extraction method, characterized in that: The load extraction method comprises: Obtain the hard point number and hard point coordinates of each hard point in the vehicle body simulation structure; According to the hard point coordinates, a traversal process is performed in a first mapping relationship table to obtain a hard point code corresponding to the hard point coordinates, wherein the first mapping relationship table includes a correspondence between preset hard point coordinates and preset hard point codes; According to the hard point code, a traversal process is performed in a second mapping relationship table to obtain a hard point load corresponding to the hard point code, and the second mapping relationship table includes a correspondence between the preset hard point code and the preset hard point load.

2. The load extraction method according to claim 1, characterized in that: Before the step of performing traversal processing in the first mapping relationship table according to the hard point coordinates to obtain the hard point code corresponding to the hard point coordinates, wherein the first mapping relationship table includes a corresponding relationship between preset hard point coordinates and preset hard point codes, the method further includes: Obtaining a load file of each hard point coordinate, wherein the preset hard point code in the load file corresponds to the preset hard point coordinate, and the preset hard point code corresponds to the preset hard point load; The first mapping relationship table and the second mapping relationship table are generated according to the payload file.

3. The load extraction method according to claim 1, characterized in that: The step of performing traversal processing in a first mapping relationship table according to the hard point coordinates to obtain a hard point code corresponding to the hard point coordinates, wherein the first mapping relationship table includes a correspondence between preset hard point coordinates and preset hard point codes, comprises: Matching the hard point coordinates with the preset hard point coordinates in the first mapping relationship table to obtain a matching result; The hard point code corresponding to the hard point coordinates is determined according to the matching result.

4. The load extraction method according to claim 3, characterized in that: The step of determining the hard point code corresponding to the hard point coordinates according to the matching result comprises: In response to the matching result indicating a successful match, determining a preset hard point code corresponding to the corresponding preset hard point coordinates as the hard point code corresponding to the hard point coordinates; In response to the matching result indicating a matching failure, the corresponding hard point coordinates are corrected so that the hard point coordinates match the preset hard point coordinates in the first mapping relationship table.

5. The load extraction method according to claim 1, characterized in that: The step of performing traversal processing in a second mapping relationship table according to the hard point code to obtain a hard point load corresponding to the hard point code, wherein the second mapping relationship table includes a correspondence between the preset hard point code and the preset hard point load, comprises: Matching the hard point code with the preset hard point code in the second mapping relationship table to obtain a matching result; In response to the matching result indicating a successful match, obtaining a preset hard point load corresponding to the corresponding preset hard point code; The preset hard point load is determined as the hard point load corresponding to the hard point code.

6. The load extraction method according to claim 1, characterized in that: After the step of performing traversal processing in the second mapping relationship table according to the hard point code to obtain the hard point load corresponding to the hard point code, wherein the second mapping relationship table includes the correspondence between the preset hard point code and the preset hard point load, the method further includes: Extract the hard point number and corresponding hard point load of each hard point; A third mapping relationship table between the hard point numbers and hard point loads is established.

7. The load extraction method according to claim 6, characterized in that: After the step of establishing a third mapping relationship table between the hard point numbers and the hard point loads, the method further comprises: Get the hard point load corresponding to each hard point number; According to the hard point load, endurance analysis is performed on the hard points corresponding to the hard point numbers in the vehicle body simulation structure to obtain analysis results of each hard point.

8. A load extraction device, characterized in that: The device comprises: An acquisition module, used to acquire the hard point number and hard point coordinates of each hard point in the vehicle body simulation structure; A first traversal module, configured to perform traversal processing in a first mapping relationship table according to the hard point coordinates to obtain a hard point code corresponding to the hard point coordinates, wherein the first mapping relationship table includes a correspondence between preset hard point coordinates and preset hard point codes; The second traversal module is used to perform traversal processing in a second mapping relationship table according to the hard point code to obtain the hard point load corresponding to the hard point code, and the second mapping relationship table includes the corresponding relationship between the preset hard point code and the preset hard point load.

9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores program instructions, and the processor retrieves the program instructions from the memory to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: include: Program data is stored, and when the program data is executed by a processor, it is used to implement the method according to any one of claims 1 to 7.